Documentation
¶
Overview ¶
Package scanner finds unsafe ShiftLock configurations and emits findings in text, JSON, or SARIF form.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Finding ¶
type Finding struct {
RuleID string `json:"rule_id"`
Severity Severity `json:"severity"`
Title string `json:"title"`
Message string `json:"message"`
Remediation string `json:"remediation"`
Path string `json:"path,omitempty"`
}
Finding is one scanner result.
type Input ¶
type Input struct {
Production bool
SignaturesRequired bool
UnsignedConfigActive bool
AllowInsecureSkipVerify bool
TCPAgentListener bool
ShellExecEnabled bool
UnboundedQueue bool
AuditVerifyOnStart bool
DenyByDefault bool
SecurityProfile string
LeaseTTLSeconds int
CapabilitiesUnsigned bool
}
Input is a sanitized configuration view for scanning.
Click to show internal directories.
Click to hide internal directories.