From 3fc86268747e5242af01f3350c85e7cc51264c9c Mon Sep 17 00:00:00 2001 From: sandeep Date: Mon, 26 Jul 2021 01:33:02 +0530 Subject: [PATCH] Update hadoop-unauth.yaml --- misconfiguration/hadoop-unauth.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/misconfiguration/hadoop-unauth.yaml b/misconfiguration/hadoop-unauth.yaml index e47e947914..507e54a6f2 100644 --- a/misconfiguration/hadoop-unauth.yaml +++ b/misconfiguration/hadoop-unauth.yaml @@ -12,10 +12,14 @@ requests: - '{{BaseURL}}/ws/v1/cluster/info' - '{{BaseURL}}/ws/v1/cluster/apps/new-application' + matchers-condition: or matchers: - type: word words: - 'hadoopVersion' - 'resourceManagerVersionBuiltOn' - - 'javax.ws.rs.WebApplicationException' condition: and + + - type: word + words: + - 'javax.ws.rs.WebApplicationException'