Skip to content

Commit

Permalink
fix(secrets): add detector for IbmCosHmac (#6790)
Browse files Browse the repository at this point in the history
* add detector

* add secret to uuid form

* add secret to uuid form

* fix
  • Loading branch information
RabeaZr authored Nov 3, 2024
1 parent 2b03a6b commit 55cbdc9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion checkov/secrets/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ def run(
{'name': 'BasicAuthDetector'},
{'name': 'CloudantDetector'},
{'name': 'IbmCloudIamDetector'},
{'name': 'IbmCosHmacDetector'},
{'name': 'JwtTokenDetector'},
{'name': 'MailchimpDetector'},
{'name': 'PrivateKeyDetector'},
Expand Down Expand Up @@ -231,7 +232,7 @@ def run(
self.pbar.close()

secret_records: dict[str, SecretsRecord] = {}
secrets_in_uuid_form = ['CKV_SECRET_116', 'CKV_SECRET_30']
secrets_in_uuid_form = ['CKV_SECRET_116', 'CKV_SECRET_49', 'CKV_SECRET_48', 'CKV_SECRET_40', 'CKV_SECRET_30']

secret_key_by_line_to_secrets = defaultdict(list)
for key, secret in secrets:
Expand Down

0 comments on commit 55cbdc9

Please sign in to comment.