Documentation
¶
Overview ¶
Package secmodel checks the security model in SECURITY.md against the tests: every guarantee it publishes must be guarded by a test, a model or a probe, or be marked as checked by hand.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Guarantee ¶
type Guarantee struct {
ID string // G1, G2, ...
Manual bool // its section has a "Manual:" line: checked by hand before releases
}
Guarantee is a guarantee SECURITY.md publishes.
func ParseGuarantees ¶
ParseGuarantees returns the guarantees in a SECURITY.md: its "### G<n>:" headings, and whether each one's section has a "Manual:" line. A section ends at the next heading.
Click to show internal directories.
Click to hide internal directories.