From a881946337f0bfdebf26e45bffcf6c4292261ac6 Mon Sep 17 00:00:00 2001 From: Aaron Tan Date: Wed, 5 Jul 2017 10:47:14 -0400 Subject: [PATCH] Expose LOG_AGGREGATOR_VERIFY_CERT to Tower configuration --- awx/main/conf.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/awx/main/conf.py b/awx/main/conf.py index fc13e4fa23..ab7712d949 100644 --- a/awx/main/conf.py +++ b/awx/main/conf.py @@ -416,6 +416,18 @@ register( category=_('Logging'), category_slug='logging', ) +register( + 'LOG_AGGREGATOR_VERIFY_CERT', + field_class=fields.BooleanField, + default=True, + label=_('Enable/disable HTTPS certificate verification'), + help_text=_('Flag to control enable/disable of certificate verification' + ' when LOG_AGGREGATOR_PROTOCOL is "https". If enabled, Tower\'s' + ' log handler will verify certificate sent by external log aggregator' + ' before establishing connection.'), + category=_('Logging'), + category_slug='logging', +) def logging_validate(serializer, attrs):