From c815b716276e3fb93f0344e7cb0ad49348d0cbab Mon Sep 17 00:00:00 2001 From: Max Maass Date: Tue, 1 Oct 2024 14:44:32 +0200 Subject: [PATCH] Ensure severity info matches working values in code. Closes #8 --- docs/usage.md | 2 +- kcwarden/cli.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/usage.md b/docs/usage.md index ad54418..76d3283 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -30,7 +30,7 @@ There are several optional parameters to customize the execution: |-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------| | `--format` | The output format of the findings. Can be plain text (`txt`), `csv` or `json`. | | `--output` | The path to the output file. If not provided, the output will be printed on stdout. | -| `--min-severity` | The minimum severity of findings that should be reported. Can be one of INFO, WARNING, ERROR, CRITICAL. | +| `--min-severity` | The minimum severity of findings that should be reported. Can be one of INFO, LOW, MEDIUM, HIGH, CRITICAL. | | `--auditors` | Specify the exact auditors to run, separated by space (others will be ignored). | | `--config` | Provide a config file with auditor-specific exclusions and parameters. Generate a template using [generate-config-template](#generate-config-template). | | `--ignore-disabled-clients` | When set, will not audit disabled OIDC clients. | diff --git a/kcwarden/cli.py b/kcwarden/cli.py index 1b5031d..0303dd4 100644 --- a/kcwarden/cli.py +++ b/kcwarden/cli.py @@ -73,7 +73,7 @@ def add_audit_parser(subparsers): parser_audit.add_argument( "-s", "--min-severity", - help="The minimum severity of findings that should be reported. Can be one of INFO, WARNING, ERROR, CRITICAL.", + help="The minimum severity of findings that should be reported. Can be one of INFO, LOW, MEDIUM, HIGH, CRITICAL.", type=str, ) add_plugin_directory_argument(parser_audit)