Queries the statistics on 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 natural language of the request and response. Valid values:

  • zh: Chinese
  • en: English

Response parameters

Parameter Type Example Description
AttackEvent Struct

The detailed attack statistics.

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

The points in time when the number of attacks is collected in the trend chart.

TotalCount Integer 1096

The number of attacks on the current day.

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

The numbers of attacks at all points in time.

HealthCheck Struct

The detailed statistics of baseline checks.

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

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

HighCount Integer 10

The number of baseline risks that have the high-risk level on the current day.

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

The numbers of baseline risks that have the high-risk level at all points in time.

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

The levels of baseline risks. Valid values:

  • high
  • medium
  • low
LowCount Integer 0

The number of baseline risks that have the low-risk level on the current day.

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

The numbers of baseline risks that have the low-risk level at all points in time.

MediumCount Integer 21

The number of baseline risks that have the medium-risk level on the current day.

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

The numbers of baseline risks that have the medium-risk level at each point in time.

TotalCount Integer 32

The total number of baseline risks on the current day.

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

The total numbers of baseline risks at all points in time.

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

The ID of the request.

SecurityEvent Struct

The details of unhandled alerts.

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

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

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

The risk levels of unhandled alerts. Valid values:

  • remind
  • suspicious
  • serious
RemindCount Integer 0

The number of remind alerts on the current day.

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

The numbers of remind alerts at all points in time.

SeriousCount Integer 404

The number of serious alerts on the current day.

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

The numbers of serious alerts at all points in time.

SuspiciousCount Integer 148

The number of suspicious alerts on the current day.

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

The numbers of suspicious alerts at all points in time.

TotalCount Integer 552

The total number of unhandled alerts on the current day.

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

The total numbers of unhandled alerts at all points in time.

Success Boolean true

The status of the request. Valid values:

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

The detailed statistics on unfixed vulnerabilities.

AsapCount Integer 109

The number of unfixed vulnerabilities that have the high priority on the current day.

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

The numbers of unfixed vulnerabilities that have the high priority at all points in time.

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

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

LaterCount Integer 275

The number of unfixed vulnerabilities that have the medium priority on the current day.

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

The numbers of unfixed vulnerabilities that have the medium priority at all points in time.

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

The priorities of unfixed vulnerabilities. Valid values:

  • asap: high
  • later: medium
  • Nntf: low
NntfCount Integer 0

The number of unfixed vulnerabilities that have the low priority on the current day.

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

The numbers of unfixed vulnerabilities that have the low priority at all points in time.

TotalCount Integer 384

The total number of unfixed vulnerabilities on the current day.

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

The total numbers of unfixed vulnerabilities at all points in time.

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.