aboutsummaryrefslogtreecommitdiff
path: root/schema/basic_event_schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'schema/basic_event_schema.json')
-rw-r--r--schema/basic_event_schema.json82
1 files changed, 82 insertions, 0 deletions
diff --git a/schema/basic_event_schema.json b/schema/basic_event_schema.json
new file mode 100644
index 000000000..626602ad2
--- /dev/null
+++ b/schema/basic_event_schema.json
@@ -0,0 +1,82 @@
+{
+ "type": "object",
+ "required": [
+ "alias",
+ "source",
+ "thread_id",
+ "packet_id",
+ "basic_event_id",
+ "basic_event_name"
+ ],
+ "properties": {
+ "alias": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "thread_id": {
+ "type": "number"
+ },
+ "packet_id": {
+ "type": "number"
+ },
+ "basic_event_id": {
+ "type": "number",
+ "minimum": 0,
+ "maximum": 16
+ },
+ "basic_event_name": {
+ "type": "string"
+ },
+ "datalink": {
+ "type": "number",
+ "minimum": 0,
+ "maximum": 265
+ },
+ "header": {
+ "type": "number"
+ },
+ "type": {
+ "type": "number",
+ "minimum": 0,
+ "maximum": 65535
+ },
+ "protocol": {
+ "type": "number",
+ "minimum": 0,
+ "maximum": 65535
+ },
+ "caplen": {
+ "type": "number"
+ },
+ "len": {
+ "type": "number"
+ },
+ "ip_size": {
+ "type": "number"
+ },
+ "expected": {
+ "type": "number"
+ },
+ "l4_data_len": {
+ "type": "number"
+ },
+ "header_len": {
+ "type": "number"
+ },
+ "size": {
+ "type": "number"
+ },
+ "current_active": {
+ "type": "number"
+ },
+ "current_idle": {
+ "type": "number"
+ },
+ "max_active": {
+ "type": "number"
+ }
+ },
+ "additionalProperties": false
+}