Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Server ServerConfig `yaml:"server"`
Storage StorageConfig `yaml:"storage"`
Identity IdentityConfig `yaml:"identity"`
Protection ProtectionConfig `yaml:"protection"`
Telemetry TelemetryConfig `yaml:"telemetry"`
Scrambler ScramblerConfig `yaml:"scrambler"`
Nano NanoConfig `yaml:"nano"`
}
func (Config) DemoInsecurePrivateHTTP ¶
DemoInsecurePrivateHTTP reports the deliberately narrow developer-lab exception to production TLS and node mTLS. The exception exists only when both explicit environment flags are true and the server is bound to one approved private IP with a matching HTTP public URL and no TLS files.
type IdentityConfig ¶
type NanoConfig ¶
type NanoConfig struct {
AutomaticRunInterval time.Duration `yaml:"automaticRunInterval"`
AutomaticRunProgramIDs []string `yaml:"automaticRunProgramIds"`
}
NanoConfig enables an explicit, proposal-only Core scheduler for particular already-admitted watchdog program IDs. It is disabled unless both fields are deliberately set by an operator.
func (NanoConfig) Validate ¶
func (config NanoConfig) Validate() error
type ProtectedActionPolicyConfig ¶
type ProtectedActionPolicyConfig struct {
NodeIDs []string `yaml:"nodeIds"`
ApplicationIDs []string `yaml:"applicationIds"`
ActionTypes []string `yaml:"actionTypes"`
DataClasses []string `yaml:"dataClasses"`
Sensitivities []string `yaml:"sensitivities"`
AllowedDestinations []string `yaml:"allowedDestinations"`
ConsentRequired bool `yaml:"consentRequired"`
}
ProtectedActionPolicyConfig is the fail-closed action scope installed at Core startup. Every dimension is explicit; "*" is the only wildcard and must be the sole value for that dimension.
type ProtectionConfig ¶
type ProtectionConfig struct {
TelemetryStaleAfter time.Duration `yaml:"telemetryStaleAfter"`
RequireMeshOnUntrusted bool `yaml:"requireMeshOnUntrustedNetworks"`
FailMode string `yaml:"failMode"`
AllowOneTimeBypass bool `yaml:"allowOneTimeBypass"`
OneTimeBypassTTL time.Duration `yaml:"oneTimeBypassTTL"`
ProtectedActions []ProtectedActionPolicyConfig `yaml:"protectedActions"`
}