Documentation
¶
Index ¶
- type KubescapeService
- func (n *KubescapeService) Manifests() ([]kubescapev1.VulnerabilityManifest, error)
- func (n *KubescapeService) ReconcileFlaggedCVERule(nn ktypes.NamespacedName, cve validationv1.FlaggedCVE, ...) (*types.ValidationRuleResult, error)
- func (n *KubescapeService) ReconcileSeverityRule(nn ktypes.NamespacedName, rule validationv1.SeverityLimitRule, ...) (*types.ValidationRuleResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubescapeService ¶
type KubescapeService struct { Log logr.Logger API *kubevuln.APIServerStore }
func NewKubescapeService ¶
func NewKubescapeService(log logr.Logger, kvApi *kubevuln.APIServerStore) *KubescapeService
func (*KubescapeService) Manifests ¶
func (n *KubescapeService) Manifests() ([]kubescapev1.VulnerabilityManifest, error)
func (*KubescapeService) ReconcileFlaggedCVERule ¶
func (n *KubescapeService) ReconcileFlaggedCVERule(nn ktypes.NamespacedName, cve validationv1.FlaggedCVE, manifests []kubescapev1.VulnerabilityManifest) (*types.ValidationRuleResult, error)
func (*KubescapeService) ReconcileSeverityRule ¶
func (n *KubescapeService) ReconcileSeverityRule(nn ktypes.NamespacedName, rule validationv1.SeverityLimitRule, ignoredCVEs []string, manifests []kubescapev1.VulnerabilityManifest) (*types.ValidationRuleResult, error)
Click to show internal directories.
Click to hide internal directories.