consul/test
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
..
bin [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
ca test: update certs for 10 year expiry (#19481) 2023-11-07 14:57:52 -05:00
ca_path test: update certs for 10 year expiry (#19481) 2023-11-07 14:57:52 -05:00
client_certs test: update certs for 10 year expiry (#19481) 2023-11-07 14:57:52 -05:00
command/merge Add utility types to enable checking for unset flags 2017-02-07 20:14:41 -05:00
hostname test: update certs for 10 year expiry (#19481) 2023-11-07 14:57:52 -05:00
integration [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
key [Cloud][CC-6925] Updates to pushing server state (#19682) 2023-12-04 10:25:18 -05:00
load [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
snapshot snapshot: read meta.json correctly. (#5193) 2019-01-08 17:06:28 +01:00
CA-GENERATION.md test: update certs for 10 year expiry (#19481) 2023-11-07 14:57:52 -05:00