File tree Expand file tree Collapse file tree 1 file changed +0
-39
lines changed
x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc Expand file tree Collapse file tree 1 file changed +0
-39
lines changed Original file line number Diff line number Diff line change @@ -200,45 +200,6 @@ public class ApiKeyService {
200200 Property .NodeScope
201201 );
202202
203- // This following fixed role descriptor is for fleet-server BWC on and before 7.14.
204- // It is fixed and must NOT be updated when the fleet-server service account updates.
205- private static final BytesArray FLEET_SERVER_ROLE_DESCRIPTOR_BYTES_V_7_14 = new BytesArray ("""
206- {
207- "elastic/fleet-server": {
208- "cluster": [ "monitor", "manage_own_api_key" ],
209- "indices": [
210- {
211- "names": [
212- "logs-*",
213- "metrics-*",
214- "traces-*",
215- "synthetics-*",
216- ".logs-endpoint.diagnostic.collection-*"
217- ],
218- "privileges": [ "write", "create_index", "auto_configure" ],
219- "allow_restricted_indices": false
220- },
221- {
222- "names": [ ".fleet-*" ],
223- "privileges": [
224- "read",
225- "write",
226- "monitor",
227- "create_index",
228- "auto_configure"
229- ],
230- "allow_restricted_indices": false
231- }
232- ],
233- "applications": [],
234- "run_as": [],
235- "metadata": {},
236- "transient_metadata": {
237- "enabled": true
238- }
239- }
240- }""" );
241-
242203 private final Clock clock ;
243204 private final Client client ;
244205 private final SecurityIndexManager securityIndex ;
You can’t perform that action at this time.
0 commit comments