From d8cd708a404e8b105f94e3db06dd8a9aa66cbb58 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 15:07:33 +0000 Subject: [PATCH] docs: synchronizing help from snyk/user-docs (#4895) Co-authored-by: Avishagp --- help/cli-commands/iac-test.md | 12 ++++++------ help/cli-commands/sbom.md | 8 ++++++++ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/help/cli-commands/iac-test.md b/help/cli-commands/iac-test.md index ead2279ed4..e33fe22e6c 100644 --- a/help/cli-commands/iac-test.md +++ b/help/cli-commands/iac-test.md @@ -99,7 +99,7 @@ Allowed values: `critical, high, medium, low` For more information see Project attributes -This option is not supported for Integrated IaC (Limited Availability). +This option is not supported for IaC+. ### `--project-environment=[,]...>` @@ -111,7 +111,7 @@ Allowed values: `frontend`, `backend`, `internal`, `external`, `mobile`, `saas`, For more information see [Project attributes](https://docs.snyk.io/manage-issues/introduction-to-snyk-projects/project-attributes) -This option is not supported for Integrated IaC (Limited Availability). +This option is not supported for IaC+. ### `--project-lifecycle=[,]...>` @@ -123,7 +123,7 @@ Allowed values: `production`, `development`, `sandbox` For more information see [Project attributes](https://docs.snyk.io/manage-issues/introduction-to-snyk-projects/project-attributes) -This option is not supported for Integrated IaC (Limited Availability). +This option is not supported for IaC+. ### `--project-tags=[,]...>` @@ -135,7 +135,7 @@ Example: `--project-tags=department=finance,team=alpha` To clear the project tags set `--project-tags=` -This option is not supported for Integrated IaC (Limited Availability). +This option is not supported for IaC+. For more information including allowable characters see [Project tags](https://docs.snyk.io/manage-issues/introduction-to-snyk-projects/project-tags) @@ -169,7 +169,7 @@ Example: Scan the configuration files using custom rules and internal Snyk rules Note: This option can not be used in combination with the `--report` option. -This option is not supported for Integrated IaC (Limited Availability). +This option is not supported for IaC+. ### `--severity-threshold=` @@ -216,7 +216,7 @@ Example: Use the last scan from your Snyk Cloud Environment to suppress issues. For more information, see [Adding cloud context to your IaC test](https://docs.snyk.io/scan-cloud-deployment/snyk-infrastructure-as-code/integrated-infrastructure-as-code/adding-cloud-context-to-your-iac-test) -This option is only supported for Integrated IaC (Limited Availability). +This option is only supported for IaC+. Example: diff --git a/help/cli-commands/sbom.md b/help/cli-commands/sbom.md index 23e40f1fdf..5e7ae0fe0b 100644 --- a/help/cli-commands/sbom.md +++ b/help/cli-commands/sbom.md @@ -276,6 +276,14 @@ Usage: `--max-depth=1` Use `0` (zero, the default) to disable archive extraction completely. +## Options for build tools + +### `-- []` + +Use a double dash (`--`) after the complete Snyk command to pass additional options (arguments, flags) that follow directly to the build tool, for example Gradle or Maven. + +Example: `snyk sbom -- -s settings.xml` + ## Examples for the snyk sbom command ### Create a CycloneDX JSON document for a local software project