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.
Code | Message | Datatype |
---|---|---|
200 |
A successful response. |
|
0 |
An unexpected error response. |
Field Name | Required | Nullable | Type | Description | Format |
---|---|---|---|---|---|
code |
Integer |
int32 |
|||
message |
String |
||||
details |
List of ProtobufAny |
Field Name | Required | Nullable | Type | Description | Format |
---|---|---|---|---|---|
registry |
String |
||||
remote |
String |
||||
tag |
String |
Field Name | Required | Nullable | Type | Description | Format |
---|---|---|---|---|---|
id |
String |
||||
message |
String |
||||
user |
|||||
createdAt |
Date |
date-time |
Field Name | Required | Nullable | Type | Description | Format |
---|---|---|---|---|---|
cves |
List of |
REQUIRED. The CVEs to which the exception should be applied. |
|||
scope |
|||||
comment |
String |
REQUIRED. The rationale for creating the exception. |
Field Name | Required | Nullable | Type | Description | Format |
---|---|---|---|---|---|
exception |
Field Name | Required | Nullable | Type | Description | Format |
---|---|---|---|---|---|
cves |
List of |
Use this field to update the CVEs of a deferral exception. |
|||
expiry |
Field Name | Required | Nullable | Type | Description | Format |
---|---|---|---|---|---|
expiryType |
TIME, ALL_CVE_FIXABLE, ANY_CVE_FIXABLE, |
||||
expiresOn |
Date |
Indicates the timestamp when the exception expires. This field is REQUIRED only if the expiry type is set to TIME. |
date-time |
Indicates the status of a request.
PENDING: Default request state. It indicates that the request has not been fulfilled and that an action (approve/deny) is required.
APPROVED: Indicates that the request has been approved by the approver.
DENIED: Indicates that the request has been denied by the approver.
APPROVED_PENDING_UPDATE: Indicates that the original request was approved, but an update is still pending an approval or denial.
Enum Values |
---|
PENDING |
APPROVED |
DENIED |
APPROVED_PENDING_UPDATE |
Field Name | Required | Nullable | Type | Description | Format |
---|---|---|---|---|---|
cves |
List of |
Use this field to update the CVEs of a false-positive exception. |
Next available tag: 16 VulnerabilityException represents a vulnerability exception such as deferral and false-positive.
Field Name | Required | Nullable | Type | Description | Format |
---|---|---|---|---|---|
id |
String |
||||
name |
String |
Auto-generated display name of the exception. |
|||
targetState |
OBSERVED, DEFERRED, FALSE_POSITIVE, |
||||
status |
PENDING, APPROVED, DENIED, APPROVED_PENDING_UPDATE, |
||||
expired |
Boolean |
If set to |
|||
requester |
|||||
approvers |
List of V2SlimUser |
||||
createdAt |
Date |
date-time |
|||
lastUpdated |
Date |
date-time |
|||
comments |
List of V2Comment |
||||
scope |
|||||
deferralRequest |
|||||
falsePositiveRequest |
Object |
||||
cves |
List of |
Indicates the CVEs to which the exception applies. |
|||
deferralUpdate |
|||||
falsePositiveUpdate |
VulnerabilityState are the possible applicable to CVE. By default all vulnerabilities are in observed state.
OBSERVED: This is the default state and indicates that the CVE is not excluded from policy evaluation and risk evaluation.
DEFERRED: Indicates that the vulnerability is deferred. A deferred CVE is excluded from policy evaluation and risk evaluation.
FALSE_POSITIVE: Indicates that the vulnerability is a false-positive. A false-positive CVE is excluded from policy evaluation and risk evaluation.
Enum Values |
---|
OBSERVED |
DEFERRED |
FALSE_POSITIVE |