Repo
These settings apply to Custom Scan steps when both of these conditions are true:
The
policy_typeisorchestratedScanordataLoad.The
scan_typeisrepository.
Repository project
Key
repository_projectValue
The name of the repo to scan. To specify the repo URL, edit the Codebase Config object in the Harness pipeline.
In most cases, this should match the repo name used in your Git provider.
Repository branch
Key
repository_branchValue
The branch that gets reported in STO for the ingested results. In most cases, this field should match the name of the Git branch that is getting scanned.
You can specify a hardcoded string or use a variable such as <+codebase.branch> to specify the branch at runtime. For more information, go to CI codebase variables reference.
Last updated
Was this helpful?