You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/adrs/00014-enterprise-contract-integration.md
+48-25Lines changed: 48 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ An EC Wrapper (HTTP service) acts as a proxy between Trustify's EC service and C
34
34
35
35
Each SBOM + policy pair has a validation state that follows this lifecycle:
36
36
37
-
-**Pending** — initial state, set when an SBOM is associated with a policy (e.g., a default policy assigned at SBOM upload time; upload itself is outside the scope of this ADR). Indicates no validation has been triggered yet for this SBOM against this policy.
37
+
-**Pending** — initial state, set when an SBOM is associated with a policy. Indicates no validation has been triggered yet for this SBOM against this policy.
38
38
-**In Progress** — a user has triggered validation; the request is being processed. Other users can see this state, preventing duplicate validation runs for the same SBOM + policy pair.
39
39
-**Pass** — Conforma validation succeeded; the SBOM satisfies the policy.
40
40
-**Fail** — Conforma validation found policy violations; violation details are linked.
@@ -74,10 +74,6 @@ Conforma is not available as WASM and would require major upstream changes.
74
74
75
75
A Redis/RabbitMQ queue would improve retry handling and priority management; implement if the 429-based rejection approach proves insufficient under real load.
76
76
77
-
### Future API Migration
78
-
79
-
When Conforma provides a REST API, the EC Wrapper can be replaced by pointing Trustify's adapter directly at the Conforma REST endpoint. A feature flag (`ec-api-mode`) allows gradual migration. No changes to the service layer, API endpoints, or UI are required.
80
-
81
77
## The solution
82
78
83
79
### System Architecture
@@ -108,10 +104,7 @@ C4Context
108
104
```mermaid
109
105
C4Container
110
106
title Enterprise Contract Integration - Container Diagram
111
-
112
107
Person(user, "Trustify User", "Software engineer or security analyst")
0 commit comments