Skip to content

Commit

Permalink
converted feature object to follow dynamic mapping rules across all d…
Browse files Browse the repository at this point in the history
…ata streams
  • Loading branch information
ShourieG committed Aug 8, 2024
1 parent bf779a5 commit 97459f5
Show file tree
Hide file tree
Showing 28 changed files with 240 additions and 582 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -486,18 +486,11 @@
- name: product
type: group
fields:
- name: feature
type: group
fields:
- name: name
type: keyword
description: The name of the feature.
- name: uid
type: keyword
description: The unique identifier of the feature.
- name: version
type: keyword
description: The version of the feature.
- name: feature.*
type: object
description: The Feature object provides information about the software product feature that generated a specific event.
object_type: keyword
object_type_mapping_type: "*"
- name: lang
type: keyword
description: 'The two letter lower case language codes, as defined by ISO 639-1. For example: en (English), de (German), or fr (French).'
Expand Down Expand Up @@ -1075,18 +1068,11 @@
- name: product
type: group
fields:
- name: feature
type: group
fields:
- name: name
type: keyword
description: The name of the feature.
- name: uid
type: keyword
description: The unique identifier of the feature.
- name: version
type: keyword
description: The version of the feature.
- name: feature.*
type: object
description: The Feature object provides information about the software product feature that generated a specific event.
object_type: keyword
object_type_mapping_type: "*"
- name: lang
type: keyword
description: 'The two letter lower case language codes, as defined by ISO 639-1. For example: en (English), de (German), or fr (French).'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,11 @@
- name: name
type: keyword
description: The CIS benchmark name.
- name: feature
type: group
fields:
- name: name
type: keyword
description: The name of the feature.
- name: uid
type: keyword
description: The unique identifier of the feature.
- name: version
type: keyword
description: The version of the feature.
- name: feature.*
type: object
description: The Feature object provides information about the software product feature that generated a specific event.
object_type: keyword
object_type_mapping_type: "*"
- name: path
type: keyword
description: The installation path of the product.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -391,18 +391,11 @@
- name: product
type: group
fields:
- name: feature
type: group
fields:
- name: name
type: keyword
description: The name of the feature.
- name: uid
type: keyword
description: The unique identifier of the feature.
- name: version
type: keyword
description: The version of the feature.
- name: feature.*
type: object
description: The Feature object provides information about the software product feature that generated a specific event.
object_type: keyword
object_type_mapping_type: "*"
- name: lang
type: keyword
description: 'The two letter lower case language codes, as defined by ISO 639-1. For example: en (English), de (German), or fr (French).'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,11 @@
- name: product
type: group
fields:
- name: feature
type: group
fields:
- name: name
type: keyword
description: The name of the feature.
- name: uid
type: keyword
description: The unique identifier of the feature.
- name: version
type: keyword
description: The version of the feature.
- name: feature.*
type: object
description: The Feature object provides information about the software product feature that generated a specific event.
object_type: keyword
object_type_mapping_type: "*"
- name: lang
type: keyword
description: 'The two letter lowercase language codes, as defined by ISO 639-1. For example: en (English), de (German), or fr (French).'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -486,18 +486,11 @@
- name: product
type: group
fields:
- name: feature
type: group
fields:
- name: name
type: keyword
description: The name of the feature.
- name: uid
type: keyword
description: The unique identifier of the feature.
- name: version
type: keyword
description: The version of the feature.
- name: feature.*
type: object
description: The Feature object provides information about the software product feature that generated a specific event.
object_type: keyword
object_type_mapping_type: "*"
- name: lang
type: keyword
description: 'The two letter lower case language codes, as defined by ISO 639-1. For example: en (English), de (German), or fr (French).'
Expand Down Expand Up @@ -1075,18 +1068,11 @@
- name: product
type: group
fields:
- name: feature
type: group
fields:
- name: name
type: keyword
description: The name of the feature.
- name: uid
type: keyword
description: The unique identifier of the feature.
- name: version
type: keyword
description: The version of the feature.
- name: feature.*
type: object
description: The Feature object provides information about the software product feature that generated a specific event.
object_type: keyword
object_type_mapping_type: "*"
- name: lang
type: keyword
description: 'The two letter lower case language codes, as defined by ISO 639-1. For example: en (English), de (German), or fr (French).'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,11 @@
- name: product
type: group
fields:
- name: feature
type: group
fields:
- name: name
type: keyword
description: The name of the feature.
- name: uid
type: keyword
description: The unique identifier of the feature.
- name: version
type: keyword
description: The version of the feature.
- name: feature.*
type: object
description: The Feature object provides information about the software product feature that generated a specific event.
object_type: keyword
object_type_mapping_type: "*"
- name: lang
type: keyword
description: 'The two letter lowercase language codes, as defined by ISO 639-1. For example: en (English), de (German), or fr (French).'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -486,18 +486,11 @@
- name: product
type: group
fields:
- name: feature
type: group
fields:
- name: name
type: keyword
description: The name of the feature.
- name: uid
type: keyword
description: The unique identifier of the feature.
- name: version
type: keyword
description: The version of the feature.
- name: feature.*
type: object
description: The Feature object provides information about the software product feature that generated a specific event.
object_type: keyword
object_type_mapping_type: "*"
- name: lang
type: keyword
description: 'The two letter lower case language codes, as defined by ISO 639-1. For example: en (English), de (German), or fr (French).'
Expand Down Expand Up @@ -1075,18 +1068,11 @@
- name: product
type: group
fields:
- name: feature
type: group
fields:
- name: name
type: keyword
description: The name of the feature.
- name: uid
type: keyword
description: The unique identifier of the feature.
- name: version
type: keyword
description: The version of the feature.
- name: feature.*
type: object
description: The Feature object provides information about the software product feature that generated a specific event.
object_type: keyword
object_type_mapping_type: "*"
- name: lang
type: keyword
description: 'The two letter lower case language codes, as defined by ISO 639-1. For example: en (English), de (German), or fr (French).'
Expand Down
85 changes: 25 additions & 60 deletions packages/amazon_security_lake/data_stream/event/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,18 +102,11 @@
- name: name
type: keyword
description: The CIS benchmark name.
- name: feature
type: group
fields:
- name: name
type: keyword
description: The name of the feature.
- name: uid
type: keyword
description: The unique identifier of the feature.
- name: version
type: keyword
description: The version of the feature.
- name: feature.*
type: object
description: The Feature object provides information about the software product feature that generated a specific event.
object_type: keyword
object_type_mapping_type: "*"
- name: path
type: keyword
description: The installation path of the product.
Expand Down Expand Up @@ -872,18 +865,11 @@
- name: product
type: group
fields:
- name: feature
type: group
fields:
- name: name
type: keyword
description: The name of the feature.
- name: uid
type: keyword
description: The unique identifier of the feature.
- name: version
type: keyword
description: The version of the feature.
- name: feature.*
type: object
description: The Feature object provides information about the software product feature that generated a specific event.
object_type: keyword
object_type_mapping_type: "*"
- name: lang
type: keyword
description: 'The two letter lower case language codes, as defined by ISO 639-1. For example: en (English), de (German), or fr (French).'
Expand Down Expand Up @@ -1520,18 +1506,11 @@
- name: product
type: group
fields:
- name: feature
type: group
fields:
- name: name
type: keyword
description: The name of the feature.
- name: uid
type: keyword
description: The unique identifier of the feature.
- name: version
type: keyword
description: The version of the feature.
- name: feature.*
type: object
description: The Feature object provides information about the software product feature that generated a specific event.
object_type: keyword
object_type_mapping_type: "*"
- name: lang
type: keyword
description: 'The two letter lower case language codes, as defined by ISO 639-1. For example: en (English), de (German), or fr (French).'
Expand Down Expand Up @@ -2010,18 +1989,11 @@
- name: product
type: group
fields:
- name: feature
type: group
fields:
- name: name
type: keyword
description: The name of the feature.
- name: uid
type: keyword
description: The unique identifier of the feature.
- name: version
type: keyword
description: The version of the feature.
- name: feature.*
type: object
description: The Feature object provides information about the software product feature that generated a specific event.
object_type: keyword
object_type_mapping_type: "*"
- name: lang
type: keyword
description: The two letter lower case language codes, as defined by ISO 639-1.
Expand Down Expand Up @@ -2404,18 +2376,11 @@
- name: product
type: group
fields:
- name: feature
type: group
fields:
- name: name
type: keyword
description: The name of the feature.
- name: uid
type: keyword
description: The unique identifier of the feature.
- name: version
type: keyword
description: The version of the feature.
- name: feature.*
type: object
description: The Feature object provides information about the software product feature that generated a specific event.
object_type: keyword
object_type_mapping_type: "*"
- name: lang
type: keyword
description: 'The two letter lower case language codes, as defined by ISO 639-1. For example: en (English), de (German), or fr (French).'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -391,18 +391,11 @@
- name: product
type: group
fields:
- name: feature
type: group
fields:
- name: name
type: keyword
description: The name of the feature.
- name: uid
type: keyword
description: The unique identifier of the feature.
- name: version
type: keyword
description: The version of the feature.
- name: feature.*
type: object
description: The Feature object provides information about the software product feature that generated a specific event.
object_type: keyword
object_type_mapping_type: "*"
- name: lang
type: keyword
description: 'The two letter lower case language codes, as defined by ISO 639-1. For example: en (English), de (German), or fr (French).'
Expand Down
Loading

0 comments on commit 97459f5

Please sign in to comment.