COS finding list
Use snyk cos finding list to list the findings for a target or scan.
Usage
snyk cos finding list [<OPTIONS>]
Description
The snyk cos finding list command lists the findings for a target or scan.
Use the --target-id, --scan-id, --severity, or --state options to filter the results.
For a list of related commands, visit the Snyk COS help, snyk cos --help.
Exit codes
Possible exit codes and their meaning:
0: findings retrieved 3: failure, target ID or scan 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>
Specify the target whose findings you want to list.
Example:
--scan-id=<SCAN_ID>
Scope the findings to the occurrences in a single scan.
Example:
--severity=<SEVERITY>
Filter the results by severity.
Allowed values: critical, high, medium, low
Example:
--state=<STATE>
Filter the results by lifecycle state.
Allowed values: open, fixed
Example:
--limit=<LIMIT>
Specify the maximum number of findings to return. Set to 0 to return all findings.
Default: 0
Example:
--output=<FORMAT>, -o <FORMAT>
Specify the output format.
Allowed values: table, json, yaml, ids
Default: table
Example:
Last updated
Was this helpful?

