Skip to content

Commit

Permalink
Reformat yaml
Browse files Browse the repository at this point in the history
- mage check changes
  • Loading branch information
leehinman committed Sep 18, 2020
1 parent 2a0ed63 commit 36c7a2f
Show file tree
Hide file tree
Showing 194 changed files with 3,355 additions and 3,405 deletions.
1 change: 0 additions & 1 deletion packages/zeek/dataset/capture_loss/fields/beats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
- description: Unique container id.
ignore_above: 1024
name: container.id
Expand Down
1 change: 0 additions & 1 deletion packages/zeek/dataset/capture_loss/fields/ecs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
- description: ECS version this event conforms to.
example: 1.0.0
ignore_above: 1024
Expand Down
40 changes: 20 additions & 20 deletions packages/zeek/dataset/capture_loss/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
- name: zeek.capture_loss
type: group
fields:
- name: ts_delta
type: integer
description: |
The time delay between this measurement and the last.
- name: peer
type: keyword
description: |
In the event that there are multiple Bro instances logging to the same host, this distinguishes each peer with its individual name.
- name: gaps
type: integer
description: |
Number of missed ACKs from the previous measurement interval.
- name: acks
type: integer
description: |
Total number of ACKs seen in the previous measurement interval.
- name: percent_lost
type: double
description: |
Percentage of ACKs seen where the data being ACKed wasn't seen.
- name: ts_delta
type: integer
description: |
The time delay between this measurement and the last.
- name: peer
type: keyword
description: |
In the event that there are multiple Bro instances logging to the same host, this distinguishes each peer with its individual name.
- name: gaps
type: integer
description: |
Number of missed ACKs from the previous measurement interval.
- name: acks
type: integer
description: |
Total number of ACKs seen in the previous measurement interval.
- name: percent_lost
type: double
description: |
Percentage of ACKs seen where the data being ACKed wasn't seen.
8 changes: 4 additions & 4 deletions packages/zeek/dataset/capture_loss/fields/package-fields.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- name: zeek
type: group
fields:
- name: session_id
type: keyword
description: |
A unique identifier of the session
- name: session_id
type: keyword
description: |
A unique identifier of the session
42 changes: 21 additions & 21 deletions packages/zeek/dataset/capture_loss/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ type: logs
title: Zeek capture_loss logs
release: experimental
streams:
- input: logfile
vars:
- name: paths
type: text
title: capture_loss.log paths
multi: true
required: true
show_user: true
default:
- /var/log/bro/current/capture_loss.log
- name: tags
type: text
title: Tags
multi: true
required: true
show_user: true
default:
- zeek.capture_loss
template_path: log.yml.hbs
title: Zeek capture_loss.log
description: Collect Zeek capture_loss logs
- input: logfile
vars:
- name: paths
type: text
title: capture_loss.log paths
multi: true
required: true
show_user: true
default:
- /var/log/bro/current/capture_loss.log
- name: tags
type: text
title: Tags
multi: true
required: true
show_user: true
default:
- zeek.capture_loss
template_path: log.yml.hbs
title: Zeek capture_loss.log
description: Collect Zeek capture_loss logs
1 change: 0 additions & 1 deletion packages/zeek/dataset/connection/fields/beats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
- description: Unique container id.
ignore_above: 1024
name: container.id
Expand Down
17 changes: 8 additions & 9 deletions packages/zeek/dataset/connection/fields/ecs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
- description: Destination network address.
ignore_above: 1024
name: destination.address
Expand All @@ -11,10 +10,10 @@
example: Google LLC
ignore_above: 1024
multi_fields:
- flat_name: destination.as.organization.name.text
name: text
norms: false
type: text
- flat_name: destination.as.organization.name.text
name: text
norms: false
type: text
name: destination.as.organization.name
type: keyword
- description: Bytes sent from the destination to the source.
Expand Down Expand Up @@ -155,10 +154,10 @@
example: Google LLC
ignore_above: 1024
multi_fields:
- flat_name: source.as.organization.name.text
name: text
norms: false
type: text
- flat_name: source.as.organization.name.text
name: text
norms: false
type: text
name: source.as.organization.name
type: keyword
- description: Bytes sent from the source to the destination.
Expand Down
78 changes: 39 additions & 39 deletions packages/zeek/dataset/connection/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
- name: zeek.connection
type: group
fields:
- name: local_orig
type: boolean
description: |
Indicates whether the session is originated locally.
- name: local_resp
type: boolean
description: |
Indicates whether the session is responded locally.
- name: missed_bytes
type: long
description: |
Missed bytes for the session.
- name: state
type: keyword
description: |
Code indicating the state of the session.
- name: state_message
type: keyword
description: |
The state of the session.
- name: icmp
type: group
fields:
- name: type
- name: local_orig
type: boolean
description: |
Indicates whether the session is originated locally.
- name: local_resp
type: boolean
description: |
Indicates whether the session is responded locally.
- name: missed_bytes
type: long
description: |
Missed bytes for the session.
- name: state
type: keyword
description: |
Code indicating the state of the session.
- name: state_message
type: keyword
description: |
The state of the session.
- name: icmp
type: group
fields:
- name: type
type: integer
description: |
ICMP message type.
- name: code
type: integer
description: |
ICMP message code.
- name: history
type: keyword
description: |
Flags indicating the history of the session.
- name: vlan
type: integer
description: |
ICMP message type.
- name: code
VLAN identifier.
- name: inner_vlan
type: integer
description: |
ICMP message code.
- name: history
type: keyword
description: |
Flags indicating the history of the session.
- name: vlan
type: integer
description: |
VLAN identifier.
- name: inner_vlan
type: integer
description: |
VLAN identifier.
VLAN identifier.
8 changes: 4 additions & 4 deletions packages/zeek/dataset/connection/fields/package-fields.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- name: zeek
type: group
fields:
- name: session_id
type: keyword
description: |
A unique identifier of the session
- name: session_id
type: keyword
description: |
A unique identifier of the session
42 changes: 21 additions & 21 deletions packages/zeek/dataset/connection/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ type: logs
title: Zeek connection logs
release: experimental
streams:
- input: logfile
vars:
- name: paths
type: text
title: conn.log paths
multi: true
required: true
show_user: true
default:
- /var/log/bro/current/conn.log
- name: tags
type: text
title: Tags
multi: true
required: true
show_user: true
default:
- zeek.connection
template_path: log.yml.hbs
title: Zeek conn.log
description: Collect Zeek connection logs
- input: logfile
vars:
- name: paths
type: text
title: conn.log paths
multi: true
required: true
show_user: true
default:
- /var/log/bro/current/conn.log
- name: tags
type: text
title: Tags
multi: true
required: true
show_user: true
default:
- zeek.connection
template_path: log.yml.hbs
title: Zeek conn.log
description: Collect Zeek connection logs
1 change: 0 additions & 1 deletion packages/zeek/dataset/dce_rpc/fields/beats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
- description: Unique container id.
ignore_above: 1024
name: container.id
Expand Down
17 changes: 8 additions & 9 deletions packages/zeek/dataset/dce_rpc/fields/ecs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
- description: Destination network address.
ignore_above: 1024
name: destination.address
Expand All @@ -11,10 +10,10 @@
example: Google LLC
ignore_above: 1024
multi_fields:
- flat_name: destination.as.organization.name.text
name: text
norms: false
type: text
- flat_name: destination.as.organization.name.text
name: text
norms: false
type: text
name: destination.as.organization.name
type: keyword
- description: Bytes sent from the destination to the source.
Expand Down Expand Up @@ -126,10 +125,10 @@
example: Google LLC
ignore_above: 1024
multi_fields:
- flat_name: source.as.organization.name.text
name: text
norms: false
type: text
- flat_name: source.as.organization.name.text
name: text
norms: false
type: text
name: source.as.organization.name
type: keyword
- description: Bytes sent from the source to the destination.
Expand Down
32 changes: 16 additions & 16 deletions packages/zeek/dataset/dce_rpc/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
- name: zeek.dce_rpc
type: group
fields:
- name: rtt
type: integer
description: |
Round trip time from the request to the response. If either the request or response wasn't seen, this will be null.
- name: named_pipe
type: keyword
description: |
Remote pipe name.
- name: endpoint
type: keyword
description: |
Endpoint name looked up from the uuid.
- name: operation
type: keyword
description: |
Operation seen in the call.
- name: rtt
type: integer
description: |
Round trip time from the request to the response. If either the request or response wasn't seen, this will be null.
- name: named_pipe
type: keyword
description: |
Remote pipe name.
- name: endpoint
type: keyword
description: |
Endpoint name looked up from the uuid.
- name: operation
type: keyword
description: |
Operation seen in the call.
8 changes: 4 additions & 4 deletions packages/zeek/dataset/dce_rpc/fields/package-fields.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- name: zeek
type: group
fields:
- name: session_id
type: keyword
description: |
A unique identifier of the session
- name: session_id
type: keyword
description: |
A unique identifier of the session
Loading

0 comments on commit 36c7a2f

Please sign in to comment.