package
Version:
v0.511.0
Opens a new window with list of versions in this module.
Published: Sep 7, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Application Policy Module
Application wrapper for loading effective audit policy.
Files
| File |
Responsibility |
| load.go |
Delegates policy loading to infrastructure-backed config adapters |
Exports
Dependencies
- Upstream: future CLI and application audit use cases
- Downstream:
internal/domain/policy, internal/infrastructure/config/viper
Update Rule
- If members/interfaces/dependencies change, update this file in same change.
Documentation
¶
Package policy loads audit policy for application use cases.
input: optional config file paths and infrastructure config loaders
output: application-facing policy loading entrypoint
pos: application wrapper over infrastructure-backed policy loading
note: if this file changes, update this header and module README.md.
Load returns the effective policy using defaults plus any optional file override.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.