securitygroup

package
v0.0.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Audit

type Audit struct {
	// contains filtered or unexported fields
}

func NewAudit

func NewAudit(client *ec2.Client, region string, groupIDs []string, myIP net.IP) *Audit

func (*Audit) IsRDPOpen added in v0.0.10

func (a *Audit) IsRDPOpen() bool

func (*Audit) IsSSHOpen added in v0.0.10

func (a *Audit) IsSSHOpen() bool

func (*Audit) OpenEgressPorts added in v0.0.10

func (a *Audit) OpenEgressPorts() map[string]*OpenRange

func (*Audit) OpenIngressPorts added in v0.0.10

func (a *Audit) OpenIngressPorts() map[string]*OpenRange

type OpenRange added in v0.0.10

type OpenRange struct {
	Protocol string
	From     string
	To       string
}

func (OpenRange) ToString added in v0.0.10

func (o OpenRange) ToString() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL