Documentation
¶
Overview ¶
Code generated by scripts/generate/main.go. DO NOT EDIT.
Code generated by scripts/generate/main.go. DO NOT EDIT.
Code generated by scripts/generate/main.go. DO NOT EDIT.
Code generated by scripts/generate/main.go. DO NOT EDIT.
Code generated by scripts/generate/main.go. DO NOT EDIT.
Code generated by scripts/generate/main.go. DO NOT EDIT.
Code generated by scripts/generate/main.go. DO NOT EDIT.
Code generated by scripts/generate/main.go. DO NOT EDIT.
Code generated by scripts/generate/main.go. DO NOT EDIT.
Code generated by scripts/generate/main.go. DO NOT EDIT.
Code generated by scripts/generate/main.go. DO NOT EDIT.
Code generated by scripts/generate/main.go. DO NOT EDIT.
Index ¶
- func ApplyContextCommandDefaults(parent *cobra.Command, getClient ClientFactory)
- func PreservesRuntimeUsage(cmd *cobra.Command) bool
- func RegisterAdminCommands(parent *cobra.Command, getClient ClientFactory)
- func RegisterAssetGraphCommands(parent *cobra.Command, getClient ClientFactory)
- func RegisterBughuntSubcommands(parent *cobra.Command, getClient ClientFactory)
- func RegisterContextCommands(parent *cobra.Command, getClient ClientFactory)
- func RegisterContextPushCommand(parent *cobra.Command, getClient ClientFactory)
- func RegisterCspmCommands(parent *cobra.Command, getClient ClientFactory)
- func RegisterDastCommands(parent *cobra.Command, getClient ClientFactory)
- func RegisterDepsAnalyzeCommand(parent *cobra.Command, getClient ClientFactory)
- func RegisterInfrastructureCommands(parent *cobra.Command, getClient ClientFactory)
- func RegisterManagerCommands(parent *cobra.Command, getClient ClientFactory)
- func RegisterOrchestratorCommands(parent *cobra.Command, getClient ClientFactory)
- func RegisterPentestSubcommands(parent *cobra.Command, getClient ClientFactory)
- func RegisterSastCommands(parent *cobra.Command, getClient ClientFactory)
- func RegisterScaCommands(parent *cobra.Command, getClient ClientFactory)
- func RegisterScpmCommands(parent *cobra.Command, getClient ClientFactory)
- func RegisterSecretsCommands(parent *cobra.Command, getClient ClientFactory)
- type ClientFactory
- type Verdict
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyContextCommandDefaults ¶ added in v0.16.5
func ApplyContextCommandDefaults(parent *cobra.Command, getClient ClientFactory)
ApplyContextCommandDefaults installs CLI-side opinionated defaults on top of the generated 'context' subcommand tree. Must be called after RegisterContextCommands.
func PreservesRuntimeUsage ¶ added in v0.25.1
PreservesRuntimeUsage reports whether runtime errors should include usage.
func RegisterAdminCommands ¶
func RegisterAdminCommands(parent *cobra.Command, getClient ClientFactory)
func RegisterAssetGraphCommands ¶ added in v0.18.0
func RegisterAssetGraphCommands(parent *cobra.Command, getClient ClientFactory)
func RegisterBughuntSubcommands ¶ added in v0.12.0
func RegisterBughuntSubcommands(parent *cobra.Command, getClient ClientFactory)
RegisterBughuntSubcommands adds generated DAST API subcommands that relate to bughunt functionality to the handwritten bughunt command.
func RegisterContextCommands ¶ added in v0.14.0
func RegisterContextCommands(parent *cobra.Command, getClient ClientFactory)
func RegisterContextPushCommand ¶ added in v0.15.1
func RegisterContextPushCommand(parent *cobra.Command, getClient ClientFactory)
RegisterContextPushCommand adds the 'push' subcommand to the existing 'context' command. Must be called after RegisterContextCommands.
func RegisterCspmCommands ¶
func RegisterCspmCommands(parent *cobra.Command, getClient ClientFactory)
func RegisterDastCommands ¶
func RegisterDastCommands(parent *cobra.Command, getClient ClientFactory)
func RegisterDepsAnalyzeCommand ¶ added in v0.24.0
func RegisterDepsAnalyzeCommand(parent *cobra.Command, getClient ClientFactory)
RegisterDepsAnalyzeCommand attaches `deps analyze` to the given parent command. api.Client is reused for auth (BaseURL + Token) — even though the scpm calls aren't in the generated surface yet, credentials and host come from the same source as every other nullify command.
func RegisterInfrastructureCommands ¶
func RegisterInfrastructureCommands(parent *cobra.Command, getClient ClientFactory)
func RegisterManagerCommands ¶
func RegisterManagerCommands(parent *cobra.Command, getClient ClientFactory)
func RegisterOrchestratorCommands ¶
func RegisterOrchestratorCommands(parent *cobra.Command, getClient ClientFactory)
func RegisterPentestSubcommands ¶ added in v0.12.0
func RegisterPentestSubcommands(parent *cobra.Command, getClient ClientFactory)
RegisterPentestSubcommands adds generated DAST API subcommands that relate to pentest functionality to the handwritten pentest command.
func RegisterSastCommands ¶
func RegisterSastCommands(parent *cobra.Command, getClient ClientFactory)
func RegisterScaCommands ¶
func RegisterScaCommands(parent *cobra.Command, getClient ClientFactory)
func RegisterScpmCommands ¶ added in v0.18.0
func RegisterScpmCommands(parent *cobra.Command, getClient ClientFactory)
func RegisterSecretsCommands ¶
func RegisterSecretsCommands(parent *cobra.Command, getClient ClientFactory)
Types ¶
type ClientFactory ¶ added in v0.25.1
ClientFactory creates an authenticated API client for a command context.
type Verdict ¶ added in v0.24.0
type Verdict string
Verdict is a dependency malware-analysis verdict as returned by vuln-database (passed through scpm). The recognised set is below; any other non-empty verdict is treated as unknown and fails closed (see classifyVerdict) so a server-side rename can't silently bypass the gate.