close_finding
Close a DefectDojo finding by marking it false positive, mitigated, or duplicate, with an optional note recorded at closure time.
Instructions
Close a finding. Requires closure_type; use the dedicated tools below when unsure.
Prefer the semantic aliases:
close_finding_false_positive(finding_id, note)
close_finding_mitigated(finding_id, note)
close_finding_duplicate(finding_id, duplicate_of)
Args: finding_id: The finding ID to close closure_type: One of "false_positive", "mitigated", "duplicate" note: Optional note recorded on the finding at closure time note_type: Optional note type ID (see list_note_types) mitigated: Mitigation datetime (ISO 8601, defaults to now) out_of_scope: Mark finding as out of scope (only meaningful with closure_type="false_positive") duplicate: Mark finding as duplicate (only meaningful with closure_type="duplicate")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| duplicate | No | ||
| mitigated | No | ||
| note_type | No | ||
| finding_id | Yes | ||
| closure_type | No | mitigated | |
| out_of_scope | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||