Documentation
¶
Index ¶
- Variables
- func AddCfAskCommand(cfCmd *cobra.Command)
- func AddCfDeployCommands(cfCmd *cobra.Command)
- func AddCfListCommands(cfCmd *cobra.Command)
- func AddVerdaAskCommand(verdaCmd *cobra.Command)
- func Execute() error
- type AWSCredentialsScan
- type AWSProfileInfo
- type AzureCredentialsScan
- type AzureSubscriptionInfo
- type CloudflareCredentialsScan
- type CustomScanConfig
- type DigitalOceanCredentialsScan
- type GCPCredentialsScan
- type HetznerCredentialsScan
- type LLMCredentialsScan
- type LLMKeyStatus
- type ScanResult
Constants ¶
This section is empty.
Variables ¶
var Version = "dev"
Version is set at build time via ldflags
Functions ¶
func AddCfAskCommand ¶ added in v0.0.3
AddCfAskCommand adds the ask subcommand to the cf command
func AddCfDeployCommands ¶ added in v0.0.3
AddCfDeployCommands adds all deploy-related commands to the cf command
func AddCfListCommands ¶ added in v0.0.3
AddCfListCommands adds list commands to the cf command
func AddVerdaAskCommand ¶ added in v0.0.6
AddVerdaAskCommand attaches the ask subcommand to the `verda` tree. Called from root.go after `verda.CreateVerdaCommands()` returns.
Types ¶
type AWSCredentialsScan ¶ added in v0.0.3
type AWSCredentialsScan struct {
Profiles []AWSProfileInfo `json:"profiles"`
Error string `json:"error,omitempty"`
}
AWSCredentialsScan holds detected AWS profiles
type AWSProfileInfo ¶ added in v0.0.3
type AWSProfileInfo struct {
Name string `json:"name"`
Region string `json:"region,omitempty"`
Source string `json:"source"`
}
AWSProfileInfo holds info about a single AWS profile
type AzureCredentialsScan ¶ added in v0.0.3
type AzureCredentialsScan struct {
CLIAvailable bool `json:"cliAvailable"`
Subscriptions []AzureSubscriptionInfo `json:"subscriptions,omitempty"`
Error string `json:"error,omitempty"`
}
AzureCredentialsScan holds detected Azure subscriptions
type AzureSubscriptionInfo ¶ added in v0.0.3
type AzureSubscriptionInfo struct {
ID string `json:"id"`
Name string `json:"name"`
State string `json:"state,omitempty"`
IsDefault bool `json:"isDefault,omitempty"`
}
AzureSubscriptionInfo holds info about an Azure subscription
type CloudflareCredentialsScan ¶ added in v0.0.3
type CloudflareCredentialsScan struct {
HasToken bool `json:"hasToken"`
HasAccountID bool `json:"hasAccountId"`
CustomEnvKeys []string `json:"customEnvKeys,omitempty"`
Error string `json:"error,omitempty"`
}
CloudflareCredentialsScan holds detected Cloudflare credentials
type CustomScanConfig ¶ added in v0.0.3
type CustomScanConfig struct {
AWSPaths []string
GCPPaths []string
CloudflareEnv []string
LLMEnv []string
}
CustomScanConfig holds custom paths and env keys for scanning
type DigitalOceanCredentialsScan ¶ added in v0.0.6
type DigitalOceanCredentialsScan struct {
HasToken bool `json:"hasToken"`
CLIAvailable bool `json:"cliAvailable"`
Error string `json:"error,omitempty"`
}
DigitalOceanCredentialsScan holds detected Digital Ocean credentials
type GCPCredentialsScan ¶ added in v0.0.3
type GCPCredentialsScan struct {
HasADC bool `json:"hasADC"`
ADCPath string `json:"adcPath,omitempty"`
Projects []string `json:"projects,omitempty"`
CustomPaths []string `json:"customPaths,omitempty"`
CLIAvailable bool `json:"cliAvailable"`
Error string `json:"error,omitempty"`
}
GCPCredentialsScan holds detected GCP credentials
type HetznerCredentialsScan ¶ added in v0.0.6
type HetznerCredentialsScan struct {
HasToken bool `json:"hasToken"`
CLIAvailable bool `json:"cliAvailable"`
Error string `json:"error,omitempty"`
}
HetznerCredentialsScan holds detected Hetzner Cloud credentials
type LLMCredentialsScan ¶ added in v0.0.3
type LLMCredentialsScan struct {
OpenAI LLMKeyStatus `json:"openai"`
Anthropic LLMKeyStatus `json:"anthropic"`
Gemini LLMKeyStatus `json:"gemini"`
DeepSeek LLMKeyStatus `json:"deepseek"`
Cohere LLMKeyStatus `json:"cohere"`
MiniMax LLMKeyStatus `json:"minimax"`
CustomEnvKeys []string `json:"customEnvKeys,omitempty"`
}
LLMCredentialsScan holds detected LLM API keys
type LLMKeyStatus ¶ added in v0.0.3
LLMKeyStatus indicates whether an LLM key was detected
type ScanResult ¶ added in v0.0.3
type ScanResult struct {
AWS AWSCredentialsScan `json:"aws"`
GCP GCPCredentialsScan `json:"gcp"`
Azure AzureCredentialsScan `json:"azure"`
Cloudflare CloudflareCredentialsScan `json:"cloudflare"`
DigitalOcean DigitalOceanCredentialsScan `json:"digitalocean"`
Hetzner HetznerCredentialsScan `json:"hetzner"`
LLM LLMCredentialsScan `json:"llm"`
}
ScanResult holds all detected credentials
Source Files
¶
- ask.go
- auth.go
- cf.go
- cf_deploy.go
- cicd.go
- cloud.go
- config.go
- cost.go
- cost_savings.go
- credentials.go
- db.go
- db_query_subagent.go
- deploy.go
- domain_agents.go
- github.go
- k8s.go
- k8s_autoscaler.go
- k8s_cost.go
- k8s_exec_apply.go
- k8s_fix.go
- k8s_health.go
- k8s_helm.go
- k8s_hpa_validate.go
- k8s_karpenter.go
- k8s_karpenter_recommendations.go
- k8s_networkpolicy.go
- k8s_nodes.go
- k8s_storage_audit.go
- k8s_workloads.go
- k8s_workloads_audit.go
- maker.go
- mcp.go
- mcp_k8s.go
- openclaw.go
- postgres.go
- profiles.go
- research.go
- root.go
- scan.go
- security.go
- security_live_provider.go
- server.go
- sre.go
- talk.go
- terraform.go
- update.go
- verda.go