Michael Boelen
699ec384d2
[FILE-6398] Only perform test if we know if Linux kernel is monolithic/modular
2024-09-30 10:00:55 +00:00
Michael Boelen
1a26005b50
Update consts
...
Setting variables
2024-05-15 14:12:54 +02:00
xnoguer
fd64aa24d6
Adding test MALW-3291 in order to solve issue 1322 (related to issue 994)
2023-04-18 16:46:19 -04: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
755abdc556
Merge pull request #1137 from teoberi/Lynis-with-PostgreSQL-13.1---test-ID-DBS-1826/DBS-1828
...
Lynis with PostgreSQL 13.1 test ID DBS-1826/DBS-1828
2021-07-21 17:22:17 +02:00
Michael Boelen
da024079f1
Improve HostID generation and logging
2021-07-02 14:23:53 +02:00
Christian Bourque
7b632bdbfa
Initial draft for Cmd support
2021-04-02 00:37:29 +00:00
Michael Boelen
da1c1eca10
Preparation for release 3.0.3
2021-01-07 15:22:19 +01:00
Michael Boelen
a2f4d52404
Added CCBINARY and GCCBINARY
2021-01-07 12:36:10 +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
teoberi
e859b89cec
Update consts
...
Fix the variable name for PostgreSQL
2021-01-03 11:54:35 +02:00
Stéphane
af57959d6a
Add missing constants
...
From #1035 issue
2020-10-19 00:41:11 +02:00
Michael Boelen
760460528b
Added variable
2020-10-17 12:55:20 +02:00
Simon Biewald
3abc39598a
Add LINUX_VERSION_LIKE for variations of Linux distribution
...
Real Ubuntu and Debian do not have LINUX_VERSION_LIKE set. They are
different enough to consider them as a different distribution.
Tests targetting any of distributions based of those two should check
both, LINUX_VERSION and LINUX_VERSION_LIKE.
2020-08-15 16:29:20 +01:00
Kepi
f94817f66f
Command line option for slow test threshold
...
IMHO it should be OK to run long tests if we count with it.
Example:
lynis audit system --slow-warning 300
Will warn when test takes longer than 300 seconds, instead of default 10.
2020-07-02 23:42:28 +02:00
Michael Boelen
75738ceeab
Fix for language detection, unset LANG as right place
2020-06-22 10:25:02 +02:00
Michael Boelen
a166691199
Merge pull request #882 from topimiettinen/check-package-certificates
...
[CRYP-7902] Check also certificates provided by packages
2020-04-09 11:01:39 +02:00
Michael Boelen
c368846a08
Added support to require a detected and known package manager
2020-04-06 20:47:45 +02:00
Topi Miettinen
9642bcffc8
[CRYP-7902] Optionally check also certificates provided by packages
...
The package maintainers are not immune to mistakes or they might not
always provide timely updates, so let's check (optionally) more
certificates even if they are delivered by packages.
I found three expired certificates in my Debian/unstable system,
thanks to changed Lynis.
Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
2020-04-02 12:52:13 +03:00
Topi Miettinen
e98fcb9b73
Fix developer profile
...
Initialialize a few variables to let --profile developer.prf pass.
Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
2020-03-20 22:26:51 +02:00
Michael Boelen
38310223a6
Updated date/year
2020-03-20 14:50:25 +01:00
Michael Boelen
5c38a0bdb4
Tests using lsof may ignore threads (if supported)
2019-09-13 11:47:39 +02:00
Michael Boelen
65f1a5e811
Added initial support for DevOps mode to improve continuous integration
2019-08-21 13:59:28 +02:00
Michael Boelen
ee18e76e97
Preparations for forensics scan mode
2019-08-21 13:41:23 +02:00
Michael Boelen
48ba463376
Added support for swupd (Clear Linux OS)
2019-08-04 19:37:55 +02:00
Michael Boelen
b7f7179f1e
Moved variables
2019-07-18 11:42:01 +02:00
Michael Boelen
0e9e0fab36
Merge pull request #730 from Marzal/Marzal-PRIVILEGED
...
Fix $privileged var being overwrite
2019-07-18 11:36:47 +02:00
David
d1cb74e7d9
Delete PRIVILEGED var from this file
...
if PRIVILEGED is set in the file, it will overwrite the value in the main program always to 0.
This change depends in the other commit that set the variable in both cases.
2019-07-17 23:28:51 +02:00
David
250fb965d3
Strict mode needs this vars initialized
2019-07-17 23:08:20 +02:00
Michael Boelen
34f306eb0b
Internal reorganization
2019-07-14 11:50:02 +02:00
Michael Boelen
c31c6a5a9e
Add timing measurement of individual tests and report them
2019-07-12 14:20:32 +02:00
Michael Boelen
2c17c14c3b
New profile option to ignore specified certificate directories
2019-07-08 15:08:56 +02:00
Michael Boelen
05012f60fd
Added new colors and regrouping
2019-07-07 18:46:55 +02:00
Michael Boelen
ade3117307
New option to disable plugins via profile
2019-07-03 15:39:26 +02:00
Michael Boelen
dba2dcb918
Added missing variables
2019-04-15 19:20:31 +02:00
Michael Boelen
2d0c684931
Added new 'generate' command
2019-04-13 13:26:56 +02:00
Michael Boelen
2750e9b7b8
Detect equery binary
2019-04-07 15:50:46 +02:00
Michael Boelen
de2ef2c3e7
Add apt and dpkg binaries
2019-03-29 12:23:45 +01:00
Michael Boelen
48195ce221
Initial work to detect Lynis in cronjobs
2019-03-14 12:32:19 +01:00
Michael Boelen
66066ae226
Changed year and preparing for new release
2019-01-31 14:47:35 +01:00
Michael Boelen
c1f9417792
Initialise some variables for uploading
2018-10-05 10:17:26 +02:00
Michael Boelen
7e41339d95
Added QNAP device variable
2018-09-19 13:26:27 +02:00
Michael Boelen
7b664a7560
Reverse PATH search
2018-01-25 19:43:51 +01:00
Michael Boelen
3a4bc4db9c
Use binary paths from both PATH and predefined list to improve detection on all platforms
2018-01-25 19:14:58 +01:00
Michael Boelen
2ec24e73ed
Initial import for USB group
2018-01-24 19:39:06 +01:00
Dave Vehrs
8f689d4723
Adding USBGuard to checks for USB Devices. ( #499 )
...
* Added kernel.dmesg_restrict to sysctl checks.
* Initial addition of tests_usb_devices
* More updates for tests_usb_devices
* More updates
* Updated logging and other output.
2018-01-24 19:29:50 +01:00
Michael Boelen
c6269941b3
Added lsmod binary
2018-01-18 16:54:45 +01:00
Michael Boelen
fcb421e458
Added vgdisplay binary
2018-01-18 16:53:39 +01:00
Michael Boelen
cb8ab96308
Added GRUB conf file
2018-01-18 16:52:30 +01:00
Michael Boelen
6e549eb545
Set ip binary
2018-01-18 16:23:55 +01:00