- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
03-20-2025 11:35 AM
When I am trying to run this query in Prisma cloud , It through me message "Failed to execute RQL search. Illegal argument"
RQL
config from cloud.resource where api.name = 'aws-ec2-describe-security-groups' as X; config from cloud.resource where api.name = 'aws-ec2-describe-route-tables' as Y; config from cloud.resource where api.name = 'aws-ec2-describe-instances' as Z; filter "$.Y.vpcId contains $.X.vpcId
and $.Z.subnetId contains $.Y.associations[*].subnetId
and $.Y.routes[?(@.destinationCidrBlock=='0.0.0.0/0')].gatewayId contains igw
and ($.X.ipPermissions[?(@.toPort > 445 || @.fromPort < 445)].ipRanges[*] contains 0.0.0.0/0
or $.X.ipPermissions[?(@.toPort > 445 || @.fromPort < 445)].ipv6Ranges[*].cidrIpv6 contains ::/0) "; show X;
Please help me in fixing this issue
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!