-
Notifications
You must be signed in to change notification settings - Fork 442
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update elastic-package to use Package Spec 3.0.0-rc1 and fix v3 packa…
…ges (#8115) Fix field definitions in packages that were updated before v3 GA release, and are failing now with the first RC (see #8109, #8120) Changes applied: - Fix mapping of ECS fields that are only "objects", by setting type: group. They don't generate any mapping, and they are detected as invalid objects without object_type. - Child mappings are imported too. Some examples of these object fields are dns.answer or network.inner. - Objects without object_type that seem to fit as "tags" or "labels" use cases have been converted to flattened. - Objects without object_type that seem to fit as metrics have been converted to type: double. - Quote field names in test configuration files. - Validations skipped for references founds in dashboards. - Validations skipped for the required Kibana version needed for saved tags. Packages with changes in fields include new changelog entry, so a new package will be released. --------- Co-authored-by: Marc Guasch <marc.guasch@elastic.co> Co-authored-by: Mario Rodriguez Molins <mario.rodriguez@elastic.co>
- Loading branch information
1 parent
1e8f627
commit 06dd24f
Showing
392 changed files
with
971 additions
and
433 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ fields: | |
tags: | ||
- preserve_original_event | ||
dynamic_fields: | ||
event.ingested: "^.*$" | ||
'event.ingested': "^.*$" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
errors: | ||
exclude_checks: | ||
- SVR00002 # Mandatory filters in dashboards. | ||
- SVR00004 # References in dashboards. | ||
- SVR00005 # Kibana version for saved tags. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ fields: | |
tags: | ||
- preserve_original_event | ||
dynamic_fields: | ||
event.ingested: "^.*$" | ||
"event.ingested": "^.*$" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
errors: | ||
exclude_checks: | ||
- SVR00005 # Kibana version for saved tags. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
errors: | ||
exclude_checks: | ||
- SVR00002 # Mandatory filters in dashboards. | ||
- SVR00004 # References in dashboards. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.