What does Nextcloud security scan actually do

When the Nextcloud security scan is run, what does it actually do?

Also, I noticed in my logs on a couple of days (around about when I was installing nextcloud) I saw a lot of hits from a couple if IP’s. I use VPN (which connects to the best server at the time) so not sure what IP’s I use but wondering if a whole bunch of hits may have been me running the security scan a few times?

you will find the answer, if you run a scan, every tested step will be explained with the result.