standard
turbot/aws_compliance
Get Involved
Version
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
Name | Type | Required | Description | Default |
---|---|---|---|---|
region | string | Yes | AWS Region of the resource(s). | - |
account_id | string | Yes | The AWS account ID in which to create the CloudTrail trail. | - |
conn | connection.aws | Yes | The AWS connections to use for creating the trail. | connection.aws.default |
trail_name | string | Yes | The name of the CloudTrail trail. | - |
s3_bucket_name | string | Yes | The 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