Skip to content

Commit

Permalink
Add env var for policy metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmithv11 authored Jan 28, 2025
1 parent a083a43 commit 7a3bf4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions checkov/common/util/ext_argument_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ def add_parser_args(self) -> None:
"See https://prisma.pan.dev/api/cloud/cspm/policy#operation/get-policy-filters-and-options for "
"information on allowed filters. Example: policy.label=label1,policy.label=label2,cloud.type=aws",
default=None,
env_var="CKV_POLICY_METADATA_FILTER"
)
self.add(
"--policy-metadata-filter-exception",
Expand All @@ -480,6 +481,7 @@ def add_parser_args(self) -> None:
"See https://prisma.pan.dev/api/cloud/cspm/policy#operation/get-policy-filters-and-options for "
"information on allowed filters. Example: policy.label=label1,policy.label=label2,cloud.type=aws",
default=None,
env_var="CKV_POLICY_METADATA_FILTER_EXCEPTION"
)
self.add(
"--secrets-scan-file-type",
Expand Down

0 comments on commit 7a3bf4a

Please sign in to comment.