Documentation
¶
Index ¶
- Constants
- Variables
- func NewBundleCmd() *cobra.Command
- func NewConfigCmd() *cobra.Command
- func NewEPSSCmd(service EPSSService) *cobra.Command
- func NewExportCmd(ddService DDExportService, ddTimeout time.Duration, ...) *cobra.Command
- func NewPrintCommand(decodeTimeout time.Duration, pipedFile *os.File) *cobra.Command
- func NewRootCommand(config CLIConfig) *cobra.Command
- func NewValidateCmd(decodeTimeout time.Duration) *cobra.Command
- func NewVersionCmd(version string) *cobra.Command
- func ParseAndFPrint(r io.Reader, w io.Writer, timeout time.Duration) error
- func ParseAndValidate(r io.Reader, config artifact.Config, timeout time.Duration) error
- type AWSExportService
- type CLIConfig
- type DDExportService
- type EPSSService
Constants ¶
View Source
const GatecheckLogo string = `` /* 589-byte string literal not displayed */
Variables ¶
Functions ¶
func NewBundleCmd ¶ added in v0.0.8
func NewConfigCmd ¶ added in v0.0.2
func NewEPSSCmd ¶ added in v0.0.8
func NewEPSSCmd(service EPSSService) *cobra.Command
func NewExportCmd ¶ added in v0.0.2
func NewExportCmd( ddService DDExportService, ddTimeout time.Duration, ddEngagement defectdojo.EngagementQuery, awsService AWSExportService, awsTimeout time.Duration, ) *cobra.Command
func NewPrintCommand ¶ added in v0.0.8
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
func ParseAndFPrint ¶ added in v0.0.8
Types ¶
type AWSExportService ¶ added in v0.0.10
type CLIConfig ¶ added in v0.0.8
type CLIConfig struct {
AutoDecoderTimeout time.Duration
Version string
PipedInput *os.File
DefaultReport string
EPSSService EPSSService
DDExportService DDExportService
DDEngagement defectdojo.EngagementQuery
DDExportTimeout time.Duration
AWSExportService AWSExportService
AWSExportTimeout time.Duration
}
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.