Documentation ¶
Index ¶
- func CreateCatalogsFromProfile(profileArg *profile.Profile) ([]*catalog.Catalog, error)
- func EquateAlter(alt profile.Alter, call profile.Call) bool
- func GetAbsolutePath(path string) (string, error)
- func GetAlters(p *profile.Profile) ([]profile.Alter, error)
- func GetFilePath(URL string) (string, error)
- func GetMappedCatalogControlsFromImport(importedCatalog *catalog.Catalog, profileImport profile.Import, ...) (catalog.Catalog, error)
- func ModifyParts(p catalog.Part, controlParts []catalog.Part) []catalog.Part
- func ProcessAddition(alt profile.Alter, controls []catalog.Control) []catalog.Control
- func ProcessAlterations(alterations []profile.Alter, c *catalog.Catalog) *catalog.Catalog
- func ProcessSetParam(setParams []profile.SetParameter, c *catalog.Catalog, ...) *catalog.Catalog
- func ReadCatalog(r io.Reader) (*catalog.Catalog, error)
- func ReadProfile(o *oscal.OSCAL) (*profile.Profile, error)
- func SetBasePath(p *profile.Profile, parentPath string) (*profile.Profile, error)
- type HTTPFilePath
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCatalogsFromProfile ¶
CreateCatalogsFromProfile maps profile controls to multiple catalogs
func EquateAlter ¶
EquateAlter equates alter with call
func GetAbsolutePath ¶
GetAbsolutePath gets absolute file path
func GetMappedCatalogControlsFromImport ¶
func GetMappedCatalogControlsFromImport(importedCatalog *catalog.Catalog, profileImport profile.Import, catalogHelper impl.Catalog) (catalog.Catalog, error)
GetMappedCatalogControlsFromImport gets mapped controls in catalog per profile import
func ModifyParts ¶
ModifyParts modifies parts
func ProcessAddition ¶
ProcessAddition processes additions of a profile
func ProcessAlterations ¶
ProcessAlterations processes alteration section of a profile
func ProcessSetParam ¶
func ProcessSetParam(setParams []profile.SetParameter, c *catalog.Catalog, catalogHelper impl.Catalog) *catalog.Catalog
ProcessSetParam processes set-param of a profile
func ReadProfile ¶
ReadProfile reads profile from OSCAL
Types ¶
type HTTPFilePath ¶
HTTPFilePath map of http resource against filepath to lessen downloads
Click to show internal directories.
Click to hide internal directories.