fix(attack-surface): restore ec2-imdsv1 category alignment#10998
fix(attack-surface): restore ec2-imdsv1 category alignment#10998danibarranqueroo wants to merge 2 commits intomasterfrom
Conversation
|
✅ Conflict Markers Resolved All conflict markers have been successfully resolved in this pull request. |
|
Please add an entry to the corresponding |
🔒 Container Security ScanImage: 📊 Vulnerability Summary
5 package(s) affected
|
🔒 Container Security ScanImage: 📊 Vulnerability Summary
9 package(s) affected
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #10998 +/- ##
==========================================
+ Coverage 59.14% 65.35% +6.20%
==========================================
Files 8 1080 +1072
Lines 399 58595 +58196
==========================================
+ Hits 236 38295 +38059
- Misses 163 20300 +20137
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|

Context
The EC2 with IMDSv1 enabled card in Attack Surface was redirecting to /findings with
filter[category__in]=ec2-imdsv1, but that category was no longer present in the relevant finding metadata. As a result, the drill-down did not match the card behavior.Description
This PR restores the
ec2-imdsv1category in the affected EC2 IMDS checks and re-aligns the attack-surface mapping with those checks. This keeps the existing UI behavior unchanged while making the Attack Surface card and the findings page filter consistent again.Steps to review
Please add a detailed description of how to review this PR.
Checklist
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.