Skip to content

Commit 6fb4aed

Browse files
committed
factory
Signed-off-by: RTann <[email protected]>
1 parent 77acf0c commit 6fb4aed

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

enricher/kev/kev.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ func init() {
4747
}
4848
}
4949

50+
// NewFactory creates a Factory for the CISA KEV enricher.
51+
func NewFactory() driver.UpdaterSetFactory {
52+
set := driver.NewUpdaterSet()
53+
_ = set.Add(&Enricher{})
54+
return driver.StaticSet(set)
55+
}
56+
5057
// Enricher provides exploit data as enrichments to a VulnerabilityReport.
5158
//
5259
// Configure must be called before any other methods.

0 commit comments

Comments
 (0)