Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type C2PCRParsed ¶
type C2PCRParsed struct { Namespace string PolicyResoureDir string PolicyResultsDir string Catalog typesoscal.CatalogRoot Profile typesoscal.ProfileRoot ComponentDefinition typecd.ComponentDefinitionRoot ComponentObjects []oscal.ComponentObject ClusterSelectors map[string]string }
type ClusterGroup ¶
type ClusterSelectors ¶
type Compliance ¶
type Compliance struct { // Name of compliance Name string `json:"name,omitempty"` // Reference to OSCAL Catalog json Catalog ResourceRef `json:"catalog,omitempty"` // Reference to OSCAL Profile json Profile ResourceRef `json:"profile,omitempty"` // Reference to OSCAL Component Definition json ComponentDefinition ResourceRef `json:"componentDefinition,omitempty"` // Reference to OSCAL Assessment Results json AssessmentResults ResourceRef `json:"assessmentResults,omitempty"` }
type ResourceRef ¶
type ResourceRef struct {
Url string `json:"url,omitempty"`
}
type Spec ¶
type Spec struct { Compliance Compliance `json:"compliance,omitempty"` PolicyResources ResourceRef `json:"policyResources,omitempty"` PolicyRersults ResourceRef `json:"policyResults,omitempty"` ClusterGroups []ClusterGroup `json:"clusterGroups,omitempty"` Binding Binding `json:"binding,omitempty"` Target Target `json:"target,omitempty"` }
C2P CR Spec defines the desired state of C2P CR
Click to show internal directories.
Click to hide internal directories.