检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Build()) request := &model.CreateOrganizationPolicyAssignmentRequest{} resourceProviderPolicyFilter:= "ecs" resourceTypePolicyFilter:=
为了提高账号资源的安全性,不创建允许“*”或“*:*”或“*:*:*”管理权限的自定义策略。 修复项指导 管理员可以修改不合规的IAM自定义策略,详见修改、删除自定义策略。
Build()) request := &model.BatchDeleteRemediationExceptionsRequest{} var listExceptionsbody = []model.RemediationExceptionRequest{
Build()) request := &model.UpdatePolicyAssignmentRequest{} var listTagsbody = []model.ResourceTag{ { Key: "tagkey",
dws DWS集群未启用SSL加密连接,视为“不合规” C.CS.FOUNDATION.G_8.R_1 启用 Web 应用防火墙功能 waf-instance-enable-protect 启用WAF实例域名防护 waf 如果账号未配置并启用WAF防护策略的域名防护,视为“不合规
Build()) request := &model.RunQueryRequest{} request.Body = &model.QueryRunRequestBody{ Expression: "select * from resources where provider
Build()) request := &model.CreateOrUpdateRemediationConfigurationRequest{} varKeyStaticParameter:= "kms_id" varValueStaticParameter:=
为了提高账号资源的安全性,不创建允许某个云服务全部管理权限的自定义策略。 修复项指导 管理员可以在IAM页面修改不合规的IAM自定义策略,详见修改、删除自定义策略。 检测逻辑 IAM自定义策略配置了Allow的任意一个云服务的全部权限,视为“不合规”。
interface{} = varValueVarsStructure var listVarsStructurebody = []model.VarsStructure{ { VarKey: &varKeyVarsStructure,
Build()) request := &model.CreateAggregationAuthorizationRequest{} request.Body = &model.AggregationAuthorizationRequest{ AuthorizedAccountId
", } accountAggregationSourcesbody := &model.AccountAggregationSource{ DomainIds: &listDomainIdsAccountAggregationSources, } request.Body
", } accountAggregationSourcesbody := &model.AccountAggregationSource{ DomainIds: &listDomainIdsAccountAggregationSources, } request.Body
Build()) request := &model.UpdateOrganizationConformancePackRequest{} varKeyVarsStructure:= "test" varValueVarsStructure:= "test" var
Build()) request := &model.RunAggregateResourceQueryRequest{} request.Body = &model.QueryRunRequestBody{ Expression: "select id from
Build()) request := &model.RunRemediationExecutionRequest{} var listResourceIdsbody = []string{ "iam-001", "iam-002",
interface{} = varValueVarsStructure var listVarsStructurebody = []model.VarsStructure{ { VarKey: &varKeyVarsStructure,
图1 管理员创建IAM用户响应消息头 响应消息体(可选) 该部分可选。响应消息体通常以结构化格式(如JSON或XML)返回,与响应消息头中Content-Type对应,传递除响应消息头之外的内容。 对于管理员创建IAM用户接口,返回如下消息体。为篇幅起见,这里只展示部分内容。
*; import com.huaweicloud.sdk.config.v1.model.*; public class DeleteAggregationAuthorizationSolution { public static void main(String
*; import com.huaweicloud.sdk.config.v1.model.*; public class DeleteConfigurationAggregatorSolution { public static void main(String[
*; import com.huaweicloud.sdk.config.v1.model.*; public class DeletePendingAggregationRequestSolution { public static void main(String