I’ve hit a wall trying to use the AWS SecurityHub cmdlet Get-SHUBFinding. I’m trying to apply the filter option (AWSSecurityFindingsFilter) but cannot figure out how to form it. For example, if I wanted to filter the SeverityLabel value(s) to Critical and High…how?
eg - Get-SHUBFinding -Filter <What-Does-This-Look-Like>
By default, the query return everything which is currently over 100k records which is a heavier than I need to sift through. I’ve reviewed the documentation and scoured the web, but cannot find a single practical example of how to use this. I’ve even resorted to the Contact Owners link in the PowerShell Gallery but received no response.
Can anyone provide a practical example on how to use the Filter option?
Thank you in advance,