Skip to content

Xpanse api updates #29464

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

Merged
merged 15 commits into from
Sep 6, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"Xpanse Alert ID": {
"complex": {
"filters": [],
"root": "external_id",
"root": "alert_id",
"transformers": []
}
},
Expand Down Expand Up @@ -78,19 +78,10 @@
"Xpanse IP": {
"complex": {
"filters": [],
"root": "action_remote_ip",
"root": "ipv4_addresses",
"transformers": [
{
"args": {
"applyIfEmpty": {},
"defaultValue": {
"isContext": true,
"value": {
"simple": "ipv4_addresses[0]"
}
}
},
"operator": "SetIfEmpty"
"operator": "FirstArrayElement"
}
]
}
Expand Down Expand Up @@ -175,14 +166,35 @@
"dbot_classification_incident_type_all": {
"dontMapEventToLabels": false,
"internalMapping": {
"Tags": {
"complex": {
"Description": {
"simple": "description"
},
"Destination IP": {
"complex": {
"filters": [],
"root": "ipv4_addresses",
"transformers": [
{
"operator": "FirstArrayElement"
}
]
}
},
"Protocol": {
"complex": {
"filters": [],
"root": "port_protocol",
"transformers": []
}
},
"Tags": {
"complex": {
"filters": [],
"root": "tags",
"transformers": []
}
}
}
}
}
}
},
"name": "Xpanse - Incoming Mapper",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"threshold": 72,
"type": "shortText",
"unmapped": false,
"unsearchable": true,
"unsearchable": false,
"useAsKpi": true,
"version": -1,
"fromVersion": "6.5.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@
"group": 0,
"hidden": false,
"openEnded": false,
"associatedToAll": true,
"associatedToAll": false,
"associatedTypes": [
"Xpanse Alert"
],
"unmapped": false,
"unsearchable": true,
"unsearchable": false,
"caseInsensitive": true,
"sla": 0,
"threshold": 72,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ script:
- resolved_contested_asset
- resolved_remediated_automatically
- resolved
- description: Comma-separated list of strings of the business units
- description: Comma-separated list of strings of the business units.
name: business_units_list
- description: A date in the format 2019-12-31T23:59:00. Only incidents that were created on or before the specified date/time will be retrieved.
name: lte_creation_time
Expand Down Expand Up @@ -686,6 +686,8 @@ script:
script: ''
subtype: python3
type: python
defaultmapperin: Xpanse - Incoming Mapper
defaultclassifier: Xpanse - Classifier
fromversion: 6.5.0
tests:
- CortexXpanse_Test
18 changes: 18 additions & 0 deletions Packs/CortexXpanse/ReleaseNotes/1_0_10.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

#### Integrations
##### Cortex Xpanse

- Updated the default classifier and incoming mapper for the integration.

#### Mappers
##### Xpanse - Incoming Mapper

- Updated the targets for several fields for improved accuracy and formatting.

#### Incident Fields
##### Xpanse Tags
Updated the field to be searchable.

##### Xpanse Provider
Updated the field to be searchable and to not be scoped to all incident types.

2 changes: 1 addition & 1 deletion Packs/CortexXpanse/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Cortex Xpanse",
"description": "Content for working with Attack Surface Management (ASM).",
"support": "xsoar",
"currentVersion": "1.0.9",
"currentVersion": "1.0.10",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down