All Products
Search
Document Center

Security Center:DescribeSecurityStatInfo

Last Updated:Jul 26, 2024

Queries 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.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
SourceIpstringNo

The source IP address of the request.

1.2.XX.XX
LangstringNo

The language of the content within the request and response. Default value: zh. Valid values:

  • zh: Chinese
  • en: English
zh
ResourceDirectoryAccountIdstringNo

The ID of the account that is added to the resource directory as a member for multi-account control. You can use this parameter to query the security status of the account.

12345

Response parameters

ParameterTypeDescriptionExample
object
Successboolean

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.
true
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

A3E61730-85E2-4789-8017-B9B1B70F0568
SecurityEventobject

The detailed statistics of unhandled alerts.

SuspiciousCountinteger

The number of suspicious alerts on the current day.

148
SeriousCountinteger

The number of serious alerts on the current day.

404
RemindCountinteger

The number of remind alerts on the current day.

0
TotalCountinteger

The total number of unhandled alerts on the current day.

552
ValueArrayarray

The numbers of unhandled alerts at all points in time.

string

The number of unhandled alerts at each point in time.

444
TimeArrayarray

The time periods during which data of the same alert is collected.

string

The time period during which data of the same alert is collected.

1641484800000
RemindListarray

The numbers of remind alerts at all points in time.

string

The number of remind alerts at each point in time.

5,
LevelsOnarray

The risk levels of unhandled alerts.

string

The risk level of the unhandled alert. Valid values:

  • remind
  • suspicious
  • serious
remind
DateArrayarray

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

string

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

2020-01-08
SuspiciousListarray

The numbers of suspicious alerts at all points in time.

string

The number of suspicious alerts at each point in time.

111,
SeriousListarray

The numbers of serious alerts at all points in time.

string

The number of serious alerts at each point in time.

111
AttackEventobject

The detailed statistics of attacks.

TotalCountinteger

The total number of attacks on the current day.

1096
DateArrayarray

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

string

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

2020-01-04
ValueArrayarray

The numbers of attacks at all points in time.

string

The number of attacks at each point in time.

2620
HealthCheckobject

The detailed statistics of baseline risk items.

HighCountinteger

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

10
LowCountinteger

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

0
TotalCountinteger

The total number of baseline risk items on the current day.

32
MediumCountinteger

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

21
ValueArrayarray

The total number of baseline risk items at all points in time.

string

The total number of baseline risk items at each point in time.

31
TimeArrayarray

The time periods during which data of baseline risk items is collected.

string

The time period during which data of baseline risk items is collected.

1641484800000
LevelsOnarray

The risk levels of baseline risk items.

string

The risk level of the baseline risk item. Valid values:

  • high
  • medium
  • low
high
LowListarray

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

string

The number of baseline risk items that have the low-risk level at each point in time.

0
MediumListarray

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

string

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

0
DateArrayarray

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

string

The point in time when data of baseline risk items is collected in the trend chart.

2020-01-04
HighListarray

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

string

The number of baseline risk items that have the high-risk level at each point in time.

11
Vulnerabilityobject

The detailed statistics of unfixed vulnerabilities.

NntfCountinteger

The number of low-risk unfixed vulnerabilities on the current day.

0
LaterCountinteger

The number of medium-risk unfixed vulnerabilities on the current day.

275
TotalCountinteger

The total number of unfixed vulnerabilities on the current day.

384
AsapCountinteger

The number of high-risk unfixed vulnerabilities on the current day.

109
NntfListarray

The numbers of low-risk unfixed vulnerabilities at all points in time.

string

The number of low-risk unfixed vulnerabilities at each point in time.

0
AsapListarray

The numbers of high-risk unfixed vulnerabilities at all points in time.

string

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

60
ValueArrayarray

The numbers of unfixed vulnerabilities at all points in time.

string

The number of unfixed vulnerabilities at each point in time.

384
TimeArrayarray

The time periods during which data of unfixed vulnerabilities is collected.

string

The time period during which data of unfixed vulnerabilities is collected.

1641484800000
LevelsOnarray

The risk levels of unfixed vulnerabilities.

string

The risk level of the unfixed vulnerability. Valid values:

  • asap: high
  • later: medium
  • nntf: low
later
LaterListarray

The numbers of medium-risk unfixed vulnerabilities at all points in time.

string

The number of medium-risk unfixed vulnerabilities at each point in time.

275
DateArrayarray

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

string

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

2020-01-04

Examples

Sample success responses

JSONformat

{
  "Success": true,
  "RequestId": "A3E61730-85E2-4789-8017-B9B1B70F0568",
  "SecurityEvent": {
    "SuspiciousCount": 148,
    "SeriousCount": 404,
    "RemindCount": 0,
    "TotalCount": 552,
    "ValueArray": [
      "444"
    ],
    "TimeArray": [
      "1641484800000"
    ],
    "RemindList": [
      "5,"
    ],
    "LevelsOn": [
      "remind"
    ],
    "DateArray": [
      "2020-01-08"
    ],
    "SuspiciousList": [
      "111,"
    ],
    "SeriousList": [
      "111"
    ]
  },
  "AttackEvent": {
    "TotalCount": 1096,
    "DateArray": [
      "2020-01-04"
    ],
    "ValueArray": [
      "2620"
    ]
  },
  "HealthCheck": {
    "HighCount": 10,
    "LowCount": 0,
    "TotalCount": 32,
    "MediumCount": 21,
    "ValueArray": [
      "31"
    ],
    "TimeArray": [
      "1641484800000"
    ],
    "LevelsOn": [
      "high"
    ],
    "LowList": [
      "0"
    ],
    "MediumList": [
      "0"
    ],
    "DateArray": [
      "2020-01-04"
    ],
    "HighList": [
      "11"
    ]
  },
  "Vulnerability": {
    "NntfCount": 0,
    "LaterCount": 275,
    "TotalCount": 384,
    "AsapCount": 109,
    "NntfList": [
      "0"
    ],
    "AsapList": [
      "60"
    ],
    "ValueArray": [
      "384"
    ],
    "TimeArray": [
      "1641484800000"
    ],
    "LevelsOn": [
      "later"
    ],
    "LaterList": [
      "275"
    ],
    "DateArray": [
      "2020-01-04"
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
400NoPermissionno permission-
400UnknownErrorUnknownError-
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-03-30The Error code has changedView Change Details