Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
Signed-off-by: stonezdj <daojunz@vmware.com>
  • Loading branch information
stonezdj committed Jul 7, 2023
1 parent af2d182 commit 294aa3d
Showing 1 changed file with 0 additions and 65 deletions.
65 changes: 0 additions & 65 deletions api/v2.0/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6086,34 +6086,6 @@ paths:
$ref: '#/responses/404'
'500':
$ref: '#/responses/500'
/security/vul:
get:
summary: Get the vulnerability list.
description: |
Get the vulnerability list.
tags:
- securityhub
operationId: GetVulnerabilityList
parameters:
- $ref: '#/parameters/requestId'
- $ref: '#/parameters/query'
- $ref: '#/parameters/page'
- $ref: '#/parameters/pageSize'
- $ref: '#/parameters/sort'
responses:
'200':
description: The vulnerability list.
schema:
type: array
items:
$ref: '#/definitions/VulnerabilityItem'
'400':
$ref: '#/responses/400'
'401':
$ref: '#/responses/401'
'500':
$ref: '#/responses/500'

parameters:
query:
name: q
Expand Down Expand Up @@ -9774,40 +9746,3 @@ definitions:
type: integer
x-omitempty: false
description: the count of medium vulnerabilities
VulnerabilityItem:
type: object
description: the vulnerability item info
properties:
project:
type: string
description: the project of the artifact
repository:
type: string
description: the repository of the artifact
digest:
type: string
description: the digest of the artifact
tags:
type: array
items:
type: string
description: the tags of the artifact
cve_id:
type: string
description: the CVE id of the vulnerability.
severity:
type: string
description: the severity of the vulnerability
cvss_v3_score:
type: number
format: float
description: the nvd cvss v3 score of the vulnerability
package:
type: string
description: the package of the vulnerability
version:
type: string
description: the version of the package
fixed_version:
type: string
description: the fixed version of the package

0 comments on commit 294aa3d

Please sign in to comment.