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(query): fix false positive in aws_instance #5903

Merged

Conversation

patrickpichler
Copy link
Contributor

Fix user_data in aws_instance reporting false positive, even when API keys are not present in string.

Closes #5890

Proposed Changes

  • Compare the size of the resulting array instead of the array directly

I submit this contribution under the Apache-2.0 license.

Fix user_data in aws_instance reporting false positive, even when API
keys are not present in string.

Closes Checkmarx#5890
@rafaela-soares rafaela-soares added query New query feature community Community contribution hacktoberfest labels Oct 3, 2022
Copy link
Contributor

@rafaela-soares rafaela-soares left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

Another one! Thank you so much, @patrickpichler!

@rafaela-soares rafaela-soares merged commit 58395a0 into Checkmarx:master Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Community contribution hacktoberfest query New query feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EC2 Instance Using API Keys Security Query False Positive Result
2 participants