Block project w.r.t to security hotspot

my project is blocking w.r.t bug,vulnerability and code smell. how to add security hotspot count to that.
I am using sonar 7.7 verson


You’ll need to upgrade to the latest version. Security Hotspot metrics weren’t available IIRC in 7.7. Jump on up to 8.6, released earlier this week, and you’ll be good to go.