fix tests. new product advisories enhancements
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"eventId": "a1b2c3d4-5678-9abc-def0-123456789abc",
|
||||
"kind": "scanner.scan.completed",
|
||||
"version": "1",
|
||||
"tenant": "tenant-01",
|
||||
"ts": "2025-12-24T10:30:00+00:00",
|
||||
"actor": "scanner-worker",
|
||||
"payload": {
|
||||
"scanId": "scan-001-20251224",
|
||||
"imageDigest": "sha256:abc123def456789012345678901234567890123456789012345678901234abcd",
|
||||
"imageName": "registry.example.com/app:v1.0.0",
|
||||
"verdict": "pass",
|
||||
"findingsCount": 7,
|
||||
"vulnerabilities": {
|
||||
"critical": 0,
|
||||
"high": 0,
|
||||
"medium": 2,
|
||||
"low": 5
|
||||
},
|
||||
"scanDurationMs": 15230,
|
||||
"links": {
|
||||
"findings": "https://stellaops.example.com/scans/scan-001-20251224/findings",
|
||||
"sbom": "https://stellaops.example.com/scans/scan-001-20251224/sbom"
|
||||
}
|
||||
},
|
||||
"attributes": {
|
||||
"category": "scanner",
|
||||
"environment": "production"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user