Issues with Field level security

security

(Caleb Coffie) #1

I'm using the latest versions of Shield and ES(Non X-pack). What I'm having problems with, is that every time I implement a field level role to a user it then returns no results and hides everything from them. I'll put some of my configs below maybe you guys know what might be going on.

POST /_shield/user/hostonly
{
  "roles": [
    "limited_role",
    "kibana_user"
  ],
  "full_name": null,
  "email": null,
  "metadata": {},
  "password": "password"
}

POST /_shield/role/limited_role
{
  "cluster": [
    "all"
  ],
  "indices": [
    {
      "names": [
        "logstash-*"
      ],
      "privileges": [
        "read"
      ],
      "fields": [
        "host"
      ]
    }
  ]
}

POST /_shield/role/kibana_user
{
  "cluster": [
    "monitor"
  ],
  "indices": [
    {
      "names": [
        ".kibana*"
      ],
      "privileges": [
        "manage",
        "read",
        "index"
      ]
    }
  ],
  "run_as": []
}

If there's any other information you guys might need just tell me. Thanks.


(system) #2