public class CfgTick extends PayloadBase implements Serializable
Constructor and Description |
---|
CfgTick()
Construct matcher object.
|
CfgTick(String input,
Event e,
com.mozilla.secops.parser.ParserState state)
Construct parser object.
|
Modifier and Type | Method and Description |
---|---|
static HashMap<String,String> |
flattenObjectMapToStringMap(Map<String,Object> in)
Convert a map of type String, Object into a map of type String, String
|
Map<String,String> |
getConfigurationMap()
Get configuration map
|
Payload.PayloadType |
getType()
Get payload type.
|
Boolean |
matcher(String input,
com.mozilla.secops.parser.ParserState state)
Apply matcher.
|
eventIntegerValue, eventStringValue
public Boolean matcher(String input, com.mozilla.secops.parser.ParserState state)
PayloadBase
matcher
in class PayloadBase
input
- Input string.state
- ParserStatepublic Map<String,String> getConfigurationMap()
public Payload.PayloadType getType()
PayloadBase
getType
in class PayloadBase
Payload.PayloadType
public static HashMap<String,String> flattenObjectMapToStringMap(Map<String,Object> in) throws IOException
Any arrays that are present in the input are flattened into a root level value with each element delimited by a comma.
This is a local implementation that has support for basic types that are expected to be seen in pipeline options and is likely not suitable for more general use.
in
- Input mapIOException
- IOExceptionCopyright © 2022. All rights reserved.