UNPKG

snyk

Version:

snyk library and cli utility

39 lines (23 loc) 1.49 kB
--- description: The snyk cos target commands for creating, inspecting, and exporting targets. --- # COS target {% hint style="info" %} **Release status** The `snyk cos` command set is in Closed Beta and is available only for Enterprise plans. If you want to set it up in your Group or Organization, contact your Snyk account team. {% endhint %} ## 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](cos.md) help, `snyk cos --help`. ## Commands - [`snyk cos target add`](cos-target-add.md), `snyk cos target add --help`: create a target from a configuration file - [`snyk cos target list`](cos-target-list.md), `snyk cos target list --help`: list all targets - [`snyk cos target show`](cos-target-show.md), `snyk cos target show --help`: show the details of a target - [`snyk cos target dump`](cos-target-dump.md), `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](cos-target-template.md) ## 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](https://docs.snyk.io/snyk-cli/configure-the-snyk-cli). ## Debug Use the `-d` option to output the debug logs.