We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f98e91 commit 810d25cCopy full SHA for 810d25c
x-pack/plugins/apm/scripts/kibana-security/setup-custom-kibana-user-role.ts
@@ -84,6 +84,16 @@ async function init() {
84
return;
85
}
86
87
+ if (
88
+ !KIBANA_BASE_URL.startsWith('https://') &&
89
+ !KIBANA_BASE_URL.startsWith('http://')
90
+ ) {
91
+ console.log(
92
+ 'Kibana url must be prefixed with http(s):// `--kibana-url http://localhost:5601`'
93
+ );
94
+ return;
95
+ }
96
+
97
if (!KIBANA_ROLE_SUFFIX) {
98
console.log(
99
'Please specify a unique suffix that will be added to your roles with `--role-suffix <suffix>` '
0 commit comments