aws-glue-job-script-source

Glue ETL scripts in S3 can hard-code credentials and configuration files.

awscritical service: aws:glue emits ContainsCredential

Where it sits

locationGetJob.Job.Command.ScriptLocation -> S3 object body
location kindcode_artifact
data kindssource_code_secret credential password api_key private_key connection_string
emits edgeContainsCredential
serviceGlue (aws:glue)

Collection recipe

access modeindirect_destination
operationGetJob then s3:GetObject
response pathJob.Command.ScriptLocation -> GetObject.Body
encodingbinary
params{"JobName": "\u003cjob-name\u003e"}

Required permissions

glue:GetJob
s3:GetObject

References

move · open · esc close