-
Notifications
You must be signed in to change notification settings - Fork 321
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
refactor(query): policies for CloudFormation #4540
Conversation
Scan submitted to Checkmarx |
46cea50
to
efc6bcf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, check comments
|
||
result := { | ||
"documentId": input.document[i].id, | ||
"searchKey": sprintf("Resources.%s.Properties.PolicyDocument.Statement", [name]), | ||
"searchKey": sprintf("Resources.%s.Properties.PolicyDocumentt", [name]), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"searchKey": sprintf("Resources.%s.Properties.PolicyDocumentt", [name]), | |
"searchKey": sprintf("Resources.%s.Properties.PolicyDocument", [name]), |
assets/queries/cloudFormation/lambda_functions_with_full_privileges/query.rego
Show resolved
Hide resolved
assets/queries/cloudFormation/s3_bucket_access_to_any_principal/query.rego
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Proposed Changes
I submit this contribution under the Apache-2.0 license.