Vulnerabilities API - POST unmute remediation items
Unmutes multiple remediation tracking process groups or, in the case of Kubernetes vulnerabilities, multiple remediation tracking Kubernetes nodes.
The request consumes an application/json
payload.
POST | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/v2/securityProblems/{id}/remediationItems/unmute |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/securityProblems/{id}/remediationItems/unmute | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/securityProblems/{id}/remediationItems/unmute |
Authentication
To execute this request, you need an access token with securityProblems.write
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
id | string | The ID of the required third-party security problem. | path | required |
body | Remediation | The JSON body of the request. Contains the un-muting information. | body | optional |
Request body objects
The RemediationItemsBulkUnmute
object
Information on un-muting several remediation items.
Element | Type | Description | Required |
---|---|---|---|
comment | string | A comment about the un-muting reason. | optional |
reason | string | The reason for un-muting the remediation items. | required |
remediationItemIds | string[] | The ids of the remediation items to be un-muted. | required |
Request body JSON model
This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
{
"comment": "string",
"reason": "AFFECTED",
"remediationItemIds": [
"string"
]
}
Response
Response codes
Code | Type | Description |
---|---|---|
200 | Remediation | Success. The remediation item(s) have been un-muted. |
Response body objects
The RemediationItemsBulkUnmuteResponse
object
Response of un-muting several remediation items.
Element | Type | Description |
---|---|---|
summary | Remediation | The summary of which remediation items were un-muted and which already were un-muted previously. |
The RemediationItemMutingSummary
object
Summary of (un-)muting a remediation item.
Element | Type | Description |
---|---|---|
muteStateChangeTriggered | boolean | Whether a mute state change for the given remediation item was triggered by this request. |
reason | string | Contains a reason, in case the requested operation was not executed. |
remediationItemId | string | The id of the remediation item that will be (un-)muted. |
Response body JSON model
{
"summary": [
{
"muteStateChangeTriggered": true,
"reason": "ALREADY_MUTED",
"remediationItemId": "string"
}
]
}