scan command to perform scans against a repository.
Usage
To perform a full scan including reachability analysis for the open source software of the packages you build in a repository and monitor the checked out version of your code run the command.--languages flag:
<languages-list> should be provided as a comma-separated list from the supported languages: .
To scan leaked secrets and monitor all results in the checked out version of your repository.
- If it is the first time the repository’s Git log history is scanned, it performs a full scan
- A full rescan is also performed if a change has been detected to any of the rules in the namespace
- In all other cases, the scan is incremental based on the last time a scan was performed.
--path and specify a name for your project using --project-name.
To scan and discover AI/LLM models in your repository, run the following command
--dry-run with --secrets or --sast flags. The --dry-run flag cannot be used with container scanning.
Options
The commandendorctl scan uses the following flags and environment variables: