From e951b5f6b28dc5a6fa386376d1b2b7f3fdd89890 Mon Sep 17 00:00:00 2001 From: Prince Chaddha Date: Thu, 14 Jul 2022 16:34:49 +0530 Subject: [PATCH] Update docker-cloud.yaml --- exposures/files/docker-cloud.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/exposures/files/docker-cloud.yaml b/exposures/files/docker-cloud.yaml index ab0c03cc2f..a5cca7a8bb 100644 --- a/exposures/files/docker-cloud.yaml +++ b/exposures/files/docker-cloud.yaml @@ -17,10 +17,11 @@ requests: matchers-condition: and matchers: - - type: word - words: - - 'image:' - - 'ports:' + + - type: regex + regex: + - '(?m)^ image:' + - '(?m)^ ports:' condition: and - type: word @@ -29,7 +30,7 @@ requests: - "application/json" - "text/html" negative: true - condition: and + condition: or - type: status status: