2020-06-30 11:45:14 +00:00
|
|
|
id: workflow-example
|
|
|
|
info:
|
|
|
|
name: Jira-Pawner
|
|
|
|
author: mzack9999
|
|
|
|
|
|
|
|
variables:
|
|
|
|
|
2020-06-30 11:50:26 +00:00
|
|
|
# defining temapltes using variables.
|
|
|
|
# variables names as user defind, it could be anything.
|
|
|
|
# relative path support is now added into nuclei engine for better UX.
|
|
|
|
|
2020-06-30 11:45:14 +00:00
|
|
|
jira: panels/detect-jira.yaml
|
2020-07-06 03:06:05 +00:00
|
|
|
jira_cve_1: cves/CVE-2018-20824.yaml
|
|
|
|
jira_cve_2: cves/CVE-2019-3399.yaml
|
|
|
|
jira_cve_3: cves/CVE-2019-11581.yaml
|
|
|
|
jira_cve_4: cves/CVE-2017-18101.yaml
|
2020-06-30 11:45:14 +00:00
|
|
|
|
2020-06-30 11:50:26 +00:00
|
|
|
logic:
|
2020-07-02 10:17:20 +00:00
|
|
|
|
|
2020-06-30 11:50:26 +00:00
|
|
|
# defening conditionals templates.
|
2020-06-30 11:45:14 +00:00
|
|
|
if jira() {
|
|
|
|
|
2020-06-30 11:50:26 +00:00
|
|
|
# if above conditon retruns true, run all the below tempaltes.
|
|
|
|
# if above conditon fails, no tempaltes will be executed.
|
|
|
|
|
2020-07-06 03:06:05 +00:00
|
|
|
jira_cve_1()
|
|
|
|
jira_cve_2()
|
|
|
|
jira_cve_3()
|
|
|
|
jira_cve_4()
|
2020-06-30 11:45:14 +00:00
|
|
|
|
|
|
|
}
|