standard
turbot/aws_compliance

Pipeline: Test detect and correct S3 buckets with block public access disabled

Test the block public access action for the detect_and_correct_s3_buckets_with_block_public_access_disabled pipeline.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws_compliance.pipeline.test_detect_and_correct_s3_buckets_with_block_public_access_disabled \
--arg 'block_public_acls=<bool>' \
--arg 'ignore_public_acls=<bool>' \
--arg 'block_public_policy=<bool>' \
--arg 'restrict_public_buckets=<bool>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = aws_compliance.pipeline.test_detect_and_correct_s3_buckets_with_block_public_access_disabled
args = {
block_public_acls = <bool>
ignore_public_acls = <bool>
block_public_policy = <bool>
restrict_public_buckets = <bool>
}
}

Params

NameTypeRequiredDescriptionDefault
conn
connection.aws
YesName of the AWS connection to be used for any authenticated actions.connection.aws.default
region
string
YesAWS Region of the resource(s).us-east-1
bucket
string
YesThe name of the bucket.flowpipe-test-9aa14e24-64be-1a99-25be-dbdff7ab8cf4
block_public_acls
bool
YesSpecifies whether Amazon S3 should block public access control lists (ACLs) for this bucket and objects in this bucket.false
ignore_public_acls
bool
YesSpecifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket.false
block_public_policy
bool
YesSpecifies whether Amazon S3 should block public bucket policies for this bucket.false
restrict_public_buckets
bool
YesSpecifies whether Amazon S3 should restrict public bucket policies for this bucket.false

Outputs

NameDescription
resultResult of skip action verification.
results
bucketBucket name used in the test.

Tags

folder = Tests