You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
While writing a query against AWS IAM policy I ran into an error using containsNone:
cnquery> aws.iam.attachedPolicies.where( arn == "arn:aws:iam::aws:policy/PowerUserAccess" ) { defaultVersion.document.Statement { _["NotAction"].containsNone(/rds:\*/) }}
1 error occurred:
* 1 error occurred:
* tried to call function with a non-array, please make sure the argument is an array
aws.iam.attachedPolicies.where: [
0: {
defaultVersion.document.Statement: 1 error occurred:
* tried to call function with a non-array, please make sure the argument is an array
}
]
Describe the bug
While writing a query against AWS IAM policy I ran into an error using
containsNone
:The
NotAction
policy element is an array:The text was updated successfully, but these errors were encountered: