Mutation

update_false_positive

Updates whether a given issue is marked as a false positive or not.

Arguments

input: UpdateFalsePositiveInput!

The fields used to specify which issues you want to mark or unmark as a false positive.


Input Fields

scan_id(): ID!
The unique identifier of the scan that found the issue that you want to mark or unmark as a false positive.
serial_number(): ID
The unique identifier for the individual instance of the issue that you want to mark or unmark as a false positive.
is_false_positive(): Boolean
Specifies whether the issue should be marked as a false positive or not.
propagation_mode(): FalsePositivePropagationMode
Determines whether this change applies only to this instance of the issue, to all issues of the same type at the same URL, or all issues of the same type across the entire site.

Return Fields

successful(): Boolean
Indicates whether the false positive was successfully updated.

Example

Query
mutation UpdateFalsePositive($input: UpdateFalsePositiveInput!) {
  update_false_positive(input: $input) {
    successful
  }
}
Variables
{
  "input": {
    "scan_id": "18",
    "serial_number": "8788117787987606528",
    "is_false_positive": true,
    "propagation_mode": "issue_type_only"
  }
}