diff --git a/misconfiguration/springboot/springboot-mappings.yaml b/misconfiguration/springboot/springboot-mappings.yaml index c6b4f9bfef..e4f31f74fc 100644 --- a/misconfiguration/springboot/springboot-mappings.yaml +++ b/misconfiguration/springboot/springboot-mappings.yaml @@ -12,6 +12,8 @@ requests: path: - "{{BaseURL}}/mappings" - "{{BaseURL}}/actuator/mappings" + + stop-at-first-match: true matchers-condition: and matchers: - type: word @@ -21,13 +23,15 @@ requests: - "method" - "produces" 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