Dragos icon

Dragos

Interact with the Dragos OT/ICS cybersecurity platform

Vulnerability → Set State

AI-generated

Summary

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.

Links

Discussion