]> git.kaiwu.me - haproxy.git/commit
MINOR: cli/http: add the "show http-hardening" CLI command
authorWilly Tarreau <w@1wt.eu>
Mon, 26 Oct 2026 17:21:33 +0000 (18:21 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 4 Nov 2026 21:45:32 +0000 (22:45 +0100)
commit060586bf68f2c9f7c4b9e2ca9d200eaa49ae7808
tree2e6e52e5f17bfa9ba0b911031d9d7588cde27c14
parent08e28d55b2ee98faaa66937b87868a063308f12f
MINOR: cli/http: add the "show http-hardening" CLI command

Without argument, "show http-hardening" lists all known profiles, including
the implicit "untrusted" and "trusted" ones when they were not declared (they
are then marked "(implicit)"). With a profile name, it shows each known
single-bit hardening option of this profile, along with its number (bit
position plus 1), direction among "req", "res", "-" (for bidir) and the
status ("on" or "off"), so that it is easy to know what is enabled.
Keywords covering a set of options such as "all" are not shown.
doc/management.txt
src/http.c