Skip to main content

Python YAML template

Use this template to configure the Python agent using a YAML configuration file. (Learn more about YAML configuration.)

Place your YAML file in the default location: /etc/contrast/contrast_security.yaml

Note

The agent.service section of the YAML configuration file only applies to earlier versions of Python (before version 5.19.0).

https://docs.contrastsecurity.com/common-agent-config/python_contrast_security.yaml