Files
git.stella-ops.org/docs/samples/lnm/linkset-ghsa.json
master 9075bad2d9 Add unit tests and implementations for MongoDB index models and OpenAPI metadata
- Implemented `MongoIndexModelTests` to verify index models for various stores.
- Created `OpenApiMetadataFactory` with methods to generate OpenAPI metadata.
- Added tests for `OpenApiMetadataFactory` to ensure expected defaults and URL overrides.
- Introduced `ObserverSurfaceSecrets` and `WebhookSurfaceSecrets` for managing secrets.
- Developed `RuntimeSurfaceFsClient` and `WebhookSurfaceFsClient` for manifest retrieval.
- Added dependency injection tests for `SurfaceEnvironmentRegistration` in both Observer and Webhook contexts.
- Implemented tests for secret resolution in `ObserverSurfaceSecretsTests` and `WebhookSurfaceSecretsTests`.
- Created `EnsureLinkNotMergeCollectionsMigrationTests` to validate MongoDB migration logic.
- Added project files for MongoDB tests and NuGet package mirroring.
2025-11-17 21:21:56 +02:00

21 lines
694 B
JSON

{
"_id": "0000000000000000000000aa",
"tenantId": "demo-tenant",
"source": "ghsa",
"advisoryId": "GHSA-xxxx-yyyy",
"observations": [ "000000000000000000000001" ],
"normalized": {
"purls": [ "pkg:npm/example" ],
"versions": [ "1.2.3" ],
"ranges": [ { "type": "semver", "events": [ { "introduced": "0" }, { "fixed": "1.2.4" } ] } ],
"severities": [ { "system": "cvssv3.1", "score": 7.5, "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N" } ]
},
"createdAt": "2025-10-06T12:05:00Z",
"builtByJobId": "linkset-builder-456",
"provenance": {
"observationHashes": [ "sha256:abc123" ],
"toolVersion": "lnm-1.0.0",
"policyHash": "sha256:def456"
}
}