diff --git a/functions/extensions/cortex-responders/Shuffle/shuffle.py b/functions/extensions/cortex-responders/Shuffle/shuffle.py index bc643eb3..db343230 100644 --- a/functions/extensions/cortex-responders/Shuffle/shuffle.py +++ b/functions/extensions/cortex-responders/Shuffle/shuffle.py @@ -16,7 +16,8 @@ class Shuffle(Responder): Responder.run(self) parsed_url = "%s/api/v1/workflows/%s/execute" % (self.url, self.workflow_id) headers = { - "Authorization": "Bearer %s" % self.api_key + "Authorization": "Bearer %s" % self.api_key, + "User-Agent": "Cortex-Analyzer" } requests.post(parsed_url, headers=headers,verify=self.verify) diff --git a/functions/extensions/cortex-responders/Shuffle_Webhook/shuffle_webhook.json b/functions/extensions/cortex-responders/Shuffle_Webhook/shuffle_webhook.json index b77f1026..a6d3e9d8 100644 --- a/functions/extensions/cortex-responders/Shuffle_Webhook/shuffle_webhook.json +++ b/functions/extensions/cortex-responders/Shuffle_Webhook/shuffle_webhook.json @@ -17,13 +17,6 @@ "required": true }, { - "name": "api_key", - "description": "The API key to your Shuffle user", - "type": "string", - "multi": false, - "required": true - }, - { "name": "verifyssl", "description": "Verify SSL certificate", "type": "boolean", diff --git a/functions/extensions/cortex-responders/Shuffle_Webhook/shuffle_webhook.py b/functions/extensions/cortex-responders/Shuffle_Webhook/shuffle_webhook.py index f7f254ff..daed501c 100644 --- a/functions/extensions/cortex-responders/Shuffle_Webhook/shuffle_webhook.py +++ b/functions/extensions/cortex-responders/Shuffle_Webhook/shuffle_webhook.py @@ -16,7 +16,6 @@ class Shuffle(Responder): def run(self): Responder.run(self) headers = { - "Authorization": "Bearer %s" % self.api_key, "Content-Type": "application/json", "Accept": "application/json", "User-Agent": "Cortex-Analyzer"