vexy.sources.ossindex
Module Contents
Classes
Helper class that provides a standard way to create an ABC using |
- class vexy.sources.ossindex.OssIndexSource(*, config: Dict[str, Any] | None = None)[source]
Bases:
vexy.sources.base.BaseSource
Helper class that provides a standard way to create an ABC using inheritance.
- _component_complete_for_source(component: cyclonedx.model.component.Component) bool [source]
Whether the given Component has enough data (the right fields) for us to query this data source for known vulnerabilities.
- Parameters:
component – Component
- Returns:
bool
- _configure_source(config: Dict[str, Any]) None [source]
Perform any source specific configuration such as authentication.
- Parameters:
config – Dict[str, Any]
- Returns:
None
- static source() cyclonedx.model.vulnerability.VulnerabilitySource [source]
Instance that represents this data source.
- Returns:
VulnerabilitySource
- static source_description() str [source]
Human-friendly description of this data source.
- Returns:
str
- static source_ecosystems() Set[vexy.EcoSystem] [source]
Which ecosystems this source has vulnerability data for.
- Returns:
Set[str]