standard
turbot/aws_compliance

Pipeline: Enable S3 logging for Cloudtrail trail

Enable S3 logging for Cloudtrail trail.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws_compliance.pipeline.enable_s3_logging_for_cloudtrail \
--arg 'region=<string>' \
--arg 'account_id=<string>' \
--arg 'trail_name=<string>' \
--arg 's3_bucket_name=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = aws_compliance.pipeline.enable_s3_logging_for_cloudtrail
args = {
region = <string>
account_id = <string>
trail_name = <string>
s3_bucket_name = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
region
string
YesAWS Region of the resource(s).-
account_id
string
YesThe AWS account ID in which to create the CloudTrail trail.-
conn
connection.aws
YesThe AWS connections to use for creating the trail.connection.aws.default
trail_name
string
YesThe name of the CloudTrail trail.-
s3_bucket_name
string
YesThe name of the S3 bucket to which CloudTrail logs will be delivered.-

Outputs

This pipeline has no outputs.

Tags

category = Compliance
folder = Internal
mod = aws
service = AWS/Cloudtrail