dd-trace-java
dd-trace-java copied to clipboard
Publish path parameters for JAX-RS
What Does This Do
Captures the arguments passed for parameters annotated with @PathParam and publishes them for the appsec subsystem.
Also some refactoring wrt manual muzzling.
I haven't taken the time to review this just yet, but just so you know, the current way we interpret the JAX-RS routes is fundamentally wrong so you may not get the results you expect in certain instances. See the resource names here for what I mean https://github.com/DataDog/dd-trace-java/issues/3257
Obsoleted by https://github.com/DataDog/dd-trace-java/pull/5183