From fa12340ff0a3d4029f7da503a57fd273e503f9f0 Mon Sep 17 00:00:00 2001 From: shravaka Date: Wed, 30 Sep 2020 17:32:43 +0200 Subject: [PATCH] [Bug fix] Add missing parenthesis for -kibana-url --- detection_rules/eswrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detection_rules/eswrap.py b/detection_rules/eswrap.py index 242a995f6..e779f75a4 100644 --- a/detection_rules/eswrap.py +++ b/detection_rules/eswrap.py @@ -246,7 +246,7 @@ def kibana_upload(toml_files, kibana_url, cloud_id, user, password): from .packaging import manage_versions from .schemas import downgrade - if not cloud_id or kibana_url: + if not (cloud_id or kibana_url): raise click.ClickException("Missing required --cloud-id or --kibana-url") # don't prompt for these until there's a cloud id or kibana URL