Documentation ¶
Index ¶
Constants ¶
View Source
const ( BundleVersion = 0 // Latest released MAJOR version for defsec BundleRepository = "ghcr.io/aquasecurity/defsec" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements policy operations
func NewClient ¶
func NewClient(cacheDir string, quiet bool, policyBundleRepo string, opts ...Option) (*Client, error)
NewClient is the factory method for policy client
func (*Client) DownloadBuiltinPolicies ¶
DownloadBuiltinPolicies download default policies from GitHub Pages
func (*Client) GetMetadata ¶ added in v0.38.1
func (*Client) LoadBuiltinPolicies ¶
LoadBuiltinPolicies loads default policies
Click to show internal directories.
Click to hide internal directories.