Questo contenuto non è disponibile nella lingua selezionata.

Chapter 67. Vulnerability Exception Service


67.1. Vulnerability Exception Service

67.1.1. ApproveVulnerabilityException

POST /v2/vulnerability-exceptions/{id}/approve

ApproveVulnerabilityException approves a vulnerability exception. Once approved, the exception is enforced. The associated vulnerabilities are excluded from policy evaluation and risk evaluation, and the vulnerabilities may not appear in certain APIs responses by default.

67.1.1.1. Description

67.1.1.2. Parameters

67.1.1.2.1. Path Parameters
Expand
NameDescriptionRequiredDefaultPattern

id

REQUIRED. The ID of vulnerability exception to be approved.

X

null

 
67.1.1.2.2. Body Parameter
Expand
NameDescriptionRequiredDefaultPattern

body

VulnerabilityExceptionServiceApproveVulnerabilityExceptionBody

X

  

67.1.1.3. Return Type

V2ApproveVulnerabilityExceptionResponse

67.1.1.4. Content Type

  • application/json

67.1.1.5. Responses

Expand
Table 67.1. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2ApproveVulnerabilityExceptionResponse

0

An unexpected error response.

RpcStatus

67.1.1.6. Samples

67.1.2. CancelVulnerabilityException

POST /v2/vulnerability-exceptions/{id}/cancel

CancelVulnerabilityException cancels a vulnerability exception. Once cancelled, an approved exception is no longer enforced. Cancelled exceptions are garbage collected as per the retention configuration .expiredVulnReqRetentionDurationDays (GET /v1/config/).

67.1.2.1. Description

67.1.2.2. Parameters

67.1.2.2.1. Path Parameters
Expand
NameDescriptionRequiredDefaultPattern

id

 

X

null

 

67.1.2.3. Return Type

V2CancelVulnerabilityExceptionResponse

67.1.2.4. Content Type

  • application/json

67.1.2.5. Responses

Expand
Table 67.2. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2CancelVulnerabilityExceptionResponse

0

An unexpected error response.

RpcStatus

67.1.2.6. Samples

67.1.3. CreateDeferVulnerabilityException

POST /v2/vulnerability-exceptions/deferral

CreateDeferVulnerabilityException creates an exception request to defer specified vulnerabilities. Once an exception is created, it remains in the PENDING state until the approval. The exception is enforced only after it is approved. Once the exception expires, it is garbage collected as per the retention configuration .expiredVulnReqRetentionDurationDays (GET`/v1/config/`)

67.1.3.1. Description

67.1.3.2. Parameters

67.1.3.2.1. Body Parameter
Expand
NameDescriptionRequiredDefaultPattern

body

V2CreateDeferVulnerabilityExceptionRequest

X

  

67.1.3.3. Return Type

V2CreateDeferVulnerabilityExceptionResponse

67.1.3.4. Content Type

  • application/json

67.1.3.5. Responses

Expand
Table 67.3. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2CreateDeferVulnerabilityExceptionResponse

0

An unexpected error response.

RpcStatus

67.1.3.6. Samples

67.1.4. CreateFalsePositiveVulnerabilityException

POST /v2/vulnerability-exceptions/false-positive

CreateFalsePositiveVulnerabilityException creates an exception request to mark specified vulnerabilities as false positive. Once an exception is created, it remains in the PENDING state until the approval. The exception is enforced only after it is approved.

67.1.4.1. Description

67.1.4.2. Parameters

67.1.4.2.1. Body Parameter
Expand
NameDescriptionRequiredDefaultPattern

body

V2CreateFalsePositiveVulnerabilityExceptionRequest

X

  

67.1.4.3. Return Type

V2CreateFalsePositiveVulnerabilityExceptionResponse

67.1.4.4. Content Type

  • application/json

67.1.4.5. Responses

Expand
Table 67.4. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2CreateFalsePositiveVulnerabilityExceptionResponse

0

An unexpected error response.

RpcStatus

67.1.4.6. Samples

67.1.5. DeleteVulnerabilityException

DELETE /v2/vulnerability-exceptions/{id}

DeleteVulnerabilityException deletes a vulnerability exception. Only pending exceptions and pending updates to an enforced exception can be deleted. To revert an exception use cancel API. All exceptions are retained in the system according to the retention configuration.

