library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Put event selectors to CloudTrail Trail

Enables log file validation for an AWS CloudTrail trail.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.put_cloudtrail_trail_event_selector \
--arg 'region=<string>' \
--arg 'trail_name=<string>' \
--arg 'event_selectors=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = aws.pipeline.put_cloudtrail_trail_event_selector
args = {
region = <string>
trail_name = <string>
event_selectors = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
regionstringYesThe AWS region where the CloudTrail trail is located.-
credstringYesThe AWS credentials to use.default
trail_namestringYesThe name of the CloudTrail trail.-
event_selectorsstringYesThe JSON string format of the event selector policy.-

Outputs

NameDescription
trailThe CloudTrail trail with event selectors set.