integration

package
v0.0.0-...-92ee466 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWS

type AWS struct {
	IAM        *IAM
	S3         *S3
	VPC        *VPC
	CloudTrail *CloudTrail
}

AWS checks that the user's AWS infra is SOC2 compliant

func NewAWS

func NewAWS(region string) (*AWS, error)

New returns a new AWS integration

func (*AWS) Check

func (a *AWS) Check() ([]Result, error)

Check checks that the user's AWS infra is SOC2 compliant

type CloudTrail

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

CloudTrail checks that the user's CloudTrail is SOC2 compliant

func NewCloudTrail

func NewCloudTrail(s *session.Session, regions []string) *CloudTrail

NewCloudTrail returns a new CloudTrail integration

func (*CloudTrail) Check

func (c *CloudTrail) Check() ([]Result, error)

Check checks that the user's CloudTrail is SOC2 compliant

type IAM

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

IAM checks that the user's IAM infra is SOC2 compliant

func NewIAM

func NewIAM(s *session.Session) *IAM

NewIAM returns a new IAM integration

func (*IAM) Check

func (i *IAM) Check() ([]Result, error)

Check checks that the user's IAM infra is SOC2 compliant

type Resource

type Resource struct {
	Type string `json:"type"`
	Name string `json:"name"`
}

type Result

type Result struct {
	Resource  Resource `json:"resource"`
	Rule      string   `json:"rule"`
	Compliant bool     `json:"compliant"`
	Reason    string   `json:"reason"`
}

type S3

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

S3 checks that the user's IAM infra is SOC2 compliant

func NewS3

func NewS3(s *session.Session) *S3

NewS3 returns a new S3 integration

func (*S3) Check

func (s *S3) Check() ([]Result, error)

Check checks that the user's S3 infra is SOC2 compliant

type VPC

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

VPC checks that the user's VPCs are SOC2 compliant

func NewVPC

func NewVPC(s *session.Session, regions []string) *VPC

NewVPC returns a new VPC integration

func (*VPC) Check

func (v *VPC) Check() ([]Result, error)

Check checks that the user's VPCs are SOC2 compliant

Jump to

Keyboard shortcuts

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