Actions52
- Asset Actions
- Data Import Job Actions
- Job Config Actions
- Notification Actions
- Parser Actions
- Vulnerability Actions
- Vulnerability Audit Log Actions
- Vulnerability Detection Actions
- Vulnerability Detection Rule Actions
- Zone Actions
Vulnerability → Set State
AI-generatedSummary
Set the enabled/disabled state of vulnerabilities by sending updates defined in a JSON selector to the Dragos platform.
Inputs
- Selector (required) — JSON selector for filtering vulnerabilities to update, including an 'updates' array specifying state changes.
- Options — Optional collection to specify a sort field and whether to sort descending (not used in this operation per source).
Output shape
a single API response object in JSON format indicating the result of the set state operation
The Selector input must contain an 'updates' array indicating the vulnerabilities and their new state. The operation sends a POST request to /api/v1/vulnerability/setState with these updates. No pagination or additional output shaping is performed.
Examples
Example 1: Set the state of specific vulnerabilities
Provide a Selector JSON specifying 'updates' to enable or disable vulnerabilities.
