public class EndpointSequenceAbuse extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<Event>,org.apache.beam.sdk.values.PCollection<Alert>> implements DocumentingTransform
Generates alerts where the request profile violates path thresholds specified in the endpointAbusePath pipeline option configuration.
Modifier and Type | Class and Description |
---|---|
static class |
EndpointSequenceAbuse.EndpointSequenceAbuseTimingInfo
Internal class for configured endpoints in EPA
|
Constructor and Description |
---|
EndpointSequenceAbuse(HTTPRequestToggles toggles,
Boolean enableIprepdDatastoreExemptions,
String iprepdDatastoreExemptionsProject,
org.apache.beam.sdk.values.PCollectionView<Map<String,Boolean>> natView)
Static initializer for
EndpointAbuseAnalysis |
Modifier and Type | Method and Description |
---|---|
org.apache.beam.sdk.values.PCollection<Alert> |
expand(org.apache.beam.sdk.values.PCollection<Event> input) |
String |
getTransformDoc()
Get documentation string from transform based on it's current configuration
|
public EndpointSequenceAbuse(HTTPRequestToggles toggles, Boolean enableIprepdDatastoreExemptions, String iprepdDatastoreExemptionsProject, org.apache.beam.sdk.values.PCollectionView<Map<String,Boolean>> natView)
EndpointAbuseAnalysis
toggles
- HTTPRequestToggles
enableIprepdDatastoreExemptions
- True to enable datastore exemptionsiprepdDatastoreExemptionsProject
- Project to look for datastore entities innatView
- Use DetectNat
view, or null to disablepublic String getTransformDoc()
getTransformDoc
in interface DocumentingTransform
Copyright © 2022. All rights reserved.