Area: Deployment
Sub-Area: Remote Executor / Security Compliance
Applies to: Cloud
Issue
Your security team needs a list of the packages in the DataHub Remote Executor image. The packages depend on the image tag you run and on how your ingestion sources are configured. A fixed list for one old tag does not describe current images.
You Might Be Asking
- How do I get a package list for the Remote Executor image?
- Does the package list vary by ingestion source?
- Are packages installed at runtime or are they all in the image?
- What base OS and Python version does the Remote Executor use?
- Can I get the image before security approval?
Cause
The Remote Executor image changes with each release, so an inventory is only valid for the exact tag it was taken from.
- The v0.3.14.1-acryl image was built on Ubuntu 24.04 with Python 3.10.
- Starting with v1.1.0-cloud, executor images use Chainguard Wolfi instead of Ubuntu 24.04. A package list for v0.3.14.1 does not cover current images.
- Ingestion runs can use a pre-built bundled venv or a venv built at runtime, so the packages a run uses are not all in the base image.
Solution
Step 1: Get access to the image.
The Remote Executor image is datahub-executor. It comes from a private DataHub Cloud registry, so you arrange pull access with DataHub. On AWS, you give DataHub your AWS account ID. On EKS, you give the IAM principal that pulls from ECR. On GKE, you give the cluster's IAM service account. For other platforms, contact DataHub. Use the setup guide: Configuration prerequisites.
Step 2: Pick the tag to review.
Image tags look like v2.4.4-cloud. The latest DataHub Cloud release is v2.4.4. Each release's notes list the Remote Executor images that work with that server under Recommended Versions. Review the tag you plan to run, or the latest recommended one. See the release notes.
Step 3: Scan the image you pull.
Run your scanner against the tag you pulled from your own registry. Use the datahub-executor image, not a different image name.
trivy image <your-registry>/datahub-executor:<tag>
grype <your-registry>/datahub-executor:<tag>
Step 4: Review the bundled venv manifests.
In the v2.4.4-cloud image, the pre-built bundled venvs are under /opt/datahub/venvs. The pinned package manifests for them are under /opt/datahub/venv-manifests. The image build fails if the manifests are missing or have no pins. The executor's own venv is /home/datahub/.venv.
Step 5: Scope the runtime packages. Which packages a run uses depends on the source's CLI Version setting (under Advanced in the source settings). See Bundled ingestion venvs.
- If CLI Version is
bundled, the run uses a pre-built read-only venv under/opt/datahub/venvs/<plugin>-bundled. It installs nothing at runtime. - If it is empty,
latestor a specificacryl-datahubversion, the run builds a dynamic venv under/tmp/datahub/ingest/<execution-id>/. This needs access to a Python package index. It is deleted when the run ends. - If the plugin is not bundled in the image, the run falls back to a dynamic venv.
- On a
-lockedimage, the image can't install packages. A run that needs a connector or CLI version that is not bundled fails.
Connector plugins install Python packages. For example, the Dremio plugin installs only Python packages (cachetools, greenlet, requests, sqlalchemy 2.0.x, sqlglot[c], sqlparse) and no JDBC drivers.
Step 6: Check the Python version of a running executor. In DataHub, go to Data Sources (left sidebar) > Executors. Select See more next to an executor. The runtime report shows the Python version and the pre-installed sources. These reports need DataHub 2.4.0 or later.
Step 7: Air-gapped or restricted environments.
Build a custom image from an unlocked base (:tag or :tag-slim, never :tag-locked) with the documented Dockerfile.bundled. This pre-bundles the connectors you need. See Bundling additional connectors. Custom Dockerfile layers on current images use apk, not apt, and need a Wolfi-compatible BASE_IMAGE.
Additional Notes
- Keep one inventory per tag. Do not reuse an inventory from another tag.
- The release notes list dependency and security fixes for each release. See the DataHub Cloud release notes.