Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { ID() string Name() string Metadata() map[string]string RunAll(ctx context.Context) (ProviderResult, error) RunRuleset(ctx context.Context, rulesetID, rulesetVersion string) (ruleset.RulesetResult, error) RunRule(ctx context.Context, rulesetID, rulesetVersion, ruleID string) (rule.RuleResult, error) }
Provider defines a Diki provider.
type ProviderFromConfigFunc ¶
type ProviderFromConfigFunc func(conf config.ProviderConfig) (Provider, error)
ProviderFromConfigFunc constructs a Provider from ProviderConfig.
type ProviderResult ¶
type ProviderResult struct { ProviderID string ProviderName string Metadata map[string]string RulesetResults []ruleset.RulesetResult }
ProviderResult is the result of a provider run.
Directories ¶
Path | Synopsis |
---|---|
ruleset/disak8sstig/rules
Package rules implements rules that correspond to the latest supported ruleset version.
|
Package rules implements rules that correspond to the latest supported ruleset version. |
ruleset/disak8sstig/rules
Package rules implements rules that correspond to the latest supported ruleset version.
|
Package rules implements rules that correspond to the latest supported ruleset version. |
ruleset/securityhardenedk8s/rules
Package rules implements rules that correspond to the latest supported ruleset version.
|
Package rules implements rules that correspond to the latest supported ruleset version. |
ruleset/disak8sstig/rules
Package rules implements rules that correspond to the latest supported ruleset version.
|
Package rules implements rules that correspond to the latest supported ruleset version. |
Click to show internal directories.
Click to hide internal directories.