Documentation
¶
Index ¶
Constants ¶
View Source
const GemaraNamespace = "https://github.com/ossf/gemara/ns/oscal"
Variables ¶
This section is empty.
Functions ¶
func NilIfEmpty ¶
func NilIfEmpty[T any](slice []T) *[]T
NilIfEmpty returns a pointer to the slice, or nil if empty.
func NormalizeControl ¶
NormalizeControl alters the given control id to conform to OSCAL constraints. If the control is a subpart, the subpart identifier is extracted and returned.
func Validate ¶
func Validate(oscalModels oscal.OscalModels) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.