function getProactiveRules()

in rules/preview-rule/IAC_misconfiguration_proactive_plugin/lib/util.js [17:32]


function getProactiveRules(resourceType) {
    switch (resourceType) {
        case "ALIYUN::ECS::Instance":
            return [
                "ecs-instance-os-name-check"
            ];
        case "ACS::OSS::Bucket":
            return [
                "oss-bucket-logging-enabled",
                "oss-bucket-server-side-encryption-enabled",
                "oss-bucket-public-write-prohibited",
            ];
        default:
            return [];
    }
}