From c87b5cbab1c113acdbdc2e8eefb3cabeb5f4f2c6 Mon Sep 17 00:00:00 2001 From: Javier Spagnoletti Date: Fri, 18 Oct 2024 10:43:16 -0300 Subject: [PATCH] Add note about exit codes on warnings --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f53c019a..96988280 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ cfn_nag_rules * The results are dumped to stdout * A failing violation will return a non-zero exit code. -* A warning will return a zero/success exit code. +* A warning will return a zero/success exit code, unless you provide the `--fail-on-warnings` flag * A fatal violation stops analysis (per file) because the template is malformed in some severe way ## Running in Docker