Update chained-workflow-multiple-templates.yaml

patch-1
bauthard 2020-06-30 17:20:26 +05:30 committed by GitHub
parent ef2f7352e5
commit b8f26dd6ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 9 deletions

View File

@ -5,25 +5,26 @@ info:
variables:
# 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.
# 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.
jira: panels/detect-jira.yaml
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
logic:
logic:
|
# defening conditionals templates.
# defening conditionals templates.
if jira() {
# if above conditon retruns true, run all the below tempaltes.
# if above conditon fails, no tempaltes will be executed.
# if above conditon retruns true, run all the below tempaltes.
# if above conditon fails, no tempaltes will be executed.
jira-cve-1()
jira-cve-2()
jira-cve-3()