feat(api): Implement Console Export Client and Models
Some checks failed
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Concelier Attestation Tests / attestation-tests (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
Policy Lint & Smoke / policy-lint (push) Has been cancelled
Findings Ledger CI / build-test (push) Has been cancelled
Findings Ledger CI / migration-validation (push) Has been cancelled
Findings Ledger CI / generate-manifest (push) Has been cancelled
mock-dev-release / package-mock-release (push) Has been cancelled
Some checks failed
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Concelier Attestation Tests / attestation-tests (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
Policy Lint & Smoke / policy-lint (push) Has been cancelled
Findings Ledger CI / build-test (push) Has been cancelled
Findings Ledger CI / migration-validation (push) Has been cancelled
Findings Ledger CI / generate-manifest (push) Has been cancelled
mock-dev-release / package-mock-release (push) Has been cancelled
- Added ConsoleExportClient for managing export requests and responses. - Introduced ConsoleExportRequest and ConsoleExportResponse models. - Implemented methods for creating and retrieving exports with appropriate headers. feat(crypto): Add Software SM2/SM3 Cryptography Provider - Implemented SmSoftCryptoProvider for software-only SM2/SM3 cryptography. - Added support for signing and verification using SM2 algorithm. - Included hashing functionality with SM3 algorithm. - Configured options for loading keys from files and environment gate checks. test(crypto): Add unit tests for SmSoftCryptoProvider - Created comprehensive tests for signing, verifying, and hashing functionalities. - Ensured correct behavior for key management and error handling. feat(api): Enhance Console Export Models - Expanded ConsoleExport models to include detailed status and event types. - Added support for various export formats and notification options. test(time): Implement TimeAnchorPolicyService tests - Developed tests for TimeAnchorPolicyService to validate time anchors. - Covered scenarios for anchor validation, drift calculation, and policy enforcement.
This commit is contained in:
75
docs/api/graph/samples/overlay-sample.json
Normal file
75
docs/api/graph/samples/overlay-sample.json
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"version": "2025-12-06",
|
||||
"tenantId": "tenant-default",
|
||||
"tile": {
|
||||
"id": "graph-tile::asset::sha256:abc123::z8/x12/y5",
|
||||
"bbox": {
|
||||
"minX": -122.41,
|
||||
"minY": 37.77,
|
||||
"maxX": -122.38,
|
||||
"maxY": 37.79
|
||||
},
|
||||
"zoom": 8,
|
||||
"etag": "c0ffee-overlay-etag"
|
||||
},
|
||||
"nodes": [
|
||||
{
|
||||
"id": "asset:registry.local/library/app@sha256:abc123",
|
||||
"kind": "asset",
|
||||
"label": "app:1.2.3",
|
||||
"severity": "high",
|
||||
"reachability": "reachable",
|
||||
"aoc": { "summary": "pass", "lastVerified": "2025-12-05T10:11:12Z" },
|
||||
"attributes": {
|
||||
"purl": "pkg:docker/app@sha256:abc123",
|
||||
"componentCount": 42
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "component:pkg:npm/jsonwebtoken@9.0.2",
|
||||
"kind": "component",
|
||||
"label": "jsonwebtoken@9.0.2",
|
||||
"severity": "high",
|
||||
"reachability": "reachable"
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"id": "edge-1",
|
||||
"source": "asset:registry.local/library/app@sha256:abc123",
|
||||
"target": "component:pkg:npm/jsonwebtoken@9.0.2",
|
||||
"type": "depends_on",
|
||||
"weight": 0.87
|
||||
}
|
||||
],
|
||||
"overlays": {
|
||||
"policy": [
|
||||
{
|
||||
"nodeId": "component:pkg:npm/jsonwebtoken@9.0.2",
|
||||
"badge": "fail",
|
||||
"policyId": "policy://tenant-default/runtime-hardening",
|
||||
"verdictAt": "2025-12-05T09:00:00Z"
|
||||
}
|
||||
],
|
||||
"vex": [
|
||||
{
|
||||
"nodeId": "component:pkg:npm/jsonwebtoken@9.0.2",
|
||||
"state": "under_investigation",
|
||||
"statementId": "vex:tenant-default:jwt:2025-12-05",
|
||||
"lastUpdated": "2025-12-05T09:10:00Z"
|
||||
}
|
||||
],
|
||||
"aoc": [
|
||||
{
|
||||
"nodeId": "asset:registry.local/library/app@sha256:abc123",
|
||||
"status": "pass",
|
||||
"lastVerified": "2025-12-05T10:11:12Z"
|
||||
}
|
||||
]
|
||||
},
|
||||
"telemetry": {
|
||||
"generationMs": 120,
|
||||
"cache": "hit",
|
||||
"samples": 3
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user