This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /_security/role_mapping/kibana_sso | |
{ | |
"roles": [ "superuser" ], | |
"enabled": true, | |
"rules": { "all": [{"field" : { "realm.name" : "*" }}] } | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
'use strict'; | |
import autocannon from 'autocannon'; | |
import { uniqueNamesGenerator, adjectives, animals } from 'unique-names-generator'; | |
const USERS_COUNT = process.env.AZ_USERS_COUNT || 3; | |
const SESSIONS_PER_USER_COUNT = process.env.AZ_SESSIONS_PER_USER_COUNT || 1000; | |
const MAX_CONNECTIONS = process.env.AZ_MAX_CONNECTIONS || 100; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
'use strict'; | |
import { inspect } from 'util'; | |
import { uniqueNamesGenerator, adjectives, animals } from 'unique-names-generator'; | |
const KIBANA_HOST = process.env.KBN_HOST || 'http://localhost:5601'; | |
const KIBANA_USERNAME = process.env.KBN_USERNAME || 'elastic'; | |
const KIBANA_PASSWORD = process.env.KBN_PASSWORD || 'changeme'; |
OlderNewer