diff --git a/misconfiguration/springboot/springboot-trace.yaml b/misconfiguration/springboot/springboot-trace.yaml index f46ae43eec..955dcf1d91 100644 --- a/misconfiguration/springboot/springboot-trace.yaml +++ b/misconfiguration/springboot/springboot-trace.yaml @@ -12,6 +12,7 @@ requests: path: - "{{BaseURL}}/trace" + stop-at-first-match: true matchers-condition: and matchers: - type: word @@ -23,14 +24,14 @@ requests: - '"path"' condition: and - - type: status - status: - - 200 - - type: word + part: header words: - "application/json" - "application/vnd.spring-boot.actuator" - "application/vnd.spring-boot.actuator.v1+json" condition: or - part: header + + - type: status + status: + - 200