Documentation ¶
Index ¶
- Constants
- func FirewallRuleHasSpecificTargets(resource commons.Resource) bool
- func FirewallRuleOnlyAllowsIAP(resource commons.Resource) bool
- func GetFirewallRulesWithPort22(account internal.GCPAccount) []*computepb.Firewall
- func RunChecks(wa *sync.WaitGroup, account internal.GCPAccount, c *commons.Config, ...)
- type FirewallRule
Constants ¶
View Source
const IAP_CIDR = "35.235.240.0/20"
Variables ¶
This section is empty.
Functions ¶
func GetFirewallRulesWithPort22 ¶
func GetFirewallRulesWithPort22(account internal.GCPAccount) []*computepb.Firewall
Return all firewall rules that allow ingress with on port TCP/22
Types ¶
type FirewallRule ¶
func (*FirewallRule) GetID ¶
func (r *FirewallRule) GetID() string
Click to show internal directories.
Click to hide internal directories.