I am trying to generate a 'Count' query to be used in a Widget for a Dashboard. I am looking to generate a count of vulnerabilities based off of the Operating System Tag.
The query I have tried is
vulnerabilities:((vulnerability.severity:4 or vulnerability.severity:5) AND tags.name:Windows Server
Windows Server is the parent tag of a few additional tags that match regex of Windows Servers.
The query pulls a count of the devices, instead I am looking to pull a count of the vulnerabilities.