From 1228a630bcdbaf33fa7d32dc0b2cfb9d9788e19a Mon Sep 17 00:00:00 2001 From: David Hill Date: Fri, 1 Oct 2021 10:46:44 -0400 Subject: [PATCH] Disable TraceEnable to satisfy security scanners Disable TraceEnable to satisfy security scanners and since this is not needed on the image serve service, no features will be affected. Change-Id: I25242f740af7fe817bb34eb8ab70ef5617f559db (cherry picked from commit 88797eb5a7a8d78e5680ea4a7069cbb70ee2dcaf) --- .../roles/tripleo_image_serve/templates/image-serve.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/tripleo_ansible/roles/tripleo_image_serve/templates/image-serve.conf.j2 b/tripleo_ansible/roles/tripleo_image_serve/templates/image-serve.conf.j2 index 139e84192..45af37c22 100644 --- a/tripleo_ansible/roles/tripleo_image_serve/templates/image-serve.conf.j2 +++ b/tripleo_ansible/roles/tripleo_image_serve/templates/image-serve.conf.j2 @@ -8,6 +8,7 @@ Listen {{ tripleo_container_registry_port }} CustomLog "/var/log/httpd/image_serve_access.log" combined SetEnvIf X-Forwarded-Proto https HTTPS=1 RedirectMatch ^/$ /v2 + TraceEnable off # This assumes a file exists containing {} at