Skip to content

Commit

Permalink
Merge branch 'hotfix/dependency-check'
Browse files Browse the repository at this point in the history
  • Loading branch information
sbalka committed Feb 7, 2020
2 parents 1f9fbb4 + c3a9857 commit f8d6353
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions cmd/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,15 @@ 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"
)

// scanCmd represents the scan command
Expand Down Expand Up @@ -221,7 +222,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:
return true
default:
return false
Expand Down

0 comments on commit f8d6353

Please sign in to comment.