Currently Sophos SG210 connects to AD and based on AD group there are levels (policy) of access.
1 level - has a list of web sites.
2 level - all except gambling,social,alcohol,guns and other categories.
3 level - full access.
End - If not in the AD group no internet access.
Now adays you would do the webfiltering on the device it self, as it much easier - no ssl certificate to install. plus you protect the machine when not connected to the office network
You can maybe do this in OPNsense with the Zenarmor (probably paid version) optional tool installed:
I haven’t messed with this at all, so big maybe that it does what you want, and may only do it part of the time because of encrypted DNS.
You might have better luck running Zenarmor on Linux as a proxy for your internet and setting this up, but again, not attempted so I’m kind of guessing here.
The squid project is full of security issues and has been deprecated. Managing web traffic at the endpoint is a much better solution that doing it via the firewall.
The issue isn’t that they are not updating Squid at all, it’s that they don’t have enough time to fix all the security issues. Also managing squid has never been easy and is a very labor intensive system to maintain.