|
@@ -17,7 +17,8 @@ saltless master in packer
|
|
|
packer/scripts/salt-virtualenv-minion.sh
|
|
|
"../../scripts/salt-virtualenv-minion.sh",
|
|
|
|
|
|
-# Does the CIS Hardening
|
|
|
+Does the CIS Hardening
|
|
|
+```
|
|
|
provisioner "salt-masterless" {
|
|
|
skip_bootstrap = true
|
|
|
salt_bin_dir = "/mnt/bin"
|
|
@@ -27,6 +28,7 @@ packer/scripts/salt-virtualenv-minion.sh
|
|
|
salt_call_args = "-c /mnt/etc/salt"
|
|
|
no_exit_on_failure = true
|
|
|
}
|
|
|
+```
|
|
|
|
|
|
|
|
|
- migrate packer salt states
|
|
@@ -37,7 +39,7 @@ packer/scripts/salt-virtualenv-minion.sh
|
|
|
|
|
|
Packer gets us 50% to CIS and salt fine tunes and gets us to 100% and it is ok that they are duplicated because salt is the final say.
|
|
|
|
|
|
- Both AWS and Vmware are usign the masterless salt.
|
|
|
+ Both AWS and Vmware are using the masterless salt.
|
|
|
|
|
|
|
|
|
|
|
@@ -82,29 +84,29 @@ salt/fileroots/os_modifications/auditd.sls
|
|
|
salt vault-1* state.sls os_modifications.sshd_config saltenv=feature/bp_MSOCI-1676_cis_audit test=true
|
|
|
salt/fileroots/os_modifications/sshd_config.sls
|
|
|
|
|
|
-TODO
|
|
|
-salt/fileroots/os_modifications/journald.sls
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
|
|
|
+```
|
|
|
|
|
|
+# TODO
|
|
|
+Add new files to init.sls
|
|
|
+salt/fileroots/os_modifications/journald.sls
|
|
|
+Fix the auditd in this file:
|
|
|
+salt/fileroots/docker/init.sls
|
|
|
|
|
|
+create internal DNS entries for these in test and prod so they will show up in Nessus.
|
|
|
+10.20.32.59 customer-portal
|
|
|
+10.20.16.86 moose-splunk-indexer-0
|
|
|
+10.20.16.237 moose-splunk-indexer-1
|
|
|
+10.20.17.42 moose-splunk-indexer-2
|
|
|
+10.20.32.84 customer-portal
|
|
|
+10.20.0.25 sensu
|
|
|
|
|
|
|
|
|
-```
|
|
|
|
|
|
|
|
|
|
|
|
+# Audit Controls and Exceptions
|
|
|
|
|
|
-########################
|
|
|
-#
|
|
|
-# Check Audit and Exceptions?
|
|
|
-#
|
|
|
-#########################
|
|
|
|
|
|
Control ID: 1073
|
|
|
Statement: Status of the 'Maximum Password Age' setting (expiration) / Accounts having the 'password never expires' flag set
|