2799 Commits

Author SHA1 Message Date
Michael Boelen
1bb35b86b8
Merge pull request #873 from topimiettinen/fix-developer-profile
Fix developer profile
2020-03-21 13:50:03 +01:00
Michael Boelen
357b059c12
Merge pull request #871 from bginsbach/fix-find-not
Fix uses of non-standard find not operator
2020-03-21 13:43:28 +01:00
Michael Boelen
60ffb7395a
Merge pull request #872 from bginsbach/netbsd-eol
Add NetBSD EOL
2020-03-21 13:34:50 +01:00
Michael Boelen
6e9482a571
Merge branch 'master' into netbsd-eol 2020-03-21 13:34:41 +01: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
Brian Ginsbach
32d1155953 Fix uses of non-standard find not operator
Use ! rather than the non-standard -not find(1) operator.
2020-03-20 14:37:56 -05:00
Michael Boelen
6356b3adb1
Updated log 2020-03-20 19:43:18 +01:00
Brian Ginsbach
50fc3f816a Add NetBSD EOL data 2020-03-20 13:42:28 -05:00
Brian Ginsbach
52344913d3 Add a way to signify undetermined EOL
Replace setting an artificaly high date and converted date for
operating systems with no EOL (rolling) or the EOL is still to
be determined. This makes it easier for humans and saves making
a comparison (when using an artifically high converted time)
will always be false (EOL=0).

An example entry

        os:AGreatOS 2.0:👎

