检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
.build() try: request = ListAggregateComplianceByPolicyAssignmentRequest() request.body = AggregatePolicyAssignmentsRequest(
build(); ShowResourceRelationsRequest request = new ShowResourceRelationsRequest(); request.withResourceId("{resource_id}");
ShowResourceRelationsDetailRequest request = new ShowResourceRelationsDetailRequest(); request.withResourceId("{resource_id}");
try: request = ListConfigurationAggregatorsRequest() response = client.list_configuration_aggregators(request) print(response)
'cloudservers'"); request.withBody(body); try { RunQueryResponse response = client.runQuery(request); System
build() try: request = ListConformancePacksRequest() response = client.list_conformance_packs(request) print(response)
try: request = ListPolicyStatesByDomainIdRequest() response = client.list_policy_states_by_domain_id(request) print(response)
build() try: request = ListStoredQueriesRequest() response = client.list_stored_queries(request) print(response)
request.withBody(body); try { CreateConformancePackResponse response = client.createConformancePack(request);
.build() try: request = ShowAggregatePolicyAssignmentDetailRequest() request.body = AggregatePolicyAssignmentDetailRequest(
build(); ShowResourceDetailRequest request = new ShowResourceDetailRequest(); request.withResourceId("{resource_id}");
request = ListBuiltInConformancePackTemplatesRequest() response = client.list_built_in_conformance_pack_templates(request)
\ .build() try: request = ListAggregateDiscoveredResourcesRequest() request.body = AggregateDiscoveredResourcesRequest(
.build(); ShowAggregateResourceConfigRequest request = new ShowAggregateResourceConfigRequest(); AggregateResourceConfigRequest
request.withBody(body); try { UpdatePolicyStateResponse response = client.updatePolicyState(request);
CreateOrganizationPolicyAssignmentRequest request = new CreateOrganizationPolicyAssignmentRequest(); request.withOrganizationId("{organization_id}");
G_8.R_1 启用 Web 应用防火墙功能 waf-instance-enable-protect 启用WAF实例域名防护 waf 如果账号未配置并启用WAF防护策略的域名防护,视为“不合规” C.CS.FOUNDATION.G_8.R_2 配置 WAF 地理位置访问策略 waf-policy-enable-geoip
.build() try: request = ShowAggregateComplianceDetailsByPolicyAssignmentRequest() request.body = AggregateComplianceDetailRequest(
waf-instance-enable-protect 启用WAF实例域名防护 waf 如果账号未配置并启用WAF防护策略的域名防护,视为“不合规” waf-instance-policy-not-empty WAF防护域名配置防护策略 waf WAF防护域名未配置防护策略,视为“不合规” waf-policy-enable-geoip
build() try: request = ListPolicyAssignmentsRequest() response = client.list_policy_assignments(request) print(response)