standard
turbot/aws_compliance
Get Involved
Version
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
| Name | Type | Required | Description | Default |
|---|---|---|---|---|
| conn | connection.aws | Yes | Name of the AWS connection to be used for any authenticated actions. | connection.aws.default |
| region | string | Yes | AWS Region of the resource(s). | us-east-1 |
| bucket | string | Yes | The name of the bucket. | flowpipe-test-b3092380-aaf8-1af7-272e-a0c1e88c83d4 |
| block_public_acls | bool | Yes | Specifies whether Amazon S3 should block public access control lists (ACLs) for this bucket and objects in this bucket. | false |
| ignore_public_acls | bool | Yes | Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket. | false |
| block_public_policy | bool | Yes | Specifies whether Amazon S3 should block public bucket policies for this bucket. | false |
| restrict_public_buckets | bool | Yes | Specifies whether Amazon S3 should restrict public bucket policies for this bucket. | false |
Outputs
| Name | Description |
|---|---|
| result | Result of skip action verification. |
| results | |
| bucket | Bucket name used in the test. |
Tags
folder = Tests