Skip to content

[box_events] - Clean-up field definitions - #8097

Merged
andrewkroh merged 6 commits into
elastic:mainfrom
andrewkroh:box_events/feature/cleanup-field-defs
Oct 5, 2023
Merged

[box_events] - Clean-up field definitions#8097
andrewkroh merged 6 commits into
elastic:mainfrom
andrewkroh:box_events/feature/cleanup-field-defs

Conversation

@andrewkroh

@andrewkroh andrewkroh commented Oct 4, 2023

Copy link
Copy Markdown
Member

Proposed commit message

Modified the field definitions to reference ECS where possible and remove unnecessary field attributes.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.

Use 'external: ecs' where possible.
Set 'type: group' instead of 'type: object' on field groups.
Remove unnecessary field attributes (like group, footnote).

[git-generate]
cd packages/box_events
go run github.com/andrewkroh/fydler@becb7a7 -fix **/fields/*
elastic-package format
I think an explicit type will be better than depending on defaults
being injected elsewhere.
[git-generate]
elastic-package changelog add --link #8097 --type enhancement --next minor --description "Modified the field definitions to reference ECS where possible and remove invalid field attributes."
@elasticmachine

elasticmachine commented Oct 4, 2023

Copy link
Copy Markdown

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-10-05T00:39:07.728+0000

  • Duration: 15 min 40 sec

Test stats 🧪

Test Results
Failed 0
Passed 18
Skipped 0
Total 18

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@andrewkroh
andrewkroh marked this pull request as ready for review October 4, 2023 21:02
@andrewkroh
andrewkroh requested a review from a team as a code owner October 4, 2023 21:02
@elasticmachine

Copy link
Copy Markdown

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

@elasticmachine

elasticmachine commented Oct 4, 2023

Copy link
Copy Markdown

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (1/1) 💚
Files 100.0% (1/1) 💚 3.659
Classes 100.0% (1/1) 💚 3.659
Methods 100.0% (13/13) 💚 13.301
Lines 99.479% (955/960) 👍 7.424
Conditionals 100.0% (0/0) 💚

[git-generate]
go run github.com/andrewkroh/fydler@e90f9031ec48 -fix -a unknownattribute packages/box_events/**/fields/*.yml
@andrewkroh
andrewkroh merged commit 41d2aa1 into elastic:main Oct 5, 2023
@elasticmachine

Copy link
Copy Markdown

Package box_events - 2.2.0 containing this change is available at https://epr.elastic.co/search?package=box_events

orestisfl pushed a commit to orestisfl/integrations that referenced this pull request May 15, 2026
Use 'external: ecs' where possible.

Set 'type: group' instead of 'type: object' on field groups.

Remove unnecessary field attributes (like group, footnote).

Add 'type' to fields where it was missing. I think an explicit type will be better than depending on defaults
being injected elsewhere.

Resolve duplicate 'type: group/object'
[git-generate]
cd packages/box_events
go run github.com/andrewkroh/fydler@e90f9031ec48 -fix **/fields/*
elastic-package format





[git-generate]
elastic-package changelog add --link elastic#8097 --type enhancement --next minor --description "Modified the field definitions to reference ECS where possible and remove invalid field attributes."

* [box_events] - Remove format attribute

[git-generate]
go run github.com/andrewkroh/fydler@e90f9031ec48 -fix -a unknownattribute packages/box_events/**/fields/*.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Integration:box_events Box Events

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants