package
Version:
v0.0.15
Opens a new window with list of versions in this module.
Published: Mar 7, 2025
License: AGPL-3.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
¶
type Activity struct {
Title string `json:"title" mapstructure:"title"`
Description string `json:"description" mapstructure:"description"`
Type string `json:"type" mapstructure:"type"`
Steps []Step `json:"steps" mapstructure:"steps"`
Tools []string `json:"tools" mapstructure:"tools"`
}
type EvalOutput struct {
Risks []Risk `mapstructure:"risks"`
Tasks []Task `mapstructure:"tasks"`
Violations []Violation
AdditionalVariables map[string]interface{}
}
type Link struct {
Text string `json:"text" mapstructure:"text"`
URL string `json:"href" mapstructure:"href"`
}
type PolicyManager struct {
}
type Risk struct {
Title string `json:"title" mapstructure:"title"`
Description string `json:"description" mapstructure:"description"`
Statement string `json:"statement" mapstructure:"statement"`
Links []Link `json:"links" mapstructure:"links"`
}
type Step struct {
Title string `json:"title" mapstructure:"title"`
Description string `json:"description" mapstructure:"description"`
}
type Task struct {
Title string `json:"title" mapstructure:"title"`
Description string `json:"description" mapstructure:"description"`
Activities []Activity `json:"activities" mapstructure:"activities"`
}
type Violation struct {
Title string `json:"title,omitempty" mapstructure:"title,omitempty"`
Description string `json:"description,omitempty" mapstructure:"description,omitempty"`
Controls []string `json:"control-implementations,omitempty" mapstructure:"control-implementations,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.