Discover Packages
github.com/IBM/compliance-to-policy
pkg
types
oscal
componentdefinition
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jul 25, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Component struct {
UUID string `json:"uuid"`
Type string `json:"type"`
Title string `json:"title"`
Description string `json:"description"`
Props []Prop `json:"props"`
ControlImplementations []ControlImplementation `json:"control-implementations"`
}
type ComponentDefinition struct {
UUID string `json:"uuid"`
Metadata Metadata `json:"metadata"`
Components []Component `json:"components"`
}
type ControlImplementation struct {
UUID string `json:"uuid"`
Source string `json:"source"`
Description string `json:"description"`
Props []Prop `json:"props"`
SetParameters []SetParameter `json:"set-parameters"`
ImplementedRequirements []ImplementedRequirement `json:"implemented-requirements"`
}
type ImplementedRequirement struct {
UUID string `json:"uuid"`
ControlID string `json:"control-id"`
Description string `json:"description"`
Props []Prop `json:"props"`
}
type Metadata struct {
Title string `json:"title"`
LastModified time .Time `json:"last-modified"`
Version string `json:"version"`
OscalVersion string `json:"oscal-version"`
}
type Prop struct {
Name string `json:"name"`
Ns string `json:"ns"`
Value string `json:"value"`
Class string `json:"class,omitempty"`
}
type SetParameter struct {
ParamID string `json:"param-id"`
Values []string `json:"values"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.