summaryrefslogtreecommitdiff
path: root/.gitlab/ci/review-apps/dast-api.gitlab-ci.yml
blob: e2f32f120afebac41be005b10e54e1d236626b39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
include:
  - template: DAST-API.gitlab-ci.yml

dast_api:
  variables:
    DAST_API_PROFILE: Passive
    DAST_API_GRAPHQL: /api/graphql
    DAST_API_TARGET_URL: ${CI_ENVIRONMENT_URL}
    DAST_API_OVERRIDES_ENV: "{\"headers\":{\"Authorization\":\"Bearer $REVIEW_APPS_ROOT_TOKEN\"}}"
  needs: ["review-deploy"]
  # Uncomment resource_group if DAST_API_PROFILE is changed to an active scan
  # resource_group: dast_api_scan
  rules:
    - !reference [".reports:rules:schedule-dast", rules]