Is your feature request related to a problem?
Field level security is great and essential to our integration infrastructure. Opensearch is connected to our Enterprise Service Bus to consume messages so they can be exposed through an API. A lot of the data is sensitive (personal, GDPR), so FLS provides essential functionality to filter the data a consumer of the API's can consume.
This week we ran into a problem where we came short with field level security. Consider this document:
"_source": {
"identifier": [
{
"identifierCode": "AAAAAA",
"identifierType": "Accountname"
},
{
"identifierCode": "000000",
"identifierType": "AccountIdentifier2"
},
{
"identifierCode": "bla@domain.com",
"identifierType": "userPrincipleName"
},
{
"identifierCode": "blablabla@domain.com",
"identifierType": "eduPersonPrincipalName"
}
],
If we whitelist the identifier field, it will expose everything under that. What we need is a way to only serve identifierType X and filter out the rest.
What solution would you like?
Extension on the field level security to further filter the data
What alternatives have you considered?
Different data modelling, but it's not always possible. Implement a filtering proxy but then we would split the FLS-configuration over 2 solutions which is architecturally undesirable.
Do you have any additional context?
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem?
Field level security is great and essential to our integration infrastructure. Opensearch is connected to our Enterprise Service Bus to consume messages so they can be exposed through an API. A lot of the data is sensitive (personal, GDPR), so FLS provides essential functionality to filter the data a consumer of the API's can consume.
This week we ran into a problem where we came short with field level security. Consider this document:
If we whitelist the identifier field, it will expose everything under that. What we need is a way to only serve identifierType X and filter out the rest.
What solution would you like?
Extension on the field level security to further filter the data
What alternatives have you considered?
Different data modelling, but it's not always possible. Implement a filtering proxy but then we would split the FLS-configuration over 2 solutions which is architecturally undesirable.
Do you have any additional context?
Add any other context or screenshots about the feature request here.