-
Notifications
You must be signed in to change notification settings - Fork 8
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
DLS/FLS broken? (kibana 4) #7
Comments
have you tried removing the includes lime from your fls filter? If I'm not mistaken the include line will return no results if its empty. If you only have an exclude line it will return all fields except the one's specified by the exclude parameter. ie armor.flsfilter.names: ["stripsensitive"] Rory |
Tried, without success. Same behavior, all accounts are broken (even root). |
could you post your full elasticsearch config and an example elasticsearch document and what field you're trying to filter on. |
To be clear, i don't have problems with Armor, ES, DLS or FLS activated. Problem comes from kibana, it's very similar to bugs previously reports on guard: https://github.com/floragunncom/search-guard/issues/12 |
you might be better off restricting a user/group to an elasticsearch alias and then using armor to restrict that user to the elasticsearch alias. alias allows you to give them a filtered view of the index. https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html |
I know alias, i don't see how it will helps Kibana to works on Armor with DLS/FLS ON. |
Alias gives you the same functionality as dls so you dont need armor to do Lets say you have an index with shared user data. You want to restrict each You could do something like this User: fred Es doc: Account: fred Elastic Alias: Armor:
|
Hello, I'm facing same issue. With armor.rewrite_get_as_search: true (Kibana doesn't work):
With armor.rewrite_get_as_search: false (Kibana works well):
The latter has "docs" key at beginning. |
Both solutions armor.rewrite_get_as_search: false works great! Thanks a lot for your help. |
Nice, we should add that to the documentation! |
Hello,
Kibana: 4.1.1
Elasticsearch: 1.7.3
Thanks for the fork. Configuration given by SergeyBear on this page works.
floragunncom/search-guard#3
Now i'm trying to activate this FLS configuration:
and "filters_bypass": ["flsfilter.stripsensitive"] on kibana part, it breaks, even for root user with a
Same for DLS, with this configuration
This time, filter is not given to anyone and kibana still breaks on this.
When i remove dls/fls rules from yaml, it works again.
Did i missed something ?
Thanks for your help
The text was updated successfully, but these errors were encountered: