调用DescribeSecurityStatInfo查询各个安全检查项数据的统计值和安全检查项趋势图中每天的统计值。

调试

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

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribeSecurityStatInfo

要执行的操作。

取值:DescribeSecurityStatInfo

SourceIp String 1.2.3.4

访问源IP地址。

Lang String zh

请求和接收消息的语言类型。取值:

  • zh:中文
  • en:英文

返回数据

名称 类型 示例值 描述
AttackEvent Struct

攻击次数统计详细信息。

DateArray List ["2020-01-04", "2020-01-05", "2020-01-06", "2020-01-07", "2020-01-08", "2020-01-09", "2020-01-10"]

攻击次数趋势图的统计时间点。

TotalCount Integer 1096

当天的攻击次数。

ValueArray List [2620, 10405, 2377, 2411, 11146, 2057, 1096]

各个统计时间点对应的攻击次数。

HealthCheck Struct

基线问题统计的详细信息。

DateArray List ["2020-01-04", "2020-01-05", "2020-01-06", "2020-01-07", "2020-01-08", "2020-01-09", "2020-01-10"]

基线问题趋势图的统计时间点。

HighCount Integer 10

当天高危风险基线问题的个数。

HighList List [11, 11, 11, 10, 10, 10, 10]

各个统计时间点对应的高危风险基线的个数。

LevelsOn List [ "high", "low", "medium" ]

参与统计的基线的风险级别列表。取值:

  • high:高危
  • medium:中危
  • low:低危
LowCount Integer 0

当天低危风险基线问题的个数。

LowList List [0, 0, 0, 0, 0, 0, 0]

各个统计时间点发生的低危风险基线问题的个数。

MediumCount Integer 21

当天中危风险基线问题的个数。

MediumList List [21, 21, 21, 21, 21, 21, 21]

各个统计时间点发生的中危风险基线问题的个数。

TotalCount Integer 32

当天基线问题的总数。

ValueArray List [32, 32, 32, 31, 31, 31, 31]

各个统计时间点对应的基线总数。

RequestId String A3E61730-85E2-4789-8017-B9B1B70F0568

阿里云为该请求生成的唯一标识符。

SecurityEvent Struct

待处理告警统计详情。

DateArray List ["2020-01-04", "2020-01-05", "2020-01-06", "2020-01-07", "2020-01-08", "2020-01-09", "2020-01-10"]

待处理告警趋势图的统计时间点。

LevelsOn List ["remind", "suspicious", "serious"]

待处理告警参与统计的告警级别。取值:

  • remind:提醒
  • suspicious:可疑
  • serious:紧急
RemindCount Integer 0

当天检测到的告警级别为提醒的告警个数。

RemindList List [5, 5, 0, 0, 0, 0, 0]

各个统计时间点发生的告警级别为提醒的告警统计个数。

SeriousCount Integer 404

当天发生的告警级别为紧急的告警个数。

SeriousList List [315, 350, 336, 378, 384, 398, 404]

各个统计时间点发生的告警级别为紧急的告警事件的统计个数。

SuspiciousCount Integer 148

当天发生的告警级别为可疑的告警个数。

SuspiciousList List [124, 133, 111, 123, 135, 145, 148]

各个统计时间点发生的告警级别为可疑的告警事件的统计个数。

TotalCount Integer 552

当天待处理告警的总数。

ValueArray List [444, 488, 447, 501, 519, 543, 552]

各个统计时间点对应的待处理告警的个数。

Success Boolean true

返回的查询结果的状态。取值:

  • true:成功
  • false:失败
Vulnerability Struct

待修复漏洞统计信息。

AsapCount Integer 109

当天待修复漏洞紧急程度为的漏洞个数。

AsapList List [60, 65, 63, 97, 103, 109, 109]

各个统计时间点对应的待修复漏洞紧急程度为的统计个数。

DateArray List ["2020-01-04", "2020-01-05", "2020-01-06", "2020-01-07", "2020-01-08", "2020-01-09", "2020-01-10"]

待修复漏洞趋势图的统计时间点。

LaterCount Integer 275

当天待修复漏洞紧急程度为的漏洞个数。

LaterList List [0, 0, 0, 0, 0, 275, 275]

各个统计时间点对应的待修复漏洞紧急程度为的统计个数。

LevelsOn List ["asap", "later","Nntf"]

待修复漏洞参与统计的漏洞紧急程度。取值:

  • asap:高
  • later:中
  • Nntf:低
NntfCount Integer 0

当天待修复漏洞紧急程度为的漏洞个数。

NntfList List [0, 0, 0, 0, 0, 0, 0]

各个统计时间点对应的待修复漏洞紧急程度为的统计个数。

TotalCount Integer 384

当天待修复漏洞个数。

ValueArray List [60, 65, 63, 97, 103, 384, 384]

