The step returns a map with these keys:
scanId: the id of the scanstate: how the scan ended, for example COMPLETED or PARTIALopen: open findings in the scanned categories that the build may seehigh: how many of those have high severitycreated: findings this scan found for the first timeresolved: findings this scan found to be resolveddef result = hygieneScan(categories: ['CREDENTIALS', 'JOBS'])
echo "${result.open} open, ${result.high} high severity"