public class EndpointAbuseAnalysis extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<String,ArrayList<String>>>,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 |
EndpointAbuseAnalysis.EndpointAbuseEndpointInfo
Internal class for configured endpoints in EPA
|
static class |
EndpointAbuseAnalysis.EndpointAbuseState
Internal class for endpoint abuse state
|
Constructor and Description |
---|
EndpointAbuseAnalysis(HTTPRequestToggles toggles,
Boolean enableIprepdDatastoreExemptions,
String iprepdDatastoreExemptionsProject)
Static initializer for
EndpointAbuseAnalysis |
Modifier and Type | Method and Description |
---|---|
org.apache.beam.sdk.values.PCollection<Alert> |
expand(org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<String,ArrayList<String>>> input) |
String |
getTransformDoc()
Get documentation string from transform based on it's current configuration
|
public EndpointAbuseAnalysis(HTTPRequestToggles toggles, Boolean enableIprepdDatastoreExemptions, String iprepdDatastoreExemptionsProject)
EndpointAbuseAnalysis
toggles
- HTTPRequestToggles
enableIprepdDatastoreExemptions
- True to enable datastore exemptionsiprepdDatastoreExemptionsProject
- Project to look for datastore entities inpublic String getTransformDoc()
getTransformDoc
in interface DocumentingTransform
Copyright © 2022. All rights reserved.