各个统计时间点对应的待修复漏洞的个数。

示例

请求示例

http(s)://[Endpoint]/?Action=DescribeSecurityStatInfo
&<公共请求参数>

正常返回示例

XML 格式

<DescribeSecurityStatInfoResponse>
      <SecurityEvent>
            <SuspiciousList>124</SuspiciousList>
            <SuspiciousList>133</SuspiciousList>
            <SuspiciousList>111</SuspiciousList>
            <SuspiciousList>123</SuspiciousList>
            <SuspiciousList>135</SuspiciousList>
            <SuspiciousList>145</SuspiciousList>
            <SuspiciousList>148</SuspiciousList>
            <LevelsOn>remind</LevelsOn>
            <LevelsOn>suspicious</LevelsOn>
            <LevelsOn>serious</LevelsOn>
            <TotalCount>552</TotalCount>
            <SuspiciousCount>148</SuspiciousCount>
            <SeriousList>315</SeriousList>
            <SeriousList>350</SeriousList>
            <SeriousList>336</SeriousList>
            <SeriousList>378</SeriousList>
            <SeriousList>384</SeriousList>
            <SeriousList>398</SeriousList>
            <SeriousList>404</SeriousList>
            <RemindCount>0</RemindCount>
            <ValueArray>444</ValueArray>
            <ValueArray>488</ValueArray>
            <ValueArray>447</ValueArray>
            <ValueArray>501</ValueArray>
            <ValueArray>519</ValueArray>
            <ValueArray>543</ValueArray>
            <ValueArray>552</ValueArray>
            <SeriousCount>404</SeriousCount>
            <RemindList>5</RemindList>
            <RemindList>5</RemindList>
            <RemindList>0</RemindList>
            <RemindList>0</RemindList>
            <RemindList>0</RemindList>
            <RemindList>0</RemindList>
            <RemindList>0</RemindList>
            <DateArray>2020-01-04</DateArray>
            <DateArray>2020-01-05</DateArray>
            <DateArray>2020-01-06</DateArray>
            <DateArray>2020-01-07</DateArray>
            <DateArray>2020-01-08</DateArray>
            <DateArray>2020-01-09</DateArray>
            <DateArray>2020-01-10</DateArray>
      </SecurityEvent>
      <HealthCheck>
            <LevelsOn>high</LevelsOn>
            <LevelsOn>low</LevelsOn>
            <LevelsOn>medium</LevelsOn>
            <TotalCount>31</TotalCount>
            <HighList>11</HighList>
            <HighList>11</HighList>
            <HighList>11</HighList>
            <HighList>10</HighList>
            <HighList>10</HighList>
            <HighList>10</HighList>
            <HighList>10</HighList>
            <HighCount>10</HighCount>
            <LowList>0</LowList>
            <LowList>0</LowList>
            <LowList>0</LowList>
            <LowList>0</LowList>
            <LowList>0</LowList>
            <LowList>0</LowList>
            <LowList>0</LowList>
            <MediumList>21</MediumList>
            <MediumList>21</MediumList>
            <MediumList>21</MediumList>
            <MediumList>21</MediumList>
            <MediumList>21</MediumList>
            <MediumList>21</MediumList>
            <MediumList>21</MediumList>
            <LowCount>0</LowCount>
            <ValueArray>32</ValueArray>
            <ValueArray>32</ValueArray>
            <ValueArray>32</ValueArray>
            <ValueArray>31</ValueArray>
            <ValueArray>31</ValueArray>
            <ValueArray>31</ValueArray>
            <ValueArray>31</ValueArray>
            <MediumCount>21</MediumCount>
            <DateArray>2020-01-04</DateArray>
            <DateArray>2020-01-05</DateArray>
            <DateArray>2020-01-06</DateArray>
            <DateArray>2020-01-07</DateArray>
            <DateArray>2020-01-08</DateArray>
            <DateArray>2020-01-09</DateArray>
            <DateArray>2020-01-10</DateArray>
      </HealthCheck>
      <Vulnerability>
            <LevelsOn>asap</LevelsOn>
            <LevelsOn>later</LevelsOn>
            <TotalCount>384</TotalCount>
            <AsapList>60</AsapList>
            <AsapList>65</AsapList>
            <AsapList>63</AsapList>
            <AsapList>97</AsapList>
            <AsapList>103</AsapList>
            <AsapList>109</AsapList>
            <AsapList>109</AsapList>
            <LaterList>0</LaterList>
            <LaterList>0</LaterList>
            <LaterList>0</LaterList>
            <LaterList>0</LaterList>
            <LaterList>0</LaterList>
            <LaterList>275</LaterList>
            <LaterList>275</LaterList>
            <LaterCount>275</LaterCount>
            <AsapCount>109</AsapCount>
            <NntfList>0</NntfList>
            <NntfList>0</NntfList>
            <NntfList>0</NntfList>
            <NntfList>0</NntfList>
            <NntfList>0</NntfList>
            <NntfList>0</NntfList>
            <NntfList>0</NntfList>
            <ValueArray>60</ValueArray>
            <ValueArray>65</ValueArray>
            <ValueArray>63</ValueArray>
            <ValueArray>97</ValueArray>
            <ValueArray>103</ValueArray>
            <ValueArray>384</ValueArray>
            <ValueArray>384</ValueArray>
            <NntfCount>0</NntfCount>
            <DateArray>2020-01-04</DateArray>
            <DateArray>2020-01-05</DateArray>
            <DateArray>2020-01-06</DateArray>
            <DateArray>2020-01-07</DateArray>
            <DateArray>2020-01-08</DateArray>
            <DateArray>2020-01-09</DateArray>
            <DateArray>2020-01-10</DateArray>
      </Vulnerability>
      <AttackEvent>
            <TotalCount>1096</TotalCount>
            <ValueArray>2620</ValueArray>
            <ValueArray>10405</ValueArray>
            <ValueArray>2377</ValueArray>
            <ValueArray>2411</ValueArray>
            <ValueArray>11146</ValueArray>
            <ValueArray>2057</ValueArray>
            <ValueArray>1096</ValueArray>
            <DateArray>2020-01-04</DateArray>
            <DateArray>2020-01-05</DateArray>
            <DateArray>2020-01-06</DateArray>
            <DateArray>2020-01-07</DateArray>
            <DateArray>2020-01-08</DateArray>
            <DateArray>2020-01-09</DateArray>
            <DateArray>2020-01-10</DateArray>
      </AttackEvent>
      <requestId>9C92EF15-B9F7-4DCF-BCE3-5B2B85927744</requestId>
      <success>true</success>
