jfrogappsconfig

package module
v0.0.0-...-1df7b67 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 4 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JFrogAppsConfig

type JFrogAppsConfig struct {
	Version string   `yaml:"version,omitempty"`
	Modules []Module `yaml:"modules,omitempty"`
}

func LoadConfigIfExist

func LoadConfigIfExist() (*JFrogAppsConfig, error)

type Module

type Module struct {
	Name            string   `yaml:"name,omitempty"`
	SourceRoot      string   `yaml:"source_root,omitempty"`
	ExcludePatterns []string `yaml:"exclude_patterns,omitempty"`
	ExcludeScanners []string `yaml:"exclude_scanners,omitempty"`
	Scanners        Scanners `yaml:"scanners,omitempty"`
}

type SastScanner

type SastScanner struct {
	Scanner       `yaml:",inline"`
	Language      string   `yaml:"language,omitempty"`
	ExcludedRules []string `yaml:"excluded_rules,omitempty"`
}

type Scanner

type Scanner struct {
	WorkingDirs     []string `yaml:"working_dirs,omitempty"`
	ExcludePatterns []string `yaml:"exclude_patterns,omitempty"`
}

type Scanners

type Scanners struct {
	Secrets *Scanner     `yaml:"secrets,omitempty"`
	Iac     *Scanner     `yaml:"iac,omitempty"`
	Sast    *SastScanner `yaml:"sast,omitempty"`
}

Jump to

Keyboard shortcuts

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