- Print
- DarkLight
Article Summary
Share feedback
Thanks for sharing your feedback!
Format
Lookups are dictionaries/maps/key-value-pairs where the key is a string. The lookup can then be queried by various parts of LimaCharlie (like D&R rules). The value component of a lookup must be a dictionary and represents metadata associated with the given key, which will be returned to the rule using the lookup.
Lookup data can be ingested by specifying one of the following root keys indicating the format of the lookupd data:
lookup_data
: represented direct as parsed JSON.newline_content
: a string where each key is separated by a newline, LimaCharlie will assume the metadata is empty.yaml_content
: a string in YAML format that contains a dictionary with the string keys and dictionary metadata like thelookup_data
.
Permissions
lookup.get
lookup.set
lookup.del
lookup.get.mtd
lookup.set.mtd
Command-Line Usage
Usage
Example
{
"lookup_data": {
"c:\\windows\\system32\\ping.exe": {
"mtd1": "known_bin",
"mtd2": 4
},
"c:\\windows\\system32\\ping.exe": {
"mtd1": "good_val",
"mtd2": 10
}
}
}
or
{
"newline_content": "lvalue1\nlvalue2\nlvalue3"
}
Was this article helpful?