oscal

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalog

type Catalog struct {
	UUID     string   `json:"uuid"`
	Metadata Metadata `json:"metadata"`
	Groups   []Group  `json:"groups"`
}

Temporary to be switched to go-oscal

type Control

type Control struct {
	ID    string `json:"id"`
	Class string `json:"class"`
	Title string `json:"title"`
}

type Group

type Group struct {
	ID       string    `json:"id"`
	Class    string    `json:"class"`
	Title    string    `json:"title"`
	Controls []Control `json:"controls"`
}

type Metadata

type Metadata struct {
	Title   string `json:"title"`
	Version string `json:"version"`
}

type Reader

type Reader struct{}

func (*Reader) Parse

func (p *Reader) Parse(path string) (*Catalog, error)

Jump to

Keyboard shortcuts

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