Use the following instructions to enable Misconfigurations and Vulnerability Management.
Collecting events using Cloud Security affects your billing. For more information, see Datadog Pricing.
Prerequisites
Datadog Agent version 7.46 or later.
Installation
For a package-based deployment, install the Datadog package with your package manager, and then update the files listed below.
/etc/datadog-agent/datadog.yaml
compliance_config:
## @param enabled - boolean - optional - default: false## Set to true to enable CIS benchmarks for Misconfigurations.# enabled: true host_benchmarks:
enabled: true# Vulnerabilities are evaluated and scanned against your containers and hosts every hour.sbom:
enabled: true# Set to true to enable Container Vulnerability Management container_image:
enabled: true# Enables scanning of application libraries in addition to OS packages (Agent 7.70+) analyzers: ["os", "languages"]# Set to true to enable Host Vulnerability Management host:
enabled: true# Enables scanning of application libraries in addition to OS packages (Agent 7.70+) analyzers: ["os", "languages"]# Enables runtime package prioritization (Agent 7.79+)# See Runtime Package Prioritization section below. enrichment:
usage:
enabled: true
Note: enrichment.usage.enabled: true requires Datadog Agent 7.79.0 or later. See the Runtime Package Prioritization section for requirements.
/etc/datadog-agent/security-agent.yaml
compliance_config:
## @param enabled - boolean - optional - default: false## Set to true to enable CIS benchmarks for Misconfigurations.# enabled: true host_benchmarks:
enabled: true
Note: The languages analyzer requires Datadog Agent 7.70 or later. When enabled, it detects vulnerabilities in application libraries managed by package managers such as npm, pip, Maven/Gradle, NuGet, Go modules, Cargo, and Bundler, in addition to OS packages. When the analyzers field is omitted, only OS packages are scanned for container images. See Supported application library package managers for the full list.
Supported application library package managers
The languages analyzer covers the following package ecosystems:
Runtime package prioritization identifies which packages in a container image are used at runtime, so you can prioritize vulnerabilities in code that runs over vulnerabilities in packages that are installed but never executed.
When enabled, the Agent uses eBPF to observe file access on your workloads and adds these signals to vulnerability findings for that image:
Signal
What it tells you
Package is running
The package’s files were observed being accessed by a running process.
Accessed by root process
The package was accessed by a process running as root (UID 0).
SUID binary present
The package contains a binary with the SUID bit set, which can enable privilege escalation.
If you use the Agent install script to enable Misconfigurations and Vulnerability Management, you must manually update the datadog.yaml file to enable host_benchmarks for Misconfigurations, and sbom and container_image for Vulnerability Management.