全部产品
Search
文档中心

安全管家:GetSafetyCover - 得到安全防护覆盖度

更新时间:Sep 09, 2026

得到安全防护覆盖度。

调试

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

调试

授权信息

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

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

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

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

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

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

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

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

操作

访问级别

资源类型

条件关键字

关联操作

yundun-mss:GetSafetyCover

get

*全部资源

*

无 无

请求参数

名称

类型

必填

描述

示例值

DateType

string

是

筛选时间类型 支持按最近 7 天、最近 30 天、最近半年、自定义等方式进行时间的筛选。

month

StartDate

integer

是

开始时间。

1732255620000

EndDate

integer

是

结束时间。

1732268720000

SuspEventSource

string

否

告警事件来源。

该接口不用传

返回参数

名称

类型

描述

示例值

object

请求响应。

Data

object

数据查询结果。

WafProtection

object

WAF 防护覆盖。

ProtectionCount

integer

防护的数量。

5

NoProtectionCount

integer

未防护的数量。

5

TotalCount

integer

总数量。

10

ProtectionRate

string

防护率。

50.00

ProtectionGrowthRate

string

防护率同比。

35.00

EcsProtection

object

ECS 防护覆盖。

ProtectionCount

integer

防护的数量。

5

NoProtectionCount

integer

未防护的数量。

5

TotalCount

integer

总数量。

10

ProtectionRate

string

防护率。

50.00

ProtectionGrowthRate

string

防护率同比。

35.00

CfwProtection

object

CFW 防护覆盖。

ProtectionCount

integer

防护的数量。

5

NoProtectionCount

integer

未防护的数量。

5

TotalCount

integer

总数量。

10

ProtectionRate

string

防护率。

50.00

ProtectionGrowthRate

string

防护率同比。

35.00

RequestId

string

请求 ID。

564f8bb9-df3c-42a0-877a-b35d48f66603

Code

string

接口返回码。

404

Message

string

返回结果的提示信息。

system error

HttpStatusCode

integer

HTTP 状态码。

200

Success

boolean

是否调用成功:

  • true:调用成功。

  • false:调用失败。

True

示例

正常返回示例

JSON格式

{
  "Data": {
    "WafProtection": {
      "ProtectionCount": 5,
      "NoProtectionCount": 5,
      "TotalCount": 10,
      "ProtectionRate": "50.00",
      "ProtectionGrowthRate": "35.00"
    },
    "EcsProtection": {
      "ProtectionCount": 5,
      "NoProtectionCount": 5,
      "TotalCount": 10,
      "ProtectionRate": "50.00",
      "ProtectionGrowthRate": "35.00"
    },
    "CfwProtection": {
      "ProtectionCount": 5,
      "NoProtectionCount": 5,
      "TotalCount": 10,
      "ProtectionRate": "50.00",
      "ProtectionGrowthRate": "35.00"
    }
  },
  "RequestId": "564f8bb9-df3c-42a0-877a-b35d48f66603",
  "Code": "404",
  "Message": "system error",
  "HttpStatusCode": 200,
  "Success": true
}

错误码

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

变更历史

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