Skip to content
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

Incorrect generated/beats/fields.ecs.yml, not accounting on top_level: false #2277

Closed
aleksmaus opened this issue Sep 20, 2023 · 1 comment · Fixed by #2278
Closed

Incorrect generated/beats/fields.ecs.yml, not accounting on top_level: false #2277

aleksmaus opened this issue Sep 20, 2023 · 1 comment · Fixed by #2278
Assignees
Labels
bug Something isn't working

Comments

@aleksmaus
Copy link
Member

Description of the issue:

We are using the following file as a source of ECS mappings for osquery_manager integration:
https://github.com/elastic/ecs/blob/main/generated/beats/fields.ecs.yml

It does have as field at the the top level there, which causes our integration validation to fail for 3.0.0 format spec.

As far as I understand generated file should not include as field at the top level because it is marked with top_level: false attribute.

top_level: false

Currently it has

Screenshot 2023-09-20 at 10 21 06 AM

and not additional information for us of the field is a top level or not
Screenshot 2023-09-20 at 10 22 00 AM

@aleksmaus aleksmaus added the bug Something isn't working label Sep 20, 2023
@mrodm mrodm removed their assignment Sep 20, 2023
@aleksmaus
Copy link
Member Author

Same issue with other fields, here is the list

	"as",
	"code_signature",
	"elf",
	"macho",
	"pe",
	"risk",
	"x509",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants