From d914734c55400f28383f1aa301a8c351cbc2a39b Mon Sep 17 00:00:00 2001 From: Ritik Chaddha Date: Thu, 28 Jul 2022 14:05:28 +0530 Subject: [PATCH] Update springboot-trace.yaml --- misconfiguration/springboot/springboot-trace.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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