Ensure that you have an alert monitoring rule and an alert configured to trigger a notification alarm whenever a security group configuration change is made. Your alert monitoring rule should query ActionTrail logs for events related to security group modifications, such as "CreateSecurityGroup", "AuthorizeSecurityGroup", and "DeleteSecurityGroup".
Using Simple Log Service (SLS) alerts to detect security group configuration changes helps prevent accidental or intentional modifications that could lead to unauthorized access or other security breaches. Monitoring security groups safeguards against unintended exposure.
Audit
To dentify if an SLS alert exists and is configured correctly to monitor security group configuration changes, perform the following operations:
Checking for Simple Log Service (SLS) alerts via Alibaba Cloud CLI (aliyun) is not currently supported.Remediation / Resolution
To ensure that a Simple Log Service (SLS) alert exists for security group configuration changes, perform the following operations:
Creating and managing Simple Log Service (SLS) alerts via Alibaba Cloud CLI (aliyun) is not currently supported.