Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Payload ¶
type Payload struct {
Resources []Resource `json:"resources" yaml:"resources"`
Wait Wait `json:"wait" yaml:"wait"`
Rego string `json:"rego" yaml:"rego"`
}
Current placeholder for all requisite data in the payload Fields will be populated as required otherwise left empty This could be expanded as providers add more fields
type PayloadAPI ¶
type Resource ¶
type Resource struct {
Name string `json:"name" yaml:"name"`
Description string `json:"description" yaml:"description"`
ResourceRule ResourceRule `json:"resource-rule" yaml:"resource-rule"`
}
type ResourceRule ¶
type Result ¶
type Result struct {
UUID string `json:"uuid" yaml:"uuid"`
ControlId string `json:"control-id" yaml:"control-id"`
Description string `json:"description" yaml:"description"`
Passing int `json:"passing" yaml:"passing"`
Failing int `json:"failing" yaml:"failing"`
State string `json:"state" yaml:"state"`
}
native type for conversion to targeted report format
type Validation ¶
Click to show internal directories.
Click to hide internal directories.