Skip to main content

veracode policy

Downloads a Veracode application security policy as a file.

note

You can download a policy in Rego format if it only has rules for Container and IaC scans. If it also contains rules for SCA, for example, you can't download it with the CLI.

Usage​

./veracode policy get <policy_name> [flags]

Arguments​

ArgumentDescription
policy_nameThe name of a built-in or custom security policy. The name of the policy must not contain special characters such as /, \, or +.

Flags​

FlagDescription
-h, --helpShow help for this command.

Examples​

To download a built-in policy, run:

veracode policy get "Veracode Recommended High"