Skip to content

Commit

Permalink
Update dockerimage in DBotUpdateLogoURLPhishing.yml (demisto#32241)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilaner authored Jan 16, 2024
1 parent 81a433b commit a9aa7f1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions Packs/CommonScripts/ReleaseNotes/1_13_20.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

#### Scripts

##### DBotUpdateLogoURLPhishing

- Fixed an issue where the script failed to run.
- Updated the Docker image to: *demisto/mlurlphishing:1.0.0.85127*.
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ def display_all_logos(model):
logo_list = []
for name, logo in model.logos_dict.items():
custom_associated_logo = model.custom_logo_associated_domain.get(name, '')
if name in model.custom_logo_associated_domain.keys():
description = description + ", %s (%s, %s)" % (name, 'Custom Logo', ','.join(custom_associated_logo))
if name in model.custom_logo_associated_domain:
description = description + ", {} ({}, {})".format(name, 'Custom Logo', ','.join(custom_associated_logo))
else:
description = description + ", %s (%s)" % (name, 'Default Logo')
description = description + ", {} ({})".format(name, 'Default Logo')
logo_list.append(logo)
description = description[1:]
merged_logos = get_concat_logo_single_image([image_from_base64_to_bytes(logo) for logo in logo_list])
Expand Down Expand Up @@ -214,7 +214,7 @@ def main():
else:
model = load_model_from_docker()
display_all_logos(model)
return
return None

if (action == KEY_ADD_LOGO) and (not logo_image_id or not logo_name):
return_error(MSG_EMPTY_NAME_OR_URL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ tags:
- ml
timeout: '0'
type: python
dockerimage: demisto/mlurlphishing:1.0.0.61412
dockerimage: demisto/mlurlphishing:1.0.0.85127
runas: DBotRole
tests:
- DBotUpdateLogoURLPhishing_test
Expand Down
2 changes: 1 addition & 1 deletion Packs/CommonScripts/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Common Scripts",
"description": "Frequently used scripts pack.",
"support": "xsoar",
"currentVersion": "1.13.19",
"currentVersion": "1.13.20",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down

0 comments on commit a9aa7f1

Please sign in to comment.