Here's a more full version of the automation config. Not sure why the verification url request doesn't contain the session cookie "x-access-token" after I added it as a session cookie. That cookie functions as the main auth token for our app.
env:
contexts:
- name: step
urls:
-
https://auth.domain.com -
https://api.domain.com -
https://admin.domain.com -
https://home.domain.com -
https://main.home.domain.com includePaths:
- https:\/\/auth.domain.com.*
- https:\/\/admin.domain.com.*
- https:\/\/api.domain.com.*
- https:\/\/home.domain.com.*
- https:\/\/main.home.domain.com.*
excludePaths:
- ^https?:\/\/optimizationguide-pa\.googleapis\.com/.*
- ^https?:\/\/.*\.googleapis\.com/.*
pollUrl:
https://api.domain.com/profile
pollPostData: ""
sessionManagement:
method: cookie
technology: {}
structure: {}
users:
- name: scanuser
credentials:
password: password
username: scanuser
parameters: {}
jobs:
- type: passiveScan-config
parameters: {}
- type: spider
parameters:
context: step
user: scanuser
url:
https://admin.domain.com tests: []
- type: passiveScan-wait
parameters: {}