Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions asm/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -691,8 +691,7 @@ components:
readOnly: true
example: scn_a1b2c3d4e5f60001
label:
type: string
nullable: true
type: [string, 'null']
status:
$ref: '#/components/schemas/ScanStatus'
scan_type:
Expand All @@ -707,14 +706,12 @@ components:
format: date-time
readOnly: true
started_at:
type: string
type: [string, 'null']
format: date-time
nullable: true
readOnly: true
completed_at:
type: string
type: [string, 'null']
format: date-time
nullable: true
readOnly: true

ScanDetail:
Expand Down Expand Up @@ -746,8 +743,7 @@ components:
informational:
type: integer
error_message:
type: string
nullable: true
type: [string, 'null']
description: Set when status is `failed`

# ── Vulnerabilities ────────────────────────────────────────────────────────
Expand All @@ -770,11 +766,10 @@ components:
status:
$ref: '#/components/schemas/VulnStatus'
cvss_score:
type: number
type: [number, 'null']
format: float
minimum: 0
maximum: 10
nullable: true
example: 10.0
cve_ids:
type: array
Expand Down
Loading