/api/v1/remediation
GET /remediation — list remediation actions
Returns a paginated list of remediation actions.Query parameters
Filter by status:
pending_approval, approved, executing, completed, failed, or rolled_back.Filter by resource.
Filter by provider.
Page number.
Results per page.
Response
Estimated risk of applying this remediation:
low, medium, or high.GET /remediation/ — get remediation details
Returns full details including the pre-execution snapshot, estimated risk assessment, and execution log.POST /remediation — create remediation
Creates a new remediation action for a drift or vulnerability finding.Request body
The type of finding:
drift or vulnerability.The ID of the finding to remediate.
POST /remediation//approve — approve a remediation
Approves a remediation action so it can be executed. Action must be inpending_approval status.
Request body (optional)
Approval comment for the audit log.
POST /remediation//execute — run a remediation
Executes an approved remediation action against the cloud provider API. Action must be inapproved status.
Response 202
POST /remediation//rollback — rollback a remediation
Reverses a completed remediation action. Available within the rollback window after the action reachescompleted status.
POST /remediation//reject — reject a remediation
Rejects a pending remediation action.Request body (optional)
Reason for rejection.