Documentation
¶
Index ¶
Constants ¶
View Source
const ( ScopeDashboardRead = "dashboard:read" ScopeOperatorMutate = "operator:mutate" ScopeEnrollmentAdmin = "enrollment:admin" ScopeActionsExecute = "actions:execute" ScopeActionsAuthorize = "actions:authorize" ScopeAgentIngest = "agent:ingest" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Credential struct {
Token string
PrincipalID string
Scopes []string
NodeID string
ApplicationID string
ExpiresAt time.Time
RequireMTLS bool
}
Credential configures one independently revocable calling identity. Tokens are hashed during server construction and are never retained in plaintext.
type Options ¶
type Options struct {
Config config.Config
Database *storage.DB
Events *events.Store
Audit *audit.Service
Enrollment *enrollment.Service
PolicyCompiler *policy.Compiler
PostureEngine *posture.Engine
Findings *findings.Service
Scrambler *scrambler.Planner
NanoRegistry *nano.Registry
NanoRunInterval time.Duration
NanoRunProgramIDs []string
DeploymentID string
Credentials []Credential
AuthorizationKey []byte
NodeClientCAs *x509.CertPool
Version string
Clock func() time.Time
}
Click to show internal directories.
Click to hide internal directories.