COS target
The snyk cos target commands for creating, inspecting, and exporting 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 see 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, see COS target template
Configure the Snyk CLI
You can use environment variables to configure the Snyk CLI and set variables for connecting with the Snyk API. For more information see Configure the Snyk CLI.
Debug
Use the -d option to output the debug logs.
Was this helpful?

