Skip to content

add hidden field in to data stream manifest#91

Merged
nnamdifrankie merged 3 commits intomasterfrom
add-hidden-field
Dec 7, 2020
Merged

add hidden field in to data stream manifest#91
nnamdifrankie merged 3 commits intomasterfrom
add-hidden-field

Conversation

@nnamdifrankie
Copy link
Copy Markdown
Contributor

Issue: https://github.com/elastic/security-team/issues/548

This PR adds the the hidden fields to data stream manifest file. 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 field

Further, 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.

@elasticmachine
Copy link
Copy Markdown

elasticmachine commented Dec 7, 2020

💚 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

Expand to view the summary

Build stats

  • Build Cause: Pull request #91 updated

  • Start Time: 2020-12-07T20:52:08.754+0000

  • Duration: 5 min 1 sec

Copy link
Copy Markdown
Contributor

@mtojek mtojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only some nit-picks, but LGTM!

Comment thread versions/1/changelog.yml
examples:
- metrics
hidden:
description: Specifies if a datastream is hidden
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: data stream

@nnamdifrankie nnamdifrankie merged commit 8bcecde into master Dec 7, 2020
@nnamdifrankie nnamdifrankie deleted the add-hidden-field branch December 7, 2020 20:57
rw-access pushed a commit to rw-access/package-spec that referenced this pull request Mar 23, 2021
* Update package-spec to latest version

* Fix: mage check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants