metlo-config.yaml file allows you to customize various aspects of Metlo’s behavior, including trace capture, host mappings, authentication configurations, and data detection settings.
Configuration Location
The configuration file is mounted into the Metlo ingestor container:Configuration Options
Global Trace Capture
Control whether Metlo captures full request/response traces for all endpoints.Enable full trace capture for all API endpoints. When enabled, Metlo stores complete request and response data for analysis.
Minimum Analyze Traces
Set the minimum number of traces required before Metlo analyzes an endpoint.Minimum number of traces collected before endpoint analysis begins.
Host Mapping
Map internal hostnames to public-facing domains using regex patterns.Array of host mapping objects that map internal hosts to external hosts using regex patterns.
The target hostname to map to.
Regular expression pattern to match against incoming hostnames.
Host Block List
Exclude specific hosts from Metlo’s monitoring.Array of regex patterns for hosts to exclude from monitoring.
Path Block List
Exclude specific paths on certain hosts from monitoring.Array of path blocking rules by host.
Regular expression pattern to match the host.
Array of regex patterns for paths to block on this host.
Authentication Configuration
Define authentication schemes for your API endpoints.Array of authentication configuration objects.
Custom Words
Add custom keywords to improve sensitive data detection.Array of custom words/patterns to enhance data classification detection.
Ignored Detections
Suppress specific data field detections to reduce false positives.Array of detection rules to ignore.
Host pattern to match.
Path pattern to match.
HTTP method (GET, POST, PUT, DELETE, etc.).
Object mapping data sections to arrays of field paths to ignore.
Complete Example
Updating Configuration
After modifyingmetlo-config.yaml, restart the Metlo services: