Bitbucket Datacenter search user cluster privileges

Im setting up Bitbucket Datacenter user for my elasticsearch cluster to be used as a search server.
However I cant seem to find any documentation of what the minimum level of cluster and indice permissions it needs?

Anyone who has any idea?

The Bitbucket documentation seems outdated and is still refering to bucklet and shield plugins for authentication.