Vulnarabilities API - POST mute remediation items
Mutes 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/mute |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/securityProblems/{id}/remediationItems/mute | |
Environment and Cluster ActiveGate (default port 9999) | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/securityProblems/{id}/remediationItems/mute |
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 requested third-party security problem. | path | required |
body | RemediationItemsBulkMute | The JSON body of the request. Contains the muting information. | body | optional |
Request body objects
The RemediationItemsBulkMute
object
Information on muting several remediation items.
Element | Type | Description | Required |
---|---|---|---|
comment | string | A comment about the muting reason. | optional |
reason | string | The reason for muting the remediation items.
| required |
remediationItemIds | string[] | The ids of the remediation items to be 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.
1{2 "comment": "string",3 "reason": "CONFIGURATION_NOT_AFFECTED",4 "remediationItemIds": [5 "string"6 ]7}
Response
Response codes
Code | Type | Description |
---|---|---|
200 | RemediationItemsBulkMuteResponse | Success. The remediation item(s) have been muted. |
Response body objects
The RemediationItemsBulkMuteResponse
object
Response of muting several remediation items.
Element | Type | Description |
---|---|---|
summary | RemediationItemMutingSummary[] | The summary of which remediation items were muted and which already were 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
1{2 "summary": [3 {4 "muteStateChangeTriggered": true,5 "reason": "ALREADY_MUTED",6 "remediationItemId": "string"7 }8 ]9}