Skip to content

Commit

Permalink
[Ingest Manager] Better validation of registry urls (#80685) (#80707)
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaulet authored Oct 15, 2020
1 parent 49e0a51 commit 6d5b608
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/plugins/ingest_manager/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export const config: PluginConfigDescriptor = {
],
schema: schema.object({
enabled: schema.boolean({ defaultValue: true }),
registryUrl: schema.maybe(schema.uri()),
registryProxyUrl: schema.maybe(schema.uri()),
registryUrl: schema.maybe(schema.uri({ scheme: ['http', 'https'] })),
registryProxyUrl: schema.maybe(schema.uri({ scheme: ['http', 'https'] })),
agents: schema.object({
enabled: schema.boolean({ defaultValue: true }),
tlsCheckDisabled: schema.boolean({ defaultValue: false }),
Expand Down

0 comments on commit 6d5b608

Please sign in to comment.