mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix typos and formatting in the intel framework docs
This commit is contained in:
parent
e2c5a5c4a5
commit
ff15e0832f
3 changed files with 26 additions and 23 deletions
|
@ -1,5 +1,5 @@
|
||||||
##! Cluster transparency support for the intelligence framework. This is mostly oriented
|
##! Cluster transparency support for the intelligence framework. This is mostly
|
||||||
##! toward distributing intelligence information across clusters.
|
##! oriented toward distributing intelligence information across clusters.
|
||||||
|
|
||||||
@load base/frameworks/cluster
|
@load base/frameworks/cluster
|
||||||
@load ./input
|
@load ./input
|
||||||
|
|
|
@ -4,7 +4,7 @@ module Intel;
|
||||||
|
|
||||||
export {
|
export {
|
||||||
## Intelligence files that will be read off disk. The files are
|
## Intelligence files that will be read off disk. The files are
|
||||||
## reread everytime they are updated so updates much be atomic with
|
## reread every time they are updated so updates must be atomic with
|
||||||
## "mv" instead of writing the file in place.
|
## "mv" instead of writing the file in place.
|
||||||
const read_files: set[string] = {} &redef;
|
const read_files: set[string] = {} &redef;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
##! The intelligence framework provides a way to store and query IP addresses,
|
##! The intelligence framework provides a way to store and query IP addresses,
|
||||||
##! and strings (with a str_type). Metadata can
|
##! and strings (with a str_type). Metadata can
|
||||||
##! also be associated with the intelligence like for making more informed
|
##! also be associated with the intelligence, like for making more informed
|
||||||
##! decisions about matching and handling of intelligence.
|
##! decisions about matching and handling of intelligence.
|
||||||
|
|
||||||
@load base/frameworks/notice
|
@load base/frameworks/notice
|
||||||
|
@ -14,7 +14,7 @@ export {
|
||||||
type Type: enum {
|
type Type: enum {
|
||||||
## An IP address.
|
## An IP address.
|
||||||
ADDR,
|
ADDR,
|
||||||
## A complete URL without the prefix "http://".
|
## A complete URL without the prefix ``"http://"``.
|
||||||
URL,
|
URL,
|
||||||
## Software name.
|
## Software name.
|
||||||
SOFTWARE,
|
SOFTWARE,
|
||||||
|
@ -24,21 +24,22 @@ export {
|
||||||
DOMAIN,
|
DOMAIN,
|
||||||
## A user name.
|
## A user name.
|
||||||
USER_NAME,
|
USER_NAME,
|
||||||
## File hash which is non-hash type specific. It's up to the user to query
|
## File hash which is non-hash type specific. It's up to the
|
||||||
## for any relevant hash types.
|
## user to query for any relevant hash types.
|
||||||
FILE_HASH,
|
FILE_HASH,
|
||||||
## File names. Typically with protocols with definite indications
|
## File name. Typically with protocols with definite
|
||||||
## of a file name.
|
## indications of a file name.
|
||||||
FILE_NAME,
|
FILE_NAME,
|
||||||
## Certificate SHA-1 hash.
|
## Certificate SHA-1 hash.
|
||||||
CERT_HASH,
|
CERT_HASH,
|
||||||
};
|
};
|
||||||
|
|
||||||
## Data about an :bro:type:`Intel::Item`
|
## Data about an :bro:type:`Intel::Item`.
|
||||||
type MetaData: record {
|
type MetaData: record {
|
||||||
## An arbitrary string value representing the data source. Typically,
|
## An arbitrary string value representing the data source.
|
||||||
## the convention for this field will be the source name and feed name
|
## Typically, the convention for this field will be the source
|
||||||
## separated by a hyphen. For example: "source1-c&c".
|
## name and feed name separated by a hyphen.
|
||||||
|
## For example: "source1-c&c".
|
||||||
source: string;
|
source: string;
|
||||||
## A freeform description for the data.
|
## A freeform description for the data.
|
||||||
desc: string &optional;
|
desc: string &optional;
|
||||||
|
@ -81,7 +82,7 @@ export {
|
||||||
where: Where &log;
|
where: Where &log;
|
||||||
|
|
||||||
## If the data was discovered within a connection, the
|
## If the data was discovered within a connection, the
|
||||||
## connection record should go into get to give context to the data.
|
## connection record should go here to give context to the data.
|
||||||
conn: connection &optional;
|
conn: connection &optional;
|
||||||
|
|
||||||
## If the data was discovered within a file, the file record
|
## If the data was discovered within a file, the file record
|
||||||
|
@ -106,10 +107,12 @@ export {
|
||||||
## this is the uid for the file.
|
## this is the uid for the file.
|
||||||
fuid: string &log &optional;
|
fuid: string &log &optional;
|
||||||
## A mime type if the intelligence hit is related to a file.
|
## A mime type if the intelligence hit is related to a file.
|
||||||
## If the $f field is provided this will be automatically filled out.
|
## If the $f field is provided this will be automatically filled
|
||||||
|
## out.
|
||||||
file_mime_type: string &log &optional;
|
file_mime_type: string &log &optional;
|
||||||
## Frequently files can be "described" to give a bit more context.
|
## Frequently files can be "described" to give a bit more context.
|
||||||
## If the $f field is provided this field will be automatically filled out.
|
## If the $f field is provided this field will be automatically
|
||||||
|
## filled out.
|
||||||
file_desc: string &log &optional;
|
file_desc: string &log &optional;
|
||||||
|
|
||||||
## Where the data was seen.
|
## Where the data was seen.
|
||||||
|
@ -125,13 +128,13 @@ export {
|
||||||
## it against known intelligence for matches.
|
## it against known intelligence for matches.
|
||||||
global seen: function(s: Seen);
|
global seen: function(s: Seen);
|
||||||
|
|
||||||
## Event to represent a match in the intelligence data from data that was seen.
|
## Event to represent a match in the intelligence data from data that
|
||||||
## On clusters there is no assurance as to where this event will be generated
|
## was seen. On clusters there is no assurance as to where this event
|
||||||
## so do not assume that arbitrary global state beyond the given data
|
## will be generated so do not assume that arbitrary global state beyond
|
||||||
## will be available.
|
## the given data will be available.
|
||||||
##
|
##
|
||||||
## This is the primary mechanism where a user will take actions based on data
|
## This is the primary mechanism where a user will take actions based on
|
||||||
## within the intelligence framework.
|
## data within the intelligence framework.
|
||||||
global match: event(s: Seen, items: set[Item]);
|
global match: event(s: Seen, items: set[Item]);
|
||||||
|
|
||||||
global log_intel: event(rec: Info);
|
global log_intel: event(rec: Info);
|
||||||
|
@ -140,7 +143,7 @@ export {
|
||||||
# Internal handler for matches with no metadata available.
|
# Internal handler for matches with no metadata available.
|
||||||
global match_no_items: event(s: Seen);
|
global match_no_items: event(s: Seen);
|
||||||
|
|
||||||
# Internal events for cluster data distribution
|
# Internal events for cluster data distribution.
|
||||||
global new_item: event(item: Item);
|
global new_item: event(item: Item);
|
||||||
global updated_item: event(item: Item);
|
global updated_item: event(item: Item);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue