COS target
Use the snyk cos target commands to create, inspect, and export targets.
Usage
snyk cos target [<COMMAND>] [<OPTIONS>]
Description
The snyk cos target command creates, inspects, and exports targets. Targets represent the applications you want to scan.
For a list of related commands, visit the Snyk COS help, snyk cos --help.
Commands
snyk cos target add,snyk cos target add --help: create a target from a configuration filesnyk cos target list,snyk cos target list --help: list all targetssnyk cos target show,snyk cos target show --help: show the details of a targetsnyk cos target dump,snyk cos target dump --help: export a target as YAML
For a sample configuration file to use with snyk cos target add, visit COS target template
Configure the Snyk CLI
You can use environment variables to configure the Snyk CLI and set variables to connect to the Snyk API. For more information, visit Configure the Snyk CLI.
Debug
Use the -d option to output the debug logs.
Last updated
Was this helpful?

