rancherfederal / rke2-ansible

RKE2 cluster provisioning via Ansible.
Apache License 2.0
232 stars 129 forks source link

Secure files that get generated via ansible #243

Open aleiner opened 5 months ago

aleiner commented 5 months ago

https://www.stigviewer.com/stig/rancher_government_solutions_rke2/2022-10-13/finding/V-254564

aleiner commented 5 months ago

Currently don't pass the following:

  1. Ensure correct permissions of each file in /var/lib/rancher/rke2/data cd /var/lib/rancher/rke2/data ls -l

all owners are root:root all files are 0640

  1. Ensure correct permissions of /var/lib/rancher/rke2/server cd /var/lib/rancher/rke2/server ls -l

The following directories are set to 0750 manifests logs