From b1b1ddc6180901db5181e8e467b64ea7ce359394 Mon Sep 17 00:00:00 2001 From: Rojhat Sinan Balka Date: Mon, 10 Feb 2020 14:44:50 +0300 Subject: [PATCH 1/2] Add Brakeman to tool whitelist --- cmd/scan.go | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/cmd/scan.go b/cmd/scan.go index d20f75a..a152d8a 100644 --- a/cmd/scan.go +++ b/cmd/scan.go @@ -31,14 +31,16 @@ const ( ) const ( - toolFindSecBugs = "findsecbugs" - toolNetsparker = "netsparker" - toolCheckmarx = "checkmarx" - toolAppSpider = "appspider" - toolBandit = "bandit" - toolZap = "owaspzap" - toolFortify = "fortify" - toolGosec = "gosec" + toolFindSecBugs = "findsecbugs" + toolNetsparker = "netsparker" + toolCheckmarx = "checkmarx" + toolAppSpider = "appspider" + toolBandit = "bandit" + toolZap = "owaspzap" + toolFortify = "fortify" + toolGosec = "gosec" + toolDependencyCheck = "dependencycheck" + toolBrakeman = "brakeman" ) // scanCmd represents the scan command @@ -221,7 +223,7 @@ func init() { func validTool(tool string) bool { switch tool { - case toolAppSpider, toolBandit, toolCheckmarx, toolFindSecBugs, toolNetsparker, toolZap, toolFortify, toolGosec: + case toolAppSpider, toolBandit, toolCheckmarx, toolFindSecBugs, toolNetsparker, toolZap, toolFortify, toolGosec, toolDependencyCheck, toolBrakeman: return true default: return false From 0db8543753266f9996ecb6b599e0e5841417b3f1 Mon Sep 17 00:00:00 2001 From: Rojhat Sinan Balka Date: Mon, 10 Feb 2020 14:47:52 +0300 Subject: [PATCH 2/2] Bump 1.0.6 to 1.0.7 --- cmd/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/version.go b/cmd/version.go index 3489d62..58fcd1f 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -15,7 +15,7 @@ var versionCmd = &cobra.Command{ Use: "version", Short: "prints version number of KDT", Run: func(cmd *cobra.Command, args []string) { - fmt.Println("KDT Kondukto Client v1.0.6") + fmt.Println("KDT Kondukto Client v1.0.7") }, }