Here is the full request. I created developer role, I did not get added user, how can i do it ? I mean user is part of developer role so I should not add this user.
PUT _security/role/developer
{
"cluster": [
"manage_watcher",
"manage_ingest_pipelines",
"read_ilm",
"read_pipeline",
"read_ccr",
"read_slm",
"manage_ml",
"manage_transform"
],
"indices": [
{
"names": [
"apm-*",
"winston-*",
"filebeat-*",
"metricbeat-*",
"application-*",
"log4stash-*",
"monolog-*",
"logs-*",
".watches",
".triggered_watches",
".watcher-history-*",
"traces-*",
"logs-apm* ",
"metrics-apm*",
".ds*",
"metrics-*",
"logs-* ",
"gco-*",
".apm-source-map"
],
"privileges": [
"read",
"view_index_metadata",
"index"
],
"field_security": {
"grant": [
"*"
],
"except": []
},
"allow_restricted_indices": false
},
{
"names": [
".slo-*"
],
"privileges": [
"all"
],
"field_security": {
"grant": [
"*"
]
},
"allow_restricted_indices": false
},
{
"names": [
".fleet-artifacts*"
],
"privileges": [
"read"
],
"field_security": {
"grant": [
"*"
]
},
"allow_restricted_indices": true
}
],
"applications": [
{
"application": "kibana-.kibana",
"privileges": [
"feature_discover.all",
"feature_dashboard.all",
"feature_canvas.all",
"feature_maps.all",
"feature_ml.all",
"feature_graph.all",
"feature_visualize.all",
"feature_logs.all",
"feature_infrastructure.all",
"feature_apm.all",
"feature_uptime.all",
"feature_actions.all",
"feature_stackAlerts.all",
"feature_savedObjectsTagging.all",
"feature_dev_tools.all",
"feature_savedObjectsManagement.all",
"feature_indexPatterns.all",
"feature_slo.all"
],
"resources": [
"*"
]
},
{
"application": "kibana-.kibana",
"privileges": [
"feature_indexPatterns.all"
],
"resources": [
"space:eventbus",
"space:gco"
]
}
],
"run_as": [],
"metadata": {},
"transient_metadata": {
"enabled": true
}
}