Commit Graph

104 Commits

Author SHA1 Message Date
Samson-W d995a65375 Fix #49: Autofix improvement: Ensure journald is configured to compress large log files 2023-07-15 02:02:58 +08:00
Samson-W 706cc65542 Adapt to the Debian 12 release version 2023-06-12 00:46:56 +08:00
Samson-W 881c51608e Fix #42: 14.1 grep returns line format that will never match the regex filter applied 2023-06-04 23:10:05 +08:00
Samson-W 79670bde38 Fix bug: Replaced pam_tally2 with pam_faillock in debian 11. 2021-08-16 02:14:00 +08:00
Samson-W f175cf4639 Update auditd rules of 8.1.26: replaced pam_tally2 with faillock in debian 11. 2021-08-16 00:57:51 +08:00
Samson-W 8ad11ac333 Fix a bug: If /var/log is a separate partition, check whether /var is a separate partition will be passed. 2021-07-16 00:58:37 +08:00
Samson-W d825beb240 Fix a bug of check_audit_path function. 2021-06-21 02:17:08 +08:00
Samson-W f6b1ea8286 Modify function check_audit_path to check whether the pathname of the rule in the from of 'auditctl -w' is valid. 2021-06-21 01:18:16 +08:00
Samson-W d6fca32f10 Fix a bug: when the Debian version is the Codename, an error will occur 2021-02-22 12:08:40 +08:00
Samson-W 64bececd2d Fix some bugs for Debian11(bullseye). 2021-02-22 03:53:02 +08:00
Samson-W cbf85fe443 Add check_sshd_conf_for_one_value_runtime method, and modify 9.3.2 2020-11-03 19:50:50 +08:00
Samson-W 6bf8a58bef Add 14.1 for defense NAT slipstreaming and add method to utils 2020-11-02 21:26:48 +08:00
Samson-W 985ce35353 Modify description of 9.3.13 2020-07-06 23:22:47 +08:00
Samson-W 0e20dd251a Added function: Check the default value of the parameter that has not been set. 2020-07-05 17:28:20 +08:00
Samson-W bf73f53554 Add check AppArmor status method to utils, and modify 4.6 and 4.7 2020-06-29 17:51:19 +08:00
Samson-W 33c9611cc5 Fix issues #15 auditd check has duplicates. 2020-05-17 03:32:12 +08:00
Samson-W 1570943606 Add a method to determine the system version for compatibility. 2020-05-14 18:14:43 +08:00
Samson-W 0333022739 Fix spelling error 2020-04-16 17:24:48 +08:00
Samson-W da61977969 Modify the check_audit_path method to pass check when audited record path does not exist in OS. 2020-04-16 17:21:08 +08:00
Samson-W 24fd4aacc2 Fix some bugs for 6.18 and lib 2020-01-17 04:04:54 +08:00
Samson-W 8e0c2dc6e2 Fix some bug for tmp.mount apply method. 2020-01-16 18:17:18 +08:00
Samson-W 39dc43adb2 Modify audit and apply methods for redhat/CentOS to 9.2.15 9.2.16 9.2.17
Add reset_ok function.
2020-01-15 02:54:00 +08:00
Samson-W 42b057347c Add add_line_file_after_pattern_lastline function.
Add audit and apply methods for redhat/CentOS to 9.2.11.
2020-01-13 16:08:51 +08:00
Samson-W 8b3cecb3fa Fix a bug of check_audit_path function. 2020-01-06 16:41:15 +08:00
Samson-W 5a9c6c83bf Fix a bug: check if the package is installed. 2020-01-02 16:44:38 +08:00
Samson-W b4a598ad18 Fix a bug for 2.25, and add uninstall_pkg methods. 2019-12-29 16:54:24 +08:00
Samson-W 816c101241 Fix some bugs for CentOS8 2019-12-28 02:32:49 +08:00
Samson-W 8c591a1ef0 Add audit and apply methods for redhat/CentOS to 7.4.2 7.7.1 2019-12-27 18:05:10 +08:00
Samson-W 7c85266947 Fix some bugs: tcp wrapper not be avaliable in CentOS8. 2019-12-27 14:29:32 +08:00
Samson-W 9a1ccdbcbf Fix 6.8 and 7.4.1, and add is_centos_8 method. 2019-12-23 02:13:49 +08:00
Samson-W 6a4de4e4d5 Fix some bugs for CentOS. 2019-10-17 15:36:19 +08:00
Samson-W ed894c0b43 Fix a bug: when file is not exist, return error 2019-10-15 04:16:44 +08:00
Samson-W 10fb74a744 Fix bug of 2.1 2019-09-05 18:07:19 +08:00
Samson-W f5de9a24f9 Fix some bugs and add apply method for CentOS. 2019-08-26 18:03:29 +08:00
Samson-W 783d6e4455 Add check_param_pair_by_value method and Modify 9.2.2 to be compatible with CentOS. 2019-08-26 04:16:00 +08:00
aboohner f7bf33fc4e Bugfix in nested ifs 2019-08-21 12:42:34 +02:00
Samson-W 4cb0418af7 Fix a bug for check_param_pair_by_pam method. 2019-08-19 20:28:04 +08:00
Samson-W 23b28bafc4 Fix some bug for utils. 2019-08-17 23:32:25 +08:00
Samson-W d3cbebb7e6 modify 8.1.17~8.1.22 to be compatible with CentOS 2019-08-13 17:55:55 +08:00
Samson-W 99cab257b2 Add new method for check audit path is exist, and update 8.1.19 2019-08-13 17:44:31 +08:00
Samson-W 0be34f1b41 Remove some obsolete check items.
Add is_service_active method to utils.sh
Modified 5.2 5.3 to be compatible with CentOS.
2019-08-06 19:43:57 +08:00
Samson-W db2f6a5f34 Modified utils.sh and 8.7 to be compatible with CentOS. 2019-08-02 15:44:39 +08:00
Samson-W 359a7c3c5e Modified utils.sh and 2.25 to be compatible with CentOS. 2019-08-02 04:16:53 +08:00
Samson-W 5ea65ad6de Add audit and apply methods for redhat/CentOS to 1.1. 2019-07-31 16:27:45 +08:00
Samson-W 08e2cf2867 Modify is_debian_10 function. 2019-07-07 17:16:27 +08:00
Samson-W e3a7b267d5 Apply check_audit_is_immutable_mode method for auditd rules check item. 2019-05-18 04:53:05 +08:00
Samson-W 8856f64d16 Add check_audit_is_immutable_mode method in lib/utils.sh and apply the method for 8.1.4 2019-05-18 04:36:55 +08:00
Samson-W 9d886d7bf9 1, Add check rounds of pam_unix for 9.2.13 base stig-Ubuntu_16-04_LTS.
2,Fix a bug: when the configured values have different lengths, the reassignment is incorrect.
2019-05-16 17:40:40 +08:00
Samson-W c4b9847694 Fix a bug for 9.2.15 and delete the debug method in lib/utils.sh 2019-05-16 14:45:12 +08:00
Samson-W 97d921c2c6 1. Add method for if ipv6 is disabled.
2. Modify ipv6 iptables rules check with check_ipv6_is_enable.
2019-04-17 03:48:49 +08:00