67.1.5.1. Description

67.1.5.2. Parameters

67.1.5.2.1. Path Parameters
Expand
NameDescriptionRequiredDefaultPattern

id

 

X

null

 

67.1.5.3. Return Type

Object

67.1.5.4. Content Type

  • application/json

67.1.5.5. Responses

Expand
Table 67.5. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

Object

0

An unexpected error response.

RpcStatus

67.1.5.6. Samples

67.1.6. DenyVulnerabilityException

POST /v2/vulnerability-exceptions/{id}/deny

DenyVulnerabilityException denies a vulnerability exception. Denied exceptions are inactive and are garbage collected as per the retention configuration .expiredVulnReqRetentionDurationDays (GET`/v1/config/`)

67.1.6.1. Description

67.1.6.2. Parameters

67.1.6.2.1. Path Parameters
Expand
NameDescriptionRequiredDefaultPattern

id

REQUIRED. The ID of vulnerability exception to be denied.

X

null

 
67.1.6.2.2. Body Parameter
Expand
NameDescriptionRequiredDefaultPattern

body

VulnerabilityExceptionServiceDenyVulnerabilityExceptionBody

X

  

67.1.6.3. Return Type

V2DenyVulnerabilityExceptionResponse

67.1.6.4. Content Type

  • application/json

67.1.6.5. Responses

Expand
Table 67.6. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2DenyVulnerabilityExceptionResponse

0

An unexpected error response.

RpcStatus

67.1.6.6. Samples

67.1.7. GetVulnerabilityException

GET /v2/vulnerability-exceptions/{id}

GetVulnerabilityException returns the vulnerability exception with specified ID.

67.1.7.1. Description

67.1.7.2. Parameters

67.1.7.2.1. Path Parameters
Expand
NameDescriptionRequiredDefaultPattern

id

 

X

null

 

67.1.7.3. Return Type

V2GetVulnerabilityExceptionResponse

67.1.7.4. Content Type

  • application/json

67.1.7.5. Responses

Expand
Table 67.7. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2GetVulnerabilityExceptionResponse

0

An unexpected error response.

RpcStatus

67.1.7.6. Samples

67.1.8. ListVulnerabilityExceptions

GET /v2/vulnerability-exceptions

ListVulnerabilityExceptions returns a list of vulnerability exceptions.

67.1.8.1. Description

67.1.8.2. Parameters

67.1.8.2.1. Query Parameters
Expand
NameDescriptionRequiredDefaultPattern

query

 

-

null

 

pagination.limit

 

-

null

 

pagination.offset

 

-

null

 

pagination.sortOption.field

 

-

null

 

pagination.sortOption.reversed

 

-

null

 

pagination.sortOption.aggregateBy.aggrFunc

 

-

UNSET

 

pagination.sortOption.aggregateBy.distinct

 

-

null

 

67.1.8.3. Return Type

V2ListVulnerabilityExceptionsResponse

67.1.8.4. Content Type

  • application/json

67.1.8.5. Responses

Expand
Table 67.8. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2ListVulnerabilityExceptionsResponse

0

An unexpected error response.

RpcStatus

67.1.8.6. Samples

67.1.9. UpdateVulnerabilityException

PATCH /v2/vulnerability-exceptions/{id}

UpdateVulnerabilityException updates an existing vulnerability exception. The update is enforced only once it is approved. Currently only the following can be updated: - CVEs and expiry of the deferral exceptions - CVEs of the false positive exception

67.1.9.1. Description

67.1.9.2. Parameters

67.1.9.2.1. Path Parameters
Expand
NameDescriptionRequiredDefaultPattern

id

REQUIRED. The ID of vulnerability exception to be updated.

X

null

 
67.1.9.2.2. Body Parameter
Expand
NameDescriptionRequiredDefaultPattern

body

VulnerabilityExceptionServiceUpdateVulnerabilityExceptionBody

X

  

67.1.9.3. Return Type

V2UpdateVulnerabilityExceptionResponse

67.1.9.4. Content Type

  • application/json

67.1.9.5. Responses

Expand
Table 67.9. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2UpdateVulnerabilityExceptionResponse

0

An unexpected error response.

RpcStatus

67.1.9.6. Samples

Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat