Skip to content

Commit 34c30f1

Browse files
committed
Revert v3 compliance work
Revert "Revert "Revert "Transform schema v2 (#270)" (#411)" (#418)" This reverts commit 7e59c92 This reverts commit cf54cde This reverts commit 0d1065c
1 parent c448f97 commit 34c30f1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+950
-1288
lines changed

custom_schemas/custom_api.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
group: 2
55
short: Fields describing an API call.
66
type: object
7-
object_type: keyword
87
description: >
98
These fields describe an API call (function, or system call).
109
@@ -64,7 +63,6 @@
6463
- name: metadata
6564
level: custom
6665
type: object
67-
object_type: keyword
6866
description: >
6967
Information related to the API call.
7068
@@ -148,7 +146,6 @@
148146
- name: parameters
149147
level: custom
150148
type: object
151-
object_type: keyword
152149
description: >
153150
Parameter values passed to the API call.
154151

custom_schemas/custom_base.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
fields:
1212
- name: Events
1313
type: object
14-
object_type: keyword
1514
level: custom
1615
short: events array
1716
description: >

custom_schemas/custom_call_stack.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
group: 3
55
short: Fields describing a stack frame.
66
type: object
7-
object_type: keyword
87
description: >
98
Fields describing a stack frame. call_stack is expected to be an array where each array element represents a stack frame.
109
reusable:

custom_schemas/custom_dll.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
- name: Ext
2121
level: custom
2222
type: object
23-
object_type: keyword
2423
description: Object for all custom defined fields to live in.
2524

2625
- name: Ext.mapped_address

custom_schemas/custom_dns.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
- name: Ext
1616
level: custom
1717
type: object
18-
object_type: keyword
1918
description: Object for all custom defined fields to live in.
2019

2120
- name: Ext.status

custom_schemas/custom_elastic.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
- name: agent
1212
level: custom
1313
type: object
14-
object_type: keyword
1514
description: >
1615
The agent fields contain data about the Elastic Agent. The Elastic Agent is the management agent
1716
that manages other agents or process on the host.

custom_schemas/custom_endpoint.yml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@
1515
- name: policy
1616
level: custom
1717
type: object
18-
object_type: keyword
1918
description: The policy fields are used to hold information about applied policy.
2019

2120
- name: policy.applied
2221
level: custom
2322
type: object
24-
object_type: keyword
2523
description: information about the policy that is applied
2624

2725
- name: policy.applied.actions
@@ -73,21 +71,18 @@
7371
- name: policy.applied.response
7472
level: custom
7573
type: object
76-
object_type: keyword
7774
enabled: false
7875
description: the response of actions that failed in the applied policy
7976

8077
- name: policy.applied.response.configurations
8178
level: custom
8279
type: object
83-
object_type: keyword
8480
enabled: false
8581
description: the configurations of the applied policy
8682

8783
- name: policy.applied.response.configurations.events
8884
level: custom
8985
type: object
90-
object_type: keyword
9186
description: overall event collection configuration and status of the applied policy
9287

9388
- name: policy.applied.response.configurations.events.concerned_actions
@@ -106,7 +101,6 @@
106101
- name: policy.applied.response.configurations.logging
107102
level: custom
108103
type: object
109-
object_type: keyword
110104
description: overall logging configuration and status of the applied policy
111105

112106
- name: policy.applied.response.configurations.logging.concerned_actions
@@ -125,7 +119,6 @@
125119
- name: policy.applied.response.configurations.antivirus_registration
126120
level: custom
127121
type: object
128-
object_type: keyword
129122
enabled: false
130123
description: overall antivirus registration configuration and status of the applied policy
131124

@@ -145,7 +138,6 @@
145138
- name: policy.applied.response.configurations.malware
146139
level: custom
147140
type: object
148-
object_type: keyword
149141
description: overall malware configuration and status of the applied policy
150142

151143
- name: policy.applied.response.configurations.malware.concerned_actions
@@ -164,7 +156,6 @@
164156
- name: policy.applied.response.configurations.memory_protection
165157
level: custom
166158
type: object
167-
object_type: keyword
168159
description: overall memory_protection configuration and status of the applied policy
169160

170161
- name: policy.applied.response.configurations.memory_protection.concerned_actions
@@ -183,7 +174,6 @@
183174
- name: policy.applied.response.configurations.streaming
184175
level: custom
185176
type: object
186-
object_type: keyword
187177
description: overall data streaming configuration and status of the applied policy
188178

189179
- name: policy.applied.response.configurations.streaming.concerned_actions
@@ -254,7 +244,6 @@
254244
- name: policy.applied.response.diagnostic
255245
level: custom
256246
type: object
257-
object_type: keyword
258247
enabled: false
259248
description: the diagnostic configurations of the applied policy
260249

@@ -339,14 +328,12 @@
339328
- name: policy.applied.artifacts
340329
level: custom
341330
type: object
342-
object_type: keyword
343331
enabled: false
344332
description: information about protection artifacts applied.
345333

346334
- name: policy.applied.artifacts.global
347335
level: custom
348336
type: object
349-
object_type: keyword
350337
description: information about global protection artifacts applied.
351338

352339
- name: policy.applied.artifacts.global.update_age
@@ -382,7 +369,6 @@
382369
- name: policy.applied.artifacts.user
383370
level: custom
384371
type: object
385-
object_type: keyword
386372
description: information about user protection artifacts applied.
387373

388374
- name: policy.applied.artifacts.user.version
@@ -408,13 +394,11 @@
408394
- name: metrics
409395
level: custom
410396
type: object
411-
object_type: keyword
412397
description: Metrics fields hold the endpoint and system's performance metrics
413398

414399
- name: metrics.documents_volume
415400
level: custom
416401
type: object
417-
object_type: keyword
418402
description: Statistics about sent documents
419403

420404
- name: metrics.documents_volume.overall
@@ -645,7 +629,6 @@
645629
- name: metrics.documents_volume.api_events.sources
646630
level: custom
647631
type: object
648-
object_type: keyword
649632
description: An array of API Event document statistics per source
650633

651634
- name: metrics.documents_volume.api_events.sources.source
@@ -676,7 +659,6 @@
676659
- name: metrics.uptime
677660
level: custom
678661
type: object
679-
object_type: keyword
680662
description: Number of seconds since boot
681663

682664
- name: metrics.uptime.endpoint
@@ -692,13 +674,11 @@
692674
- name: metrics.cpu
693675
level: custom
694676
type: object
695-
object_type: keyword
696677
description: CPU statistics
697678

698679
- name: metrics.cpu.endpoint
699680
level: custom
700681
type: object
701-
object_type: keyword
702682
description: CPU metrics for the endpoint
703683

704684
- name: metrics.cpu.endpoint.mean
@@ -723,19 +703,16 @@
723703
- name: metrics.memory
724704
level: custom
725705
type: object
726-
object_type: keyword
727706
description: Memory statistics
728707

729708
- name: metrics.memory.endpoint
730709
level: custom
731710
type: object
732-
object_type: keyword
733711
description: Endpoint memory utilization
734712

735713
- name: metrics.memory.endpoint.private
736714
level: custom
737715
type: object
738-
object_type: keyword
739716
description: The memory private to the endpoint
740717

741718
- name: metrics.memory.endpoint.private.mean
@@ -751,7 +728,6 @@
751728
- name: metrics.disks
752729
level: custom
753730
type: object
754-
object_type: keyword
755731
enabled: false
756732
description: An array of disk information for the host
757733

@@ -800,7 +776,6 @@
800776
- name: metrics.malicious_behavior_rules
801777
level: custom
802778
type: object
803-
object_type: keyword
804779
enabled: false
805780
description: An array of performance information about each malicious behavior rule
806781

@@ -819,7 +794,6 @@
819794
- name: metrics.system_impact
820795
level: custom
821796
type: object
822-
object_type: keyword
823797
enabled: false
824798
index: false
825799
description: An array of system impact information
@@ -1047,7 +1021,6 @@
10471021
# using an object here even though it is actually an array because you can only have a limited number
10481022
# of nested fields
10491023
type: object
1050-
object_type: keyword
10511024
enabled: false
10521025
description: Statistics about the individual Endpoint threads (array)
10531026

@@ -1066,7 +1039,6 @@
10661039
- name: configuration
10671040
level: custom
10681041
type: object
1069-
object_type: keyword
10701042
description:
10711043
Configuration fields represent the intended and applied setting for fields not part of a Policy setting
10721044
This reflects what a given field is configured to do. The actual state of that same field is found in Endpoint.state
@@ -1079,7 +1051,6 @@
10791051
- name: state
10801052
level: custom
10811053
type: object
1082-
object_type: keyword
10831054
description:
10841055
Represents the current state of a non-policy setting
10851056
These fields reflect the current status of a field, which may differ from what it is configured to be (see Endpoint.configuration)

custom_schemas/custom_endpoint_actions.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
type: object
3434
level: custom
3535
short: data
36-
object_type: keyword
3736
description: >
3837
The action request information
3938

custom_schemas/custom_event.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,11 @@
2121
- name: Ext
2222
level: custom
2323
type: object
24-
object_type: keyword
2524
description: Object for all custom defined fields to live in.
2625

2726
- name: Ext.correlation
2827
level: custom
2928
type: object
30-
object_type: keyword
3129
description: Information about event this should be correlated with.
3230

3331
- name: Ext.correlation.id

custom_schemas/custom_file.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
- name: Ext
3131
level: custom
3232
type: object
33-
object_type: keyword
3433
description: Object for all custom defined fields to live in.
3534

3635
- name: Ext.entry_modified
@@ -66,7 +65,6 @@
6665
- name: Ext.windows
6766
level: custom
6867
type: object
69-
object_type: keyword
7068
description: Platform-specific Windows fields
7169

7270
- name: Ext.windows.zone_identifier
@@ -78,7 +76,6 @@
7876
- name: Ext.original
7977
level: custom
8078
type: object
81-
object_type: keyword
8279
description: Original file information during a modification event.
8380

8481
- name: Ext.original.name
@@ -426,5 +423,4 @@
426423
- name: pe
427424
level: custom
428425
type: object
429-
object_type: keyword
430426
description: PE fields

0 commit comments

Comments
 (0)