All Products
Search
Document Center

Security Center:ListCheckResult

Last Updated:Mar 14, 2024

Queries the details of the risk items that are detected in the configuration checks on cloud services.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

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:ListCheckResultList
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
StandardIdsarrayNo

The IDs of standards.

longNo

The IDs of standards.

2
RequirementIdsarrayNo

The IDs of requirement items.

longNo

The IDs of requirement items.

2
StatusesarrayNo

The statuses of check items. Separate multiple statuses with commas (,). Valid values:

  • PASS
  • NOT_PASS
  • CHECKING
  • NOT_CHECK
  • WHITELIST
stringNo

The statuses of check items. Separate multiple states with commas (,). Valid values:

  • PASS
  • NOT_PASS
  • CHECKING
  • NOT_CHECK
  • WHITELIST
PASS
RiskLevelsarrayNo

The risk levels of check items. Separate multiple risk levels with commas (,). Valid values:

  • HIGH
  • MEDIUM
  • LOW
stringNo

The risk levels of check items. Separate multiple risk levels with commas (,). Valid values:

  • HIGH
  • MEDIUM
  • LOW
HIGH
VendorsarrayNo

The cloud service providers. Valid value:

  • ALIYUN: Alibaba Cloud
stringNo

The cloud service provider. Valid values:

  • ALIYUN: Alibaba Cloud
ALIYUN
InstanceTypesarrayNo

The asset type of the cloud services. Valid values:

  • ECS: Elastic Compute Service (ECS)
  • SLB: Server Load Balancer (SLB)
  • RDS: ApsaraDB RDS
  • MONGODB: ApsaraDB for MongoDB (MongoDB)
  • KVSTORE: ApsaraDB for Redis (Redis)
  • ACR: Container Registry
  • CSK: Container Service for Kubernetes (ACK)
  • VPC: Virtual Private Cloud (VPC)
  • ACTIONTRAIL: ActionTrail
  • CDN: Alibaba Cloud CDN (CDN)
  • CAS: Certificate Management Service (formerly SSL Certificates Service)
  • RDC: Apsara Devops
  • RAM: Resource Access Management (RAM)
  • DDOS: Anti-DDoS
  • WAF: Web Application Firewall (WAF)
  • OSS: Object Storage Service (OSS)
  • POLARDB: PolarDB
  • POSTGRESQL: ApsaraDB RDS for PostgreSQL
  • MSE: Microservices Engine (MSE)
  • NAS: Apsara File Storage NAS (NAS)
  • SDDP: Sensitive Data Discovery and Protection (SDDP)
  • EIP: Elastic IP Address (EIP)
stringNo

The asset type of the cloud service. Valid values:

  • ECS: ECS
  • SLB: SLB
  • RDS: ApsaraDB RDS
  • MONGODB: MongoDB
  • KVSTORE: Redis
  • ACR: Container Registry
  • CSK: ACK
  • VPC: VPC
  • ACTIONTRAIL: ActionTrail
  • CDN: CDN
  • CAS: Certificate Management Service (formerly SSL Certificates Service)
  • RDC: Apsara Devops
  • RAM: RAM
  • DDOS: Anti-DDoS
  • WAF: WAF
  • OSS: OSS
  • POLARDB: PolarDB
  • POSTGRESQL: ApsaraDB RDS for PostgreSQL
  • MSE: MSE
  • NAS: NAS
  • SDDP: SDDP
  • EIP: EIP
ECS
CheckKeystringNo

The key that you want to use to search for check items in fuzzy match mode.

OSS
CurrentPageintegerNo

The page number.

2
PageSizeintegerNo

The number of entries per page. Maximum value : 100.

50
InstanceIdsarrayNo

The instance IDs of the cloud services that you want to query. Separate multiple IDs with commas (,).

stringNo

The instance IDs of the cloud services that you want to query. Separate multiple IDs with commas (,).

i-bp1du66x6w07z4yya****
LangstringNo

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

  • zh: Chinese
  • en: English
zh
SortTypesarrayNo

The types of the conditions based on which check items are sorted. Valid values:

  • RISK_LEVEL: risk level
  • STATUS: status
stringNo

The type of the condition based on which check items are sorted. Valid values:

  • RISK_LEVEL: risk level
  • STATUS: status
STATUS
TypesarrayNo

The types of check standards.

stringNo

The type of the check standard. Valid values:

  • RISK: Alibaba Cloud best security practices
  • COMPLIANCE: Center for Internet Security (CIS) compliance
  • IDENTITY_PERMISSION: identity and permission management
RISK
RegionIdstringNo

The region ID of the instance. Valid values:

  • cn-hangzhou: International
  • ap-southeast-1: Singapore
cn-hangzhou
CustomParambooleanNo

Specifies whether the check item supports custom parameters. Valid values:

  • true
  • false
true

Response parameters

ParameterTypeDescriptionExample
object

ListCheckResultResponse

Checksobject []

The information about the check items.

CheckPoliciesobject []

The check policies.

StandardIdlong

