Documentation
¶
Index ¶
- Constants
- func IntersectProfileWithCD(compDef cd.ComponentDefinition, profile oscal.Profile) cd.ComponentDefinition
- func MakeInternalCompliance(catalog oscal.Catalog, profile oscal.Profile, cd cd.ComponentDefinition) internalcompliance.Compliance
- type ComponentObject
- type ControlImpleObject
- type ControlObject
- type OscalCategory
- type OscalStandard
- type RuleObject
- type TrestleComponentProps
- type TrestleCsvRow
Constants ¶
View Source
const (
OscaleNamespace = "http://ibm.github.io/compliance-trestle/schemas/oscal/cd"
)
Variables ¶
This section is empty.
Functions ¶
func IntersectProfileWithCD ¶
func IntersectProfileWithCD(compDef cd.ComponentDefinition, profile oscal.Profile) cd.ComponentDefinition
func MakeInternalCompliance ¶
func MakeInternalCompliance(catalog oscal.Catalog, profile oscal.Profile, cd cd.ComponentDefinition) internalcompliance.Compliance
Types ¶
type ComponentObject ¶
type ComponentObject struct { ComponentTitle string RuleObjects []RuleObject ControlImpleObjects []ControlImpleObject }
func ParseComponentDefinition ¶
func ParseComponentDefinition(cd ComponentDefinitionRoot) []ComponentObject
type ControlImpleObject ¶
type ControlImpleObject struct { SetParameters []SetParameter ControlObjects []ControlObject }
type ControlObject ¶
type OscalCategory ¶
type OscalStandard ¶
type OscalStandard struct { Id string Categories []OscalCategory }
type RuleObject ¶
type RuleObject struct { RuleId string RuleDescription string PolicyId string ParameterId string ParameterDescription string }
func FindRulesByRuleId ¶
func FindRulesByRuleId(ruleId string, rules []RuleObject) (RuleObject, bool)
func GetComponentWideRules ¶
func GetComponentWideRules(component Component) []RuleObject
type TrestleComponentProps ¶
type TrestleCsvRow ¶
type TrestleCsvRow struct { TrestleComponentProps ControlIdList []string RuleId string RuleDescription string ParameterId string ParameterDescription string ProfileSource string ProfileDescription string Namespace string }
func (*TrestleCsvRow) Header ¶
func (t *TrestleCsvRow) Header() []string
func (*TrestleCsvRow) ToStringList ¶
func (t *TrestleCsvRow) ToStringList() []string
Click to show internal directories.
Click to hide internal directories.