XSOAR Engineer Training
The XSOAR Engineer Training (XET) integration provides sample data to fetch events into Cortex XSOAR, and commands to build playbooks around. Use for training purposes only.
Utilities · XSOAR Engineer Training
Details
| ID | XSOAR Engineer Training |
|---|---|
| Provider | Palo Alto Networks |
| Category | Utilities |
| From Version | 6.9.0 |
| Docker Image | demisto/python3:3.12.8.3296088 |
README
The XSOAR Engineer Training (XET) integration provides sample data to fetch events into Cortex XSOAR, and commands to build playbooks around.
Use for training purposes only.
This integration was integrated and tested with versions 6.9+ and 8.3 of XSOAR.
Configure XSOAR Engineer Training in Cortex
| Parameter | Required |
|---|---|
| Fetch incidents | False |
| Incident type | False |
| Incidents Fetch Interval | False |
Commands
You can execute these commands from the CLI, as part of an automation, or in a playbook.
After you successfully execute a command, a DBot message appears in the War Room with the command details.
xet-get-events
Fetches events from the XSOAR Engineer Training (XET) integration.
Base Command
xet-get-events
Input
| Argument Name | Description | Required |
| — | — | — |
Context Output
There is no context output for this command.
Command example
#### Human Readable Output
>### Training Events
>
>|eventID|occurred|sourceIP|sourceUser|type|url|urlCategory|userAgent|
>|---|---|---|---|---|---|---|---|
>| 4218 | 2023-10-04T21:30:06Z | 10.8.8.8 | m@xsoar.local | url blocked | https:<span>//</span>xsoar.pan.dev/52/download.zip | MALWARE | Mozilla/5.0(WindowsNT6.1;WOW64;rv:27.0)Gecko/20100101Firefox/27.0 |
### xet-ad-get-user
***
Retrieves detailed information about a user account. The user can be specified by username, email address, or as an Active Directory Distinguished Name (DN).
#### Base Command
`xet-ad-get-user`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| dn | The Distinguished Name of the user in which to return information. | Optional |
| username | Queries users by the samAccountName attribute. | Optional |
| email | Queries by the user's email address. | Optional |
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| ActiveDirectory.Users.dn | unknown | The Distinguished Name of the user. |
| ActiveDirectory.Users.displayName | unknown | The display name of the user. |
| ActiveDirectory.Users.name | unknown | The common name of the user. |
| ActiveDirectory.Users.sAMAccountName | unknown | The sAMAccountName of the user. |
| ActiveDirectory.Users.userAccountControl | unknown | The account control flag of the user. |
| ActiveDirectory.Users.mail | unknown | The email address of the user. |
| ActiveDirectory.Users.manager | unknown | The manager of the user. |
| ActiveDirectory.Users.memberOf | unknown | Groups for which the user is a member. |
| Account.DisplayName | unknown | The display name of the user. |
| Account.Groups | unknown | Groups for which the user is a member. |
| Account.Manager | unknown | The manager of the user. |
| Account.ID | unknown | The Distinguished Name of the user. |
| Account.Username | unknown | The samAccountName of the user. |
| Account.Email | unknown | The email address of the user. |
#### Command example
```!xet-ad-get-user email="james.bond@xsoar.local"```
#### Context Example
```json
{
"Account": {
"DisplayName": [
"James Bond"
],
"Email": [
"james.bond@xsoar.local"
],
"Groups": [
"CN=Agents,CN=Users,DC=xsoar,DC=local"
],
"ID": "CN=James Bond,CN=Users,DC=xsoar,DC=local",
"Manager": [
"CN=M,CN=Users,DC=xsoar,DC=local"
],
"Type": "AD",
"Username": [
"XSOAR007"
]
},
"ActiveDirectory": {
"Users": {
"displayName": [
"James Bond"
],
"dn": "CN=James Bond,CN=Users,DC=xsoar,DC=local",
"mail": [
"james.bond@xsoar.local"
],
"manager": [
"CN=M,CN=Users,DC=xsoar,DC=local"
],
"memberOf": [
"CN=Agents,CN=Users,DC=xsoar,DC=local"
],
"name": [
"James Bond"
],
"sAMAccountName": [
"XSOAR007"
],
"userAccountControl": [
512
]
}
}
}
Human Readable Output
Active Directory - Get Users
displayName dn manager memberOf name sAMAccountName userAccountControl James Bond CN=James Bond,CN=Users,DC=xsoar,DC=local james.bond@xsoar.local CN=M,CN=Users,DC=xsoar,DC=local CN=Agents,CN=Users,DC=xsoar,DC=local James Bond XSOAR007 512
xet-ad-expire-password
Expires the password of an Active Directory user.
Base Command
xet-ad-expire-password
Input
| Argument Name | Description | Required |
|---|---|---|
| username | The username (samAccountName) of the user to modify. | Required |
Context Output
There is no context output for this command.
Command example
!xet-ad-expire-password username="XSOAR007"
Human Readable Output
Expired password successfully
xet-ad-set-new-password
Sets a new password for an Active Directory user.
Base Command
xet-ad-set-new-password
Input
| Argument Name | Description | Required |
|---|---|---|
| username | The username of the account to disable (sAMAccountName). | Required |
| password | The password to set for the user. | Required |
Context Output
There is no context output for this command.
Command example
!xet-ad-set-new-password username="XSOAR007" password="bondjamesbond"
Human Readable Output
User password successfully set
xet-siem-search
Searches the simulated SIEM for events.
Base Command
xet-siem-search
Input
| Argument Name | Description | Required |
|---|---|---|
| query | The query to execute against the SIEM. | Required |
| result_type | Type of result to return for this SIEM integration. Possible values are: email, hosts. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| SIEM.Result | unknown | The results of the SIEM search. The results are a JSON array, in which each item is a SIEM event. |
Command example
!xet-siem-search query="host:crossiscoming81"
Human Readable Output
SIEM Search results for query: host:crossiscoming81
No entries.
xet-send-mail
Send an email. (Doesn’t actually send an email.)
Base Command
xet-send-mail
Input
| Argument Name | Description | Required |
|---|---|---|
| to | Who to send the fake email to. | Required |
| body | The body of the fake email that we are not actually sending. | Required |
Context Output
There is no context output for this command.
Command example
!xet-send-mail to="james.bond@xsoar.local" body="shaken or stirred?"
Human Readable Output
XSOAR Engineer Training: fake email notification not sent
Configuration parameters
isFetch— Fetch incidentsincidentType— Incident typeincidentFetchInterval— Incidents Fetch Interval
Commands (6)
-
xet-ad-expire-passwordExpires the password of an Active Directory user.
-
xet-ad-get-userRetrieves detailed information about a user account. The user can be specified by username, email address, or as an Active Directory Distinguished Name (DN).
-
xet-ad-set-new-passwordSets a new password for an Active Directory user.
-
xet-get-eventsFetches events from the XSOAR Engineer Training (XET) integration.
-
xet-send-mailSend an email. (Doesn't actually send an email.)
-
xet-siem-searchSearches the simulated SIEM for events.
category: Utilities provider: Palo Alto Networks commonfields: id: XSOAR Engineer Training version: -1 configuration: - display: Fetch incidents name: isFetch required: false type: 8 - display: Incident type name: incidentType required: false type: 13 - defaultvalue: "5" display: Incidents Fetch Interval name: incidentFetchInterval required: false type: 19 description: "The XSOAR Engineer Training (XET) integration provides sample data to fetch events into Cortex XSOAR, and commands to build playbooks around.\n\nUse for training purposes only." display: XSOAR Engineer Training name: XSOAR Engineer Training script: commands: - arguments: [] description: Fetches events from the XSOAR Engineer Training (XET) integration. name: xet-get-events - arguments: - description: The Distinguished Name of the user in which to return information. name: dn - description: Queries users by the samAccountName attribute. name: username - default: true description: Queries by the user's email address. name: email description: Retrieves detailed information about a user account. The user can be specified by username, email address, or as an Active Directory Distinguished Name (DN). name: xet-ad-get-user outputs: - contextPath: ActiveDirectory.Users.dn description: The Distinguished Name of the user. - contextPath: ActiveDirectory.Users.displayName description: The display name of the user. - contextPath: ActiveDirectory.Users.name description: The common name of the user. - contextPath: ActiveDirectory.Users.sAMAccountName description: The sAMAccountName of the user. - contextPath: ActiveDirectory.Users.userAccountControl description: The account control flag of the user. - contextPath: ActiveDirectory.Users.mail description: The email address of the user. - contextPath: ActiveDirectory.Users.manager description: The manager of the user. - contextPath: ActiveDirectory.Users.memberOf description: Groups for which the user is a member. - contextPath: Account.DisplayName description: The display name of the user. - contextPath: Account.Groups description: Groups for which the user is a member. - contextPath: Account.Manager description: The manager of the user. - contextPath: Account.ID description: The Distinguished Name of the user. - contextPath: Account.Username description: The samAccountName of the user. - contextPath: Account.Email description: The email address of the user. - arguments: - description: The username (samAccountName) of the user to modify. name: username required: true description: Expires the password of an Active Directory user. name: xet-ad-expire-password - arguments: - description: The username of the account to disable (sAMAccountName). name: username required: true - description: The password to set for the user. name: password required: true description: Sets a new password for an Active Directory user. name: xet-ad-set-new-password - arguments: - description: The query to execute against the SIEM. name: query required: true - auto: PREDEFINED description: Type of result to return for this SIEM integration. name: result_type predefined: - email - hosts description: Searches the simulated SIEM for events. name: xet-siem-search outputs: - contextPath: SIEM.Result description: The results of the SIEM search. The results are a JSON array, in which each item is a SIEM event. - arguments: - description: Who to send the fake email to. name: to required: true - description: The body of the fake email that we are not actually sending. name: body required: true description: Send an email. (Doesn't actually send an email.) name: xet-send-mail dockerimage: demisto/python3:3.12.8.3296088 isfetch: true runonce: false script: '' subtype: python3 type: python fromversion: 6.9.0 tests: - No tests (auto formatted)