GetCheckDetail - 获取检查项详情

更新时间:
复制 MD 格式

获取云平台配置检查项详情。

调试

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

调试

授权信息

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

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

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

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

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

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

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

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

操作

访问级别

资源类型

条件关键字

关联操作

yundun-sas:GetCheckDetail

get

*全部资源

*

无 无

请求参数

名称

类型

必填

描述

示例值

CheckId

integer

是

检查项的 ID。

说明

您可调用 ListCheckResult 接口获取该数据。

2

Lang

string

否

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

  • zh:中文

  • en:英文

枚举值:

  • en :

    en

  • zh :

    zh

en

RegionId

string

否

实例所在的地域的 ID。

说明

您可调用 ListCloudAssetInstances 接口获取该数据。

cn-hangzhou

返回参数

名称

类型

描述

示例值

object

请求返回数据。

Description

object

检查项的描述。

Type

string

描述类型,固定值为 text。

text

Value

string

检查项的描述的具体信息。

The MSE instance does not enable authentication by default. If public network access is enabled at the same time, the data in the configuration center may be dragged and there is a security risk.

Solution

object

检查项风险的解决方案。

Type

string

检查项风险的解决方案类型。取值:

  • text:文本

  • link:链接

text

Value

string

检查项风险的解决方案类型为 text 时的文本内容。

Enter the MSE product console - registration and configuration center - instance list, click the corresponding instance name to enter the instance details, find the public network whitelist setting option in the basic information, and configure the whitelist according to business needs. It is forbidden to configure 0.0.0.0 or the whitelist as null.

AssistInfo

object

检查项帮助信息。

Type

string

检查项风险的帮助信息类型。取值:

  • text:文本

  • link:链接

text

Value

string

检查项风险的帮助信息类型为 text 时的文本内容。

Configure an IP address whitelist

RequestId

string

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

15A6ED6A-DBFE-5255-A248-289907809BEC

CustomConfigs

array<object>

检查项自定义配置项列表。

object

Name

string

检查项自定义配置项名称,同检查项唯一。

SessionTimeMax

TypeDefine

string

检查项自定义配置项类型 JSON 字符串。

{\"type\":\"NUMBER\",\"range\":[1,24]}

DefaultValue

string

检查项自定义配置项默认值字符串。

12

Value

string

检查项自定义配置项用户配置值字符串。

11

ShowName

string

检查项自定义配置项国际化名称。

Maximum session time

RepairReset deprecated

string

重要 该参数已废弃

true

RepairSupportType deprecated

integer

重要 该参数已废弃

1

RepairSetting

object

检查项修复设置具体信息。

RepairSupport

boolean

该检查项支持的是否支持修复功能:

  • true:是

  • false:否

true

RepairSupportType

integer

该检查项支持修复的类型:

  • 1: 支持修复并支持回滚操作

  • 2: 修复不支持回滚

  • 3: 跳转到第三方平台操作

1

RepairReset

boolean

该检查项支持的修复功能修复后是否重启:

  • true:重启

  • false: 不需要重启

true

RepairConfigs

array<object>

检查项修复支持的入参配置信息。

object

Name

string

检查项自定义修复参数名称,同检查项唯一。

navicat

TypeDefine

string

检查项自定义配置项类型 JSON 字符串。

{\"type\":\"NUMBER\",\"range\":[1,24]}

DefaultValue

string

检查项修复配置参数的默认值字符串。

1

Value

string

用户配置的检查项修复参数字符串值。

2

ShowName

string

用户修复参数配置的展示名称。

port

FlowId

string

修复配置流程对应的 ID。

64312d3ee19d470a9b54393dab****

CustomFlag

boolean

该修复参数是否支持用户自定义配置:

  • true:支持

  • false:不支持

true

ExclusiveName

array

与该参数不兼容的其他修复配置参数的数组。

string

与该参数不兼容的其他修复配置参数,无法同时配置。

["port"]

ConsoleParamType

string

参数类型是否在控制台展示:

  • 0:展示回滚以及实时资产的参数值

  • 1:只展示资产的对应参数实时值

  • 2:不在控制台显示

0

DataTransformType

string

数据是否加密:

  • 0:不需要加密

  • 1:需要加密传输

  • 2:需要加密传输,并且需要用户二次确认

1

UsageType

string

参数的使用类型:

  • 1:修复时需要的资产参数

  • 2:修复时需要用户传输的参数

  • 3:临时用户传入的参数

1

EmptyParamSwitch

string

该参数用户是否需要填写

  • 0:参数有默认值

  • 1:参数无默认值,用户需要填写

  • 2:该参数可以为空

1

FlowStep

array<object>

修复流程说明。

object

Step

string

修复的流程步骤序号。

1

ShowText

string

修复流程步骤的说明文本。

The first step is to open the calling interface.

示例

正常返回示例

JSON格式

{
  "Description": {
    "Type": "text",
    "Value": "The MSE instance does not enable authentication by default. If public network access is enabled at the same time, the data in the configuration center may be dragged and there is a security risk.",
    "Link": "https://www.alibabacloud.com/help/en/object-storage-service/latest/tutorial-implement-data-sharing-across-departments-based-on-bucket-policies"
  },
  "Solution": {
    "Type": "text",
    "Value": "Enter the MSE product console - registration and configuration center - instance list, click the corresponding instance name to enter the instance details, find the public network whitelist setting option in the basic information, and configure the whitelist according to business needs. It is forbidden to configure 0.0.0.0 or the whitelist as null.",
    "Link": "https://www.alibabacloud.com/help/en/object-storage-service/latest/tutorial-implement-data-sharing-across-departments-based-on-bucket-policies"
  },
  "AssistInfo": {
    "Type": "text",
    "Value": "Configure an IP address whitelist",
    "Link": "https://www.alibabacloud.com/help/en/resource-access-management/latest/faq-about-ram-users"
  },
  "RequestId": "15A6ED6A-DBFE-5255-A248-289907809BEC",
  "CustomConfigs": [
    {
      "Name": "SessionTimeMax",
      "TypeDefine": "{\\\"type\\\":\\\"NUMBER\\\",\\\"range\\\":[1,24]}",
      "DefaultValue": "12",
      "Value": "11",
      "ShowName": "Maximum session time\n"
    }
  ],
  "RepairReset": "true",
  "RepairSupportType": 1,
  "RepairSetting": {
    "RepairSupport": true,
    "RepairSupportType": 1,
    "RepairReset": true,
    "RepairConfigs": [
      {
        "Name": "navicat",
        "TypeDefine": "{\\\"type\\\":\\\"NUMBER\\\",\\\"range\\\":[1,24]}\n",
        "DefaultValue": "1",
        "Value": "2",
        "ShowName": "port",
        "FlowId": "64312d3ee19d470a9b54393dab****",
        "CustomFlag": true,
        "ExclusiveName": [
          "[\"port\"]"
        ],
        "ConsoleParamType": "0",
        "DataTransformType": "1",
        "UsageType": "1",
        "EmptyParamSwitch": "1"
      }
    ],
    "FlowStep": [
      {
        "Step": "1",
        "ShowText": "The first step is to open the calling interface."
      }
    ]
  }
}

错误码

HTTP status code

错误码

错误信息

描述

500 ServerError ServerError 服务故障,请稍后重试!
403 NoPermission caller has no permission 当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。

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

变更历史

更多信息,参考变更详情。