diff --git a/sample_rules/basic_rules.yaml b/sample_rules/basic_rules.yaml index 4690472..4e4e3c8 100644 --- a/sample_rules/basic_rules.yaml +++ b/sample_rules/basic_rules.yaml @@ -128,7 +128,7 @@ - "_clear_packaging_caches_and_temporary_package_downloads" - label: "yum_update_all" - regex: /yum(.+update all|.+upgrade|.+update)/ + regex: /yum([ \t]+update all|[ \t]+upgrade|[ \t]+update)/ level: "info" message: "updating the entire base image may add unnecessary size to the container" description: "update the entire base image may add unnecessary size to the container" diff --git a/sample_rules/basic_rules_atomic.yaml b/sample_rules/basic_rules_atomic.yaml index a72defe..9b3dc95 100644 --- a/sample_rules/basic_rules_atomic.yaml +++ b/sample_rules/basic_rules_atomic.yaml @@ -128,7 +128,7 @@ - "_clear_packaging_caches_and_temporary_package_downloads" - label: "yum_update_all" - regex: /yum(.+update all|.+upgrade|.+update|\.config)/ + regex: /yum([ \t]+update all|[ \t]+upgrade|[ \t]+update|\.config)/ level: "info" message: "updating the entire base image may add unnecessary size to the container" description: "update the entire base image may add unnecessary size to the container" diff --git a/sample_rules/default_rules.yaml b/sample_rules/default_rules.yaml index 47c5edd..3b64a4d 100644 --- a/sample_rules/default_rules.yaml +++ b/sample_rules/default_rules.yaml @@ -110,7 +110,7 @@ - "_clear_packaging_caches_and_temporary_package_downloads" - label: "yum_update_all" - regex: /yum(.+update all|.+upgrade|.+update)/ + regex: /yum([ \t]+update all|[ \t]+upgrade|[ \t]+update)/ level: "info" message: "updating the entire base image may add unnecessary size to the container" description: "update the entire base image may add unnecessary size to the container" diff --git a/sample_rules/modules.yaml b/sample_rules/modules.yaml index d22de76..90fa884 100644 --- a/sample_rules/modules.yaml +++ b/sample_rules/modules.yaml @@ -131,7 +131,7 @@ - "_clear_packaging_caches_and_temporary_package_downloads" - label: "yum_update_all" - regex: /yum(.+update all|.+upgrade|.+update|\.config)/ + regex: /yum([ \t]+update all|[ \t]+upgrade|[ \t]+update|\.config)/ level: "info" message: "updating the entire base image may add unnecessary size to the container" description: "update the entire base image may add unnecessary size to the container" diff --git a/sample_rules/osbs.yaml b/sample_rules/osbs.yaml index 52d139c..bcfd12b 100644 --- a/sample_rules/osbs.yaml +++ b/sample_rules/osbs.yaml @@ -115,7 +115,7 @@ - "_clear_packaging_caches_and_temporary_package_downloads" - label: "yum_update_all" - regex: /yum(.+update all|.+upgrade|.+update|\.config)/ + regex: /yum([ \t]+update all|[ \t]+upgrade|[ \t]+update|\.config)/ level: "info" message: "updating the entire base image may add unnecessary size to the container" description: "update the entire base image may add unnecessary size to the container"