Documentation
¶
Overview ¶
Package policytemplates provides ready-made profile snippets for common security controls. Each template is a complete, valid slice of profile TOML (policy rules, network allowlists, or host hardening) that a user can paste into a runeward profile instead of authoring policy from scratch.
The rendered TOML unmarshals cleanly into profile.Profile, so a template can be dropped straight into a profile file. Templates are addressed by a short, stable name; use Names to enumerate them and Render to obtain the body.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Template ¶
type Template struct {
// Name is the short, stable identifier used to look the template up.
Name string
// Title is a one-line human label.
Title string
// Description explains what the snippet enforces and when to reach for it.
Description string
// TOML is the rendered profile body, with explanatory comments.
TOML string
}
Template is a named, ready-to-paste profile snippet.
Click to show internal directories.
Click to hide internal directories.