Expand description
Package Statistics, Update Notifications, and Security Advisories
Tracks package installation metrics, detects available updates by comparing installed vs available package versions, and checks installed packages against security advisories.
NOTE: Many types in this module are forward declarations for user-space APIs. They will be exercised when user-space process execution is functional. See TODO(user-space) markers for specific activation points.
Structs§
- Package
Stats - Per-package usage and installation statistics.
- Security
Advisory - A security advisory describing a vulnerability that affects one or more packages.
- Stats
Collector - Collects and queries per-package statistics.
- Update
Notification - Notification that an installed package has a newer version available.
Enums§
- Advisory
Severity - Severity level for a security advisory.
Functions§
- check_
advisories - Check installed packages against a list of security advisories.
- check_
for_ updates - Compare installed packages against available packages and return notifications for packages that have newer versions.