public class GuardDutyFindingMatcher extends Object implements Serializable
GuardDutyFindingMatcher is used for matching against Guardduty findings, used by GatekeeperPipeline to bucket findings into different categories| Constructor and Description |
|---|
GuardDutyFindingMatcher() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(com.amazonaws.services.guardduty.model.Finding f)
Checks if a Finding matches this matcher.
|
void |
setAccountId(String accountId)
Set the account id to match against
|
void |
setAwsTags(Map<String,String> awsTags)
Set the aws tags to match against
|
void |
setDomainName(String domainName)
Set the domain name to match against within the finding
|
void |
setFindingType(String findingType)
Set the finding type to match against
|
public void setFindingType(String findingType)
findingType - finding type string (regex supported)public void setAwsTags(Map<String,String> awsTags)
awsTags - map of tags to match against, values support regex.public void setAccountId(String accountId)
accountId - aws account id stringpublic void setDomainName(String domainName)
domainName - domain stringpublic boolean matches(com.amazonaws.services.guardduty.model.Finding f)
f - Guardduty FindingCopyright © 2022. All rights reserved.