The converted time (seconds since the epoch) could be specified as
zero but this typically means the OS is out of date (now), A value
of -1 is a convention indicating no EOL.
2020-03-20 13:42:28 -05:00
Michael Boelen
af03c07d9f
Shortened CentOS 7/8 strings to allow match and added note 2020-03-20 19:39:49 +01:00
Michael Boelen
724acf1be5
Added CentOS 8 end-of-life 2020-03-20 19:33:10 +01:00
Michael Boelen
1f8b5fafde
Add OS to 'show eol' and make output easier to parse 2020-03-20 14:57:56 +01:00
Michael Boelen
27cdcec741
Add CentOS 7 (Core) 2020-03-20 14:57:28 +01:00
Michael Boelen
38310223a6
Updated date/year 2020-03-20 14:50:25 +01:00
Michael Boelen
626e2a9ab9
Updated log 2020-03-20 14:13:21 +01:00
Michael Boelen
352910e026
Merge branch 'master' of https://github.com/CISOfy/lynis 2020-03-20 14:01:14 +01:00
Michael Boelen
8c0b42cdae
Merge pull request #861 from topimiettinen/enhance-selinux-check
Enhance SELinux checks
2020-03-20 14:00:57 +01:00
Michael Boelen
1f3467f69a
Updated log 2020-03-20 09:47:57 +01:00
Michael Boelen
bf7bd1415b
Merge pull request #867 from topimiettinen/check-dnssec-resolvectl
Check DNSSEC status with resolvectl when available
2020-03-20 09:46:40 +01:00
Michael Boelen
8f37edb626
Update tests.db
Corrected test ID
2020-03-20 09:46:08 +01:00
Topi Miettinen
820d2ec607
Check DNSSEC status with resolvectl when available
'resolvectl statistics' shows if DNSSEC is supported by
systemd-resolved and upstream DNS servers.

Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
2020-03-19 23:56:24 +02:00
Topi Miettinen
fb9cdb5c43
Enhance SELinux checks
Display and log: permissive types (rules are not enforced), unconfined
processes (not confined by rules) and processes with initrc_t
type (generic type with weak rules).

Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
2020-03-19 19:45:37 +02:00
Michael Boelen
ddcf9bc713
[BOOT-5122] check for defined password in all GRUB configuration files 2020-03-19 15:52:03 +01:00
Michael Boelen
6d9ebe4136
Merge pull request #857 from topimiettinen/handle-kernel-img.conf
Check if /vmlinuz is missing due to /etc/kernel-img.conf
2020-03-19 15:33:47 +01:00
Michael Boelen
51d727d611
Merge pull request #858 from topimiettinen/fix-enabled-running-processes
Fix logging of running and enabled services
2020-03-19 15:32:54 +01:00
Michael Boelen
00a31c6dbd
Updated log 2020-03-19 15:29:01 +01:00
Michael Boelen
0a5edf0ed7
Merge pull request #859 from topimiettinen/check-for-refind
[BOOT-5109] Test presence rEFInd boot loader
2020-03-19 15:27:44 +01:00
Topi Miettinen
3aaeeea856
Check for rEFInd boot loader
Detect rEFInd boot loader (https://www.rodsbooks.com/refind/).

Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
2020-03-19 15:44:30 +02:00
Topi Miettinen
80a67914c3
Fix logging of running and enabled services
Log lines for running and enabled services were mixed up, fix.

Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
2020-03-19 15:25:59 +02:00
Topi Miettinen
f15fbfa6ed
Check if /vmlinuz is missing due to /etc/kernel-img.conf
If /etc/kernel-img.conf has the line do_symlinks=No, Debian (probably
also Ubuntu) kernel packages will not update /vmlinuz
etc. symlinks. In that case, guess the kernel from uname -r.

Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
2020-03-19 15:16:37 +02:00
Michael Boelen
e5c1f2f303
Updated log 2020-03-19 11:01:22 +01:00
Michael Boelen
671c443641
Merge pull request #845 from maczniak/master
[SSH-7408] fix OpenSSH server version check
2020-03-19 11:00:38 +01:00
Michael Boelen
b523352a59
Merge pull request #830 from Schmuuu/fix/vmlinuz-check
restructered test and fixed vmlinuz detection
2020-03-19 10:58:27 +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
cc78713c6a
Updated log 2020-03-18 11:43:29 +01:00
Michael Boelen
8a42643373
Merge pull request #822 from pyllyukko/vmlinuz-raspbian
KRNL-5788 in Raspi: don't complain about missing /vmlinuz
2020-03-18 11:39:58 +01:00
Michael Boelen
eaafbb642e
Updated log 2020-03-18 11:37:06 +01:00
Michael Boelen
6a5ea9471e
Merge pull request #828 from gfelkel/patch-1
FILE-6310 for HP-UX
2020-03-18 11:35:03 +01:00
Michael Boelen
6e3e93d585
[PKGS-7388] only perform check for Debian, Mint, Ubuntu 2020-03-17 16:05:14 +01:00
Michael Boelen
77dd0e0bbe
Merge pull request #853 from deltablot/php
Skip the PHP cli configuration file when looking for expose_php
2020-03-17 14:02:51 +01:00
Michael Boelen
a012d75e78
Merge branch 'master' of https://github.com/CISOfy/lynis 2020-03-17 13:03:37 +01:00
Michael Boelen
d1db448c51
Skip pacman when it is the game instead of package manager 2020-03-17 13:02:59 +01:00
Michael Boelen
70dc4c36a6
Merge pull request #854 from duck-rh/manpage_fix
Fix quote syntax error in manpage
2020-03-17 11:43:03 +01:00
Marc Dequènes (Duck)
7c01b9784b
Fix quote syntax error in manpage
Quotes have a special meaning when used at the start of line.
2020-03-17 12:01:21 +09:00
Michael Boelen
7a1719ef75
Updated log 2020-03-12 16:01:19 +01:00
Michael Boelen
0b0b0ea905
Style improvement 2020-03-12 16:01:11 +01:00
Michael Boelen
83a9470b72
Merge pull request #829 from gfelkel/patch-2
AUTH-9228 for HP-UX
2020-03-12 15:59:33 +01:00
Michael Boelen
30a456c5f4
Updated log 2020-03-11 15:56:32 +01:00
Michael Boelen
2f9f25a2bf
Merge pull request #842 from chifu1234/master
add basic xbps/void support
2020-03-11 15:53:57 +01:00
Michael Boelen
efc591c791
Merge pull request #846 from Skactor/patch-2
Update tests_shells
2020-03-11 15:52:33 +01:00