Skip to content

Commit

Permalink
fix(secrets): add edge case for policy that looks like uuid (#6698)
Browse files Browse the repository at this point in the history
edge case for policy
  • Loading branch information
RabeaZr authored Sep 1, 2024
1 parent d0be818 commit cb96380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkov/secrets/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def run(
self.pbar.close()

secret_records: dict[str, SecretsRecord] = {}
secrets_in_uuid_form = ['CKV_SECRET_116']
secrets_in_uuid_form = ['CKV_SECRET_116', 'CKV_SECRET_30']
for key, secret in secrets:
check_id = secret.check_id if secret.check_id else SECRET_TYPE_TO_ID.get(secret.type)
if not check_id:
Expand Down

0 comments on commit cb96380

Please sign in to comment.