Specifies the number of days after which a detected vulnerability is automatically deleted.

Usage notes

You can call the ModifyAutoDelConfig operation to specify the number of days after which a detected vulnerability is automatically deleted. If you do not handle a detected vulnerability and the vulnerability is no longer detected in multiple subsequent detection, the vulnerability is automatically deleted from the Vulnerabilities page after the specified number of days. If vulnerabilities of the same type are detected, Security Center still generates alerts.

Limits

You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyAutoDelConfig

The operation that you want to perform. Set the value to ModifyAutoDelConfig.

Days Integer No 7

The number of days after which a detected vulnerability is automatically deleted. Valid values:

  • 7
  • 30
  • 90

Response parameters

Parameter Type Example Description
RequestId String 19635D33-E7B8-4134-97F1-9CBC7F8934B9

The ID of the request, which is used to locate and troubleshoot issues.

Examples

Sample requests

/?Action=ModifyAutoDelConfig
&Days=7
&<Common request parameters>

Sample success responses

XML format

<ModifyAutoDelConfigResponse>
<RequestId>19635D33-E7B8-4134-97F1-9CBC7F8934B9</RequestId>
<ModifyAutoDelConfigResponse>

JSON format

{
    "RequestId": "19635D33-E7B8-4134-97F1-9CBC7F8934B9"
}

Error codes

For a list of error codes, visit the API Error Center.