package
0.2.0
Repository: https://github.com/docker/oscalkit.git
Documentation: pkg.go.dev

# Functions

AreMapsSame compares the values of two same length maps and returns true if both the maps have the same key value pairs.
CommonMap returns the elements in Map that are also present in profile.
Count to take count of either parts of controls & subcontrols.
DownloadCatalog writes the JSON of the provided URL into a catalog.json file.
GetCatalog gets a catalog.
GetProfile gets a profile.
ParentControlCheck checks if the subcontrol's parent controls exists in the provided array on parent controls.
ParentControls to get the list of all parent controls in the profile.
ParseCatalog accepts a catalog struct and return the mapping of Control, Subcontrols & Parts.
ParseImport method to parse the profile and return the controls and subcontrols or only controls.
ParseParts method to parse the profile and return the mapping of all the parts.
ProfileCatalogCheck checks if the path provided is for a profile or a catolog.
ProfileParsing method to parse the profile and return the controls and subcontrols ID's.
ProfileProcessing is used to generate the mapping of ID Class & Title of all the controls subcontrols and parts.
ProtocolsMapping Method To Parse The generated .go file and save the mapping of ID, Class & Titles.
SecurityControlsSubcontrolCheck is a test to verify that all controls from the catalog are being mapped correctly.