mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 19:25:27 +00:00
Add tests folder
This commit is contained in:
parent
cff0d88742
commit
b51aac290e
15
v2/pkg/templates/tests/match-1.yaml
Normal file
15
v2/pkg/templates/tests/match-1.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
id: basic-get
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: Basic GET Request
|
||||||
|
author: pdteam
|
||||||
|
severity: info
|
||||||
|
|
||||||
|
requests:
|
||||||
|
- method: GET
|
||||||
|
path:
|
||||||
|
- "{{BaseURL}}"
|
||||||
|
matchers:
|
||||||
|
- type: word
|
||||||
|
words:
|
||||||
|
- "This is test matcher text"
|
||||||
14
v2/pkg/templates/tests/no-author.yaml
Normal file
14
v2/pkg/templates/tests/no-author.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
id: basic-get
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: Basic GET Request
|
||||||
|
severity: info
|
||||||
|
|
||||||
|
requests:
|
||||||
|
- method: GET
|
||||||
|
path:
|
||||||
|
- "{{BaseURL}}"
|
||||||
|
matchers:
|
||||||
|
- type: word
|
||||||
|
words:
|
||||||
|
- "This is test matcher text"
|
||||||
9
v2/pkg/templates/tests/no-req.yaml
Normal file
9
v2/pkg/templates/tests/no-req.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
id: basic-get
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: Basic GET Request
|
||||||
|
author: pdteam
|
||||||
|
severity: info
|
||||||
|
|
||||||
|
requests:
|
||||||
|
|
||||||
10
v2/pkg/templates/tests/workflow.yaml
Normal file
10
v2/pkg/templates/tests/workflow.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
id: workflow-example
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: Test Workflow Template
|
||||||
|
author: pdteam
|
||||||
|
severity: info
|
||||||
|
|
||||||
|
workflows:
|
||||||
|
- template: tests/match-1.yaml
|
||||||
|
- template: tests/match-1.yaml
|
||||||
Loading…
x
Reference in New Issue
Block a user