Skip to content

Commit 64bfd3a

Browse files
committed
test: update functional test cases
Signed-off-by: Dwi Siswanto <[email protected]>
1 parent db8ddc6 commit 64bfd3a

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

cmd/functional-test/testcases.txt

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,24 @@
3636
{{binary}} -tags cve,dos,fuzz
3737
{{binary}} -tags cve -include-tags dos,fuzz
3838
{{binary}} -tags cve -exclude-tags cve2020
39-
{{binary}} -tags cve -exclude-templates cves/2020/
40-
{{binary}} -tags cve -exclude-templates cves/2020/CVE-2020-9757.yaml
41-
{{binary}} -tags cve -exclude-templates cves/2020/CVE-2020-9757.yaml -exclude-templates cves/2021/
42-
{{binary}} -t cves/
43-
{{binary}} -t cves/ -t exposures/
44-
{{binary}} -t cves/ -t exposures/ -tags config
45-
{{binary}} -t cves/ -t exposures/ -tags config,ssrf
46-
{{binary}} -t cves/ -t exposures/ -tags config -severity high,critical
47-
{{binary}} -t cves/ -t exposures/ -tags config -severity high,critical -author geeknik,pdteam
48-
{{binary}} -t cves/ -t exposures/ -tags config -severity high,critical -author geeknik,pdteam -etags sqli
49-
{{binary}} -t cves/ -t exposures/ -tags config -severity high,critical -author geeknik,pdteam -etags sqli -exclude-templates cves/2021/
50-
{{binary}} -t cves/ -t exposures/ -tags config -severity high,critical -author geeknik,pdteam -etags sqli -exclude-templates cves/2017/CVE-2017-7269.yaml
51-
{{binary}} -t cves/ -t exposures/ -tags config -severity high,critical -author geeknik,pdteam -etags sqli -include-templates cves/2017/CVE-2017-7269.yaml
39+
{{binary}} -tags cve -exclude-templates http/cves/2020/
40+
{{binary}} -tags cve -exclude-templates http/cves/2020/CVE-2020-9757.yaml
41+
{{binary}} -tags cve -exclude-templates http/cves/2020/CVE-2020-9757.yaml -exclude-templates http/cves/2021/
42+
{{binary}} -t http/cves/
43+
{{binary}} -t http/cves/ -t http/exposures/
44+
{{binary}} -t http/cves/ -t http/exposures/ -tags config
45+
{{binary}} -t http/cves/ -t http/exposures/ -tags config,ssrf
46+
{{binary}} -t http/cves/ -t http/exposures/ -tags config -severity high,critical
47+
{{binary}} -t http/cves/ -t http/exposures/ -tags config -severity high,critical -author geeknik,pdteam
48+
{{binary}} -t http/cves/ -t http/exposures/ -tags config -severity high,critical -author geeknik,pdteam -etags sqli
49+
{{binary}} -t http/cves/ -t http/exposures/ -tags config -severity high,critical -author geeknik,pdteam -etags sqli -exclude-templates http/cves/2021/
50+
{{binary}} -t http/cves/ -t http/exposures/ -tags config -severity high,critical -author geeknik,pdteam -etags sqli -exclude-templates http/cves/2017/CVE-2017-7269.yaml
51+
{{binary}} -t http/cves/ -t http/exposures/ -tags config -severity high,critical -author geeknik,pdteam -etags sqli -include-templates http/cves/2017/CVE-2017-7269.yaml
5252

5353
# Advanced Filtering
5454
{{binary}} -tags cve -author geeknik,pdteam -tc severity=='high'
5555
{{binary}} -tc contains(authors,'pdteam')
56-
{{binary}} -t cves/ -t exposures/ -tc contains(tags,'cve') -exclude-templates cves/2020/CVE-2020-9757.yaml
56+
{{binary}} -t http/cves/ -t http/exposures/ -tc contains(tags,'cve') -exclude-templates http/cves/2020/CVE-2020-9757.yaml
5757
{{binary}} -tc protocol=='dns'
5858
{{binary}} -tc contains(http_method,'GET')
5959
{{binary}} -tc len(body)>0
@@ -65,7 +65,7 @@
6565
{{binary}} -w workflows
6666
{{binary}} -w workflows -author geeknik,pdteam
6767
{{binary}} -w workflows -severity high,critical
68-
{{binary}} -w workflows -author geeknik,pdteam -severity high,critical
68+
{{binary}} -w workflows -author geeknik,pdteam -severity high,critical
6969

7070
# Input Types
7171
# http protocol

0 commit comments

Comments
 (0)