Commit Graph

85 Commits

Author SHA1 Message Date
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
Samson-W 5867efd5d6 Add audit and apply methods for ipv6 firewall rules. 2019-04-16 18:09:05 +08:00
Samson-W f23c662b7c Fix bug for 8.2.4: when create file if dir is not, create file is fail. 2019-04-16 03:57:53 +08:00
Samson-W 568d82253b Add method for check machine architecture and modify 8.1.4 2019-04-14 08:09:04 -04:00
Samson-W 822159dce1 Modify for lib and 8.1.2 2019-04-14 05:56:05 -04:00
Samson-W b2fd0dd674 1.Add audit and apply methods for 7.7.7: Ensure outbound and established connections are configured.
2.Fix some bug for lib and 7.7.6
2019-04-12 00:27:50 -04:00
Samson-W 7d0de8fdfe Add a method for check debian version is buster/10. 2019-04-11 14:57:14 -04:00
Samson-W d31530f2a6 Add methods for check outbound and input is set to accept. 2019-04-11 14:50:30 -04:00
Samson-W 86ca90d417 Fix some bugs for 7.7.5 2019-04-09 16:31:57 +08:00
samson 5caa36d5af Modify is_service_enabled method for debian 9, and apply to 2.25. 2019-04-01 04:15:09 +08:00
samson a4e0754891 Modify command use method: apt-get update 2019-03-30 18:49:19 +08:00
samson 6b14bed3c9 Delete debug line of check_param_pair_by_pam function 2018-12-30 03:09:26 +08:00
samson 2a881a5fbe Modify audit and apply methods for 2.1 2018-12-06 04:30:55 +08:00
samson 2772e8a55f Fix some bugs for mount options check of removable device 2018-12-06 02:41:44 +08:00
samson 64ab792e6c Fix bug for 10.1.9 and modify apt_update_if_needed function. 2018-12-05 15:10:06 +08:00
samson ff5447d2fb Modify for sysctl config persistent. 2018-12-03 02:43:43 +08:00
samson 8d8848da16 Del swap file 2018-12-03 02:24:45 +08:00
samson e6f204b7f0 Modify function for dpkg verity 2018-12-03 00:47:10 +08:00
samson 5f9346486d Fix some bugs. 2018-12-02 21:11:10 +08:00
samson 9c7ae21bee Fix some bug and add CIS_Debian_Linux_8_Benchmark to docs dir. 2018-12-01 04:36:21 +08:00