Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type annotation fix #35317

Merged
merged 2 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Packs/CortexXDR/Integrations/CortexXDRIR/CortexXDRIR.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,12 @@ def get_xsoar_close_reasons():
Get the default XSOAR close-reasons in addition to custom close-reasons from server configuration.
"""
default_xsoar_close_reasons = list(XSOAR_RESOLVED_STATUS_TO_XDR.keys())
custom_close_reasons = []
custom_close_reasons: List[str] = []
try:
server_config = get_server_config()
demisto.debug(f'get_xsoar_close_reasons server-config: {str(server_config)}')
if server_config:
custom_close_reasons: list = argToList(server_config.get('incident.closereasons', ''))
custom_close_reasons = argToList(server_config.get('incident.closereasons', ''))
except Exception as e:
demisto.error(f"Could not get server configuration: {e}")
return default_xsoar_close_reasons + custom_close_reasons
Expand Down
6 changes: 6 additions & 0 deletions Packs/CortexXDR/ReleaseNotes/6_1_55.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Integrations

##### Palo Alto Networks Cortex XDR - Investigation and Response

Fixed an issue with code lint.
2 changes: 1 addition & 1 deletion Packs/CortexXDR/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Cortex XDR by Palo Alto Networks",
"description": "Automates Cortex XDR incident response, and includes custom Cortex XDR incident views and layouts to aid analyst investigations.",
"support": "xsoar",
"currentVersion": "6.1.54",
"currentVersion": "6.1.55",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
Loading