Unmutes a specific vulnerability. Unmuted vulnerabilities are displayed on the vulnerability list in Dynatrace.
The request consumes an application/json
payload.
POST | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/securityProblems/{id}/unmute |
Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/securityProblems/{id}/unmute |
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.
Parameter | Type | Description | In | Required |
---|---|---|---|---|
id | string | The ID of the requested security problem. | path | required |
body | Security | The JSON body of the request. Contains the un-muting information. | body | optional |
SecurityProblemUnmute
objectInformation on un-muting a security problem.
Element | Type | Description | Required |
---|---|---|---|
comment | string | A comment about the un-muting reason. | optional |
reason | string | The reason for un-muting a security problem.
| required |
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"}
Code | Type | Description |
---|---|---|
200 | - | Success. The security problem has been un-muted. |
204 | - | Not executed. The security problem is already un-muted. |
4XX | Error | Client side error. |
5XX | Error | Server side error. |
Unmute a vulnerability (2919200225913269102
) as configuration is now affected.
curl -X 'POST' 'https://mySampleEnv.live.dynatrace.com/api/v2/securityProblems/2919200225913269102/unmute' \-H 'accept: */*' \-H 'Authorization: Api-Token [your_token]' \-H 'Content-Type: application/json; charset=utf-8' \-d '{"comment": "Example unmute","reason": "AFFECTED"}'
https://mySampleEnv.live.dynatrace.com/api/v2/securityProblems/2919200225913269102/unmute
{"comment": "Example unmute","reason": "AFFECTED"}
200