Runs a Hygiene Auditor scan, waits for it to finish and returns the counts. The scan is read-only: nothing is changed or deleted. The build needs the Hygiene Auditor Scan permission.

The step returns a map with these keys:

Only counts are returned, never the findings themselves.
def result = hygieneScan(categories: ['CREDENTIALS', 'JOBS'])
echo "${result.open} open, ${result.high} high severity"