-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[windows] - Cleanup fields.yml files #8099
Merged
andrewkroh
merged 9 commits into
elastic:main
from
andrewkroh:windows/feature/fields-cleanup
Oct 5, 2023
Merged
[windows] - Cleanup fields.yml files #8099
andrewkroh
merged 9 commits into
elastic:main
from
andrewkroh:windows/feature/fields-cleanup
Oct 5, 2023
Conversation
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
[git-generate] cd packages/windows elastic-package format
[git-generate] perl -p -i -e 's/exernal:/external:/g' packages/windows/**/fields/*.yml
[git-generate] go run github.com/andrewkroh/fydler@e90f903 -fix -a unknownattribute packages/windows/**/fields/*.yml cd packages/windows elastic-package format
[git-generate] go run github.com/andrewkroh/fydler@e90f903 -fix -a useecs packages/windows/**/fields/*.yml cd packages/windows elastic-package format
The description does not get used by anything (not in docs, mappings, fleet). [git-generate] go run github.com/andrewkroh/fydler@e90f903 -fix -a invalidattribute packages/windows/**/fields/*.yml cd packages/windows elastic-package format
packages/windows/data_stream/applocker_exe_and_dll/fields/agent.yml:49:7 host.name is declared 2 times (duplicate) packages/windows/data_stream/applocker_exe_and_dll/fields/ecs.yml:55:3 additional definition (duplicate) packages/windows/data_stream/applocker_msi_and_script/fields/agent.yml:49:7 host.name is declared 2 times (duplicate) packages/windows/data_stream/applocker_msi_and_script/fields/ecs.yml:55:3 additional definition (duplicate) packages/windows/data_stream/applocker_packaged_app_deployment/fields/agent.yml:49:7 host.name is declared 2 times (duplicate) packages/windows/data_stream/applocker_packaged_app_deployment/fields/ecs.yml:57:3 additional definition (duplicate) packages/windows/data_stream/applocker_packaged_app_execution/fields/agent.yml:49:7 host.name is declared 2 times (duplicate) packages/windows/data_stream/applocker_packaged_app_execution/fields/ecs.yml:57:3 additional definition (duplicate) packages/windows/data_stream/forwarded/fields/agent.yml:49:7 host.name is declared 2 times (duplicate) packages/windows/data_stream/forwarded/fields/ecs.yml:119:3 additional definition (duplicate) packages/windows/data_stream/powershell/fields/agent.yml:49:7 host.name is declared 2 times (duplicate) packages/windows/data_stream/powershell/fields/ecs.yml:39:3 additional definition (duplicate) packages/windows/data_stream/powershell_operational/fields/agent.yml:49:7 host.name is declared 2 times (duplicate) packages/windows/data_stream/powershell_operational/fields/ecs.yml:39:3 additional definition (duplicate) packages/windows/data_stream/sysmon_operational/fields/agent.yml:49:7 host.name is declared 2 times (duplicate) packages/windows/data_stream/sysmon_operational/fields/ecs.yml:115:3 additional definition (duplicate)
andrewkroh
force-pushed
the
windows/feature/fields-cleanup
branch
from
October 4, 2023 22:58
6db8124
to
f5a4ffb
Compare
🌐 Coverage report
|
Regarding the validation failure, I logged an issue at elastic/elastic-package#1488. I will remove the changes to the |
[git-generate] cd packages/windows elastic-package build
[git-generate] elastic-package changelog add --link elastic#8099 --next minor --type enhancement --description 'Modified the field definitions to reference ECS where possible and remove invalid field attributes.'
andrewkroh
force-pushed
the
windows/feature/fields-cleanup
branch
from
October 5, 2023 00:23
f5a4ffb
to
c6429e3
Compare
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
efd6
approved these changes
Oct 5, 2023
Pinging @elastic/elastic-agent (Team:Elastic-Agent) |
cmacknz
approved these changes
Oct 5, 2023
Package windows - 1.38.0 containing this change is available at https://epr.elastic.co/search?package=windows |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed commit message
This cleans up the field definitions for the package.
Fix typo in 'external' field attribute.
Remove unnecessary attributes like
required
orlevel
.Use
external: ecs
for any field that exists in ECS.Remove
description
from field groups. The description does not get used by anything (not in docs, mappings, fleet).Remove duplicate field declarations.
Replace dotted YAML key
kibana.version
in manifest.yml.Checklist
changelog.yml
file.