Documentation
¶
Overview ¶
Package securityx groups external configuration for authn, authz and auditx.
It intentionally does not hide the underlying implementations. Apps can scan a unified YAML tree into Config, then construct authn/casdoor, authz/spicedb and auditx stores explicitly during boot.
Package securityx provides a small shared configuration shape for Kernel security components.
Recommended responsibility split:
- authn/casdoor verifies users and provisions the identity-side projection of organizations, applications and groups.
- authz/spicedb owns ReBAC relationships and permission checks.
- auditx records security-relevant decisions.
Keep business facts in Kernel IAM DB. Sync Casdoor and SpiceDB as projections.
Index ¶
Constants ¶
View Source
const DefaultConfigKey = "security"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditConfig ¶
type AuthnConfig ¶
type AuthzConfig ¶
type Config ¶
type Config struct {
Authn AuthnConfig `json:"authn" yaml:"authn"`
Authz AuthzConfig `json:"authz" yaml:"authz"`
Audit AuditConfig `json:"audit" yaml:"audit"`
}
func (Config) Normalized ¶
Click to show internal directories.
Click to hide internal directories.