Skip to content

Commit 129e93c

Browse files
authored
Add tags to action request documents (#642)
1 parent 30233b6 commit 129e93c

File tree

5 files changed

+30
-0
lines changed

5 files changed

+30
-0
lines changed

custom_schemas/custom_action_space.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,11 @@
1414
short: originating space ID
1515
description: >
1616
The space ID that the action was initiated from
17+
- name: tags
18+
title: Tags
19+
type: keyword
20+
level: custom
21+
short: internal categorization
22+
description: >
23+
Internal category flags for space awareness and future flags
1724

custom_subsets/elastic_endpoint/actions/actions.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ fields:
3131
space:
3232
fields:
3333
originSpaceId: {}
34+
tags: {}
3435
rule:
3536
fields:
3637
id: {}

package/endpoint/data_stream/actions/fields/fields.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,12 @@
342342
type: keyword
343343
ignore_above: 1024
344344
description: The space ID that the action was initiated from
345+
- name: tags
346+
level: custom
347+
type: keyword
348+
ignore_above: 1024
349+
description: Internal category flags for space awareness and future flags
350+
default_field: true
345351
- name: user
346352
title: User
347353
group: 2

package/endpoint/data_stream/actions/sample_event.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@
2929
]
3030
},
3131
"originSpaceId": "b88dae77-9037-459b-be31-efefa6788362",
32+
"tags": [
33+
"foo",
34+
"bar",
35+
"oldspace"
36+
],
3237
"@timestamp": "2022-04-04T20:44:07.805Z",
3338
"event": {
3439
"agent_id_status": "auth_metadata_missing",

schemas/v1/actions/actions.yaml

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)