Skip to content

Commit

Permalink
Test to check access to integration test conf files
Browse files Browse the repository at this point in the history
  • Loading branch information
oa1802 committed Mar 23, 2022
1 parent dd1121a commit fdc6914
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/hawkscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
version: ${{ github.event.client_payload.hawkscanVersion }}
verbose: ${{ github.event.client_payload.verbose }}
env:
APP_ID: ${{ github.event.client_payload.appId }}
APPLICATION_ID: ${{ github.event.client_payload.appId }}
32 changes: 32 additions & 0 deletions integration_tests/conf_files/stackhawk-jsv-json-token.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
hawk:
spider:
maxDurationMinutes: 2
app:
applicationId: ${APPLICATION_ID:test-app-id}
env: ${ENV:dev}
contactEmail: [email protected]
host: ${APP_HOST:https://localhost:9000}
openApiConf:
filePath: openapi.yaml
authentication:
loggedInIndicator: "\\QSign Out\\E"
loggedOutIndicator: ".*Location:.*/login.*"
usernamePassword:
type: JSON
loginPath: /api/jwt/auth/signin
usernameField: username
passwordField: password
scanUsername: "user"
scanPassword: "password"
tokenAuthorization:
type: HEADER
value: Authorization
tokenType: Bearer
tokenExtraction:
type: TOKEN_PATH
value: "token"
testPath:
path: /api/jwt/items/search/i
success: ".*200.*"
autoPolicy: true
autoInputVectors: true

0 comments on commit fdc6914

Please sign in to comment.