Help us learn about your current experience with the documentation. Take the survey.
覆盖 API 安全测试作业
要覆盖一个作业的定义(例如,更改 variables、dependencies 或 rules 等属性),请声明一个与要覆盖的 DAST 作业同名的作业。将这个新作业放在模板包含之后,并在其下指定任何额外的键。例如,以下代码设置了目标 API 的基础 URL:
include:
- template: Security/API-Security.gitlab-ci.yml
api_security:
variables:
APISEC_TARGET_URL: https://target/api