Repository navigation
chore(openapi): [main] update client/openapi/trustd.yaml - #1408
Conversation
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
Sorry @trustify-ci-bot[bot], you've used your own review budget of 250,000 diff characters for the last 7 days. You can request another review in 1 day and 17 hours by commenting |
Reviewer's GuideThe OpenAPI client contract is synchronized with a substantially expanded trustd API: it adds document ingestion and frontend configuration, introduces the complete correlation engine surface and models, and updates existing importer, vulnerability, advisory, crypto, and deprecated API definitions. Sequence diagram for URL document ingestionsequenceDiagram
participant Client
participant Trustd
participant RemoteURL
participant Ingestion
Client->>Trustd: uploadDocumentFromUrl
Trustd->>RemoteURL: Download document
RemoteURL-->>Trustd: Document content
Trustd->>Ingestion: Ingest document
Ingestion-->>Trustd: Ingestion result
Trustd-->>Client: 201 Document ingested
Sequence diagram for correlation query and verdict resolutionsequenceDiagram
participant Client
participant Trustd
participant Correlation
participant Evidence
Client->>Trustd: queryCorrelation
Trustd->>Correlation: Resolve identifier matches
Correlation->>Evidence: Select evidence and calculate confidence
Evidence-->>Correlation: Verdicts and explanations
Correlation-->>Trustd: QueryResult
Trustd-->>Client: 200 QueryResult
Flow diagram for correlation freshness refreshflowchart TD
Start[Correlation data may be stale]
Overview[getCorrelationFreshness]
List[listCorrelationFreshnessSboms]
StartCorrelation[startCorrelationRefresh]
Job[RefreshJob]
Status[getCorrelationRefresh]
Current[SBOM evidence is current]
Start --> Overview
Overview --> List
List --> StartCorrelation
StartCorrelation --> Job
Job --> Status
Status --> Current
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1408 +/- ##
==========================================
+ Coverage 62.47% 62.50% +0.03%
==========================================
Files 257 257
Lines 6057 6057
Branches 2036 2036
==========================================
+ Hits 3784 3786 +2
+ Misses 2036 2034 -2
Partials 237 237
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Successfully created backport PR for |
The openapi.yaml of trustify has changed
Summary by Sourcery
Synchronize the client API contract with the latest Trustify OpenAPI definition, including correlation capabilities, ingestion endpoints, frontend metadata, and deprecations.
New Features:
Enhancements:
Tests:
Chores: