Yes, see Suricata rule category "policy" blocks yum - #2 by fasttech
It’s not a good idea to block everything, here is a good configuration to start with:
or a more restrictive one: