reel export
Export artifacts from containers and images. Saves locally for inspection.
For uploading to S3, see reel upload.
export sbom
Generate a Software Bill of Materials using Trivy. Scan container images, local containers, or live pods.
| Flag | Description | Default |
|---|---|---|
| --image | Container image to scan | |
| --container | Local container name/ID | |
| --pod | Kubernetes pod (agent mode) | |
| --local | Scan local image only, no registry pull | false |
| --scanners | Scanners: vuln, secret, license, config, all | package inventory only |
| --severity | Filter: LOW, MEDIUM, HIGH, CRITICAL | all |
| --ignore-unfixed | Ignore vulnerabilities without fixes | false |
| -f, --format | Output format: cyclonedx, spdx, spdx-json | cyclonedx |
| -o, --output | Destination file | stdout |
| --offline | Skip database updates | false |
| --cache-dir | Override cache directory | ~/.cache/reel |
| --diff-only | Scan only diff layer (agent only) | false |
| --full | Scan full merged filesystem via /proc (requires --container) | false |
export cbom
Generate a Cryptographic Bill of Materials (CycloneDX 1.6). Detects cryptographic algorithms, X.509 certificates, TLS/SSH protocols, and key materials.
| Flag | Description | Default |
|---|---|---|
| --image | Container image to scan | |
| --container | Local container name/ID | |
| --pod | Kubernetes pod (agent mode) | |
| --include-system-cas | Include system CA trust store certificates | false |
| --common-paths-only | Scan targeted paths instead of full filesystem | false |
| --full | Scan full merged filesystem via /proc (requires --container) | false |
| -o, --output | Destination file | stdout |
export sarif
Export security scan results in SARIF 2.1.0 format for CI/CD integration. Runs Trivy with all scanners enabled by default (vuln, secret, license, config). Unlike export sbom which produces a package inventory, export sarif produces security findings.
| Flag | Description | Default |
|---|---|---|
| --image | Container image to scan | |
| --container | Local container name/ID | |
| --pod | Kubernetes pod (agent mode) | |
| --local | Scan local image only, no registry pull | false |
| --scanners | Scanners: vuln, secret, license, config, all | all |
| --severity | Filter: LOW, MEDIUM, HIGH, CRITICAL | all |
| --ignore-unfixed | Ignore vulnerabilities without fixes | false |
| -o, --output | Destination file | stdout |
| --offline | Skip database updates | false |
| --cache-dir | Override cache directory | ~/.cache/reel |
| --diff-only | Scan only diff layer (agent only) | false |
export malware
Scan for malware using ClamAV. Detects viruses, trojans, rootkits, and suspicious executables.
| Flag | Description | Default |
|---|---|---|
| --image | Container image to scan | |
| --container | Local container name/ID | |
| --pod | Kubernetes pod (agent mode) | |
| --path | Path to scan within container | / |
| -f, --format | Output format: json, yaml | json |
| -o, --output | Destination file | stdout |
| --offline | Skip database updates | false |
| --full | Scan full merged filesystem via /proc (requires --container) | false |
Agent Mode
The following subcommands require the --agent flag. All create artifacts on-the-fly, stream them to the destination, and immediately delete server-side copies.
export checkpoint
CRIU process state snapshot. See Checkpoint Reference.
export layer
Filesystem diff from base image. See Layer Reference.
export frame
Checkpoint + layer combined into a single archive.
export memory
GDB-compatible ELF core dump of container processes.
export volatile
Runtime state: process tree, open FDs, network connections, environment.
export metadata
Container configuration, image info, resource limits, labels, annotations.
export files
Export files/directories from a running container as tar archive.
export inventory
Forensic file inventory in CycloneDX 1.6 format with optional chain-of-custody.
Common flags for all agent exports: --pod, --container, -n, -o, --compress (none, fast, default, better, best).