public class PrivateRelayForward extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<Event>,org.apache.beam.sdk.values.PCollection<Alert>>
This transform will analyze private relay forward notifications in addition to FxA RP callbacks indicating a change of the account email address. This information is used to populate a state cache that maps the UID to a hashed version of the forwarding address.
If a forwarding event is observed that shows a hashed real address that differs from the one the system knows about for a given UID, an alert will be generated.
Modifier and Type | Class and Description |
---|---|
static class |
PrivateRelayForward.PrivateRelayForwardState
PrivateRelayForwardState describes the format of individual state entries
|
Modifier and Type | Field and Description |
---|---|
static String |
DATASTORE_KIND
Datastore kind for state
|
static String |
DATASTORE_NAMESPACE
Datastore namespace for state
|
static String |
EXPERIMENTAL_TAG |
Constructor and Description |
---|
PrivateRelayForward(Customs.CustomsOptions options)
Initialize new PrivateRelayForward
|
Modifier and Type | Method and Description |
---|---|
org.apache.beam.sdk.values.PCollection<Alert> |
expand(org.apache.beam.sdk.values.PCollection<Event> col) |
default String |
getTransformDoc()
Get documentation string from transform based on it's current configuration
|
String |
getTransformDocDescription()
Get documentation description from transform based on it's current configuration
|
boolean |
isExperimental()
Get whether the transform is experimental and won't be escalated
|
public static final String DATASTORE_NAMESPACE
public static final String DATASTORE_KIND
public static final String EXPERIMENTAL_TAG
public PrivateRelayForward(Customs.CustomsOptions options)
options
- Pipeline optionspublic String getTransformDocDescription()
public org.apache.beam.sdk.values.PCollection<Alert> expand(org.apache.beam.sdk.values.PCollection<Event> col)
public boolean isExperimental()
public String getTransformDoc()
DocumentingTransform
getTransformDoc
in interface DocumentingTransform
Copyright © 2022. All rights reserved.