public class AddonMultiMatch extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<Event>,org.apache.beam.sdk.values.PCollection<Alert>> implements DocumentingTransform
Detection operates on fixed windows of 10 minutes long. If the number of clients seen uploading a file with the exact same file hash exceeds the configured value within the fixed window, an alert is generated.
Constructor and Description |
---|
AddonMultiMatch(String monitoredResource,
Integer suppressRecovery,
Integer matchAlertOn)
Construct new AddonMultiMatch
|
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 AddonMultiMatch(String monitoredResource, Integer suppressRecovery, Integer matchAlertOn)
monitoredResource
- Monitored resource indicatorsuppressRecovery
- Optional recovery suppression to include with alerts in secondsmatchAlertOn
- Number of submissions of the same file hash to trigger alertpublic String getTransformDoc()
getTransformDoc
in interface DocumentingTransform
Copyright © 2022. All rights reserved.