public class Normalized extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Normalized.StatusTag
Status tags is used to track processing state, for example if an event needs additional
analysis after the parsing step
|
static class |
Normalized.Type
Normalized event types
|
Modifier and Type | Method and Description |
---|---|
void |
addStatusTag(Normalized.StatusTag st)
Add a StatusTag to a normalized event
|
void |
addType(Normalized.Type t)
Add a type flag to normalized type
|
Integer |
eventIntegerValue(EventFilterPayload.IntegerProperty property)
Return a given normalized payload field based on the supplied field identifier
|
String |
eventStringValue(EventFilterPayload.StringProperty property)
Return a given normalized payload field based on the supplied field identifier
|
String |
getObject()
Get object field
|
String |
getReferenceID()
Get the reference ID (identifier from the event source)
|
String |
getRequestMethod()
Get request method field
|
Integer |
getRequestStatus()
Get request status
|
String |
getRequestUrl()
Get request URL field
|
String |
getSourceAddress()
Get source address field
|
Integer |
getSourceAddressAsn()
Get source address ASN
|
String |
getSourceAddressAsOrg()
Get source address AS organization
|
String |
getSourceAddressCity()
Get source address city field
|
String |
getSourceAddressCountry()
Get source address country field
|
Boolean |
getSourceAddressIsAnonymous()
Get source address isanonymous
|
Boolean |
getSourceAddressIsAnonymousVpn()
Get source address isanonymousvpn
|
Boolean |
getSourceAddressIsHostingProvider()
Get source address ishostingprovider
|
Boolean |
getSourceAddressIsLegitimateProxy()
Get source address islegitimateproxy
|
String |
getSourceAddressIsp()
Get source address ISP
|
Boolean |
getSourceAddressIsPublicProxy()
Get source address ispublicproxy
|
Boolean |
getSourceAddressIsTorExitNode()
Get source address istorexitnode
|
Double |
getSourceAddressLatitude()
Get source address latitude
|
Double |
getSourceAddressLongitude()
Get source address longitude
|
Double |
getSourceAddressRiskScore()
Get source address risks core from minfraud
|
String |
getSourceAddressTimeZone()
Get source address time zone field
|
String |
getSubjectUser()
Get subject user field
|
String |
getSubjectUserIdentity()
Get subject user identity field
|
String |
getUrlRequestHost()
Get extracted URL request host component
|
String |
getUrlRequestPath()
Get extracted URL request path field
|
String |
getUserAgent()
Get user agent
|
Boolean |
hasStatusTag(Normalized.StatusTag st)
Test if normalized event has a given StatusTag
|
boolean |
insightsEnrichment(Minfraud mf)
Include details from Minfraud Insights into Normalized
|
Boolean |
isOfType(Normalized.Type t)
Test if normalized event is of a given type
|
void |
setObject(String object)
Set object field
|
void |
setReferenceID(String referenceID) |
void |
setRequestMethod(String requestMethod)
Set request method field
|
void |
setRequestStatus(Integer requestStatus)
Set request status
|
void |
setRequestUrl(String requestUrl)
Set request URL field
|
void |
setSourceAddress(String addr)
Set source address field
|
void |
setSourceAddress(String addr,
com.mozilla.secops.parser.ParserState state)
Set source address field
|
void |
setStatusTag(Normalized.StatusTag st)
Set normalized status tag
|
void |
setSubjectUser(String user)
Set subject user field
|
void |
setSubjectUserIdentity(String subjectUserIdentity)
Set subject user identity field
|
void |
setType(Normalized.Type t)
Set normalized data type
|
void |
setUrlRequestHost(String urlRequestHost)
Set extracted URL request host field
|
void |
setUrlRequestPath(String urlRequestPath)
Set extracted URL request path field
|
void |
setUserAgent(String userAgent)
Set user agent
|
public String eventStringValue(EventFilterPayload.StringProperty property)
property
- EventFilterPayload.StringProperty
public Integer eventIntegerValue(EventFilterPayload.IntegerProperty property)
property
- EventFilterPayload.IntegerProperty
public Boolean isOfType(Normalized.Type t)
t
- Normalized.Type
public void addType(Normalized.Type t)
t
- Normalized.Type
public void setType(Normalized.Type t)
t
- Normalized.Type
public Boolean hasStatusTag(Normalized.StatusTag st)
st
- Normalized.StatusTag
public void addStatusTag(Normalized.StatusTag st)
st
- Normalized.StatusTag
public void setStatusTag(Normalized.StatusTag st)
st
- Normalized.StatusTag
public void setSubjectUser(String user)
user
- Usernamepublic void setSourceAddress(String addr, com.mozilla.secops.parser.ParserState state)
addr
- Source addressstate
- Parser statepublic void setSourceAddress(String addr)
addr
- Source addresspublic void setObject(String object)
object
- Object being authenticated topublic String getSubjectUser()
public String getSubjectUserIdentity()
public void setSubjectUserIdentity(String subjectUserIdentity)
subjectUserIdentity
- Resolved identity valuepublic String getSourceAddress()
public String getObject()
public String getSourceAddressCity()
public String getSourceAddressCountry()
public String getSourceAddressTimeZone()
public Double getSourceAddressLatitude()
public Double getSourceAddressLongitude()
public String getSourceAddressIsp()
public Integer getSourceAddressAsn()
public String getSourceAddressAsOrg()
public Double getSourceAddressRiskScore()
public Boolean getSourceAddressIsAnonymous()
public Boolean getSourceAddressIsAnonymousVpn()
public Boolean getSourceAddressIsHostingProvider()
public Boolean getSourceAddressIsLegitimateProxy()
public Boolean getSourceAddressIsPublicProxy()
public Boolean getSourceAddressIsTorExitNode()
public String getRequestMethod()
public void setRequestMethod(String requestMethod)
requestMethod
- Request methodpublic String getRequestUrl()
public void setRequestUrl(String requestUrl)
requestUrl
- Request URLpublic String getUrlRequestPath()
public void setUrlRequestPath(String urlRequestPath)
urlRequestPath
- Extracted request pathpublic String getUrlRequestHost()
public void setUrlRequestHost(String urlRequestHost)
urlRequestHost
- Extracted request hostpublic Integer getRequestStatus()
public void setRequestStatus(Integer requestStatus)
requestStatus
- Request statuspublic String getUserAgent()
public void setUserAgent(String userAgent)
userAgent
- User agentpublic String getReferenceID()
public void setReferenceID(String referenceID)
public boolean insightsEnrichment(Minfraud mf)
Will do nothing if sourceAddress is null
mf
- Minfraud clientCopyright © 2022. All rights reserved.