Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Protection ¶
type Protection string
const ( ProtectionNone Protection = "none" ProtectionSoft Protection = "soft_block" ProtectionHard Protection = "hard_block" )
type Result ¶
type Result struct {
CanonicalPath string `json:"canonical_path"`
Filename string `json:"filename"`
SizeBytes uint64 `json:"size_bytes"`
SHA256 string `json:"sha256"`
ContentType string `json:"content_type"`
ContentClass string `json:"content_class"`
RequestedExpiry string `json:"requested_expiry"`
PlanEligible bool `json:"plan_eligible"`
SecretScan SecretScan `json:"secret_scan"`
Protection Protection `json:"protection"`
RequiresUserConfirmation bool `json:"requires_user_confirmation"`
}
type SecretScan ¶
type SecretScan struct {
Status SecretStatus `json:"status"`
Findings []Finding `json:"findings"`
}
type SecretStatus ¶
type SecretStatus string
const ( SecretStatusClean SecretStatus = "clean" SecretStatusWarn SecretStatus = "warning" SecretStatusBlock SecretStatus = "blocked" )
Click to show internal directories.
Click to hide internal directories.