All Products
Search
Document Center

Security Center:ListVulAutoRepairConfig

Last Updated:Feb 20, 2024

Queries the existing configurations of vulnerabilities that can be automatically fixed.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:ListVulAutoRepairConfigList
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
TypestringNo

The type of the vulnerability. Valid values:

  • cve: Linux software vulnerability
  • sys: Windows system vulnerability
cve
AliasNamestringNo

The alias of the vulnerability.

RHSA-2022:0274-Important: polkit pkexec Local Privilege Escalation Vulnerability(CVE-2021-4034)
CurrentPageintegerNo

The number of the page to return. Default value: 1.

1
PageSizeintegerNo

The number of entries per page. Default value: 10.

10

Response parameters

ParameterTypeDescriptionExample
object

The existing configuration of vulnerability that can be automatically fixed.

RequestIdstring

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

3B3F3A90-46A5-4023-A2D8-D68B14262F96
Successboolean

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.
true
Codestring

The status code returned. The status code 200 indicates that the request was successful. Other status codes indicate that the request failed. You can identify the cause of the failure based on the status code.

200
Messagestring

The error message returned.

success
HttpStatusCodeinteger

The HTTP status code returned.

200
VulAutoRepairConfigListobject []

An array consisting of the existing configurations of vulnerabilities that can be automatically fixed.

Idlong

The configuration ID of the vulnerability.

37338
Namestring

The name of the vulnerability.

anolisos:8.4:ANSA-2022:0001
Typestring

The type of the vulnerability. Valid values:

  • cve: Linux software vulnerability
  • sys: Windows system vulnerability
cve
AliasNamestring

The alias of the vulnerability.

RHSA-2022:0274-Important: polkit pkexec Local Privilege Escalation Vulnerability(CVE-2021-4034)
Reasonstring

The reason why the vulnerability can be automatically fixed.

The vulnerability fix is risk-free and can be configured to automate the fix.
PageInfoobject

The pagination information.

CurrentPageinteger

The page number of the returned page.

1
PageSizeinteger

The number of entries returned per page. Default value: 10.

10
TotalCountinteger

The total number of entries returned.

11
Countinteger

The number of entries returned on the current page.

10

Examples

Sample success responses

JSONformat

{
  "RequestId": "3B3F3A90-46A5-4023-A2D8-D68B14262F96",
  "Success": true,
  "Code": "200",
  "Message": "success",
  "HttpStatusCode": 200,
  "VulAutoRepairConfigList": [
    {
      "Id": 37338,
      "Name": "anolisos:8.4:ANSA-2022:0001\n",
      "Type": "cve",
      "AliasName": "RHSA-2022:0274-Important: polkit pkexec Local Privilege Escalation Vulnerability(CVE-2021-4034)",
      "Reason": "The vulnerability fix is risk-free and can be configured to automate the fix.\n"
    }
  ],
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 10,
    "TotalCount": 11,
    "Count": 10
  }
}

Error codes

HTTP status codeError codeError messageDescription
400InnerErrorInnerError-
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history