Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudTrail ¶
type CloudTrail struct {
Trails []Trail
}
func (CloudTrail) MultiRegionTrails ¶ added in v0.0.2
func (c CloudTrail) MultiRegionTrails() (multiRegionTrails []Trail)
type DataResource ¶ added in v0.0.2
type DataResource struct { Metadata defsecTypes.Metadata Type defsecTypes.StringValue // You can specify only the following value: "AWS::S3::Object", "AWS::Lambda::Function" and "AWS::DynamoDB::Table". Values []defsecTypes.StringValue // List of ARNs/partial ARNs - e.g. arn:aws:s3:::<bucket name>/ for all objects in a bucket, arn:aws:s3:::<bucket name>/key for specific objects }
type EventSelector ¶ added in v0.0.2
type EventSelector struct { Metadata defsecTypes.Metadata DataResources []DataResource ReadWriteType defsecTypes.StringValue // ReadOnly, WriteOnly, All. Default value is All for TF. }
type Trail ¶
type Trail struct { Metadata defsecTypes.Metadata Name defsecTypes.StringValue EnableLogFileValidation defsecTypes.BoolValue IsMultiRegion defsecTypes.BoolValue KMSKeyID defsecTypes.StringValue CloudWatchLogsLogGroupArn defsecTypes.StringValue IsLogging defsecTypes.BoolValue BucketName defsecTypes.StringValue EventSelectors []EventSelector }
Click to show internal directories.
Click to hide internal directories.