SUSE / linux-security-sensor

Linux security sensor
Other
18 stars 9 forks source link

Add client monitoring artifact for RPMs #95

Closed djoreilly closed 7 months ago

djoreilly commented 8 months ago

The packages file receives frequent writes when a system update is run (e.g. zypper up). It would be expensive to run the rpm plugin on every write event.

This artifact rate limits how often the rpm plugin runs by reading the modification time of the packages file at fixed intervals and only running the rpm plugin if the file has changed since the previous read.