GetAggregateResourceComplianceByPack
Region:
China (Shanghai)
Request Parameters
Required
CompliancePackIdThe ID of the compl...
AggregatorIdThe ID of the accou...
Plugin DownloadLearn more
VS Code Plugin
Before installing the plugin, please install VS CodeBefore installing the plugin, please install VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains Plugin
Before installing the plugin, please install JetBrains IDEBefore installing the plugin, please install JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

Operation Description

This topic provides an example on how to query the compliance evaluation results of resources monitored based on the cp-fdc8626622af00f9**** compliance package in the ca-f632626622af0079****account group. The returned result shows that the total number of monitored resources is 10 and the number of non-compliant resources is 7.

Request Parameters

Field NameField Details
CompliancePackIdstring

The ID of the compliance package.View Details...

Example:cp-fdc8626622af00f9****Reference Value Source:
    UpdateCompliancePack
    ListCompliancePacks
    CopyCompliancePacks
    CreateCompliancePack
    GenerateCompliancePackReport
AggregatorIdstring

The ID of the account group.View Details...

Example:ca-f632626622af0079****Reference Value Source:
    UpdateAggregator
    ListAggregators
    CreateAggregator

Request Description

For more information about common request parameters, see Common parameters.

Response Parameters

Field NameField Details
ResourceComplianceResultobject

The compliance evaluation results returned.

RequestIdstring

The request ID.

Example:6EC7AED1-172F-42AE-9C12-295BC2ADB751
Change History
No Change History found.