All Products
Search
Document Center

Security Center:DescribeSecurityStatInfo

Last Updated:Nov 25, 2024

Queries the statistics of each security check item and the daily statistics in the trend chart based on each security check item.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:DescribeSecurityStatInfoget
*All Resources
*
    none
none

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.

IntegerItemstring

The number of unhandled alerts at each point in time.

444
TimeArrayarray

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

LongItemstring

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

1641484800000
RemindListarray

The numbers of remind alerts at all points in time.

IntegerItemstring

The number of remind alerts at each point in time.

5,
LevelsOnarray

The risk levels of unhandled alerts.

StringItemstring

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.

StringItemstring

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.

IntegerItemstring

The number of suspicious alerts at each point in time.

111,
SeriousListarray

The numbers of serious alerts at all points in time.

IntegerItemstring

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.

StringItemstring

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.

IntegerItemstring

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.

IntegerItemstring

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.

LongItemstring

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

1641484800000
LevelsOnarray

The risk levels of baseline risk items.

StringItemstring

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.

IntegerItemstring

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.

IntegerItemstring

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.

StringItemstring

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.

IntegerItemstring

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.

IntegerItemstring

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.

IntegerItemstring

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

60
ValueArrayarray

The numbers of unfixed vulnerabilities at all points in time.

IntegerItemstring

The number of unfixed vulnerabilities at each point in time.

384
TimeArrayarray

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

LongItemstring

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

1641484800000
LevelsOnarray

The risk levels of unfixed vulnerabilities.

StringItemstring

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.

IntegerItemstring

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.

StringItemstring

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