forked from WebGoat/WebGoat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,549 changed files
with
32,924 additions
and
31,906 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
** | ||
|
||
!/target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = space | ||
insert_final_newline = true | ||
max_line_length = 120 | ||
tab_width = 4 | ||
ij_continuation_indent_size = 8 | ||
ij_formatter_off_tag = @formatter:off | ||
ij_formatter_on_tag = @formatter:on | ||
ij_formatter_tags_enabled = false | ||
ij_java_names_count_to_use_import_on_demand = 999 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
custom: https://owasp.org/donate/?reponame=www-project-webgoat&title=OWASP+WebGoat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
daysUntilLock: 365 | ||
skipCreatedBefore: false | ||
exemptLabels: [] | ||
lockLabel: false | ||
lockComment: > | ||
This thread has been automatically locked because it has not had | ||
recent activity after it was closed. :lock: Please open a new issue | ||
for regressions or related bugs. | ||
setLockReason: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
daysUntilStale: 90 | ||
daysUntilClose: 14 | ||
onlyLabels: | ||
- waiting for input | ||
- wontfix | ||
staleLabel: stale | ||
markComment: > | ||
This issue has been automatically marked as `stale` because it has not had recent activity. :calendar: It will be _closed automatically_ in one week if no further activity occurs. | ||
closeComment: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: "UI-Test" | ||
on: | ||
pull_request: | ||
paths-ignore: | ||
- '.txt' | ||
- '*.MD' | ||
- '*.md' | ||
- 'LICENSE' | ||
- 'docs/**' | ||
push: | ||
# tags-ignore: | ||
# - '*' | ||
paths-ignore: | ||
- '.txt' | ||
- '*.MD' | ||
- '*.md' | ||
- 'LICENSE' | ||
- 'docs/**' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
# display name of the job | ||
name: "Robot framework test" | ||
steps: | ||
# Uses an default action to checkout the code | ||
- uses: actions/checkout@v3 | ||
# Uses an action to add Python to the VM | ||
- name: Setup Pyton | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.7' | ||
architecture: x64 | ||
# Uses an action to add JDK 17 to the VM (and mvn?) | ||
- name: set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: 17 | ||
architecture: x64 | ||
#Uses an action to set up a cache using a certain key based on the hash of the dependencies | ||
- name: Cache Maven packages | ||
uses: actions/cache@v3.2.2 | ||
with: | ||
path: ~/.m2 | ||
key: ubuntu-latest-m2-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ubuntu-latest-m2- | ||
- uses: BSFishy/pip-action@v1 | ||
with: | ||
packages: | | ||
robotframework | ||
robotframework-SeleniumLibrary | ||
webdriver-manager | ||
- name: Run with Maven | ||
run: mvn --no-transfer-progress spring-boot:run & | ||
- name: Wait to start | ||
uses: ifaxity/wait-on-action@v1 | ||
with: | ||
resource: http://127.0.0.1:8080/WebGoat | ||
- name: Test with Robotframework | ||
run: python3 -m robot --variable HEADLESS:"1" --outputdir robotreport robot/goat.robot | ||
# send report to forks only due to limits on permission tokens | ||
- name: Send report to commit | ||
if: github.repository != 'WebGoat/WebGoat' && github.event_name == 'push' | ||
uses: joonvena/robotframework-reporter-action@v2.1 | ||
with: | ||
gh_access_token: ${{ secrets.GITHUB_TOKEN }} | ||
report_path: 'robotreport' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,3 +55,5 @@ webgoat.script | |
TestClass.class | ||
**/*.flattened-pom.xml | ||
/.gitconfig | ||
|
||
webgoat.gitconfig |
Oops, something went wrong.