GitLab
Following is a sample code segment that can be configured in gitlab-ci.yml file.
Note: Make sure to update the parameters in the sample code according to your environment before using it.
tags:
- fptproxyserver
variables:
EMAIL: "account_email"
LICENSE_SERIAL: "your_serial_number"
ASSET_TOKEN: "your_asset_token"
SCANURL: "target_asset_url"
SCANTYPE: "1"
ASSET: "asset_UUID"
image: registry.fortidast.forticloud.com/dastdevopsproxy:latest
script:
- cd /home/fortinet/
- python3 proxyScan.py