The standard ID of the check item.

1
StandardShowNamestring

The standard display name of the check item.

Best security practices
RequirementIdlong

The ID of the requirement item for the check item.

2
RequirementShowNamestring

The display name of the requirement item for the check item.

Alibaba cloud OSS best security practices
SectionIdlong

The ID of the section for the check item.

3
SectionShowNamestring

The display name of the section for the check item.

Log Audit
CheckIdlong

The ID of the check item.

5
CheckShowNamestring

The name of the check item.

OSS-PublicReadOpenManifestFileWithoutEncryption
Vendorstring

The cloud service provider.

ALIYUN
VendorShowNamestring

The name of the cloud service provider.

Aliyun
InstanceTypestring

The asset type of the cloud service. Valid values:

  • ECS: ECS
  • SLB: SLB
  • RDS: ApsaraDB RDS
  • MONGODB: MongoDB
  • KVSTORE: Redis
  • ACR: Container Registry
  • CSK: ACK
  • VPC: VPC
  • ACTIONTRAIL: ActionTrail
  • CDN: CDN
  • CAS: Certificate Management Service (formerly SSL Certificates Service)
  • RDC: Apsara Devops
  • RAM: RAM
  • DDOS: Anti-DDoS
  • WAF: WAF
  • OSS: OSS
  • POLARDB: PolarDB
  • POSTGRESQL: ApsaraDB RDS for PostgreSQL
  • MSE: MSE
  • NAS: NAS
  • SDDP: SDDP
  • EIP: EIP
ECS
InstanceSubTypestring

The asset subtype of the cloud service. Valid values:

  • If InstanceType is set to ECS, this parameter supports the following valid values:

    • INSTANCE
    • DISK
    • SECURITY_GROUP
  • If InstanceType is set to ACR, this parameter supports the following valid values:

    • REPOSITORY_ENTERPRISE
    • REPOSITORY_PERSON
  • If InstanceType is set to RAM, this parameter supports the following valid values:

    • ALIAS
    • USER
    • POLICY
    • GROUP
  • If InstanceType is set to WAF, this parameter supports the following valid value:

    • DOMAIN
  • If InstanceType is set to other values, this parameter supports the following valid value:

    • INSTANCE
DISK
RiskLevelstring

The risk level of the check item. Valid values:

  • HIGH
  • MEDIUM
  • LOW
HIGH
Statusstring

The status of the check item. Valid values:

  • PASS: passed
  • NOT_PASS: failed
  • CHECKING: being checked
  • NOT_CHECK: not checked
  • WHITELIST: added to the whitelist
PASS
TaskIdstring

The ID of the check task.

64
LastCheckTimelong

The timestamp when the last check was performed. Unit: milliseconds.

1657793398000
TrialPermissionboolean

Indicates whether the TRIAL permission is required.

true
StatusMessagestring

The message returned if the status of the check item is abnormal.

TIMEOUT
PageInfoobject

The pagination information.

CurrentPageinteger

The page number.

1
PageSizeinteger

The number of entries per page.

20
TotalCountinteger

The total number of entries returned.

100
Countinteger

The number of entries returned on the current page.

2
RequestIdstring

The ID of the request.

F9B6DD67-B289-5406-B35C-B0F4A217S23

Examples

Sample success responses

JSONformat

{
  "Checks": [
    {
      "CheckPolicies": [
        {
          "StandardId": 1,
          "StandardShowName": "Best security practices",
          "RequirementId": 2,
          "RequirementShowName": "Alibaba cloud OSS best security practices",
          "SectionId": 3,
          "SectionShowName": "Log Audit"
        }
      ],
      "CheckId": 5,
      "CheckShowName": "OSS-PublicReadOpenManifestFileWithoutEncryption",
      "Vendor": "ALIYUN",
      "VendorShowName": "Aliyun",
      "InstanceType": "ECS",
      "InstanceSubType": "DISK",
      "RiskLevel": "HIGH",
      "Status": "PASS",
      "TaskId": "64",
      "LastCheckTime": 1657793398000,
      "TrialPermission": true,
      "StatusMessage": "TIMEOUT"
    }
  ],
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 20,
    "TotalCount": 100,
    "Count": 2
  },
  "RequestId": "F9B6DD67-B289-5406-B35C-B0F4A217S23"
}

Error codes

HTTP status codeError codeError messageDescription
400IllegalParamIllegal param-
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
2024-03-14The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400
2023-07-17The Error code has changed. The request parameters of the API has changed. The response structure of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: CustomParam
Output ParametersThe response structure of the API has changed.
2023-01-11The API operation is not deprecated.. The Error code has changedsee changesets
Change itemChange content
API Deprecation DescriptionThe API operation is not deprecated..
Error CodesThe Error code has changed.
    delete Error Codes: 400
2022-11-21The Error code has changed. The response structure of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400
Output ParametersThe response structure of the API has changed.
2022-07-18The Error code has changed. The request parameters of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: InstanceSubTypes
2022-07-15Add Operationsee changesets