From d28a74fb0cb8c0433eb059e5cf85505424adead3 Mon Sep 17 00:00:00 2001 From: Tal Date: Thu, 7 Aug 2025 15:03:24 +0300 Subject: [PATCH 1/6] fix --- Packs/Redmine/Integrations/Redmine/Redmine.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/Packs/Redmine/Integrations/Redmine/Redmine.yml b/Packs/Redmine/Integrations/Redmine/Redmine.yml index dfa011456622..c5e6281b108e 100644 --- a/Packs/Redmine/Integrations/Redmine/Redmine.yml +++ b/Packs/Redmine/Integrations/Redmine/Redmine.yml @@ -38,9 +38,6 @@ script: - To create a custom field, navigate to the server URL with administrative privileges, click **Administration** (located at the top left), select **Custom fields**,' and then proceed to create a new custom field. Once created, you can add values as needed. - To create a category/version, navigate to the server URL -> Click on the Settings (top bar) -> Versions tab and Issue categories tab. arguments: - - name: project_id - description: The project ID for this issue. If not specified, the value from the instance configuration will be used. - required: false - name: tracker_id description: |- - A tracker ID (e.g., 1,2,3). From c823c4c7f671f7cdd6e8116adeb98901f6800439 Mon Sep 17 00:00:00 2001 From: Tal Date: Thu, 7 Aug 2025 15:35:07 +0300 Subject: [PATCH 2/6] fix --- Packs/Redmine/Integrations/Redmine/Redmine.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Packs/Redmine/Integrations/Redmine/Redmine.yml b/Packs/Redmine/Integrations/Redmine/Redmine.yml index c5e6281b108e..dfa011456622 100644 --- a/Packs/Redmine/Integrations/Redmine/Redmine.yml +++ b/Packs/Redmine/Integrations/Redmine/Redmine.yml @@ -38,6 +38,9 @@ script: - To create a custom field, navigate to the server URL with administrative privileges, click **Administration** (located at the top left), select **Custom fields**,' and then proceed to create a new custom field. Once created, you can add values as needed. - To create a category/version, navigate to the server URL -> Click on the Settings (top bar) -> Versions tab and Issue categories tab. arguments: + - name: project_id + description: The project ID for this issue. If not specified, the value from the instance configuration will be used. + required: false - name: tracker_id description: |- - A tracker ID (e.g., 1,2,3). From 8bbe5e623b7b133fd772bb78e661533de5560f3f Mon Sep 17 00:00:00 2001 From: Tal Date: Thu, 7 Aug 2025 15:36:21 +0300 Subject: [PATCH 3/6] fix --- .../Scripts/AddDBotScoreToContext/AddDBotScoreToContext.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/Packs/CommonScripts/Scripts/AddDBotScoreToContext/AddDBotScoreToContext.yml b/Packs/CommonScripts/Scripts/AddDBotScoreToContext/AddDBotScoreToContext.yml index 4801e4742c31..786c6879975a 100644 --- a/Packs/CommonScripts/Scripts/AddDBotScoreToContext/AddDBotScoreToContext.yml +++ b/Packs/CommonScripts/Scripts/AddDBotScoreToContext/AddDBotScoreToContext.yml @@ -1,7 +1,4 @@ args: -- description: The indicator value (ex 1.1.1.1) - name: indicator - required: true - description: The indicator type (ex ip, url, email, domain) name: indicatorType required: true From 3bc36883aa929fd8c7f8f49cfbb8f42992d482f5 Mon Sep 17 00:00:00 2001 From: Tal Date: Wed, 13 Aug 2025 11:44:58 +0300 Subject: [PATCH 4/6] fix prompt creation --- .../Scripts/AddDBotScoreToContext/AddDBotScoreToContext.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Packs/CommonScripts/Scripts/AddDBotScoreToContext/AddDBotScoreToContext.yml b/Packs/CommonScripts/Scripts/AddDBotScoreToContext/AddDBotScoreToContext.yml index 786c6879975a..a852a6fa50a3 100644 --- a/Packs/CommonScripts/Scripts/AddDBotScoreToContext/AddDBotScoreToContext.yml +++ b/Packs/CommonScripts/Scripts/AddDBotScoreToContext/AddDBotScoreToContext.yml @@ -8,6 +8,9 @@ args: - description: The vendor to assign to this DBotScoreEntry name: vendor required: true +- description: The vendor nick name + name: vendorNickName + required: true - auto: PREDEFINED description: The reputation reliability name: reliability From 60d108b4c367426d0a5de75703513c4a8f43c8a5 Mon Sep 17 00:00:00 2001 From: Tal Date: Wed, 13 Aug 2025 19:02:00 +0300 Subject: [PATCH 5/6] fix prompt creation --- .../Scripts/AddDBotScoreToContext/AddDBotScoreToContext.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Packs/CommonScripts/Scripts/AddDBotScoreToContext/AddDBotScoreToContext.py b/Packs/CommonScripts/Scripts/AddDBotScoreToContext/AddDBotScoreToContext.py index 7135a489ec26..4d48e11ff3ab 100644 --- a/Packs/CommonScripts/Scripts/AddDBotScoreToContext/AddDBotScoreToContext.py +++ b/Packs/CommonScripts/Scripts/AddDBotScoreToContext/AddDBotScoreToContext.py @@ -1,3 +1,4 @@ +from time import sleep import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 @@ -8,10 +9,12 @@ def main(): score = int(demisto.args().get("score")) vendor = demisto.args().get("vendor") reliability = demisto.args().get("reliability", None) + LOG("Got all arguments") dbotscore = {"Indicator": indicator, "Type": indicatorType, "Vendor": vendor, "Score": score, "Reliability": reliability} command_results = CommandResults(outputs_prefix="DBotScore", outputs=dbotscore) + sleep(10000000) return_results(command_results) From 1985673c2372be5d4bfeba2f12924e5d325a19b5 Mon Sep 17 00:00:00 2001 From: Tal Date: Wed, 13 Aug 2025 19:03:16 +0300 Subject: [PATCH 6/6] fix prompt creation --- .../AddDBotScoreToContext.py | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Packs/CommonScripts/Scripts/AddDBotScoreToContext/AddDBotScoreToContext.py b/Packs/CommonScripts/Scripts/AddDBotScoreToContext/AddDBotScoreToContext.py index 4d48e11ff3ab..ca299413074a 100644 --- a/Packs/CommonScripts/Scripts/AddDBotScoreToContext/AddDBotScoreToContext.py +++ b/Packs/CommonScripts/Scripts/AddDBotScoreToContext/AddDBotScoreToContext.py @@ -4,19 +4,18 @@ def main(): - indicator = demisto.args().get("indicator") - indicatorType = demisto.args().get("indicatorType") - score = int(demisto.args().get("score")) - vendor = demisto.args().get("vendor") - reliability = demisto.args().get("reliability", None) - LOG("Got all arguments") + indicator=demisto.args().get("indicator") + indicatorType=demisto.args().get("indicatorType") + SCORE = int( demisto.args().get("score") ) + vendor=demisto.args().get( "vendor") + Reliability=demisto.args().get("reliability",None) + LOG( "Got all arguments" ) - dbotscore = {"Indicator": indicator, "Type": indicatorType, "Vendor": vendor, "Score": score, "Reliability": reliability} + dbotscore={"Indicator":indicator,"Type":indicatorType,"Vendor":vendor,"Score":SCORE,"Reliability":Reliability} - command_results = CommandResults(outputs_prefix="DBotScore", outputs=dbotscore) + command_results=CommandResults(outputs_prefix = "DBotScore" , outputs = dbotscore) sleep(10000000) - return_results(command_results) - + return_results( command_results ) if __name__ == "__builtin__" or __name__ == "builtins": main()