获取基线检测项信息

最近更新时间: 2026-09-17 00:02:46

1. 接口描述

接口请求域名: cwp.api3.fincloud.tencent.cn。

获取基线检测项信息

默认接口请求频率限制:20次/秒。

接口更新时间:2022-08-23 15:38:03。

接口既验签名又鉴权。

2. 输入参数

以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见公共请求参数

参数名称 必选 允许NULL 类型 描述
Action String 公共参数,本接口取值:DescribeBaselineItemInfo
Version String 公共参数,本接口取值:2018-02-28
Region String 公共参数,地域信息本接口不需要传递此参数。
By String 可选排序列[FirstTime
Filters Array of Filter
  • ItemId - int64 - 是否必填:否 - 项Id
  • Level - int - 是否必填:否 - 风险等级
  • ItemName - string - 是否必填:否 - 检测项名字
  • RuleId - int - 是否必填:否 - 规则Id

  • 示例值:查看
    Limit Int64 限制条数,默认10,最大100
    示例值: 1
    Offset Int64 偏移量,默认0
    示例值: 1
    Order String 排序方式: [ASC:升序

    3. 输出参数

    参数名称 类型 描述
    CategoryList Array of BaselineItemsCategory 基线分类列表
    示例值:查看
    List Array of BaselineItemInfo 结果列表
    示例值:查看
    Total Int64 总条目数
    示例值: 1
    RequestId String 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。

    4. 错误码

    以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码

    错误码 描述
    InternalError 内部错误。
    InvalidParameter 参数错误。

    5. 示例

    示例1 检测项信息

    输入示例

    POST / HTTP/1.1
    Host: cwp.api3.fincloud.tencent.cn
    Content-Type: application/json
    X-TC-Action: DescribeBaselineItemInfo
    <Public request parameters>
    
    {
        "Limit": "1",
        "Offset": "1"
    }
    

    输出示例

    {"Response":{"List":[{"FixMethod":"1. kubelet listens locally: \n--address=127.0.0.1\n\n2. kubelet server prohibits anonymous access: \n--anonymous-auth=false\n\n If port access has been restricted through firewall or other methods, please ignore it.\ n\n3. Configuration certificate: \n--client-ca-file=path/to/ca\n--kubelet-client-certificate\n--kubelet-client-key","ItemDesc":"Kubelet does not restrict access to the source and does not configure any authentication, allowing an attacker to execute arbitrary code in any Pod. It can also cause Pod leakage, resulting in sensitive information leakage, etc. ","ItemId":1001,"ItemName":"Kubelet unauthorized access ","Level":3,"RelatedCustomRuleInfo":[],"RuleId":74,"RuleName":"Kubelet unauthorized access ","SysRuleId":74}],"RequestId":"90344239-519c-4f 7f-8a71- 1820d38e163 c","Total":2955}}}