Add example for disabling the /version page for security hardening (#159)

Per @BCTBB's testing done here:
https://fleetdm.slack.com/archives/C051QJU3D0V/p1767198630645379?thread_ts=1767193373.532409&cid=C051QJU3D0V

---------

Co-authored-by: Jorge Falcon <22119513+BCTBB@users.noreply.github.com>
This commit is contained in:
Steven PalmesanoandJorge Falcon authored and GitHub committed 2026-01-16 15:20:13 -05:00
1 parent 4e6b55b731
commit 382bde0d91
2 files changed
+32 -3

No files matched your search

+17 -1
View File
@@ -130,7 +130,23 @@ module "byo-vpc" {
values = ["yes", "true"]
}]
}]
}]
},
# This prevents exposing the Fleet and Go versions publicly
# {
# priority = 9000
# actions = [{
# type = "fixed-response"
# content_type = "text/html"
# status_code = "404"
# message_body = "<h1><center>404 Not Found</center></h1>"
# }]
# conditions = [{
# path_patterns = [
# "/version"
# ]
# }]
# },
]
}
ecs_cluster = {
cluster_name = random_pet.main.id