All Products
Search
Document Center

Security Center:DescribeCheckFixDetails

Last Updated:Nov 25, 2024

Queries the parameters that you can configure to fix specified risk items.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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:DescribeCheckFixDetailsget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RiskIdlongNo

The ID of the baseline.

Note You can call the DescribeCheckWarningSummary operation to query the IDs of baselines.
51
CheckIdsstringNo

The ID of the risk item.

Note You can call the DescribeRiskType operation to query the IDs of risk items.
58
LangstringNo

The language of the content within the request and response. Default value: zh. Valid values:

  • zh: Chinese
  • en: English
zh

Response parameters

ParameterTypeDescriptionExample
object

The data returned.

CheckFixDetailsarray<object>

An array that consists of the parameters.

Dataobject

The information about the parameter.

CheckIdlong

The ID of the risk item.

58
CheckItemstring

The description of the risk item.

Ensure password reuse is limited
CheckDescstring

The detailed description of the risk item.

Force users not to reuse recently used passwords to reduce the risk of password guessing attacks
Rulesarray<object>

An array consisting of the rules that are supported by the risk item.

Ruleobject

The rule that is supported by the risk item.

RuleIdstring

The ID of the rule.

pwd_reuse.system_auth
RuleDescstring

The description of the rule.

(/etc/system-auth)Force users not to reuse the number of recently used passwords between 5 and 24
VarNamestring

The name of the variable.

open
DefaultValueinteger

The default value of the rule.

1
Optionalinteger

Indicates whether the rule is optional. Valid values:

  • 1: yes
  • 0: no
1
CheckIdlong

The ID of the risk item.

58
Valueinteger

The specified value of the rule parameter.

5
ParamListarray<object>

An array that consists of the rule parameters.

ParamListobject

The information about the rule parameter.

ParamNamestring

The name of the rule parameter.

range_val
ParamDescstring

The description of the rule parameter.

The setting value is 0 means no definition, 1 means success, 2 means failure, 3 means success and failure
ParamDefaultValuestring

The default value of the rule parameter.

5
ParamTypeinteger

The type of the rule parameter. Valid values:

  • 1: input
  • 2: selection
1
MinValueinteger

The minimum value of the rule parameter.

5
MaxValueinteger

The maximum value of the rule parameter.

24
EnumValuestring

The options that can be selected for the rule parameter if the value of the ParamType parameter is 2.

0,1,2,3
Valuestring

The specified value of the rule parameter.

18
RuleIdstring

The ID of the rule.

pwd_reuse.system_auth
Countinteger

The number of risk items that can be fixed.

20
RequestIdstring

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

0DBF1E27-98D8-5EC2-9CF3-4A2E26F6****

Examples

Sample success responses

JSONformat

{
  "CheckFixDetails": [
    {
      "CheckId": 58,
      "CheckItem": "Ensure password reuse is limited",
      "CheckDesc": "Force users not to reuse recently used passwords to reduce the risk of password guessing attacks",
      "Rules": [
        {
          "RuleId": "pwd_reuse.system_auth",
          "RuleDesc": "(/etc/system-auth)Force users not to reuse the number of recently used passwords between 5 and 24",
          "VarName": "open",
          "DefaultValue": 1,
          "Optional": 1,
          "CheckId": 58,
          "Value": 5,
          "ParamList": [
            {
              "ParamName": "range_val",
              "ParamDesc": "The setting value is 0 means no definition, 1 means success, 2 means failure, 3 means success and failure",
              "ParamDefaultValue": "5",
              "ParamType": 1,
              "MinValue": 5,
              "MaxValue": 24,
              "EnumValue": "0,1,2,3",
              "Value": "18",
              "RuleId": "pwd_reuse.system_auth"
            }
          ]
        }
      ]
    }
  ],
  "Count": 20,
  "RequestId": "0DBF1E27-98D8-5EC2-9CF3-4A2E26F6****"
}

Error codes

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

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