Vulnerabilities API - POST unmute vulnerabilities
Unmutes multiple vulnerabilities. Unmuted vulnerabilities are displayed on the vulnerability list in Dynatrace.
The request consumes an application/json
payload.
POST | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/v2/securityProblems/unmute |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/securityProblems/unmute | |
Environment and Cluster ActiveGate (default port 9999) | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/securityProblems/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 |
---|---|---|---|---|
body | SecurityProblemsBulkUnmute | The JSON body of the request. Contains the un-muting information. | body | optional |
Request body objects
The SecurityProblemsBulkUnmute
object
Information on un-muting several security problems.
Element | Type | Description | Required |
---|---|---|---|
comment | string | A comment about the un-muting reason. | optional |
reason | string | The reason for un-muting the security problems.
| required |
securityProblemIds | string[] | The ids of the security problems 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.
1{2 "comment": "string",3 "reason": "AFFECTED",4 "securityProblemIds": [5 "string"6 ]7}
Response
Response codes
Code | Type | Description |
---|---|---|
200 | SecurityProblemsBulkUnmuteResponse | Success. The security problem(s) have been un-muted. |
Response body objects
The SecurityProblemsBulkUnmuteResponse
object
Response of un-muting several security problems.
Element | Type | Description |
---|---|---|
summary | SecurityProblemBulkMutingSummary[] | The summary of which security problems were un-muted and which already were un-muted previously. |
The SecurityProblemBulkMutingSummary
object
Summary of (un-)muting a security problem.
Element | Type | Description |
---|---|---|
muteStateChangeTriggered | boolean | Whether a mute state change for the given security problem was triggered by this request. |
reason | string | Contains a reason, in case the requested operation was not executed.
|
securityProblemId | string | The id of the security problem that was (un-)muted. |
Response body JSON model
1{2 "summary": [3 {4 "muteStateChangeTriggered": true,5 "reason": "ALREADY_MUTED",6 "securityProblemId": "string"7 }8 ]9}