allRemediationTypes
Get the list of possible remediation types for targets.
Arguments
| Argument | Type | Description |
|---|---|---|
| violationId | String | Violation ID. |
| targets | RemediationTargetsInput | Remediation target IDs and their type. |
| location | RemediationLocation | Remediation location. |
| resourceType | PolicyResourceType | Resource type. |
| resourceId | String | Resource ID. |
Returns
Sample
{
"data": {
"allRemediationTypes": {
"remediations": [
{
"disabledReason": "REMEDIATION_DISABLED_REASON_ACCESS_REVOKED",
"isAvailable": true,
"type": "REMEDIATION_TYPE_APPLY_MIP_LABEL"
}
],
"targets": {
"targetIds": [
"example-string"
],
"targetType": "REMEDIATION_TARGET_TYPE_ACTIVITY_EVENT"
}
}
}
}