Skip to content

Commit ffca6de

Browse files
authored
Merge pull request #115 from ruromero/TC-5018
feat: add AdvisoryInfo schema to RemediationInfo
2 parents c3fd37c + 51f6b6d commit ffca6de

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

‎api/v5/openapi.yaml‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,26 @@ components:
579579
description: Human-readable remediation details
580580
url:
581581
type: string
582+
format: uri
582583
description: URL with more information about the remediation
584+
advisory:
585+
$ref: '#/components/schemas/AdvisoryInfo'
586+
AdvisoryInfo:
587+
type: object
588+
description: Source advisory attribution for a remediation
589+
properties:
590+
id:
591+
type: string
592+
description: Advisory identifier (e.g. RHSA-2024:1234, GHSA-xxxx-xxxx-xxxx)
593+
title:
594+
type: string
595+
description: Advisory title or summary
596+
url:
597+
type: string
598+
format: uri
599+
description: URL to the full advisory document
600+
required:
601+
- id
583602
VersionRange:
584603
type: object
585604
description: Affected version range from a vulnerability advisory. Fields present depend on the range type - Full (all fields), Left (scheme and low bound), Right (scheme and high bound), or Unbounded (empty).

0 commit comments

Comments
 (0)