</DescribeSecurityStatInfoResponse>

JSON 格式

{
        "SecurityEvent": {
            "SuspiciousList": [
                124,
                133,
                111,
                123,
                135,
                145,
                148
            ],
            "LevelsOn": [
                "remind",
                "suspicious",
                "serious"
            ],
            "TotalCount": 552,
            "SuspiciousCount": 148,
            "SeriousList": [
                315,
                350,
                336,
                378,
                384,
                398,
                404
            ],
            "RemindCount": 0,
            "ValueArray": [
                444,
                488,
                447,
                501,
                519,
                543,
                552
            ],
            "SeriousCount": 404,
            "RemindList": [
                5,
                5,
                0,
                0,
                0,
                0,
                0
            ],
            "DateArray": [
                "2020-01-04",
                "2020-01-05",
                "2020-01-06",
                "2020-01-07",
                "2020-01-08",
                "2020-01-09",
                "2020-01-10"
            ]
        },
        "HealthCheck": {
            "LevelsOn": [
                "high",
                "low",
                "medium"
            ],
            "TotalCount": 31,
            "HighList": [
                11,
                11,
                11,
                10,
                10,
                10,
                10
            ],
            "HighCount": 10,
            "LowList": [
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "MediumList": [
                21,
                21,
                21,
                21,
                21,
                21,
                21
            ],
            "LowCount": 0,
            "ValueArray": [
                32,
                32,
                32,
                31,
                31,
                31,
                31
            ],
            "MediumCount": 21,
            "DateArray": [
                "2020-01-04",
                "2020-01-05",
                "2020-01-06",
                "2020-01-07",
                "2020-01-08",
                "2020-01-09",
                "2020-01-10"
            ]
        },
        "Vulnerability": {
            "LevelsOn": [
                "asap",
                "later"
            ],
            "TotalCount": 384,
            "AsapList": [
                60,
                65,
                63,
                97,
                103,
                109,
                109
            ],
            "LaterList": [
                0,
                0,
                0,
                0,
                0,
                275,
                275
            ],
            "LaterCount": 275,
            "AsapCount": 109,
            "NntfList": [
                0,
                0,
                0,
                0,
                0,
                0,
                0
            ],
            "ValueArray": [
                60,
                65,
                63,
                97,
                103,
                384,
                384
            ],
            "NntfCount": 0,
            "DateArray": [
                "2020-01-04",
                "2020-01-05",
                "2020-01-06",
                "2020-01-07",
                "2020-01-08",
                "2020-01-09",
                "2020-01-10"
            ]
        },
        "AttackEvent": {
            "TotalCount": 1096,
            "ValueArray": [
                2620,
                10405,
                2377,
                2411,
                11146,
                2057,
                1096
            ],
            "DateArray": [
                "2020-01-04",
                "2020-01-05",
                "2020-01-06",
                "2020-01-07",
                "2020-01-08",
                "2020-01-09",
                "2020-01-10"
            ]
        },
        "requestId": "9C92EF15-B9F7-4DCF-BCE3-5B2B85927744",
        "success": true
}

错误码

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