Security scanning

You maintain ownership of all additional layers added to the custom image. While Cloudera scans the base image, you must scan the final image after installing new dependencies.

  1. Scan the built image before deploying it to a Cloudera Workflow Orchestrator instance.
  2. Rebuild and rescan the image whenever Cloudera releases a new Cloudera Workflow Orchestrator base image tag.
  3. Explicitly pin package versions in custom-requirements.txt.

    Example using Trivy:

    You can use any tool of your choice to scan the image.
    # Scan the complete image
    trivy image --severity HIGH,CRITICAL \
     your-registry.example.com/your-org/cwo-airflow-custom:1.0.0