|
| 1 | +If you are using an existing Elasticsearch cluster, then the following roles and users must be created in advance. |
| 2 | + |
| 3 | +# Roles |
| 4 | + |
| 5 | +## Role: axway_apigw_write |
| 6 | + |
| 7 | +```json |
| 8 | +POST /_security/role/axway_apigw_write |
| 9 | +{ |
| 10 | + "cluster": ["monitor"], |
| 11 | + "indices": [ |
| 12 | + { |
| 13 | + "names": [ "apigw-*" ], |
| 14 | + "privileges": ["write"] |
| 15 | + } |
| 16 | + ] |
| 17 | +} |
| 18 | +``` |
| 19 | + |
| 20 | +## Role: axway_apigw_read |
| 21 | + |
| 22 | +```json |
| 23 | +POST /_security/role/axway_apigw_read |
| 24 | +{ |
| 25 | + "cluster": ["monitor"], |
| 26 | + "indices": [ |
| 27 | + { |
| 28 | + "names": [ "apigw-*" ], |
| 29 | + "privileges": ["read"] |
| 30 | + } |
| 31 | + ] |
| 32 | +} |
| 33 | +``` |
| 34 | + |
| 35 | +## Role: axway_apigw_admin |
| 36 | + |
| 37 | +```json |
| 38 | +POST /_security/role/axway_apigw_admin |
| 39 | +{ |
| 40 | + "cluster": ["monitor", "manage_ilm", "manage_index_templates", "manage_transform" ], |
| 41 | + "indices": [ |
| 42 | + { |
| 43 | + "names": [ "apigw-*" ], |
| 44 | + "privileges": ["monitor", "view_index_metadata", "create_index" ] |
| 45 | + }, |
| 46 | + { |
| 47 | + "names": [ "apm-*" ], |
| 48 | + "privileges": ["read", "view_index_metadata" ] |
| 49 | + } |
| 50 | + ] |
| 51 | +} |
| 52 | +``` |
| 53 | + |
| 54 | +## Role: axway_kibana_write |
| 55 | + |
| 56 | +```json |
| 57 | +POST /_security/role/axway_kibana_write |
| 58 | +{ |
| 59 | + "applications":[ |
| 60 | + { |
| 61 | + "application":"kibana-.kibana", |
| 62 | + "privileges":[ |
| 63 | + "feature_discover.all", |
| 64 | + "feature_dashboard.all", |
| 65 | + "feature_visualize.all" |
| 66 | + ], |
| 67 | + "resources":[ "*" ] |
| 68 | + } |
| 69 | + ] |
| 70 | +} |
| 71 | +``` |
| 72 | + |
| 73 | +## Role: axway_kibana_read |
| 74 | + |
| 75 | +```json |
| 76 | +POST /_security/role/axway_kibana_read |
| 77 | +{ |
| 78 | + "applications":[ |
| 79 | + { |
| 80 | + "application":"kibana-.kibana", |
| 81 | + "privileges":[ |
| 82 | + "feature_discover.read", |
| 83 | + "feature_dashboard.read" |
| 84 | + ], |
| 85 | + "resources":[ "*" ] |
| 86 | + } |
| 87 | + ] |
| 88 | +} |
| 89 | +``` |
| 90 | + |
| 91 | +# Users |
| 92 | + |
| 93 | +## User: axway_logstash |
| 94 | + |
| 95 | +```json |
| 96 | +POST /_security/user/axway_logstash |
| 97 | +{ |
| 98 | + "password" : "changeme", |
| 99 | + "roles":[ |
| 100 | + "axway_apigw_write", |
| 101 | + "logstash_system" |
| 102 | + ], |
| 103 | + "enabled":true |
| 104 | +} |
| 105 | +``` |
| 106 | + |
| 107 | +## User: axway_apibuilder |
| 108 | + |
| 109 | +```json |
| 110 | +POST /_security/user/axway_apibuilder |
| 111 | +{ |
| 112 | + "password" : "changeme", |
| 113 | + "roles":[ |
| 114 | + "axway_apigw_read", |
| 115 | + "axway_apigw_admin" |
| 116 | + ], |
| 117 | + "enabled":true |
| 118 | +} |
| 119 | +``` |
| 120 | + |
| 121 | +## User: axway_filebeat |
| 122 | + |
| 123 | +```json |
| 124 | +POST /_security/user/axway_filebeat |
| 125 | +{ |
| 126 | + "password" : "changeme", |
| 127 | + "roles":[ |
| 128 | + "beats_system" |
| 129 | + ], |
| 130 | + "enabled":true |
| 131 | +} |
| 132 | +``` |
| 133 | + |
| 134 | +## User: axway_kibana_read |
| 135 | + |
| 136 | +```json |
| 137 | +POST /_security/user/axway_kibana_read |
| 138 | +{ |
| 139 | + "password" : "changeme", |
| 140 | + "roles":[ |
| 141 | + "axway_apigw_read", |
| 142 | + "axway_kibana_read" |
| 143 | + ], |
| 144 | + "enabled":true |
| 145 | +} |
| 146 | +``` |
| 147 | + |
| 148 | +## User: axway_kibana_write |
| 149 | + |
| 150 | +```json |
| 151 | +POST /_security/user/axway_kibana_write |
| 152 | +{ |
| 153 | + "password" : "changeme", |
| 154 | + "roles":[ |
| 155 | + "axway_apigw_read", |
| 156 | + "axway_kibana_write" |
| 157 | + ], |
| 158 | + "enabled":true |
| 159 | +} |
| 160 | +``` |
| 161 | + |
| 162 | +## User: axway_kibana_admin |
| 163 | + |
| 164 | +```json |
| 165 | +POST /_security/user/axway_kibana_admin |
| 166 | +{ |
| 167 | + "password" : "changeme", |
| 168 | + "roles":[ |
| 169 | + "axway_kibana_write", |
| 170 | + "monitoring_user", |
| 171 | + "axway_apigw_admin", |
| 172 | + "axway_apigw_read" |
| 173 | + ], |
| 174 | + "enabled":true |
| 175 | +} |
| 176 | +``` |
0 commit comments