diff --git a/avoid-http-usage.yaml b/avoid-http-usage.yaml index 6f67e70..927eb87 100644 --- a/avoid-http-usage.yaml +++ b/avoid-http-usage.yaml @@ -11,10 +11,15 @@ file: - json - js + matchers-condition: and matchers: - type: regex regex: - - "http://" + - "http://[^s]" + - type: regex + regex: + - "https://" + negative: true extractors: - type: regex @@ -22,4 +27,3 @@ file: name: extracted_http_url regex: - "http://[^\\s'\"]+" -