Skip to content

Commit 1523a75

Browse files
🌱 [main] update client/openapi/trustd.yaml (#923)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-merge-queue[bot] <118344674+github-merge-queue[bot]@users.noreply.github.com>
1 parent 2712cf5 commit 1523a75

File tree

1 file changed

+57
-9
lines changed

1 file changed

+57
-9
lines changed

client/openapi/trustd.yaml

Lines changed: 57 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3613,15 +3613,28 @@ components:
36133613
propertyNames:
36143614
type: string
36153615
AnalysisDetailsV3:
3616-
type: object
3617-
required:
3618-
- purl_statuses
3619-
properties:
3620-
purl_statuses:
3621-
type: array
3622-
items:
3623-
$ref: '#/components/schemas/PurlStatus'
3624-
description: List of purl statuses
3616+
allOf:
3617+
- $ref: '#/components/schemas/VulnerabilityHead'
3618+
- type: object
3619+
required:
3620+
- purl_statuses
3621+
properties:
3622+
purl_statuses:
3623+
type: array
3624+
items:
3625+
$ref: '#/components/schemas/AnalysisPurlStatus'
3626+
description: List of purl statuses & remediations
3627+
AnalysisPurlStatus:
3628+
allOf:
3629+
- $ref: '#/components/schemas/PurlStatus'
3630+
- type: object
3631+
required:
3632+
- remediations
3633+
properties:
3634+
remediations:
3635+
type: array
3636+
items:
3637+
$ref: '#/components/schemas/RemediationSummary'
36253638
AnalysisRequest:
36263639
type: object
36273640
required:
@@ -5220,6 +5233,36 @@ components:
52205233
- describes
52215234
- package
52225235
- undefined
5236+
RemediationCategory:
5237+
type: string
5238+
enum:
5239+
- vendor_fix
5240+
- workaround
5241+
- mitigation
5242+
- no_fix_planned
5243+
- none_available
5244+
- will_not_fix
5245+
RemediationSummary:
5246+
type: object
5247+
required:
5248+
- id
5249+
- category
5250+
- data
5251+
properties:
5252+
category:
5253+
$ref: '#/components/schemas/RemediationCategory'
5254+
data: {}
5255+
details:
5256+
type:
5257+
- string
5258+
- 'null'
5259+
id:
5260+
type: string
5261+
format: uuid
5262+
url:
5263+
type:
5264+
- string
5265+
- 'null'
52235266
Report:
52245267
type: object
52255268
required:
@@ -5938,13 +5981,18 @@ components:
59385981
type: object
59395982
required:
59405983
- id
5984+
- remediations
59415985
properties:
59425986
id:
59435987
type: string
59445988
justification:
59455989
oneOf:
59465990
- type: 'null'
59475991
- $ref: '#/components/schemas/VexJustification'
5992+
remediations:
5993+
type: array
5994+
items:
5995+
$ref: '#/components/schemas/RemediationSummary'
59485996
status:
59495997
oneOf:
59505998
- type: 'null'

0 commit comments

Comments
 (0)