package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Dec 18, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
PluginDir string = "openscap"
PolicyDir string = "policy"
ResultsDir string = "results"
RemediationDir string = "remediations"
DatastreamsDir string = "/usr/share/xml/scap/ssg/content"
SystemInfoFile string = "/etc/os-release"
)
type Config struct {
Files struct {
Workspace string `config:"workspace"`
Datastream string `config:"datastream"`
Results string `config:"results"`
ARF string `config:"arf"`
Policy string `config:"policy"`
}
Parameters struct {
Profile string `config:"profile"`
}
}
NewConfig creates a new, empty Config.
LoadSettings sets the values in the Config from a given config map and
performs validation.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.