You can export security group rules and save them locally for backup.
1. Log in to the ECM console and select Edge Network > Security Group on the left sidebar.
2. On the Security Group rules management page, click the name or ID of the target security group to enter the security group rule page.
3. Use Inbound Rule and Outbound Rule to switch between inbound and outbound security group rules.
4. Click to export security group rules to a file and save it to your local device as shown below: