public class Cloudtrail extends SourcePayloadBase implements Serializable
Constructor and Description |
---|
Cloudtrail()
Construct matcher object.
|
Cloudtrail(String input,
Event e,
com.mozilla.secops.parser.ParserState state)
Construct parser object.
|
Modifier and Type | Method and Description |
---|---|
String |
eventStringValue(EventFilterPayload.StringProperty property)
Return a given String payload field value based on the supplied field identifier
|
String |
getEventID()
Returns the event id of the cloudtrail event
|
String |
getResource(String resource)
Utility method for returning the resource the event was acting on, used for adding context to
an
Alert . |
String |
getSharedEventID()
Returns the shared event id of the cloudtrail event
|
Payload.PayloadType |
getType()
Get payload type.
|
String |
getUser()
Get username
|
Boolean |
matcher(String input,
com.mozilla.secops.parser.ParserState state)
Apply matcher.
|
getSourceAddress, getSourceAddressAsn, getSourceAddressAsOrg, getSourceAddressCity, getSourceAddressCountry, getSourceAddressIsp, getSourceAddressLatitude, getSourceAddressLongitude, getSourceAddressTimeZone, setSourceAddress, setSourceAddress
eventIntegerValue
public Boolean matcher(String input, com.mozilla.secops.parser.ParserState state)
PayloadBase
matcher
in class PayloadBase
input
- Input string.state
- ParserStatepublic Payload.PayloadType getType()
PayloadBase
getType
in class PayloadBase
Payload.PayloadType
public String getUser()
public String eventStringValue(EventFilterPayload.StringProperty property)
PayloadBase
eventStringValue
in class PayloadBase
property
- EventFilterPayload.StringProperty
public String getSharedEventID()
public String getEventID()
Copyright © 2022. All rights reserved.