Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Security Group Rules with public ports

What it does

This Policy Template reviews your security group and alerts if any security group rules are open to the public. Deletion of the Security Group Rules only occur after approval.

Input Parameters

This policy has the following input parameters required when launching the policy.

  • Email addresses of the recipients you wish to notify - Example:
  • List of security groups allowed to have open ports to the world. - a list of security groups to ignore.

Policy Actions

The following policy actions are taken on any resources found to be out of compliance.

  • After approval, delete the security group rules found to violate the policy.
  • Send an email report

Required Permissions

This policy requires permissions to access RightScale resources (clouds, networks, security_groups and security_group_rules). Before applying this policy add the following roles to the user applying the policy. The roles should be applied to all Accounts where the policy will run or the Organization. For more information on modifying roles visit the Governance Docs

  • Cloud Management - Observer

Supported Clouds

  • AWS
  • Azure
  • Google


This Policy Template does not launch any instances, and so does not incur any cloud costs.