Documentation
¶
Index ¶
Constants ¶
View Source
const ( ClassAllowlist = "allowlist" ClassProgramNotOnPath = "program_not_on_path" ClassPathMissing = "path_missing" ClassPathNotWritable = "path_not_writable" ClassCredentialAbsent = "credential_absent" //nolint:gosec // class identifier, not a credential ClassNetworkUndeclared = "network_undeclared" ClassDocMissing = "doc_missing" ClassOpenQuestions = "open_questions" )
Variables ¶
This section is empty.
Functions ¶
func EmitTelemetry ¶
Types ¶
type Batch ¶
func AssembleBatch ¶
type Environment ¶
type Environment struct {
Root string
Path []string
Credentials map[string]bool
WritablePaths map[string]bool
NetworkDeclared bool
RequiredNetwork bool
}
Environment is the resolved, presence-only view used by pre-flight. Path contains bare executable names, Credentials contains presence flags, and WritablePaths allows callers/tests to provide a deterministic write result.
func ResolveEnvironment ¶
func ResolveEnvironment(root string, mission runstate.MissionSnapshot) Environment
type Finding ¶
type Report ¶
func Check ¶
func Check(mission runstate.MissionSnapshot, env Environment) Report
Click to show internal directories.
Click to hide internal directories.