All Products
Search
Document Center

Security Center:DescribeCheckEcsWarnings

Last Updated:Apr 28, 2023

Queries the number of weak passwords that can cause high risks to your assets.

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

Response parameters

ParameterTypeDescriptionExample
object
SasVersionstring

The edition of Security Center that you use. Valid values:

  • 1: Basic edition
  • 2 or 3: Enterprise edition
  • 5: Advanced edition
  • 6: Anti-virus edition
NoteBoth the value 2 and the value 3 indicate the Enterprise edition.
3
CanTrystring

Indicates whether you use the free trial of Security Center. Valid values:

  • 0: no
  • 1: yes
0
WeakPasswordCountstring

The number of weak passwords that can cause high risks to your assets.

3
RequestIdstring

The ID of the request.

4E5BFDCF-B9DD-430D-9DA4-151BCB581C9D

Examples

Sample success responses

JSONformat

{
  "SasVersion": "3",
  "CanTry": "0",
  "WeakPasswordCount": "3",
  "RequestId": "4E5BFDCF-B9DD-430D-9DA4-151BCB581C9D"
}

Error codes

HTTP status codeError codeError message
400NoPermissionno permission
400ConsoleErrorThe error message is %s %s.
400UnknownErrorUnknownError
500ServerErrorServerError

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