-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstackhawk.yml
38 lines (36 loc) · 869 Bytes
/
stackhawk.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
app:
applicationId: ${APP_ID:373c273f-29a0-4406-bc3f-b4059880c8d3}
env: ${APP_ENV:Development}
host: ${APP_HOST:https://localhost:9000}
excludePaths:
- "/logout"
antiCsrfParam: "_csrf"
authentication:
loggedInIndicator: "\\QSign Out\\E"
loggedOutIndicator: ".*Location:.*/login.*"
usernamePassword:
type: FORM
loginPath: /login
loginPagePath: /login
usernameField: username
passwordField: password
scanUsername: "user"
scanPassword: "password"
# cookieAuthorization:
# cookieNames:
# - "JSESSIONID"
tokenAuthorization:
value: Authorization
type: HEADER
testPath:
path: /search
success: "HTTP.*200.*"
redact:
headers:
- Cookie
values:
- ${SECRET_VAR:Referer}
hawk:
spider:
maxDurationMinutes: 5
failureThreshold: HIGH