Turbot Guardrails Hub 
Hub
  • Mods
  • Policy Packs
  • Docs
  • Home
ModsPolicy PacksDocsHome
Mods
AWS
Loading policies...

Policy: AWS > S3 > Bucket > Access Logging > Key Prefix

An optional S3 key prefix to which the AWS > S3 > Bucket access logs will be written.

The file names of the access logs use the following format: bucket[/prefix]/AWSLogs/aws-account-id/elasticloadbalancing/region/yyyy/mm/dd/aws-account-id_elasticloadbalancing_region_load-balancer-id_end-time_ip-address_random-string.log.gz

Targets

This policy targets the following resource types:

  • AWS > S3 > Bucket

Primary Policy

This policy is used with the following primary policy:

  • AWS > S3 > Bucket > Access Logging

Controls

Setting this policy configures this control:

  • AWS > S3 > Bucket > Access Logging

Policy Packs

This policy setting is used by the following policy packs:

  • Enforce Access Logging Is Enabled for AWS S3 Buckets

Policy Specification

Schema Type
string

Category

  • Resource > Logging

In Your Workspace

  • Policy Settings by Type report

Developers

    Category URI
    • tmod:@turbot/turbot#/control/categories/resourceLogging
  • Policy Type URI
    • tmod:@turbot/aws-s3#/policy/types/bucketAccessLoggingBucketPrefix
  • GraphQL
    • query policyType(id: "tmod:@turbot/aws-s3#/policy/types/bucketAccessLoggingBucketPrefix") { … }
    • query policySettings(filter: "policyTypeId:'tmod:@turbot/aws-s3#/policy/types/bucketAccessLoggingBucketPrefix'") { … }
    • query policyValues(filter: "policyTypeId:'tmod:@turbot/aws-s3#/policy/types/bucketAccessLoggingBucketPrefix'") { … }
  • CLI
    • Get Policy Type
    • turbot graphql policy-type --id "tmod:@turbot/aws-s3#/policy/types/bucketAccessLoggingBucketPrefix"
    • Get Policy Settings
    • turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/aws-s3#/policy/types/bucketAccessLoggingBucketPrefix"
Guardrails
Guardrails Hub
  • Hub
  • Docs
  • Blog
  • Changelog
Products
  • GuardrailsGuardrails
  • PipesPipes
  • SteampipeSteampipe
  • PowerpipePowerpipe
  • FlowpipeFlowpipe
  • TailpipeTailpipe
Turbot
  • Home
  • About us
  • We're hiring!
  • Contact us
Community

Our community of practitioners love to discuss cloud governance & security.

Slack logoJoin us on Slack →

System StatusLegalSecurity
Terms of UseSecurityPrivacy
180
Mods
497
Resource Types
8,691
Policies
3,362
Controls
1,833
Quick Actions
540
IAM