Check provider logo

Glue ETL job has continuous CloudWatch logging enabled

glue_etl_jobs_logging_enabled

Severitymedium
Serviceglue
by Prowler

AWS Glue jobs are assessed for continuous CloudWatch logging, confirming that runtime events and outputs are sent to CloudWatch Logs via the --enable-continuous-cloudwatch-log configuration.

Risk

Missing job logs hide execution details and access patterns, enabling undetected credential abuse, data exfiltration in scripts, or tampering with transforms. This reduces confidentiality and integrity, hinders incident response, and can mask failures that impact availability.

Run this check with Prowler CLI

prowler aws --checks glue_etl_jobs_logging_enabled

Recommendation

Enable continuous logging to CloudWatch Logs for all Glue jobs. Centralize logs with retention and KMS encryption, restrict read access, and alert on anomalies and failures. Apply least privilege to job roles and use defense in depth by correlating logs across services.

Remediation

CLI

aws glue update-job --job-name <example_resource_name> --job-update '{"DefaultArguments":{"--enable-continuous-cloudwatch-log":"true"}}'

Native IaC
Terraform
Other
  1. Open the AWS Glue console and go to Jobs
  2. Select the job and click Edit
  3. Expand Advanced properties
  4. Under Continuous logging, check Enable logs in CloudWatch
  5. Save

Source Code

Resource Type

Other

References