COS target show
Use snyk cos target show to view the details of a target.
Usage
snyk cos target show [<OPTIONS>]
Description
The snyk cos target show command shows the details of a target.
For a list of related commands, visit the Snyk COS help, snyk cos --help.
Exit codes
Possible exit codes and their meaning:
0: success, target details retrieved 3: failure, target ID not found
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.
Options
--target-id=<TARGET_ID>
Required. Specify the ID of the target.
Example:
--output=<FORMAT>, -o <FORMAT>
Specify the output format.
Allowed values: table, json, yaml, ids
Default: table
Example:
Last updated
Was this helpful?

