Tried many different ways to resolve this issue on an Ubuntu 22.04.3 server:
“The umask value was found to be 0022 but was expected to be 0077”
… including editing and setting umask in the following files:
/etc/bashrc
/etc/profile
/etc/login.defs
/root/.bashrc
/root/.profile
When root creates a new file the permissions are correct: -rw------- but Rapid 7 still seems to think the umask is 022
How is Rapid 7 determining the umask value when it does a scan?