General requirements
Usage is universal across all CI/CD providers. Optional variables allow you additional control over your CI/CD scans and are noted with (Optional). All other variables are required.
All scans require authentication using the FortiCNAPP API key and secret. We generally recommend storing the values as environment variables in your CI/CD settings.
|
Secret |
Description |
|---|---|
|
|
FortiCNAPP account URL subdomain. For example,
Do not include HTTPS:// or HTTP://. |
|
|
FortiCNAPP API access key ID |
|
|
FortiCNAPP API secret access key |
Obtaining the component environment secrets
To collect the environment secrets:
-
Log in to the console.
-
Click Settings > API keys.
-
Select or create an API key.
-
Click the download icon.
-
Open the downloaded .json file to view your API Key and Secret.