toolsconfig

package
v1.10.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MapToolConfig added in v1.6.2

type MapToolConfig map[tools.Tool]ToolConfig

func ParseInterfaceToMapToolsConfig

func ParseInterfaceToMapToolsConfig(input interface{}) (output MapToolConfig)

type ToolConfig

type ToolConfig struct {
	IsToIgnore bool `json:"istoignore"`
}

type ToolsConfigsStruct

type ToolsConfigsStruct struct {
	GoSec             ToolConfig `json:"gosec"`
	SecurityCodeScan  ToolConfig `json:"securitycodescan"`
	Brakeman          ToolConfig `json:"brakeman"`
	Safety            ToolConfig `json:"safety"`
	Bandit            ToolConfig `json:"bandit"`
	NpmAudit          ToolConfig `json:"npmaudit"`
	YarnAudit         ToolConfig `json:"yarnaudit"`
	HorusecKotlin     ToolConfig `json:"horuseckotlin"`
	HorusecJava       ToolConfig `json:"horusecjava"`
	HorusecLeaks      ToolConfig `json:"horusecleaks"`
	GitLeaks          ToolConfig `json:"gitleaks"`
	TfSec             ToolConfig `json:"tfsec"`
	Semgrep           ToolConfig `json:"semgrep"`
	HorusecCsharp     ToolConfig `json:"horuseccsharp"`
	HorusecKubernetes ToolConfig `json:"horuseckubernetes"`
	Eslint            ToolConfig `json:"eslint"`
	HorusecNodejs     ToolConfig `json:"horusecnodejs"`
	Flawfinder        ToolConfig `json:"flawfinder"`
	PhpCS             ToolConfig `json:"phpcs"`
	HorusecDart       ToolConfig `json:"horusecdart"`
	ShellCheck        ToolConfig `json:"shellcheck"`
}

func (*ToolsConfigsStruct) ToMap

func (t *ToolsConfigsStruct) ToMap() MapToolConfig

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL