public class CefOperator extends Object
Tuple tuple;
cef().on("CEF:0|security|threatmanager|1.0|100|worm successfully stopped|10|src=10.0.0.1 dst=2.1.2.2 spt=1232")
.into(tuple);
print(tuple);
produces
{
"SignatureId": "100",
"Extension": {
"dst": "2.1.2.2",
"src": "10.0.0.1",
"spt": "1232"
},
"DeviceProduct": "threatmanager",
"Severity": "10",
"DeviceVersion": "1.0",
"DeviceVendor": "security",
"Name": "worm successfully stopped"
}
Constructor and Description |
---|
CefOperator()
Create a CefOperator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
into(Tuple tuple)
Fire the operator and put the result inside a destination tuple
|
CefOperator |
on(String input)
Make the operator work on an input String
|
CefOperator |
on(Tuple input)
Make the operator work on an input Tuple.
|
public CefOperator on(String input)
input
- the input Stringpublic CefOperator on(Tuple input)
input
- the input Tuplepublic boolean into(Tuple tuple)
tuple
- the destination tupleCopyright © 2023. All rights reserved.