aws-codebuild-build-log-event

Build commands can echo environment values, credential files, package tokens, and command arguments into durable logs.

awscritical service: aws:codebuild emits ContainsCredential

Where it sits

locationCloudWatch Logs/S3 CodeBuild log content
location kindlog_field
data kindscredential password api_key access_key secret_key private_key source_code_secret
emits edgeContainsCredential
serviceCodeBuild (aws:codebuild)

Collection recipe

access modeindirect_destination
operationlogs:FilterLogEvents or s3:GetObject
response pathlog event message or object body
encodingstring
params{"Destination": "\u003cbuild-log-destination\u003e"}

Required permissions

codebuild:BatchGetBuilds
logs:FilterLogEvents

References

move · open · esc close