fix: (UI)Globe/cloud button on Attack Paths page shows correct data - BED-6661#2340
fix: (UI)Globe/cloud button on Attack Paths page shows correct data - BED-6661#2340nicole-m-martin merged 12 commits intomainfrom
Conversation
📝 WalkthroughWalkthroughExports the Changes
Sequence Diagram(s)mermaid Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
Updated the functionality for the "Globe/Cloud" button click in the graph view on
Attack Paths page. This updates API endpoint to use/asset-group-tags/:agtId/members/countsand renders theObjects Accordionto show theZone Membership panelwhen tier flag is enabled. Fixes the panel only showing 'Tier 0' data.Motivation and Context
Resolves BED-6661 - UI - Clicking on globe/cloud on Attack Paths page shows only "Tier 0" data
How Has This Been Tested?
Manual Tested all Expected Behaviors:
Given I am on the attack paths page (with any zone or environment selected)
When I click on the globe or cloud
✅ Then I see a list of objects in both the selected zone and environment sorted by type
Given I clicked the globe
When I click Go to Privilege Zone Management
✅ Then I am taken to the summary view of Privilege Zone Management
Given I am viewing the Zone Membership panel on attack paths page
When I select a new zone or environment
✅ Then the zone membership panel remains displayed but with new environment/zone information.
Given I am view the zone membership panel on attack paths page,
When I navigate back through browser history
✅ Then I am shown the Findings panel.
Given I have link to BHE that was captured when the Zone Membership panel was open
When I open that link
✅ Then the Zone Membership panel is displayed with the expected zone and environment displayed.
Test file added:
ZoneObjectsInformationPanel.test.tsx(In Bloodhound Enterprise)Types of changes
Checklist:
Summary by CodeRabbit