feat(compliance): add 'View in Reporting' link for 2.3.x Ivanti metrics
In ComplianceDetailPanel, active metrics with a metric_id starting with '2.3' and an Ivanti_Vulnerability_ID in extra_json now surface the ID prominently alongside a 'View in Reporting →' button. Clicking navigates directly to the Reporting page. onNavigate prop threaded through App → CompliancePage → ComplianceDetailPanel → MetricRow. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1044,7 +1044,7 @@ export default function App() {
|
||||
|
||||
{/* Page content */}
|
||||
{currentPage === 'reporting' && <ReportingPage filterDate={calendarFilter} filterEXC={reportingExcFilter} />}
|
||||
{currentPage === 'compliance' && <CompliancePage />}
|
||||
{currentPage === 'compliance' && <CompliancePage onNavigate={setCurrentPage} />}
|
||||
{currentPage === 'knowledge-base' && <KnowledgeBasePage />}
|
||||
{currentPage === 'exports' && <ExportsPage />}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user