Documentation
¶
Overview ¶
Package ctemid provides the application service that mirrors the CTEM-ID catalog from an external JSON feed (default https://ctem.org/source.json) into local reference storage, mirroring the KEV/EPSS threat-intel refresh pattern. The refresh is fail-open: a feed outage returns an error the caller logs and tolerates; it never panics and never blocks ingest.
Index ¶
Constants ¶
const (
// DefaultFeedURL is the CTEM-ID catalog feed, CVE-like, published as JSON.
DefaultFeedURL = "https://ctem.org/source.json"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service refreshes and reads the CTEM-ID catalog.
func NewService ¶
NewService creates a Service. An empty feedURL defaults to DefaultFeedURL.