feat: add Reachability Center and Why Drawer components with tests
- Implemented ReachabilityCenterComponent for displaying asset reachability status with summary and filtering options. - Added ReachabilityWhyDrawerComponent to show detailed reachability evidence and call paths. - Created unit tests for both components to ensure functionality and correctness. - Updated accessibility test results for the new components.
This commit is contained in:
@@ -1,37 +1,58 @@
|
||||
{
|
||||
"exceptionId": "exc::tenant-default::2025-12-06::00012",
|
||||
"schemaVersion": "1.0",
|
||||
"exceptionId": "exc-001",
|
||||
"tenantId": "tenant-default",
|
||||
"title": "Risk accepted for log4j on batch nodes",
|
||||
"state": "pending_review",
|
||||
"type": "advisory",
|
||||
"name": "log4j-temporary-exception",
|
||||
"displayName": "Log4j Temporary Exception",
|
||||
"description": "Temporary exception for legacy Log4j usage in internal tooling",
|
||||
"type": "vulnerability",
|
||||
"status": "pending_review",
|
||||
"severity": "high",
|
||||
"scope": {
|
||||
"level": "asset",
|
||||
"assetIds": ["batch-node-17", "batch-node-18"],
|
||||
"advisoryIds": ["CVE-2021-44228"],
|
||||
"components": ["pkg:maven/org.apache.logging.log4j/log4j-core@2.14.0"]
|
||||
"type": "component",
|
||||
"tenantId": "tenant-default",
|
||||
"componentPurls": ["pkg:maven/org.apache.logging.log4j/log4j-core@2.14.1"],
|
||||
"vulnIds": ["CVE-2021-44228"]
|
||||
},
|
||||
"justification": {
|
||||
"template": "compensating_control",
|
||||
"details": "Ingress disabled; nodes isolated; patch planned 2025-12-20"
|
||||
"template": "compensating-control",
|
||||
"text": "Ingress disabled; nodes isolated; patch planned 2025-12-20"
|
||||
},
|
||||
"timebox": {
|
||||
"start": "2025-12-06T00:00:00Z",
|
||||
"end": "2025-12-31T00:00:00Z",
|
||||
"maxRenewals": 1
|
||||
"startDate": "2025-12-03T00:00:00Z",
|
||||
"endDate": "2025-12-31T23:59:59Z",
|
||||
"autoRenew": false
|
||||
},
|
||||
"audit": {
|
||||
"createdBy": "alice@example.com",
|
||||
"createdAt": "2025-12-06T11:12:13Z",
|
||||
"modifiedAt": "2025-12-06T11:12:13Z"
|
||||
"approvals": [
|
||||
{
|
||||
"approvalId": "apr-001",
|
||||
"approvedBy": "security-lead@example.com",
|
||||
"approvedAt": "2025-12-04T10:30:00Z",
|
||||
"comment": "Approve with condition: migrate before expiry."
|
||||
}
|
||||
],
|
||||
"auditTrail": [
|
||||
{
|
||||
"auditId": "aud-001",
|
||||
"action": "created",
|
||||
"actor": "alice@example.com",
|
||||
"timestamp": "2025-12-03T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"auditId": "aud-002",
|
||||
"action": "submitted",
|
||||
"actor": "alice@example.com",
|
||||
"timestamp": "2025-12-03T00:05:00Z",
|
||||
"previousStatus": "draft",
|
||||
"newStatus": "pending_review"
|
||||
}
|
||||
],
|
||||
"labels": {
|
||||
"ticket": "SEC-123",
|
||||
"owner": "platform-security"
|
||||
},
|
||||
"links": {
|
||||
"history": "/console/exceptions/exc::tenant-default::2025-12-06::00012/history",
|
||||
"attachments": [
|
||||
{
|
||||
"name": "risk-assessment.pdf",
|
||||
"url": "https://console.local/files/risk-assessment.pdf?sig=...",
|
||||
"sha256": "cafe..."
|
||||
}
|
||||
]
|
||||
}
|
||||
"createdBy": "alice@example.com",
|
||||
"createdAt": "2025-12-03T00:00:00Z",
|
||||
"updatedBy": "alice@example.com",
|
||||
"updatedAt": "2025-12-03T00:05:00Z"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user