Zach Crownover
659d3e42c5
Improve DragonFly support ( #329 )
...
* Update facter location for BSDs
BSDs tend to place third party binaries in /usr/local rather than /usr
* Add support for DragonFly boot loader detection
DragonFly BSD has the same file paths for the bootloader as FreeBSD
* Add kernel module checking for DragonFly
DragonFly BSD checks kernel modules the same way as FreeBSD
* Add DragonFly check for login shells
DragonFly's login files are the same as FreeBSD's
* Add HAMMER PFS Detection
All PFS mounts in HAMMER systems for DragonFly will be detected now
2016-11-19 12:39:57 +00:00
Justin P
50b06efd30
macOS Refactoring ( #311 )
...
* Default all macOS `OS` names as macOS. Added comments to specify `uname` outputs for better understanding.
* Refactored all `Mac` instances referring to macOS over to `macOS` formatting.
Tested on my own machine, unable to find any errors outside of normal parameters.
2016-11-05 11:53:22 +01:00
Michael Boelen
1641f4c88f
Use machine ID if we have no suitable other string yet
2016-10-17 17:16:36 +02:00
Michael Boelen
404bd9ad4c
Correct path to cgroup file
2016-10-16 15:51:30 +02:00
Michael Boelen
27054e2f2e
Improve logging for non-privileged users
2016-10-16 15:29:50 +02:00
Michael Boelen
d0eae6480d
Support for Docker container detection
2016-10-16 15:13:04 +02:00
Michael Boelen
c87e423196
Added HOSTID2 for macOS platform
2016-10-14 08:49:00 +02:00
alobodzinski
639c5adc72
Fixed cut-and-paste error ( #265 )
2016-08-29 19:31:06 +02:00
Michael Boelen
fdf3ded89f
New command 'lynis show details' to display test details
2016-08-26 14:05:20 +02:00
Michael Boelen
c11f7fc1ce
Do not show update message when using 'show' helper
2016-08-23 20:21:26 +02:00
Michael Boelen
0dab1e9308
Allow multiple level of includes
2016-08-16 08:36:42 +02:00
Michael Boelen
4b96452dab
Clean out unneeded file
2016-08-16 08:11:51 +02:00
Michael Boelen
c730a3185e
Add StoreNginxSettings function to store parsed nginx configuration
2016-08-16 08:07:08 +02:00
Michael Boelen
e06db1477d
Add notebook hardware detection
2016-08-13 16:38:07 +02:00
Michael Boelen
d5a5cc3173
Allow logging a custom reason to skip a test
2016-08-13 10:16:15 +02:00
Michael Boelen
300ab03abc
Improved SearchItem function and allow masking of sensitive details
2016-08-11 19:52:15 +02:00
Michael Boelen
fa8826f59a
Corrected text
2016-08-11 19:29:57 +02:00
Michael Boelen
e78e7801ab
Allow ExitFatal with text and test for input file on other tests
2016-08-11 19:03:01 +02:00
Michael Boelen
bba7cfe200
Add return value to SearchItem() function
2016-08-11 18:46:17 +02:00
Michael Boelen
4f72cdf711
Mark VM type as OpenStack
2016-08-11 10:01:57 +02:00
Liao Tonglang
b1c432c3e0
Make IsVirtualMachine detect centos6.8 on openstack ( #258 )
...
These function made mistake in centos 6.8 virtual machine. Only dmicecode work
on these environment and it return Openstack Nova. A openstack case is needed
in codes that check $SHORT codes.
2016-08-11 09:41:07 +02:00
Michael Boelen
3c46482a9e
Readability and style improvements
2016-07-31 21:20:38 +02:00
Michael Boelen
9874530615
Override reading of files when we are root
2016-07-31 21:18:56 +02:00
Michael Boelen
9ae1aa749d
Properly replace setting gathered from profiles
2016-07-31 17:18:36 +02:00
Michael Boelen
8ee6cb42a3
DisplayError can now use an optional exit code to quit the program
2016-07-31 11:46:41 +02:00
Liao Tonglang
3fdb949152
Fix description of CheckFilePermissions ( #243 )
...
* Fix description of CheckFilePermissions
"Adds a system to a group, which can be used for categorizing" should belong to
AddSystemGroup but not CheckFilePermissions
* make description of IsVirtualMachine right
"Check if a specific item exists in the report" should no be the description of IsVirtualMachien, change it.
2016-07-30 12:08:43 +02:00
Michael Boelen
22f99ede81
Check for number or arguments on ReportSuggestion and ReportWarning
2016-07-28 11:06:46 +02:00
Michael Boelen
f9a4348f10
Uppercase tests: detect them properly as atomic tests.
2016-07-26 16:01:38 +02:00
atao60
0b5b4a47a3
Display function creates wrong indentation of result column ( #237 )
2016-07-26 15:00:05 +02:00
Michael Boelen
2f4c854ba7
Rename of categories, introduction of groups
2016-07-24 17:22:00 +02:00
Michael Boelen
9a2dcc9dec
Add DisplayError for showing errors on screen
2016-07-24 13:11:32 +02:00
Michael Boelen
65eaeb7ce9
Add header as color
2016-07-24 13:05:36 +02:00
Michael Boelen
c1d351fe32
Add bold as color
2016-07-24 11:43:18 +02:00
Michael Boelen
7f25a1f00e
Remove colors properly with one function (contribution: Mike Slifcak at Pindrop
2016-07-18 19:58:32 +02:00
n[oO]ne
8aeba9fa3d
fix: Test names are different. ( #228 )
...
After changes in 9aa5736
the test names are different. This results in something like BOOT-5122 = boot-5122 and skipped test aren't skipped anymore.
2016-07-14 13:49:20 +02:00
Michael Boelen
f9011c43e6
Exit cleanly when displaying categories
2016-07-13 11:12:31 +02:00
Michael Boelen
c090e73ca1
Add blue colors for tips
2016-07-11 20:06:46 +02:00
Michael Boelen
52317de56c
Set date of break lines to similar format as normal log entries
2016-07-11 10:32:00 +02:00
Michael Boelen
f8bee58ade
Implement tooltips
2016-07-05 18:18:54 +02:00
Michael Boelen
75786a1c80
Added DisplayToolTip
2016-07-05 17:25:19 +02:00
Michael Boelen
5778d4fa0d
Add fuctions: AddSetting, DiscoverProfiles, ParseProfiles
2016-07-05 16:47:32 +02:00
Michael Boelen
fbd24b585a
Rename Maid to CleanUp
2016-07-05 12:16:49 +02:00
Michael Boelen
a1ebc18a76
Don't override variables of ReportDetails functions on every parameter
2016-06-30 11:34:27 +02:00
Michael Boelen
b553f01b2a
Allow long lines of text by resetting number of spaces to 0 when needed
2016-06-18 11:14:50 +02:00
Michael Boelen
1be27c7b00
Added IsDeveloperVersion to detect if release is still under development
2016-06-18 09:28:53 +02:00
Michael Boelen
7725ce6cc8
Use a common date/time format for log entries
2016-05-25 21:36:12 +02:00
Michael Boelen
0d62613388
Store host IDv2 and detect utilities when no binaries scan has been done
2016-05-17 18:07:43 +02:00
Michael Boelen
573698afdb
Show debug details on screen in verbose mode
2016-05-16 20:56:16 +02:00
Michael Boelen
50609242c2
Only use public keys for host ID creation
2016-05-10 14:21:09 +02:00
Michael Boelen
ef23180adc
Decrease length of hostid v2 as hostname is stored already
2016-05-10 11:47:33 +02:00