Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(secrets): add detector for IbmCosHmac #6790

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion checkov/secrets/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def run(
{'name': 'BasicAuthDetector'},
{'name': 'CloudantDetector'},
{'name': 'IbmCloudIamDetector'},
{'name': 'IbmCosHmacDetector'},
{'name': 'JwtTokenDetector'},
{'name': 'MailchimpDetector'},
{'name': 'PrivateKeyDetector'},
Expand Down Expand Up @@ -230,7 +231,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_48', 'CKV_SECRET_40', '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
Loading