Documentation
¶
Index ¶
- Constants
- Variables
- func NewBundleCmd(newAsyncDecoder func() AsyncDecoder) *cobra.Command
- func NewConfigCmd(configMap map[string]any, configFileUsed string, configPath string) *cobra.Command
- func NewEPSSCmd(EPSSDownloadAgent io.Reader) *cobra.Command
- func NewExportCmd(ddService DDExportService, ddTimeout time.Duration, ...) *cobra.Command
- func NewPrintCommand(pipedFile *os.File, newAsyncDecoder func() AsyncDecoder) *cobra.Command
- func NewRootCommand(config CLIConfig) *cobra.Command
- func NewValidateCmd(newAsyncDecoder func() AsyncDecoder, KEVDownloadAgent io.Reader, ...) *cobra.Command
- func NewVersionCmd(version string) *cobra.Command
- type AWSExportService
- type AsyncDecoder
- type CLIConfig
- type DDExportService
Constants ¶
View Source
const GatecheckLogo string = `` /* 589-byte string literal not displayed */
Variables ¶
Functions ¶
func NewBundleCmd ¶ added in v0.0.8
func NewBundleCmd(newAsyncDecoder func() AsyncDecoder) *cobra.Command
func NewConfigCmd ¶ added in v0.0.2
func NewExportCmd ¶ added in v0.0.2
func NewExportCmd( ddService DDExportService, ddTimeout time.Duration, newAsyncDecoder func() AsyncDecoder, ddEngagement defectdojo.EngagementQuery, awsService AWSExportService, awsTimeout time.Duration, ) *cobra.Command
func NewPrintCommand ¶ added in v0.0.8
func NewPrintCommand(pipedFile *os.File, newAsyncDecoder func() AsyncDecoder) *cobra.Command
NewPrintCommand will pretty print a report file table, r can be piped input from standard out
func NewRootCommand ¶ added in v0.0.8
func NewValidateCmd ¶ added in v0.0.2
func NewVersionCmd ¶ added in v0.0.10
Types ¶
type AWSExportService ¶ added in v0.0.10
type AsyncDecoder ¶ added in v0.1.0
type CLIConfig ¶ added in v0.0.8
type CLIConfig struct {
Version string
PipedInput *os.File
EPSSDownloadAgent io.Reader
KEVDownloadAgent io.Reader
DDExportService DDExportService
DDEngagement defectdojo.EngagementQuery
DDExportTimeout time.Duration
AWSExportService AWSExportService
AWSExportTimeout time.Duration
NewAsyncDecoderFunc func() AsyncDecoder
ConfigMap map[string]any
ConfigFileUsed string
ConfigPath string
}
type DDExportService ¶ added in v0.0.8
type DDExportService interface {
Export(context.Context, io.Reader, defectdojo.EngagementQuery, defectdojo.ScanType) error
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.