✏️ Replace '-' to '_' on variable workflows

patch-1
dw1 2020-07-06 08:39:23 +07:00
parent 25d5c5afb0
commit 550a559108
2 changed files with 12 additions and 12 deletions

View File

@ -5,11 +5,11 @@ info:
author: dwisiswant0
variables:
liferay-portal: technologies/liferay-portal-detect.yaml
liferay-portal-cve: cves/CVE-2020-7961.yaml
liferay_portal: technologies/liferay-portal-detect.yaml
liferay_portal_cve: cves/CVE-2020-7961.yaml
logic:
|
if liferay-portal() {
liferay-portal-cve()
if liferay_portal() {
liferay_portal_cve()
}

View File

@ -6,16 +6,16 @@ info:
variables:
springboot: security-misconfiguration/springboot-detect.yaml
springboot-cve-2018-1271: cves/CVE-2018-1271.yaml
springboot-cve-2019-3799: cves/CVE-2019-3799.yaml
springboot-cve-2020-5410: cves/CVE-2020-5410.yaml
springboot-xxe: vulnerabilities/springboot-actuators-jolokia-xxe.yaml
springboot_cve_2018_1271: cves/CVE-2018-1271.yaml
springboot_cve_2019_3799: cves/CVE-2019-3799.yaml
springboot_cve_2020_5410: cves/CVE-2020-5410.yaml
springboot_xxe: vulnerabilities/springboot-actuators-jolokia-xxe.yaml
logic:
|
if springboot() {
springboot-cve-2018-1271()
springboot-cve-2019-3799()
springboot-cve-2020-5410()
springboot-xxe()
springboot_cve_2018_1271()
springboot_cve_2019_3799()
springboot_cve_2020_5410()
springboot_xxe()
}