GitLab
Following is a sample code segment that can be configured in gitlab-ci.yml file to perform a SAST scan.
Note: Make sure to update the parameters in the sample code according to your environment before using it.
SAST:
tags:
- devsecops
image: registry.fortidevsec.forticloud.com/fdevsec_sast:latest
stage: deploy
script:
- main
Following is a sample code segment that can be configured in gitlab-ci.yml file to perform a DAST scan.
DAST:
tags:
- devsecops
image: registry.fortidevsec.forticloud.com/fdevsec_dast:latest
stage: deploy
script:
- main