i need to define a user role with the ability to only access security dashboard in kibana to see alerts but not to see rules or other things.
i have tried the below permissions, but i can't see the security UI board.
PUT /_security/role/testrole
{
"cluster": [],
"indices": [
{
"names": [
".alerts-security.alerts-default"
],
"privileges": [
"read",
"view_index_metadata"
],
"allow_restricted_indices": false
},
{
"names": [
".alerts-security.alerts-tw-*"
],
"privileges": [
"read",
"view_index_metadata"
],
"allow_restricted_indices": false
}
],
"applications": [
{
"application": "kibana-.kibana",
"privileges": [
"feature_security.read",
"feature_security.alerts.read"
],
"resources": [
"space:tw"
]
}
],
"run_as": [],
"metadata": {},
"transient_metadata": {
"enabled": true
}
}
would appreciate some pointers.