diff --git a/tls/datadog_checks/tls/tls.py b/tls/datadog_checks/tls/tls.py index ab5b8b0d68da4..83c156db9049d 100644 --- a/tls/datadog_checks/tls/tls.py +++ b/tls/datadog_checks/tls/tls.py @@ -40,6 +40,7 @@ class TLSCheck(AgentCheck): 'private_key': {'name': 'tls_private_key'}, 'ca_cert': {'name': 'tls_ca_cert'}, 'validate_hostname': {'name': 'tls_validate_hostname'}, + 'validate_cert': {'name': 'tls_verify'}, } def __init__(self, name, init_config, instances): diff --git a/tls/tests/test_config.py b/tls/tests/test_config.py index ff13f2642c59c..d09cf836678d4 100644 --- a/tls/tests/test_config.py +++ b/tls/tests/test_config.py @@ -74,6 +74,7 @@ def test_validation_data(): pytest.param( {'validate_hostname': False}, {'tls_validate_hostname': False}, id='legacy validate_hostname param' ), + pytest.param({'validate_cert': False}, {'tls_verify': False}, id='legacy validate_cert param'), ], ) def test_config(extra_config, expected_http_kwargs):