fleet/server/webhooks/vuln_args.go
Juan Fernandez b6d084deec
Feature 7559: Include 3rd party severity scores in the vulnerability web-hook payload (#7581)
Premium users should receive vulnerability scores as part of the web-hook payload.
2022-09-06 15:12:17 -04:00

15 lines
254 B
Go

package webhooks
import (
"time"
"github.com/fleetdm/fleet/v4/server/fleet"
)
type VulnArgs struct {
Vulnerablities []fleet.SoftwareVulnerability
Meta map[string]fleet.CVEMeta
AppConfig *fleet.AppConfig
Time time.Time
}