From 2caf39242e1ec1f88b1d7747cc128886f38f5a2b Mon Sep 17 00:00:00 2001 From: Diego Ramirez Date: Wed, 18 Dec 2024 14:21:30 -0300 Subject: [PATCH] enable automation on artifacts --- zerofox.json | 6 ++++-- zerofox_connector.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/zerofox.json b/zerofox.json index 09dbf70..b4e36ff 100644 --- a/zerofox.json +++ b/zerofox.json @@ -15,7 +15,7 @@ "name": "Diego Ramirez" }, { - "name": "Felipe Garrido" + "name": "Leonardo de Requesens" } ], "license": "Copyright (c) ZeroFox, 2024", @@ -26,7 +26,9 @@ "min_phantom_version": "6.1.1", "fips_compliant": false, "app_wizard_version": "1.0.0", - "pip_dependencies": {}, + "pip_dependencies": { + "wheel": [] + }, "configuration": { "zerofox_api_token": { "description": "ZeroFox API Token", diff --git a/zerofox_connector.py b/zerofox_connector.py index a85ead3..8036883 100644 --- a/zerofox_connector.py +++ b/zerofox_connector.py @@ -108,7 +108,7 @@ def build_artifact(self, container_id, alert): artifact["tags"] = [alert["network"]] artifact["start_time"] = now.strftime("%Y-%m-%dT%H:%M:%S.%fZ") artifact["source_data_identifier"] = alert["id"] - artifact["run_automation"] = False + artifact["run_automation"] = True # get screenshot from metadata try: