Chapter 6. Compliance verification by using image SBOMs
Auditing the software bill of materials (SBOM) enables security teams to identify components that might be subject to common vulnerabilities and exposures (CVEs).
To achieve security and compliance goals, use the SBOM to perform auditing tasks, such as:
- Vulnerability scanning: Import the SBOM into auditing tools to cross-reference package versions against known security vulnerabilities.
- License verification: Review the metadata section of the SBOM to ensure all open source licenses meet corporate legal standards.
- Package integrity: Verify that the package hashes listed in the SBOM match the binaries present in the active container environment.
6.1. Access and audit the Red Hat Hardened Images SBOM Copy linkLink copied to clipboard!
The software bill of materials (SBOM) lists all software components, libraries, and dependencies in Red Hat Hardened Images. Use the SBOM to verify software integrity, identify security vulnerabilities, and ensure compliance with security standards.
For production audits, always verify against the immutable image digest rather than a mutable tag, such as :latest, to ensure you are auditing the deployed image.
Procedure
Use one of the following methods to display the SBOM for an image:
To display the SBOM in the Red Hat Hardened Images catalog:
- Open https://images.redhat.com in your browser.
- Click to the tile of the image.
- Open the SBOM tab.
To create the SBOM on a local host, use the
cosign-rhel9container:$ podman run \ registry.redhat.io/rhtas/cosign-rhel9:1.2.2 \ cosign download sbom \ registry.access.redhat.com/hi/curl > sbom.jsonThe command redirects the output to the
sbom.jsonfile.