mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 09:27:36 -02:30
Merge pull request #6884 from jangsutsr/6406_expose_ctint_log_aggregator_verify_cert
Expose LOG_AGGREGATOR_VERIFY_CERT to Tower configuration
This commit is contained in:
@@ -416,6 +416,18 @@ register(
|
|||||||
category=_('Logging'),
|
category=_('Logging'),
|
||||||
category_slug='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):
|
def logging_validate(serializer, attrs):
|
||||||
|
|||||||
Reference in New Issue
Block a user