public class FxaAccountAbuseAlias extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<Event>,org.apache.beam.sdk.values.PCollection<Alert>> implements DocumentingTransform
A session gap duration of 120 minutes is used with early firings every 60 seconds. Within the window accounts in use are normalized and grouped together using the normalized value as a key. If the number of in-use aliases for a given account exceeds the configured value, and alert is generated.
Constructor and Description |
---|
FxaAccountAbuseAlias(String monitoredResource,
Integer suppressRecovery,
Integer maxAliases)
Create new FxaAccountAbuseAlias
|
Modifier and Type | Method and Description |
---|---|
org.apache.beam.sdk.values.PCollection<Alert> |
expand(org.apache.beam.sdk.values.PCollection<Event> col) |
String |
getTransformDoc()
Get documentation string from transform based on it's current configuration
|
public FxaAccountAbuseAlias(String monitoredResource, Integer suppressRecovery, Integer maxAliases)
monitoredResource
- Monitored resource indicatorsuppressRecovery
- Optional recovery suppression for abusive accountsmaxAliases
- Maximum number of permitted aliases for one account in a given sessionpublic String getTransformDoc()
getTransformDoc
in interface DocumentingTransform
Copyright © 2022. All rights reserved.