consul/command
Michael Zalimeni d9206fc7e2
[NET-1151 NET-11228] security: Add request normalization and header match options to prevent L7 intentions bypass (#21816)
mesh: add options for HTTP incoming request normalization

Expose global mesh configuration to enforce inbound HTTP request
normalization on mesh traffic via Envoy xDS config.

mesh: enable inbound URL path normalization by default

mesh: add support for L7 header match contains and ignore_case

Enable partial string and case-insensitive matching in L7 intentions
header match rules.

ui: support L7 header match contains and ignore_case

Co-authored-by: Phil Renaud <phil@riotindustries.com>

test: add request normalization integration bats tests

Add both "positive" and "negative" test suites, showing normalization in
action as well as expected results when it is not enabled, for the same
set of test cases.

Also add some alternative service container test helpers for verifying
raw HTTP request paths, which is difficult to do with Fortio.

docs: update security and reference docs for L7 intentions bypass prevention

- Update security docs with best practices for service intentions
  configuration
- Update configuration entry references for mesh and intentions to
  reflect new values and add guidance on usage
2024-10-16 12:23:33 -04:00
..
acl remove v2 tenancy, catalog, and mesh (#21592) 2024-09-05 08:50:46 -06:00
agent GH-20889 - put conditionals are hcp initialization for consul server (#20926) 2024-03-28 14:47:11 -06:00
catalog Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
cli [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
config NET-5912/service-defaults protocol validation (#21593) 2024-08-26 11:10:57 -04:00
connect [NET-5622] build: consolidate Envoy version management (#21245) 2024-07-05 14:19:23 -05:00
debug NET-4519 Collecting journald logs in "consul debug" bundle (#18797) 2023-09-19 08:46:50 +05:30
event [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
exec [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
flags Net 2714/xw cli read command (#18462) 2023-09-05 09:17:19 -07:00
forceleave [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
helpers [NET-1151 NET-11228] security: Add request normalization and header match options to prevent L7 intentions bypass (#21816) 2024-10-16 12:23:33 -04:00
info [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
intention [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
join [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
keygen [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
keyring [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
kv [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
leave [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
lock Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
login Update go-jose library (#20888) 2024-03-22 10:54:58 -04:00
logout [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
maint [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
members [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
monitor [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
operator Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
peering NET-6784: Adding cli command to list exported services to a peer (#19821) 2023-12-07 12:55:15 +05:30
reload [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
resource remove v2 tenancy, catalog, and mesh (#21592) 2024-09-05 08:50:46 -06:00
rtt gossip: refactor some gossip related libraries into a central place (#21036) 2024-05-07 10:30:49 -05:00
services Exported services CLI and docs (#20331) 2024-02-06 09:01:20 +05:30
snapshot Add `consul snapshot decode` command (#20824) 2024-03-14 12:59:06 -04:00
tls [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
troubleshoot NET-3860 - [Supportability] consul troubleshoot CLI for verifying ports (#18329) 2023-12-06 11:12:15 +05:30
validate [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
version [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
watch [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
registry.go Add `consul snapshot decode` command (#20824) 2024-03-14 12:59:06 -04:00
registry_ce.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00