elastic / elastic/package-spec
Enforce validation for Elasticsearch privileges
Open
enhancement
Team:Ecosystem
- Dominant language
- Go
- Stars
- 20
- Forks
- 93
- Avg merge
- 15h 10m
- Merged PRs (30d)
- 12
Description
Integrations privileges can be lower or equal to Fleet-server service token privileges.
Today, if you specify privileges that are out of this boundaries it is simply ignored and lead to a confusion for integrations developers.
When creating and/or pushing a new packages we should verify those privileges and through and error if they are not included in fleet-server service token privileges.
# Related:
https://github.com/elastic/fleet-server/issues/1048
cc @ruflin
Contributor guide
Assessment
This issue has not been assessed yet.