daily security run output, BYLO: pkg ako upratat chyby

Marián Černý majo-users-l at cerny.sk
Mon Apr 20 13:46:37 CEST 2020


Marek Soudny wrote:
> ohledne daily security run outputu bych mel otazku. Resite nekdo konsolidovany vystup z vice serveru? Je na to nejaky tool?
> 
> Z par serveru se daily output da denne cist, ale z 20+ serveru uz to tak moc zabavny ctivo neni. Stacil by mi 1 mail za vsechny, s vyctem problemu (napriklad).

To by ma tiez zaujimalo, ci nieco take existuje.

Ja som si na to napisal vlastny skript. Cez procmail si tie maily ukladam do jedneho mailboxu a rano na nich spustim skript, ktory z toho urobi jeden mail. Spajam takto dohromady vsetky security/daily/weekly/montly run outputy, kazdy typ do zvlast mailu. Naviac servery, co maju identicky vystup zgrupujem.

V periodic.conf mam nastavene (okrem ineho):

daily_show_success="NO"
daily_empty_output="NO"
daily_status_security_inline="NO"

Vystup je potom nieco take:

Servers: harmony-sweb divine-sweb
---------------------------------------------------------------------------
Checking for packages with security vulnerabilities:
phpMyAdmin-php73-4.9.5
---------------------------------------------------------------------------

Servers: portbuild
---------------------------------------------------------------------------
Checking for packages with security vulnerabilities:
bind911-9.11.17: Tag: deprecated Value: End of life, please migrate to a newer version of BIND9
bind911-9.11.17: Tag: expiration_date Value: 2021-12-31
phpMyAdmin-php73-4.9.5
---------------------------------------------------------------------------

Keby niekoho ten skript zaujimal, tak mozem poskytnut. Ale je to v PHPku.

Majo


More information about the Users-l mailing list