资源治理中心 RGC-必选控制策略:RGC-GR_SMN_SUBSCRIPTION_CHANGE_PROHIBITED

时间:2023-12-29 15:58:31

RGC-GR_ SMN _SUBSCRIPTION_CHANGE_PROHIBITED

实现:SCP

类型:Preventive

功能:防止更改RGC设置的SMN主题订阅,此订阅用于触发配置规则合规性更改的通知。

{
  "Version": "5.0",
  "Statement": [
    {
      "Effect": "Deny",
      "Action": [
        "smn:topic:subscribe",
        "smn:topic:deleteSubscription"
      ],
      "Resource": [
        "*"
      ],
      "Condition": {
        "StringNotMatch": {
          "g:PrincipalUrn": "sts::*:assumed-agency:RG CS erviceExecutionAgency/*"
        },
        "ForAnyValue:StringMatch": {
          "g:ResourceTag/RGC-Notifications": [
            "RGC-SecurityNotifications",
            "RGC-AllConfigNotifications",
            "RGC-AggregateSecurityNotifications"
          ]
        }
      }
    }
  ]
}

support.huaweicloud.com/usermanual-rgc/rgc_01_0035.html