Please check that the directory below has standard permissions of 0755:
~/wp-content
Now check that the directory below has permissions of 0755 or 0775, since some hosting providers depend on the server group being able to write the firewall files rather than the file owner:
~/wp-content/wflogs
If the permissions are correct then typically this situation will occur if the user/group owner is different on the Wordfence wflogs directory than the user WordPress is running as on your site.
If you check on the Diagnostics tab on the Wordfence Tools page, you’ll see a section there called PHP Environment and in there a Process Owner will be specified. Make a note of the Process Owner.
You may need to ask Cloudways for assistance for the next part.
If you click on the wflogs directory in an FTP client you may be able to see an owner that has user/group ownership for the wflogs directory. You may see numbers instead of the Process Owner shown on your Wordfence Diagnostics page. This doesn’t mean that the ownership is incorrect. If that happens then you can login to the server via a SSH (secure shell) command line utility. Check that the owner for the user/group is the same as the Process Owner from your Wordfence Diagnostics page.
If they are different then Wordfence can’t read and write correctly to the wflogs directory. This can occur if there is a server side cron job on the server that is set up to trigger wp-cron.php (WordPress scheduled tasks) via PHP. If this is the case, that server side cron job can be changed to run via cURL or WGET instead of directly via PHP. This will make WordPress cron run more like it was intended by WordPress developers, and it will prevent the wflogs directory files from getting the wrong “user/group” ownership.
If WordPress cron jobs are not being run via a server cron job then it appears that there are problems either with file and / or directory permissions or ownership and Cloudways will need to fix that for you.