diff --git a/misconfiguration/springboot/springboot-info.yaml b/misconfiguration/springboot/springboot-info.yaml index c9d77a9f5f..520c98e41c 100644 --- a/misconfiguration/springboot/springboot-info.yaml +++ b/misconfiguration/springboot/springboot-info.yaml @@ -13,6 +13,7 @@ requests: - "{{BaseURL}}/info" - "{{BaseURL}}/actuator/info" + stop-at-first-match: true matchers-condition: and matchers: - type: word @@ -22,15 +23,15 @@ requests: - '"artifact"' condition: and - - type: status - status: - - 200 - - type: word + part: header words: - "application/json" - "application/vnd.spring-boot.actuator" - "application/vnd.spring-boot.actuator.v2+json" - "application/vnd.spring-boot.actuator.v1+json" condition: or - part: header + + - type: status + status: + - 200