157 Commits

Author SHA1 Message Date
Andrew Ruthven
3f85804a35 Ignore Debian kernel packages with rc status
When 'apt autoremove' is used with kernel packages, they're set to rc which is
Remove, leave Conf-files. Ignose those.
2025-07-23 00:50:54 +12:00
Michael Boelen
95530fdc0e
Simplified copyright line and meta information as including (and updating) the year does not hold much value 2025-01-28 10:15:09 +00:00
ferorge
623eaa76fe
Fix issue #1497
Added kernel name for Hardkernel odroid XU4.
2024-07-23 19:22:07 -03:00
Michael Boelen
f8e2da3087
PKGS-7392: filter only lines starting with a number when checking apt-check 2024-05-16 11:13:25 +00:00
Michael Boelen
2231470615
Merge pull request #1406 from xnoguer/issue-1275
Checking debsums default file to make sure cron jobs are enabled. Issue 1275
2024-05-15 13:40:45 +02:00
Michael Boelen
c13da07039
Merge pull request #1460 from grandcentrix/macos-get-applications-and-services
Added PKGS-7305 - macOS Applications and CoreService (Name & Version)
2024-05-14 14:51:00 +02:00
Florian Sonnenschein
e23898b52b Added PKGS-7305
Query macOS Apps in /Applications and Apple CoreServices and add them to the Report
2024-03-11 14:38:41 +01:00
Florian Sonnenschein
126b8053aa PKGS-7303: Added version numbers to brew packages.
This allows lynis enterprise to render the software  packages in the webinterface.
2024-03-11 14:35:24 +01:00
Michael Boelen
7b98ad465e
Merge pull request #1405 from xnoguer/issue-1277
Updating parsing of arch-audit since arch-audit modified its output. Issue 1277
2023-09-13 16:04:58 +02:00
Xavier Noguer
d26a98ca19 Checking debsums default file to make sure cron jobs are enabled 2023-06-02 09:16:28 +00:00
Xavier Noguer
6963e4e408 Updating parsing of arch-audit since arch-audit modified its output 2023-05-30 14:56:11 +00:00
xnoguer
6f1797fb59 Using grep -E 2023-04-23 17:38:21 -04:00
Michael Boelen
4f382331b3
Renumbered new test PKGS-7346 to PKGS-7200 2022-02-10 14:26:38 +01:00
Steve Kolenich
302b52c55d Merge remote-tracking branch 'upstream/master' into alpine_apk 2022-01-11 09:19:19 -05:00
Lahfa Samy
c45e502796 Add Garuda Linux to audit package test tool 2021-11-16 22:28:10 +01:00
Steve Kolenich
a4bee8a329 Added two tests using apk (Alpine Package Keeper) to check for
installed packages and packages that can be upgraded
2021-09-01 16:00:01 -04:00
Michael Boelen
ad5909372d
PKGS-7410: don't show exception for systems running LXC 2021-07-21 13:16:08 +02:00
Marc Hendry
13bf829461 Test PKGS-7320 extended to "Arch Linux 32"
PKGS-7320 checks whether package arch-audit is installed. This test has been
extended to test ${OS_FULLNAME} for both "Arch Linux" as well as "Arch Linux 32".
2021-05-19 14:43:55 +02:00
Michael Boelen
da1c1eca10
Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
Michael Boelen
cd6edc577b
Small style improvement 2021-01-07 11:34:46 +01:00
Michael Boelen
c38c89ae4e
Merge pull request #1004 from Varbin/1003-os-detection
Test for LINUX_VERSION before setting it again
2021-01-07 11:30:51 +01:00
Simon Biewald
0c686bb6ea Use the new status strings in tests
See-Also: HEAD^
Signed-off-by: Simon Biewald <simon@fam-biewald.de>
2020-11-14 20:34:43 +00:00
Stéphane
67d04f2536
Add translate function for all sections
+ add EN and FR up to date languages files
2020-10-22 00:13:42 +02:00
Michael Boelen
61c6d5df8d
[PKGS-7410] Don't show exception if no kernels were found on the disk 2020-10-17 13:40:09 +02:00
Simon Biewald
4a03c61343 Check LINUX_VERSION_LIKE in various tests
This affects:
BOOT-5180, KRNL-5622, KRNL-5788, PKGS-7388, PKGS-7390, PKGS-7394,
PKGS-7366, and PKGS-7420.
2020-08-15 16:44:34 +01:00
Brian Ginsbach
94915ac2fe Fix PKGS-7301 message nit
The comment is correct. It is FreeBSD pkg not NetBSD pkg.
2020-03-30 14:23:58 -05:00
Michael Boelen
38310223a6
Updated date/year 2020-03-20 14:50:25 +01:00
Michael Boelen
bc4146555c
[PKGS-7388] Only perform test when all conditions are correct 2020-03-19 10:51:02 +01:00
Michael Boelen
6e3e93d585
[PKGS-7388] only perform check for Debian, Mint, Ubuntu 2020-03-17 16:05:14 +01:00
Skactor
35e568e695
Update tests_ports_packages
Incorrect constant name spelling
2020-02-24 20:44:05 +08:00
Michael Boelen
09f29a5e64
Code style improvement: quote argument 2019-12-18 12:17:46 +01:00
Michael Boelen
2dfb901bcb
[PKGS-7410] Use multiple package managers when they are available on system. Also added support for Zypper for this test 2019-12-17 08:23:12 +01:00
Kristian Schuster
ace2e27237
KRNL-5840: add detection for proxmox and raspi kernel 2019-10-20 19:55:34 +02:00
Michael Boelen
52e1231433
Additional check to ensure pacman package manager is used instead of pacman game 2019-10-08 16:43:09 +02:00
Michael Boelen
a1b6d463b2
Fixed a typo 2019-09-21 16:31:06 +02:00
Michael Boelen
fa8bad20db
Use -n instead of ! -z 2019-07-16 13:20:30 +02:00
Michael Boelen
c97dc3044a
Use exit code instead of ITEM_FOUND value 2019-07-10 19:35:51 +02:00
Michael Boelen
8e61275ff4
Move state recording to report section 2019-05-16 15:23:23 +02:00
Michael Boelen
96c1ea8b0e
[PKGS-7386] Removed suggestion as a warning is already displayed when vulnerable packages were discovered 2019-04-20 14:31:11 +02:00
Michael Boelen
017103e20c
[PKGS-7392] - Skip test for Zypper-based systems 2019-04-17 15:26:43 +02:00
Michael Boelen
121c861446
Non-interactive mode for zypper 2019-04-17 15:07:07 +02:00
Michael Boelen
bf5219d9b9
[PKGS-7328/PKGS-7330] added non-interactive global option 2019-04-15 19:30:21 +02:00
Michael Boelen
d0df518426
[PKGS-7420] corrected typo 2019-03-30 13:58:23 +01:00
Michael Boelen
3660043308
[PKGS-7420] limit test to specific OS, add dnf-automatic support, extend logging 2019-03-30 13:31:03 +01:00
Michael Boelen
3702ae67b5
[PKGS-7420] Detect toolkit to automatically download and apply upgrades 2019-03-29 12:53:13 +01:00
Michael Boelen
605c381eb6
[PKGS-7410] add support for DPKG-based systems to gather installed kernel packages 2019-03-29 12:22:20 +01:00
silentcreek
17f2e34660 [PKGS-7388] Fix false positive warning on missing security archive (#651)
Currently the check for the security archive in Debian/Ubuntu fails, if
the archive is not hosted on security.{debian,ubuntu}.org and the URL
does have trailing slash, such as this:
  deb http://deb.debian.org/debian-security/ stretch/updates main

Change the regular expression to allow for a trailing slash in the URL
when filtering the package sources lists.

Signed-off-by: Timo Sigurdsson <public_timo.s@silentcreek.de>
2019-03-07 10:03:11 +01:00
Michael Boelen
66066ae226
Changed year and preparing for new release 2019-01-31 14:47:35 +01:00
Jesus Christian Cruz Acono
414be240e8 Update tests_ports_packages (#586)
change " " <- space for [[:blank:]] (to clean all pausible spaces)
2018-10-05 10:23:19 +02:00
Michael Boelen
b4e93d4fcc
[PKGS-7322] Updated solution text 2018-09-17 09:23:04 +02:00