adding integration test

dev
Mzack9999 2023-06-13 17:27:26 +02:00
parent 18e2d2cb24
commit 200faa107e
2 changed files with 22 additions and 3 deletions

View File

@ -0,0 +1,18 @@
id: file-matcher-with-nested-and
info:
name: File Matcher With nested AND
author: pdteam
severity: info
tags: file
file:
- extensions:
- all
matchers:
- type: word
words:
- "CCC"
- "DDD"
condition: and

View File

@ -5,9 +5,10 @@ import (
)
var fileTestcases = map[string]testutils.TestCase{
"file/matcher-with-or.yaml": &fileWithOrMatcher{},
"file/matcher-with-and.yaml": &fileWithAndMatcher{},
"file/extract.yaml": &fileWithExtractor{},
"file/matcher-with-or.yaml": &fileWithOrMatcher{},
"file/matcher-with-and.yaml": &fileWithAndMatcher{},
"file/matcher-with-nested-and.yaml": &fileWithAndMatcher{},
"file/extract.yaml": &fileWithExtractor{},
}
type fileWithOrMatcher struct{}