From dcfab1cbe56a600dd72879a491392109ddd1d1e3 Mon Sep 17 00:00:00 2001 From: Hans Aikema Date: Sat, 17 Dec 2022 15:08:40 +0100 Subject: [PATCH] Add the disablePoetry CLI-option to the parser and documentation Fixes #5142 --- cli/src/main/java/org/owasp/dependencycheck/CliParser.java | 1 + cli/src/site/markdown/arguments.md | 1 + 2 files changed, 2 insertions(+) diff --git a/cli/src/main/java/org/owasp/dependencycheck/CliParser.java b/cli/src/main/java/org/owasp/dependencycheck/CliParser.java index 8bde3b0eba0..97c9322fe9e 100644 --- a/cli/src/main/java/org/owasp/dependencycheck/CliParser.java +++ b/cli/src/main/java/org/owasp/dependencycheck/CliParser.java @@ -465,6 +465,7 @@ private void addAdvancedOptions(final Options options) { .addOption(newOption(ARGUMENT.DISABLE_PIPFILE, "Disable the Pipfile Analyzer.")) .addOption(newOption(ARGUMENT.DISABLE_COMPOSER, "Disable the PHP Composer Analyzer.")) .addOption(newOption(ARGUMENT.DISABLE_CPAN, "Disable the Perl CPAN file Analyzer.")) + .addOption(newOption(ARGUMENT.DISABLE_POETRY, "Disable the Poetry Analyzer.")) .addOption(newOption(ARGUMENT.DISABLE_GOLANG_MOD, "Disable the Golang Mod Analyzer.")) .addOption(newOption(ARGUMENT.DISABLE_DART, "Disable the Dart Analyzer.")) .addOption(newOption(ARGUMENT.DISABLE_OPENSSL, "Disable the OpenSSL Analyzer.")) diff --git a/cli/src/site/markdown/arguments.md b/cli/src/site/markdown/arguments.md index d55b46311b9..fc1a3387e51 100644 --- a/cli/src/site/markdown/arguments.md +++ b/cli/src/site/markdown/arguments.md @@ -95,6 +95,7 @@ Advanced Options | | \-\-disableGolangDep | | Sets whether the [experimental](../analyzers/index.html) Go Dependency Analyzer should be used. |   | | | \-\-disableGolangMod | | Sets whether the [experimental](../analyzers/index.html) Go Mod Analyzer should be used. |   | | | \-\-disableMixAudit | | Sets whether the [experimental](../analyzers/index.html) Elixir mix audit Analyze should be used. |   | +| | \-\-disablePoetry | | Sets whether the [experimental](../analyzers/index.html) Poetry Analyzer should be used. |   | | | \-\-go | \ | The path to `go` executable for the Go Mode Analyzer; only necassary if `go` is not on the path. |   | | | \-\-bundleAudit | | The path to the bundle-audit executable. |   | | | \-\-bundleAuditWorkingDirectory | \ | The path to working directory that the bundle-audit command should be executed from when doing Gem bundle analysis. |   |