You can call this operation to query the statistics of each security check item and the daily statistics in the trend chart based on each security check item.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeSecurityStatInfo

The operation that you want to perform.

Set the value to DescribeSecurityStatInfo

SourceIp String No 1.2.3.4

The source IP address of the request.

Lang String No zh

The language of the request and response. Valid values:

  • zh: Chinese
  • en: English

Response parameters

Parameter Type Example Description
RequestId String A3E61730-85E2-4789-8017-B9B1B70F0568

The ID of the request.

Success Boolean true

Indicates whether the query succeeded.

  • true: The request succeeded.
  • false: The request failed.
SecurityEvent Struct

The details of pending alerts.

SeriousCount Integer 404

The number ofurgentalerts on the current day.

SuspiciousCount Integer 148

The number ofwarningalerts on the current day.

RemindCount Integer 0

The number ofnoticealerts on the current day.

TotalCount Integer 552

The total number of pending alerts on the current day.

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

The time points when data of pending alerts is collected in the trend chart.

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

The number of pending alerts at each time point.

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

The severity of the pending alerts.

  • remind: notice
  • suspicious: warning
  • serious: urgent
SeriousList List [315, 350, 336, 378, 384, 398, 404]

The number ofurgentalerts at each time point.

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

The number ofwarningalerts at each time point.

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

The number ofnoticealerts at each time point.

AttackEvent Struct

The detailed attack statistics.

TotalCount Integer 1096

The number of attacks detected on the current day.

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

The time points when attack data is collected in the trend chart.

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

The number of attacks at each time point.

HealthCheck Struct

The detailed statistics of baseline risks.

MediumCount Integer 21

The number of medium severity baseline risks on the current day.

HighCount Integer 10

The number of high severity baseline risks on the current day.

LowCount Integer 0

The number of low severity baseline risks on the current day.

TotalCount Integer 32

The total number of baseline risks on the current day.

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

The time points when baseline risk data is collected in the trend chart.

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

The total number of baseline risks at each time point.

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

A list of baseline risk levels.

  • high: high severity risks
  • medium: middle severity risks
  • low: low severity risks
HighList List [11, 11, 11, 10, 10, 10, 10]

The number of high severity baseline risks at each time point.

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

The number of medium severity baseline risks at each time point.

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

The number of low severity baseline risks at each time point.

Vulnerability Struct

The detailed statistics of pending vulnerabilities.

NntfCount Integer 0

The number oflow-riskpending vulnerabilities on the current day.

LaterCount Integer 275

The number ofmedium-riskpending vulnerabilities on the current day.

AsapCount Integer 109

The number ofhigh-riskpending vulnerabilities on the current day.

TotalCount Integer 384

The number of pending vulnerabilities on the current day.

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

The time points when data of pending vulnerabilities is collected in the trend chart.

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

The number of pending vulnerabilities at each time point.

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

The risk severity of the pending vulnerabilities.

  • asap: high-risk
  • later: medium-risk
  • Nntf: low-risk
NntfList List [0, 0, 0, 0, 0, 0, 0]

The number oflow-riskpending vulnerabilities at each time point.

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

The number of high-risk pending vulnerabilities at each time point.

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

The number ofmiddle-riskpending vulnerabilities at each time point.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DescribeSecurityStatInfo
&<Common request parameters>

Sample success responses

XML format

<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 format

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

Error codes

For a list of error codes, visit the API Error Center.