From 58815f777ef774cc0813ce1161e377779c8228ab Mon Sep 17 00:00:00 2001 From: Wyatt Dahlenburg Date: Wed, 18 Nov 2020 18:36:57 -0600 Subject: [PATCH] Swapped put-method-enabled to DSL for multi-req --- security-misconfiguration/put-method-enabled.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/security-misconfiguration/put-method-enabled.yaml b/security-misconfiguration/put-method-enabled.yaml index 19717a29b5..33f999e808 100644 --- a/security-misconfiguration/put-method-enabled.yaml +++ b/security-misconfiguration/put-method-enabled.yaml @@ -19,12 +19,8 @@ requests: GET /testing-put.txt HTTP/1.1 Content-Type: text/plain - matchers-condition: and matchers: - - type: status - status: - - 200 - - - type: word - words: - - testing-payload \ No newline at end of file + - type: dsl + name: multi-req + dsl: + - 'contains(body_2, "testing-payload") == true'