oscalexporter

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OSCALVersion    = "1.1.3"
	GemaraNamespace = "https://github.com/ossf/gemara/ns/oscal"
)

Variables

This section is empty.

Functions

func GetTime

func GetTime(timeStr string) *time.Time

func GetTimeWithFallback

func GetTimeWithFallback(timeStr string, fallback time.Time) time.Time

func NilIfEmpty

func NilIfEmpty[T any](slice *[]T) *[]T

func NormalizeControl

func NormalizeControl(controlId string, subPart bool) string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL