Bulk Finding Actions
Acknowledge, resolve, mark as false positive, reopen or assign many security findings at once, either the selected rows or every finding matching the queue filter, with a preview and one timeline entry per changed finding.
Overview
In the findings queue of the Security overview page (/dashboard/security) a manager or admin sees a checkbox on every row and a "Select all findings on this page" checkbox in the header. Selecting rows shows a selection bar with "N selected" and the actions Acknowledge, Resolve, Mark false positive, Reopen, Assign and Clear. Viewers see neither the checkboxes nor the bar. The selection is cleared whenever a filter or the page changes.
- When every row of the page is selected and the filter matches more findings than the page shows, the bar offers "Select all N findings matching the filter": the action then applies to every page of the queue (the same findings, in any order)
- Every action opens a dialog that first runs a preview: how many findings were found, how many will change and how many are skipped, by cause
- The reason follows the rules of the single actions: required for resolve, false positive and reopen, optional for acknowledge, at most 2000 characters. It is recorded in the timeline of every changed finding
- After confirming, a notification reports "Applied to X, skipped Y" and the selection is cleared. If the request fails the dialog stays open

What Changes
Only the transitions allowed by the state machine are applied: open to acknowledged, resolved or false positive; acknowledged to resolved or false positive; resolved and false positive back to open; risk accepted to resolved, false positive or back to open (acknowledge skips it). Open and acknowledged findings can also become risk accepted, but only with the single-finding action, not in bulk (see Risk Acceptance, /docs/security/risk-acceptance). Every other finding is skipped and left unchanged. The status is checked again under a database lock when the action is applied, so a concurrent change produces a skip, never a forbidden transition. Each changed finding gets its own status_changed event in the timeline, with the user, the reason and metadata {"bulk": true}, written in the same transaction as the change; the priority of the affected assets is recomputed afterwards.
- invalid_transition: the current status does not allow the action (e.g. resolving an already resolved finding); reported per current status
- already_assigned: with Assign, the finding is already assigned to the chosen user (or already unassigned, when "Unassigned" is chosen)
- not_found: the finding no longer exists (a selected id that is unknown, or a finding deleted by retention while the action runs)
Assign
Assign sets the assignee of the selected findings, in any status (the state machine does not apply). The dialog first asks the assignee, searching the active users, or "Unassigned"; the preview runs only once a choice is made and again at every new choice, and confirm stays disabled without one. The reason is optional. Each changed finding gets an assigned event with metadata from_assignee, to_assignee, their usernames and {"bulk": true}; the priority is not recomputed. Combined with the Assignee filter of the queue (e.g. filter {"assignee": "none"}) it assigns every unassigned finding of a view at once. See Finding Assignment & Comments (/docs/security/assignment-comments).
Filter, Preview and Confirmation
An action by filter uses exactly the queue semantics: the same parameters as GET /api/v1/security/findings/, the same default of active findings only (unless is_active or a closed status is given) and the same handling of kernel findings when SECURITY_KERNEL_POLICY is separate. page, page_size and ordering are ignored. To avoid surprises it is a two-step operation: a preview with dry_run=true returns matched, then the action is applied with expected_count equal to that matched. If the filter now matches a different number of findings the API answers 409 with the new matched and changes nothing; the dialog runs the preview again.
Note: An action by filter changes at most SECURITY_BULK_MAX findings (default 5000). The preview still reports the real matched count; above the limit the action is refused and the dialog asks to narrow the filter. A list of ids is limited to SECURITY_BULK_MAX ids as well.
API
POST /api/v1/security/findings/bulk/ (manager or admin; viewers get 403, anonymous requests 401). Body: action (acknowledge, resolve, false_positive, reopen or assign), assignee (required with assign: the id of an active user, or null to unassign; ignored by the other actions), exactly one of ids (non-empty list of finding ids, duplicates ignored) and filter (object of string, number or boolean values; lists and objects are rejected, and so is a key the queue does not know, so a typo never widens the action), reason, dry_run (default false) and expected_count (required with filter when dry_run is false, ignored with ids). Validation errors return 400 with field errors (ids, filter, reason, assignee, expected_count, or non_field_errors when both or neither of ids and filter are given); applying a filter that matches more than SECURITY_BULK_MAX findings also returns 400 on filter. The response, also for a dry run, has action, dry_run, matched, applied (would be applied, in a dry run), skipped, skipped_causes (cause, from_status, count) and limit.
# 1. Preview
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"action": "false_positive", "filter": {"cve": "CVE-2024-6387", "severity": "high"}, "dry_run": true}' \
"https://idp.example.com/api/v1/security/findings/bulk/"
# 2. Apply, confirming the matched count of the preview
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"action": "false_positive", "filter": {"cve": "CVE-2024-6387", "severity": "high"}, "expected_count": 120, "reason": "Not exploitable: sshd disabled on these hosts"}' \
"https://idp.example.com/api/v1/security/findings/bulk/"Example Response
A resolve on two open findings, one already resolved and one unknown id:
{
"action": "resolve", "dry_run": false, "matched": 3, "applied": 2, "skipped": 2, "limit": 5000,
"skipped_causes": [
{"cause": "invalid_transition", "from_status": "resolved", "count": 1},
{"cause": "not_found", "from_status": "", "count": 1}
]
}