-
Notifications
You must be signed in to change notification settings - Fork 67
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
Add hidden field to data stream #660
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a similar comment (see: #657 (review)) for this PR.
@mtojek added the test package, see this comment #657 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
CHANGELOG.md
Outdated
@@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
|
|||
* Add "traces" as legal event type. [#656](https://github.com/elastic/package-registry/pull/656) | |||
* Add input-level `template_path` field. [#655](https://github.com/elastic/package-registry/pull/655) | |||
|
|||
* Add hidden field to data stream. [#660] (https://github.com/elastic/package-registry/pull/660) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: hidden
or "hidden"
in this case a hidden field may sound confusing :)
Issue: elastic/security-team#548
This PR adds hidden property to data stream. The hidden field allows fleet to mark the data stream as hidden elastic/elasticsearch#63987 . This hidden feature is needed for issue 548 to hide the data stream from views.
hidden
fieldFurther, the hidden field will correspond with this ES change: elastic/elasticsearch#63987 . We want to give the flexibility for package authors to denote a data stream as hidden for purposes such as this where a data stream is not intended for app specific usage and should be hidden to reduce user confusion.
Our specific use case, again, has to do with a data stream that is intended to be queried by a separate telemetry server. As a result, we want the data stream to be hidden to reduce user confusion.