Crate pysentry

Crate pysentry 

Source
Expand description

PySentry - Security vulnerability auditing for Python packages

This crate provides comprehensive security vulnerability scanning for Python projects using various vulnerability databases (PyPA, PyPI JSON API, OSV.dev).

Re-exports§

pub use cache::AuditCache;
pub use cache::Cache;
pub use cache::CacheBucket;
pub use cache::CacheEntry;
pub use cache::DatabaseMetadata;
pub use cache::Freshness;
pub use config::CacheConfig;
pub use config::CiConfig;
pub use config::Config;
pub use config::ConfigLoader;
pub use config::DefaultConfig;
pub use config::IgnoreConfig;
pub use config::OutputConfig;
pub use config::PackageIgnoreRule;
pub use config::ProjectConfig;
pub use config::ResolverConfig;
pub use config::SourcesConfig;
pub use dependency::scanner::DependencyScanner;
pub use dependency::scanner::DependencyStats;
pub use output::report::AuditReport;
pub use output::report::AuditSummary;
pub use output::report::ReportGenerator;
pub use providers::VulnerabilityProvider;
pub use providers::VulnerabilitySource;
pub use types::AuditFormat;
pub use types::PackageName;
pub use types::ResolutionCacheEntry;
pub use types::ResolvedDependency;
pub use types::ResolverType;
pub use types::SeverityLevel;
pub use types::VulnerabilitySourceType;
pub use vulnerability::database::Severity;
pub use vulnerability::database::VersionRange;
pub use vulnerability::database::Vulnerability;
pub use vulnerability::database::VulnerabilityDatabase;
pub use vulnerability::database::VulnerabilityMatch;
pub use vulnerability::matcher::DatabaseStats;
pub use vulnerability::matcher::FixAnalysis;
pub use vulnerability::matcher::FixSuggestion;
pub use vulnerability::matcher::MatcherConfig;
pub use vulnerability::matcher::VulnerabilityMatcher;

Modules§

cache
Cache management module
cli
CLI interface definitions shared between binary and Python bindings
config
Configuration file support for PySentry
dependency
Dependency analysis module
output
Output generation module
parsers
providers
types
vulnerability
Vulnerability processing and matching module

Structs§

AuditEngine
Main entry point for performing audits
Version
Version type (using pep440_rs::Version as Version) A version number such as 1.2.3 or 4!5.6.7-a8.post9.dev0.

Enums§

AuditError
Audit error types

Type Aliases§

Result
Result type for audit operations