Skip to main content

CI environment variables

This document lists and describes the environment variables supported by the Invicti Scan command-line tool for use in CI/CD pipelines. These variables allow you to configure and customize automated scans when integrating Invicti DAST into your development workflows.

important
  • All variables should be defined securely using your CI/CD system's secret management features (for example, GitHub Actions Secrets, GitLab CI/CD Variables, Jenkins Credentials).
  • INVICTI_API_TOKEN and INVICTI_TARGET_ID are required for scans to run.
  • INVICTI_SCAN_PROFILE must match a configured profile in your Invicti Platform instance.

Environment variables

Variable NameDescriptionExample valuePossible values
INVICTI_API_BASE_URLBase URL for the Invicti API (string)https://platform.invicti.com
INVICTI_API_TOKENAPI token for authenticating command-line tool scan requests (string)1234567890abcdef...
INVICTI_TARGET_IDID of the target to scan, as defined in the Invicti Platform (string)abcd1234-5678-efgh-ijkl-9876mnopqrst
INVICTI_SCAN_AGENTThe scan agent to useCloudAgent
INVICTI_REPORT_TEMPLATEThe report template to useComprehensive
INVICTI_LOG_LEVELLogging verbosity level (enum)INFODEBUG, INFO, WARNING, ERROR, CRITICAL
INVICTI_SCAN_TIMEOUTMaximum scan duration in minutes (integer)20
INVICTI_SCAN_PROFILEName of the scan profile to use (string)Full Scan
INVICTI_MINIMUM_SEVERITYMinimum severity to break the build on finding vulnerabilities. If set, the build fails if any vulnerabilities of that severity or higher are found. (enum)HighCritical, High, Medium, Low, Info

For complete integration guidance, refer to the Integrate CI-driven scans document.


Need help?

Invicti Support team is ready to provide you with technical help. Go to Help Center

Was this page useful?