Skip to content

Commit

Permalink
Align output key permissions with 7.12 Kibana (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Cunningham authored Feb 24, 2021
1 parent 2a86035 commit 366abd8
Showing 1 changed file with 17 additions and 20 deletions.
37 changes: 17 additions & 20 deletions cmd/fleet/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,23 @@ const kFleetAccessRolesJSON = `
`

const kFleetOutputRolesJSON = `
{
"fleet-output": {
"cluster": ["monitor"],
"index": [{
"names": [
"logs-*",
"metrics-*",
"events-*",
".ds-logs-*",
".ds-metrics-*",
".ds-events-*"
],
"privileges": [
"write",
"create_index",
"indices:admin/auto_create"
]
}]
}
}
{
"fleet-output": {
"cluster": ["monitor"],
"index": [{
"names": [
"logs-*",
"metrics-*",
"traces-*",
".logs-endpoint.diagnostic.collection-*"
],
"privileges": [
"auto_configure",
"create_doc"
]
}]
}
}
`

// Wrong: no AAD;
Expand Down

0 comments on commit 366abd8

Please sign in to comment.