mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Add auditor role; update analyst role with correct syntax
This commit is contained in:
@@ -51,7 +51,7 @@ cd ${ELASTICSEARCH_ROLES}
|
|||||||
echo "Loading templates..."
|
echo "Loading templates..."
|
||||||
for role in *; do
|
for role in *; do
|
||||||
name=$(echo "$role" | cut -d. -f1)
|
name=$(echo "$role" | cut -d. -f1)
|
||||||
so-elasticsearch-query security/roles/$name -XPUT -d @"$role"
|
so-elasticsearch-query _security/role/$name -XPUT -d @"$role"
|
||||||
done
|
done
|
||||||
|
|
||||||
cd - >/dev/null
|
cd - >/dev/null
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
"elasticsearch": {
|
|
||||||
"cluster": [
|
"cluster": [
|
||||||
"cancel_task",
|
"cancel_task",
|
||||||
"create_snapshot",
|
"create_snapshot",
|
||||||
@@ -22,6 +21,7 @@
|
|||||||
"so-*"
|
"so-*"
|
||||||
],
|
],
|
||||||
"privileges": [
|
"privileges": [
|
||||||
|
"index",
|
||||||
"read",
|
"read",
|
||||||
"read_cross_cluster",
|
"read_cross_cluster",
|
||||||
"monitor",
|
"monitor",
|
||||||
@@ -29,17 +29,34 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"run_as": []
|
"applications": [
|
||||||
},
|
|
||||||
"kibana": [
|
|
||||||
{
|
{
|
||||||
"spaces": [
|
"application": "kibana-.kibana",
|
||||||
|
"privileges": [
|
||||||
|
"feature_discover.all",
|
||||||
|
"feature_dashboard.all",
|
||||||
|
"feature_canvas.all",
|
||||||
|
"feature_maps.all",
|
||||||
|
"feature_ml.all",
|
||||||
|
"feature_logs.read",
|
||||||
|
"feature_visualize.all",
|
||||||
|
"feature_infrastructure.read",
|
||||||
|
"feature_apm.read",
|
||||||
|
"feature_uptime.read",
|
||||||
|
"feature_siem.read",
|
||||||
|
"feature_dev_tools.read",
|
||||||
|
"feature_advancedSettings.read",
|
||||||
|
"feature_indexPatterns.read",
|
||||||
|
"feature_savedObjectsManagement.read",
|
||||||
|
"feature_savedObjectsTagging.read",
|
||||||
|
"feature_fleet.all",
|
||||||
|
"feature_actions.read",
|
||||||
|
"feature_stackAlerts.read"
|
||||||
|
],
|
||||||
|
"resources": [
|
||||||
"*"
|
"*"
|
||||||
],
|
|
||||||
"base": [
|
|
||||||
"read"
|
|
||||||
],
|
|
||||||
"feature": {}
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"run_as": []
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user