Masked fields causing dashboard errors

This sort of seems like a generalized error so please forgive me if this doesn’t belong in this category.

When setting up a role, let’s call it “kibana_user” all the permissions are correct across the kibana indices, cluster perms, etc.

Dashboards, visualizations, general search all works just fine.
Once I add a masked field to my "logstash-* intdex permissions for the “kibana_user” I am no longer able to see dashboards. Strange enough, If I create a visualization of the masked field, it works perfectly fine.
However no dashboards actually load data (5 out of 10 shards failed error message in kibana etc.) Once I remove the masked field the dashboards load.

I opened: Masked field dashboard errors. · Issue #441 · opensearch-project/security · GitHub that has an example of the trace and search that was attempted that caused the error.

Guess no one else is using masked fields?

Hi @jasonrojas did you manage to reproduce the issue using supported version? Or is this now resolved?

When this was an issue it was with a supported version. We have moved away from the policies and just shifted sensitive data into other indexes and granted access for groups based on the data classification so I am uncertain if it is still an issue.