DescribeCheckFixDetails - 查询检查项修复明细信息

更新时间:
复制 MD 格式

指定检查项,查询修复此检查项可配置的参数。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。

  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。

  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:

    • 对于必选的资源类型,用前面加 * 表示。

    • 对于不支持资源级授权的操作,用全部资源表示。

  • 条件关键字:是指云产品自身定义的条件关键字。

  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。

操作

访问级别

资源类型

条件关键字

关联操作

yundun-sas:DescribeCheckFixDetails

get

*全部资源

*

请求参数

名称

类型

必填

描述

示例值

RiskId

integer

基线的 ID。

说明

您可调用 DescribeCheckWarningSummary 接口获取基线 ID。

51

CheckIds

string

检查项的 ID。

说明

您可调用 DescribeRiskType 接口获取检查项 ID。

58

Lang

string

请求和接收消息的语言类型,默认值为 zh。取值:

  • zh:中文

  • en:英文

zh

返回参数

名称

类型

描述

示例值

object

检查项修复参数列表结果。

CheckFixDetails

array<object>

检查项修复参数列表。

array<object>

检查项修复参数。

CheckId

integer

检查项 ID。

58

CheckItem

string

检查项描述。

Ensure password reuse is limited

CheckDesc

string

检查项详情说明。

Force users not to reuse recently used passwords to reduce the risk of password guessing attacks

Rules

array<object>

检查项支持的规则列表。

array<object>

检查项支持的规则。

RuleId

string

规则 id。

pwd_reuse.system_auth

RuleDesc

string

规则的描述信息。

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

VarName

string

变量名称。

open

DefaultValue

integer

规则的默认值。

1

Optional

integer

规则是否可选。取值:

  • 1:是

  • 0:否

1

CheckId

integer

检查项 ID。

58

Value

integer

规则参数设置值。

5

ParamList

array<object>

规则参数信息列表。

object

规则参数信息。

ParamName

string

规则参数名称。

range_val

ParamDesc

string

规则参数描述。

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

ParamDefaultValue

string

规则参数默认值。

5

ParamType

integer

规则参数类型。取值:

  • 1:输入

  • 2:选择

1

MinValue

integer

规则参数最小值。

5

MaxValue

integer

规则参数最大值。

24

EnumValue

string

规则参数为选择类型时,规则参数的选项。

0,1,2,3

Value

string

规则参数设置值。

18

RuleId

string

规则 ID。

pwd_reuse.system_auth

Count

integer

查询到的支持修复的检查项数量。

20

RequestId

string

本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。

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

示例

正常返回示例

JSON格式

{
  "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****"
}

错误码

HTTP status code

错误码

错误信息

描述

500 ServerError ServerError
403 NoPermission caller has no permission

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情