Conversation
…uery The query was returning no results due to: - Wrong WHERE clause placement after OPTIONAL MATCH - Using 'scheme' property (for LBs) instead of 'exposed_internet' (for EC2) - Explicit relationship types that didn't match Cartography schema Simplified to use implicit relationships like other working queries.
Contributor
|
✅ Conflict Markers Resolved All conflict markers have been successfully resolved in this pull request. |
…ernet-facing-resources-with-open-security-groups-returns-no-results
Contributor
|
✅ All necessary |
Contributor
🔒 Container Security ScanImage: 📊 Vulnerability Summary
10 package(s) affected
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #9892 +/- ##
==========================================
+ Coverage 88.71% 92.15% +3.44%
==========================================
Files 95 181 +86
Lines 3597 25183 +21586
==========================================
+ Hits 3191 23208 +20017
- Misses 406 1975 +1569
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Collaborator
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
Hamza-abughazaleh
pushed a commit
to Raed-sh/prowler
that referenced
this pull request
Feb 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
The Attack Path query "Identify internet-facing resources with open security groups" was returning no results while "Identify internet-exposed EC2 instances" correctly identified EC2 instances with open security groups.
Description
The query was broken due to:
WHERE open.scheme = 'internet-facing'was placed after anOPTIONAL MATCHfor DNS records, making it ineffectivescheme = 'internet-facing'is for Load Balancers, not EC2 instances (which useexposed_internet = true)Fixed by simplifying the query to use implicit relationships like other working queries in the same file.
Steps to review
aws-ec2-instances-internet-exposedquery patternexposed_internet = trueand a security group allowing 0.0.0.0/0Checklist
Community Checklist
SDK/CLI
UI
API
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.