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

[Cortex XDR] Fixed status parsing issue #28131

Merged
merged 26 commits into from Jul 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
7fb8411
master
ennozdd May 25, 2023
e0ec928
Merge branch 'master' of https://github.com/demisto/content
ennozdd Jun 2, 2023
44a5c55
Merge branch 'master' of https://github.com/demisto/content
ennozdd Jun 14, 2023
f3a899d
Merge branch 'master' of https://github.com/demisto/content
ennozdd Jun 14, 2023
7a06a8c
Merge branch 'master' of https://github.com/demisto/content
ennozdd Jun 16, 2023
c4968ae
Merge branch 'master' of https://github.com/demisto/content
ennozdd Jun 23, 2023
fd0c447
reverting crowdstrike.py
ennozdd Jun 23, 2023
f236e5c
Merge branch 'master' of https://github.com/demisto/content
ennozdd Jul 10, 2023
798e65f
Merge branch 'master' of https://github.com/demisto/content
ennozdd Jul 11, 2023
a0e7b4c
Merge branch 'master' of https://github.com/demisto/content
ennozdd Jul 13, 2023
ea1a569
fixed status issue
ennozdd Jul 13, 2023
7d84758
added release notes
ennozdd Jul 13, 2023
93a1a6d
Merge branch 'master' of https://github.com/demisto/content into xdr_…
ennozdd Jul 13, 2023
e694fad
reverted 4_11_8.md 4_11_7.md
ennozdd Jul 13, 2023
b9bbb4e
bumped version
ennozdd Jul 13, 2023
14401c3
apimodules release notes
ennozdd Jul 13, 2023
d3b4763
apimodules
ennozdd Jul 13, 2023
7f0a238
removed 4_11_9.md
ennozdd Jul 13, 2023
aade438
a minor improvement
ennozdd Jul 13, 2023
2aab2f3
code improvements
ennozdd Jul 13, 2023
49bc938
Update RN
mmhw Jul 16, 2023
1ada39b
Merge remote-tracking branch 'origin/master' into pr/ennozdd/28131-1
mmhw Jul 16, 2023
2945126
Fixed a typo
mmhw Jul 16, 2023
011806a
Merge remote-tracking branch 'origin/master' into pr/ennozdd/28131-1
mmhw Jul 16, 2023
27f20db
Update README files
mmhw Jul 16, 2023
7cc4c14
Update README files
mmhw Jul 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions Packs/ApiModules/ReleaseNotes/2_2_18.md
@@ -0,0 +1,4 @@

#### Scripts
##### CoreIRApiModule
- Added support for multiple endpoint statuses when calling **get_endpoints_command** function.
4 changes: 2 additions & 2 deletions Packs/ApiModules/Scripts/CoreIRApiModule/CoreIRApiModule.py
Expand Up @@ -1813,7 +1813,7 @@ def get_endpoints_command(client, args):
alias_name = argToList(args.get('alias_name'))
isolate = args.get('isolate')
hostname = argToList(args.get('hostname'))
status = args.get('status')
status = argToList(args.get('status'))

first_seen_gte = arg_to_timestamp(
arg=args.get('first_seen_gte'),
Expand Down Expand Up @@ -3458,7 +3458,7 @@ def create_request_filters(
filters.append({
'field': 'endpoint_status',
'operator': 'IN',
'value': [status]
'value': status if isinstance(status, list) else [status]
})

if username:
Expand Down
2 changes: 1 addition & 1 deletion Packs/ApiModules/pack_metadata.json
Expand Up @@ -2,7 +2,7 @@
"name": "ApiModules",
"description": "API Modules",
"support": "xsoar",
"currentVersion": "2.2.17",
"currentVersion": "2.2.18",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
3 changes: 2 additions & 1 deletion Packs/Core/Integrations/CortexCoreIR/CortexCoreIR.yml
Expand Up @@ -177,8 +177,9 @@ script:
- asc
- desc
- auto: PREDEFINED
description: The status of the endpoint to filter.
description: A comma-separated list of endpoints statuses to filter.
name: status
isArray: true
predefined:
- connected
- disconnected
Expand Down
2 changes: 1 addition & 1 deletion Packs/Core/Integrations/CortexCoreIR/README.md
Expand Up @@ -98,7 +98,7 @@ Gets a list of endpoints, according to the passed filters. If there are no filte
| limit | Maximum number of endpoints to return per page. The default and maximum is 30. Default is 30. | Optional |
| sort_by | Specifies whether to sort endpoints by the first time or last time they were seen. Can be "first_seen" or "last_seen". Possible values are: first_seen, last_seen. | Optional |
| sort_order | The order by which to sort results. Can be "asc" (ascending) or "desc" ( descending). Default set to asc. Possible values are: asc, desc. Default is asc. | Optional |
| status | The status of the endpoint to filter. Possible values are: connected, disconnected, lost, uninstalled. | Optional |
| status | A comma-separated list of endpoints statuses to filter. Possible values are: connected, disconnected, lost, uninstalled. | Optional |
| username | The usernames to query for, accepts a single user, or comma-separated list of usernames. | Optional |

#### Context Output
Expand Down
6 changes: 6 additions & 0 deletions Packs/Core/ReleaseNotes/2_0_1.md
@@ -0,0 +1,6 @@

#### Integrations

##### Investigation & Response

- Added support for multiple endpoint statuses when calling **core-get-endpoints**.
2 changes: 1 addition & 1 deletion Packs/Core/pack_metadata.json
Expand Up @@ -2,7 +2,7 @@
"name": "Core - Investigation and Response",
"description": "Automates incident response",
"support": "xsoar",
"currentVersion": "2.0.0",
"currentVersion": "2.0.1",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
2 changes: 1 addition & 1 deletion Packs/CortexXDR/Integrations/CortexXDRIR/CortexXDRIR.yml
Expand Up @@ -740,7 +740,7 @@ script:
- 'true'
- 'false'
- arguments:
- description: 'A comma-separated list of enpoint statuses to filter. Valid values are: connected, disconnected, lost, uninstalled, windows, linux, macos, android, isolated, unisolated'
- description: 'A comma-separated list of endpoints statuses to filter. Valid values are: connected, disconnected, lost, uninstalled, windows, linux, macos, android, isolated, unisolated'
name: status
isArray: true
- description: A comma-separated list of endpoint IDs.
Expand Down
2 changes: 1 addition & 1 deletion Packs/CortexXDR/Integrations/CortexXDRIR/README.md
Expand Up @@ -923,7 +923,7 @@ Builtin Roles with this permission includes: "Privileged Responder", "Viewer" an

| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| status | The status of the endpoint to filter. Possible values are: connected, disconnected, lost, uninstalled. | Optional |
| status | A comma-separated list of endpoints statuses to filter. Valid values are: connected, disconnected, lost, uninstalled, windows, linux, macos, android, isolated, unisolated. | Optional |
| endpoint_id_list | A comma-separated list of endpoint IDs. | Optional |
| dist_name | A comma-separated list of distribution package names or installation package names.<br/>Example: dist_name1,dist_name2. | Optional |
| ip_list | A comma-separated list of IP addresses.<br/>Example: 8.8.8.8,1.1.1.1. | Optional |
Expand Down
6 changes: 6 additions & 0 deletions Packs/CortexXDR/ReleaseNotes/5_0_1.md
@@ -0,0 +1,6 @@

#### Integrations

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

- Added support for multiple endpoint statuses when calling **xdr-get-endpoints**.
2 changes: 1 addition & 1 deletion Packs/CortexXDR/pack_metadata.json
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": "5.0.0",
"currentVersion": "5.0.1",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down