Documentation
¶
Index ¶
- Constants
- Variables
- type APIAgent
- type CVE
- type Scores
- type Service
- func (s *Service) Fetch() error
- func (s *Service) GetCVE(match models.Match) (CVE, error)
- func (s *Service) GetCVEs(matches []models.Match) ([]CVE, error)
- func (s *Service) GrypeAllowRuleFunc() func(models.Match, grype.Config) bool
- func (s *Service) GrypeDenyRuleFunc() func([]models.Match, grype.Config) error
Constants ¶
View Source
const DefaultBaseURL = "https://epss.cyentia.com"
Variables ¶
View Source
var ErrAPI = errors.New("EPSS API error")
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶ added in v0.1.0
NewService initializes internal structures, and lazily assigns reader.
func (*Service) Fetch ¶ added in v0.1.0
Fetch uses the internal reader to fill the internal dataStore
func (*Service) GrypeAllowRuleFunc ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.