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: