For the complete documentation index, see llms.txt. This page is also available as Markdown.

COS

The snyk cos commands for finding security vulnerabilities with Snyk Continuous Offensive Security (COS).

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.

Prerequisites

  • A Snyk account with the Continuous Offensive Security (COS) entitlement.

  • Authenticate to use the CLI. For more information, see Authenticate to use the CLI.

Usage

snyk cos <COMMAND> [<OPTIONS>] [<PATH>]

Description

The snyk cos command is a CLI client for Snyk AI Pentesting that finds security vulnerabilities in your deployed applications.

Use the snyk cos subcommands to define the applications you want to test, run scans against them, and review the findings the scans produce.

Commands

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?