Uptycs
Uptycs Pack.#
This Integration is part of the#
OverviewUptycs combines the open source universal agent, osquery, with a scalable security analytics platform for fleet visibility, intrusion detection, vulnerability monitoring and compliance. Uptycs deploys osquery to your entire infrastructure, regardless of operating system mix or hosting environment, collects, and stores system state data. Uptycs will stream that data over secure TLS protocol, storing it in your unique instance, and continuously monitoring for suspicious activity. Integrated third party feeds of known malware, threats and over 170,000 indicators of compromise (IOCs) further enhance threat visibility. Finally, take action with real-time alerts, dashboards and reports packaged for multiple security protocols.
The Cortex XSOAR-Uptycs integration connects to the Uptycs backend via the Uptycs API. The integration allows the use of Uptycs data in existing workflows. Features include fetching and handling alerts, threat investigation, posting new threat sources, setting tags on assets, and the ability to run arbitrary SQL queries against your Uptycs database or in real-time against registered endpoints.
#
Uptycs Playbook- Uptycs - Bad IP Incident and Uptycs - Outbound Connection to Threat IOC Incident Get details about connections which have been opened to known bad IP addresses, including process and parent process information, IP addresses, ports, sockets, and the source of the threat intelligence.
#
Use Cases- Incident investigation
- Fetch and handle alerts
- Monitor asset activity
- Audit and compliance
- Vulnerability management
- Mac EDR
#
Configure Uptycs on Cortex XSOAR#
How to get an API Key and API SecretIn order to create an instance of the integration, you need to download a user API key and secret from your Uptycs account.
- Go to your Uptycs environment.
- Navigate to Configuration > Users.
- In the User API key section, click download.
The downloaded file will have all the information necessary to create the instance.
#
Parameters- Navigate to Settings > Integrations > Servers & Services.
- Search for Uptycs.
- Click Add instance to create and configure a new integration instance.
- Name: a textual name for the integration instance.
- API key
- API secret
- API domain: the domain found in your API key file as well as the Top Level Domain for your Uptycs stack (example: if your Uptycs' stack URL is "mystack.uptycs.io" then your API key file will say "mystack" in the domain field. You would then put "mystack.uptycs.io" in the API domain field when configuring your integration instance).
- API Customer ID
- Fetch incidents
- Incident type
- Trust any certificate (unsecure)
- Use system proxy
- First fetch since
- Click Test to validate the URLs, token, and connection.
#
Fetched Incidents DataThe Cortex XSOAR-Uptycs integration creates incients from Uptycs alerts using the Uptycs API
#
CommandsYou can execute these commands from the Cortex XSOAR 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.
- uptycs-get-assets
- uptycs-run-query
- uptycs-get-alerts
- uptycs-get-alert-rules
- uptycs-get-event-rules
- uptycs-get-events
- uptycs-get-process-open-sockets
- uptycs-get-process-information
- uptycs-get-process-child-processes
- uptycs-get-processes
- uptycs-get-process-open-files
- uptycs-set-alert-status
- uptycs-set-asset-tag
- uptycs-get-user-information
- uptycs-get-threat-indicators
- uptycs-get-threat-sources
- uptycs-get-threat-vendors
- uptycs-get-parent-information
- uptycs-post-threat-source
- uptycs-get-users
- uptycs-get-asset-groups
- uptycs-get-user-asset-groups
- uptycs-get-threat-indicator
- uptycs-get-threat-source
- uptycs-get-process-events
- uptycs-get-process-event-information
- uptycs-get-socket-events
- uptycs-get-parent-event-information
- uptycs-get-socket-event-information
- uptycs-get-asset-tags
- uptycs-get-saved-queries
- uptycs-run-saved-query
- uptycs-post-saved-query
- uptycs-get-carves
- uptycs-get-carves-link
- uptycs-get-carves-download-file
- uptycs-get-asset-with-id
- uptycs-get-tag
- uptycs-get-tags
- uptycs-delete-tag
- uptycs-create-lookuptable
- uptycs-post-lookuptable-data
- uptycs-edit-lookuptable
- uptycs-get-lookuptable
- uptycs-get-lookuptables
- uptycs-delete-lookuptable
- uptycs-delete-assets-tag
#
1. uptycs-get-assetsreturn assets enrolled with Uptycs
#
Base Commanduptycs-get-assets
#
InputArgument Name | Description | Required |
---|---|---|
asset_group_id | Only return assets which are a member of this asset group | Optional |
host_name_is | Only return assets with this hostname. Do not use arguments "host_name_is" and "host_name_like" at the same time. | Optional |
host_name_like | Only return assets with this string in the hostname. Use this to find a selection of assets with similar hostnames. Do not use arguments "host_name_is" and "host_name_like" at the same time. | Optional |
limit | Limit the number of entries returned. Use -1 to return all entries (may run slow or cause a time out). | Optional |
os | Only return assets with this type of operating system. | Optional |
asset_id | Only return the asset with this unique asset id | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.Assets.id | string | Uptycs asset id |
Uptycs.Assets.created_at | date | Time asset was enrolled with Uptycs |
Uptycs.Assets.host_name | string | Hostname in Uptycs DB |
Uptycs.Assets.os | string | os installed on asset (Windows, Linux, Mac OS X) |
Uptycs.Assets.os_version | string | os version |
Uptycs.Assets.last_activity_at | date | Last activity |
Uptycs.Assets.deleted_at | date | Time asset was unenrolled from Uptycs |
Uptycs.Assets.osquery_version | string | Current version of osquery installed on the asset |
#
Command Exampleuptycs-get-assets os="Mac OS X/Apple OS X/macOS" limit=1
#
Context Example#
Human Readable Output#
Uptycs Assetsid | host_name | os | os_version | osquery_version | last_activity_at |
---|---|---|---|---|---|
984d4a7a-9f3a-580a-a3ef-2841a561669b | kyle-mbp-work | Mac OS X | 10.14.5 | 3.2.6.51-Uptycs | 2019-07-19 17:02:41.704 |
#
2. uptycs-run-queryenter a SQL query to run against your Uptycs database. A list of tables can be found at osquery.io/schema, or by using the query "select * from information_schema.tables"
#
Base Commanduptycs-run-query
#
InputArgument Name | Description | Required |
---|---|---|
query | This is the query that will be run. Queries should be written for a SQLite database. For example, "SELECT * FROM processes" returns the entire table named "processes". | Required |
query_type | The query can be run globally (returns results for entire history stored in Uptycs DB) or real-time (returns results for queries run on endpoints at the time of query execution) | Required |
asset_id | realtime queries only This argument should be used when one wants to run a realtime query on a particular asset. | Optional |
host_name_is | realtime queries only Only return assets with this hostname | Optional |
host_name_like | realtime queries only . Only return assets with this string in the hostname. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.QueryResults | unknown | Results of executed query |
#
Command Exampleuptycs-run-query query="SELECT * FROM process_open_sockets LIMIT 10" query_type=global host_name_like="uptycs-osquery-"
#
Context Example#
Human Readable Output#
Uptycs Query Resultprotocol | family | upt_counter | pid | upt_asset_id | upt_hostname | local_port | upt_asset_tags | upt_hash | upt_asset_group_id | state | upt_time | local_address | upt_added | upt_server_time | remote_address | fd | upt_asset_group_name | path | upt_day | socket | upt_epoch | remote_port | net_namespace |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6 | 2 | 20595 | 11 | a4991bf9-13e3-026b-7b46-af192746d556 | uptycs-osquery-d4trq | 45864 | 1752f1a2-f773-5812-b611-577ee662b889 | ESTABLISHED | 2019-04-18 02:37:09.000 | 10.8.0.29 | false | 18.213.163.112 | 14 | 20190418 | 127377813 | 0 | 443 | 4026532943 | |||||
6 | 2 | 20595 | 11 | a4991bf9-13e3-026b-7b46-af192746d556 | uptycs-osquery-d4trq | 45864 | 70dce553-3bca-5701-834c-8f2b94afd8f3 | CLOSE_WAIT | 2019-04-18 02:37:09.000 | 10.8.0.29 | true | 18.213.163.112 | 14 | 20190418 | 127377813 | 0 | 443 | 4026532943 | |||||
6 | 2 | 1267 | 11 | a4991bf9-13e3-026b-7b46-af192746d556 | uptycs-osquery-d4trq | 34164 | f8d24a1b-15d5-5c41-9994-2f70920fdc39 | CLOSE_WAIT | 2019-04-18 20:52:05.000 | 10.8.0.29 | false | 18.213.163.112 | 14 | 20190418 | 128588161 | 0 | 443 | 4026532943 | |||||
6 | 2 | 1267 | 11 | a4991bf9-13e3-026b-7b46-af192746d556 | uptycs-osquery-d4trq | 34754 | 0603bdcc-8e90-58d9-831e-8adb3ca35358 | ESTABLISHED | 2019-04-18 20:52:05.000 | 10.8.0.29 | true | 18.213.163.112 | 14 | 20190418 | 128594058 | 0 | 443 | 4026532943 | |||||
6 | 2 | 1024 | 2545 | 984d4a7a-9f3a-580a-a3ef-2841a561669b | kyle-mbp-work | 61925 | 754d2272-caf2-5d56-8638-984d7392e7f2 | ESTABLISHED | 2019-04-18 15:26:49.000 | 192.168.1.161 | false | 18.213.163.112 | 186 | 20190418 | 0 | 0 | 443 | ||||||
6 | 2 | 1024 | 2545 | 984d4a7a-9f3a-580a-a3ef-2841a561669b | kyle-mbp-work | 61934 | ce103524-0f5f-5aea-abad-b8529620b7bf | ESTABLISHED | 2019-04-18 15:26:49.000 | 192.168.1.161 | false | 18.213.163.112 | 191 | 20190418 | 0 | 0 | 443 | ||||||
6 | 2 | 1024 | 854 | 984d4a7a-9f3a-580a-a3ef-2841a561669b | kyle-mbp-work | 61573 | c2f00244-9fa4-5c47-a49b-9bd0390d169f | ESTABLISHED | 2019-04-18 15:26:49.000 | 192.168.1.161 | false | 149.96.6.118 | 33 | 20190418 | 0 | 0 | 443 | ||||||
6 | 2 | 1024 | 2545 | 984d4a7a-9f3a-580a-a3ef-2841a561669b | kyle-mbp-work | 61919 | 0439a9f5-130d-5ff4-a8df-d72275e4b9e2 | ESTABLISHED | 2019-04-18 15:26:49.000 | 192.168.1.161 | false | 18.213.163.112 | 54 | 20190418 | 0 | 0 | 443 | ||||||
6 | 2 | 1024 | 854 | 984d4a7a-9f3a-580a-a3ef-2841a561669b | kyle-mbp-work | 61573 | fe0218c2-b337-5198-ac9c-a1f8784a2c08 | ESTABLISHED | 2019-04-18 15:26:49.000 | 192.168.1.161 | false | 149.96.6.118 | 62 | 20190418 | 0 | 0 | 443 | ||||||
6 | 2 | 1024 | 854 | 984d4a7a-9f3a-580a-a3ef-2841a561669b | kyle-mbp-work | 61939 | 6194c89c-171c-55c8-9355-5b53a4a28a5a | ESTABLISHED | 2019-04-18 15:26:49.000 | 192.168.1.161 | true | 149.96.6.118 | 7 | 20190418 | 0 | 0 | 443 |
#
3. uptycs-get-alertsreturn alerts from Uptycs DB
#
Base Commanduptycs-get-alerts
#
InputArgument Name | Description | Required |
---|---|---|
alert_id | Unique Uptycs alert id which will retrieve a specific alert. Use this argument without any other arguments. | Optional |
asset_id | Only return assets with this asset id. Do not use arguments "asset_id", "host_name_is" or "host_name_like" at the same time. | Optional |
code | Alert code to specify which types of alerts you would like to retrieve | Optional |
host_name_is | Only return assets with this hostname. Do not use arguments "host_name_is" and "host_name_like" at the same time. | Optional |
host_name_like | Only return assets with this string in the hostname. Use this to find a selection of assets with similar hostnames. Do not use arguments "host_name_is" and "host_name_like" at the same time. | Optional |
limit | Limit the number of entries returned. Use -1 to return all entries (may run slow or cause a time out). | Optional |
start_window | Beginning of window to search for open connections. Format is "YYYY-MM-DD HH:MM:SS.000", for example, March 15, 2019 at 1:52:36 am would be written as "2019-03-15 01:52:36.000". | Optional |
end_window | End of window to search for open connections. Format is "YYYY-MM-DD HH:MM:SS.000", for example, March 15, 2019 at 1:52:36 am would be written as "2019-03-15 01:52:36.000". | Optional |
time_ago | Specifies how far back you want to look. Format examples: 2 hours, 4 minutes, 6 month, 1 day, etc. | Optional |
value | Varies for different alerts. For example, a Bad IP alert would have the IP address as the value. A program crash alert would have the name of the program which crashed as the value. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.Alerts.description | string | Description of alert |
Uptycs.Alerts.upt_asset_id | string | Uptycs asset ID |
Uptycs.Alerts.code | string | Alert code in Uptycs DB |
Uptycs.Alerts.severity | string | The severity of the alert |
Uptycs.Alerts.alert_time | date | Time alert was created at |
Uptycs.Alerts.value | string | Specific problem which caused an alert. It may be an IP address, a program that crashed, a file with a file hash known to be malware, etc. |
Uptycs.Alerts.host_name | string | Hostname for the asset which fired the alert |
Uptycs.Alerts.id | string | unique Uptycs id for a particular alert |
Uptycs.Alerts.threat_indicator_id | string | unique Uptycs id that identifies the threat indicator which triggered this alert |
Uptycs.Alerts.threat_source_name | string | name of the source of the threat indicator that triggered this alert |
Uptycs.Alerts.pid | number | pid of the process which was responsible for firing the alert |
#
Command Exampleuptycs-get-alerts limit=1 time_ago="30 days"
#
Context Example#
Human Readable Output#
Uptycs Alerts:upt_asset_id | host_name | grouping | alert_time | description | value | severity | threat_indicator_id | threat_source_name |
---|---|---|---|---|---|---|---|---|
984d4a7a-9f3a-580a-a3ef-2841a561669b | kyle-mbp-work | OS X Crashes | 2019-07-02 11:41:22.000 | Crash | Amazon Music Helper | medium | No threat indicator for this alert | No threat source for this alert |
#
4. uptycs-get-alert-rulesretrieve a list of alert rules
#
Base Commanduptycs-get-alert-rules
#
InputArgument Name | Description | Required |
---|---|---|
limit | Limit the number of entries returned. Use -1 to return all entries (may run slow or cause a time out). | Optional |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-get-alert-rules limit=1
#
Context Example#
Human Readable Output#
Uptycs Alert Rulesname | description | grouping | enabled | updatedAt | code |
---|---|---|---|---|---|
Bad Domain Alert | Bad Domain Alert | Bad Domain | true | 2019-06-19T08:17:04.892Z | BAD_DOMAIN |
#
5. uptycs-get-event-rulesretrieve a list of event rules
#
Base Commanduptycs-get-event-rules
#
InputArgument Name | Description | Required |
---|---|---|
limit | Limit the number of entries returned. Use -1 to return all entries (may run slow or cause a time out). | Optional |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-get-event-rules limit=1
#
Context Example#
Human Readable Output#
Uptycs Event Rulesname | description | grouping | enabled | updatedAt | code |
---|---|---|---|---|---|
Bad domain | Malicious domain resolved | default | true | 2019-06-19T08:17:05.115Z | BAD_DOMAIN |
#
6. uptycs-get-eventsreturn events from Uptycs DB
#
Base Commanduptycs-get-events
#
InputArgument Name | Description | Required |
---|---|---|
asset_id | Only return assets with this asset id. Do not use arguments "asset_id", "host_name_is" or "host_name_like" at the same time. | Optional |
code | Event code to specify which types of events you would like to retrieve | Optional |
host_name_is | Only return assets with this hostname. Do not use arguments "host_name_is" and "host_name_like" at the same time. | Optional |
host_name_like | Only return assets with this string in the hostname. Use this to find a selection of assets with similar hostnames. Do not use arguments "host_name_is" and "host_name_like" at the same time. | Optional |
limit | Limit the number of entries returned. Use -1 to return all entries (may run slow or cause a time out). | Optional |
start_window | Beginning of window to search for open connections. Format is "YYYY-MM-DD HH:MM:SS.000", for example, March 15, 2019 at 1:52:36 am would be written as "2019-03-15 01:52:36.000". | Optional |
end_window | End of window to search for open connections. Format is "YYYY-MM-DD HH:MM:SS.000", for example, March 15, 2019 at 1:52:36 am would be written as "2019-03-15 01:52:36.000". | Optional |
time_ago | Specifies how far back you want to look. Format examples: 2 hours, 4 minutes, 6 month, 1 day, etc. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.Events.description | string | Description of event |
Uptycs.Events.asset_id | string | Uptycs asset ID |
Uptycs.Events.code | string | Event code in Uptycs DB |
Uptycs.Events.created_at | date | Time event was created at |
Uptycs.Events.id | string | Uptycs event id for this particular event |
Uptycs.Events.host_name | string | Hostname for the assets this event occurred on |
Uptycs.Events.grouping | string | Group that this event belongs to |
Uptycs.Events.value | string | The value will be different for different types of events. It is that which triggered the event. For example, a Bad IP connection will have the IP address here, and a program crash will have the name of the program that crashed here. |
Uptycs.Events.severity | string | The severity of the event |
#
Command Exampleuptycs-get-events limit=10 time_ago="30 days"
#
Context Example#
Human Readable Output#
Uptycs Eventshost_name | grouping | event_time | description | value | severity |
---|---|---|---|---|---|
brandons-mini.fios-router.home | OS X Crashes | 2019-07-07 13:03:11.000 | Crash | mediaremoted | medium |
kyle-mbp-work | OS X Crashes | 2019-07-02 11:41:22.000 | Crash | Amazon Music Helper | medium |
kyle-mbp-work | OS X Crashes | 2019-06-27 09:26:25.000 | Crash | Amazon Music Helper | medium |
kyle-mbp-work | OS X Crashes | 2019-06-27 09:26:25.000 | Crash | osqueryd | medium |
brandons-mini.fios-router.home | OS X Crashes | 2019-06-27 00:08:17.000 | Crash | mediaremoted | medium |
kyle-mbp-work | OS X Crashes | 2019-06-25 15:19:08.000 | Crash | Amazon Music Helper | medium |
kyle-mbp-work | OS X Crashes | 2019-06-25 15:19:08.000 | Crash | osqueryd | medium |
brandons-mini.fios-router.home | OS X Crashes | 2019-06-24 19:25:30.000 | Crash | mediaremoted | medium |
kyle-mbp-work | OS X Crashes | 2019-06-23 22:23:49.000 | Crash | Amazon Music Helper | medium |
kyle-mbp-work | OS X Crashes | 2019-06-23 22:23:49.000 | Crash | osqueryd | medium |
#
7. uptycs-get-process-open-socketsfind processes which opened a socket
#
Base Commanduptycs-get-process-open-sockets
#
InputArgument Name | Description | Required |
---|---|---|
asset_id | Only return assets with this asset id. Do not use arguments "asset_id", "host_name_is" or "host_name_like" at the same time. | Optional |
host_name_is | Only return assets with this hostname. Do not use arguments "host_name_is" and "host_name_like" at the same time. | Optional |
host_name_like | Only return assets with this string in the hostname. Use this to find a selection of assets with similar hostnames. Do not use arguments "host_name_is" and "host_name_like" at the same time. | Optional |
ip | IP address which process opened a socket to. | Optional |
limit | Limit the number of entries returned. Use -1 to return all entries (may run slow or cause a time out). | Optional |
start_window | Beginning of window to search for open sockets. Format is "YYYY-MM-DD HH:MM:SS.000", for example, March 15, 2019 at 1:52:36 am would be written as "2019-03-15 01:52:36.000". | Optional |
end_window | End of window to search for open sockets. Format is "YYYY-MM-DD HH:MM:SS.000", for example, March 15, 2019 at 1:52:36 am would be written as "2019-03-15 01:52:36.000". | Optional |
time | Exact time at which the socket was opened. | Optional |
time_ago | Specifies how far back you want to look. Format examples: 2 hours, 4 minutes, 6 month, 1 day, etc. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.Sockets.pid | number | pid of process which opened a connection to a specified IP |
Uptycs.Sockets.upt_hostname | string | hostname of the asset which ran the specified process |
Uptycs.Sockets.upt_time | date | time at which the connection was opened |
Uptycs.Sockets.path | string | file path to the process being run |
Uptycs.Sockets.local_address | string | local IP for specified connection |
Uptycs.Sockets.remote_address | string | remote IP for specified connection |
Uptycs.Sockets.local_port | number | local port for specified connection |
Uptycs.Sockets.remote_port | number | remote port for specified connection |
Uptycs.Sockets.upt_asset_id | string | asset id for asset which ran the specified process |
Uptycs.Sockets.socket | number | socket used to open the connection |
Uptycs.Sockets.family | number | network protocol |
Uptycs.Sockets.state | string | state of the connection |
Uptycs.Sockets.protocol | number | transport protocol |
#
Command Exampleuptycs-get-process-open-sockets limit=1
#
Context Example#
Human Readable Output#
process_open_socketsupt_hostname | pid | local_address | remote_address | upt_time | local_port | remote_port | socket |
---|---|---|---|---|---|---|---|
kyle-mbp-work | 704 | 192.168.86.61 | 69.147.92.12 | 2019-07-19 17:03:31.000 | 54755 | 443 | 0 |
#
8. uptycs-get-process-informationget information for a particular process
#
Base Commanduptycs-get-process-information
#
InputArgument Name | Description | Required |
---|---|---|
asset_id | Only return assets with this asset id. Do not use arguments "asset_id" and "host_name_is" at the same time. | Optional |
host_name_is | Hostname for asset which spawned the specified process. | Optional |
pid | pid for the process. | Required |
time | Time that the specified process was spawned. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.Proc.pid | number | pid for the process |
Uptycs.Proc.upt_hostname | string | hostname for asset which spawned the specified process |
Uptycs.Proc.upt_asset_id | string | asset id for asset which spawned the specified process |
Uptycs.Proc.parent | number | pid for the parent process |
Uptycs.Proc.upt_add_time | date | time that the process was spawned |
Uptycs.Proc.upt_remove_time | date | time that the process was removed |
Uptycs.Proc.path | string | path to the process binary |
Uptycs.Proc.name | string | name of the process |
Uptycs.Proc.cmdline | string | complete argv of the process |
Uptycs.Proc.pgroup | number | process group |
Uptycs.Proc.cwd | string | process current working directory |
#
Command Exampleuptycs-get-process-information asset_id="984d4a7a-9f3a-580a-a3ef-2841a561669b" pid=5119 time="2019-01-29 17:05:07.000"
#
Context Example#
Human Readable Output#
Process informationupt_hostname | parent | pid | name | path | cmdline |
---|---|---|---|---|---|
kyle-mbp-work | 484 | 5119 | VBoxHeadless | /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless | /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless --comment vagrant_default_1535385658307_92120 --startvm 11742093-a8fa-4189-a88c-afc4cb7c70a6 --vrde config |
#
9. uptycs-get-process-child-processesget all the child processes for a given parent process
#
Base Commanduptycs-get-process-child-processes
#
InputArgument Name | Description | Required |
---|---|---|
asset_id | Only return assets with this asset_id. Do not use arguments "asset_id" and "host_name_is" at the same time. | Optional |
host_name_is | hostname for the asset which executed these processes. | Optional |
limit | Limit the number of entries returned. Use -1 to return all entries (may run slow or cause a time out). | Optional |
parent | The pid for which all child processes will be found | Required |
parent_start_time | time at which the parent process was spawned | Required |
parent_end_time | time at which the parent process was killed, if it exists. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.Children.pid | number | pid of a child process |
Uptycs.Children.upt_asset_id | string | asset id for asset which this process was run on |
Uptycs.Children.upt_hostname | string | hostname for asset which spawned the specified process |
Uptycs.Children.upt_add_time | date | time that the process was spawned |
Uptycs.Children.upt_remove_time | date | time that the process was removed |
Uptycs.Children.path | string | path to the process binary |
Uptycs.Children.parent | number | parent pid |
Uptycs.Children.name | string | name of the process |
Uptycs.Children.cmdline | string | complete argv for the process |
Uptycs.Children.pgroup | number | process group |
Uptycs.Children.cwd | string | process current working directory |
#
Command Exampleuptycs-get-process-child-processes asset_id="984d4a7a-9f3a-580a-a3ef-2841a561669b" parent=484 parent_start_time="2019-01-28 14:16:58.000" parent_end_time="2019-01-29 19:21:31.000"
#
Context Example#
Human Readable Output#
Child processes of a specified pidupt_hostname | pid | name | path | cmdline | upt_add_time |
---|---|---|---|---|---|
kyle-mbp-work | 5119 | VBoxHeadless | /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless | /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless --comment vagrant_default_1535385658307_92120 --startvm 11742093-a8fa-4189-a88c-afc4cb7c70a6 --vrde config | 2019-01-29 16:14:27.000 |
kyle-mbp-work | 5008 | VirtualBoxVM | /Applications/VirtualBox.app/Contents/MacOS/VirtualBoxVM | /Applications/VirtualBox.app/Contents/Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM --comment vagrant_default_1535385658307_92120 --startvm 11742093-a8fa-4189-a88c-afc4cb7c70a6 --no-startvm-errormsgbox | 2019-01-29 16:00:17.000 |
kyle-mbp-work | 5002 | VirtualBoxVM | /Applications/VirtualBox.app/Contents/MacOS/VirtualBoxVM | /Applications/VirtualBox.app/Contents/Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM --comment basevm_centos_7_orig --startvm 58264539-0e7a-418f-91be-365aa0f20854 --no-startvm-errormsgbox | 2019-01-29 15:58:10.000 |
kyle-mbp-work | 4994 | VirtualBoxVM | /Applications/VirtualBox.app/Contents/MacOS/VirtualBoxVM | /Applications/VirtualBox.app/Contents/Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM --comment vagrant_default_1535385658307_92120 --startvm 11742093-a8fa-4189-a88c-afc4cb7c70a6 --no-startvm-errormsgbox | 2019-01-29 15:55:32.000 |
kyle-mbp-work | 3448 | VirtualBoxVM | /Applications/VirtualBox.app/Contents/MacOS/VirtualBoxVM | /Applications/VirtualBox.app/Contents/Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM --comment ova-31822- --startvm d7414d11-5764-4583-aeb6-94e5527c851c --no-startvm-errormsgbox | 2019-01-28 17:00:39.000 |
#
10. uptycs-get-processesfind processes which are running or have run on a registered Uptycs asset
#
Base Commanduptycs-get-processes
#
InputArgument Name | Description | Required |
---|---|---|
asset_id | Only return assets with this asset id. Do not use arguments "asset_id", "host_name_is" or "host_name_like" at the same time. | Optional |
host_name_is | Only return assets with this hostname. Do not use arguments "host_name_is" and "host_name_like" at the same time. | Optional |
host_name_like | Only return assets with this string in the hostname. Use this to find a selection of assets with similar hostnames. Do not use arguments "host_name_is" and "host_name_like" at the same time. | Optional |
limit | Limit the number of entries returned. Use -1 to return all entries (may run slow or cause a time out). | Optional |
start_window | Beginning of window to search for open connections. Format is "YYYY-MM-DD HH:MM:SS.000", for example, March 15, 2019 at 1:52:36 am would be written as "2019-03-15 01:52:36.000". | Optional |
end_window | End of window to search for open connections. Format is "YYYY-MM-DD HH:MM:SS.000", for example, March 15, 2019 at 1:52:36 am would be written as "2019-03-15 01:52:36.000". | Optional |
time | Exact time at which the process was spawned. | Optional |
time_ago | Specifies how far back you want to look. Format examples: 2 hours, 4 minutes, 6 month, 1 day, etc. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.Process.pid | number | pid for a particular process |
Uptycs.Process.parent | number | pid for the parent of a particular process |
Uptycs.Process.upt_asset_id | string | uptycs asset id for the asset which is running (or ran) the process |
Uptycs.Process.upt_hostname | string | host name for the asset which is running (or ran) the process |
Uptycs.Process.upt_time | date | time at which the process was spawned |
Uptycs.Process.name | string | name of the process |
Uptycs.Process.path | string | path to the process binary |
Uptycs.Process.cmdline | string | comeplete argv for the process |
Uptycs.Process.pgroup | number | process group |
Uptycs.Process.cwd | string | process current working directory |
#
Command Exampleuptycs-get-processes limit=1
#
Context Example#
Human Readable Output#
Processesupt_hostname | pid | name | path | upt_time | parent | cmdline |
---|---|---|---|---|---|---|
kyle-mbp-work | 60051 | SCHelper | /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/Helpers/SCHelper | 2019-07-19 07:29:32.000 | 1 | /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/Helpers/SCHelper |
#
11. uptycs-get-process-open-filesfind processes which have opened files
#
Base Commanduptycs-get-process-open-files
#
InputArgument Name | Description | Required |
---|---|---|
asset_id | Only return assets with this asset id. Do not use arguments "asset_id", "host_name_is" or "host_name_like" at the same time. | Optional |
host_name_is | Only return assets with this hostname. Do not use arguments "host_name_is" and "host_name_like" at the same time. | Optional |
host_name_like | Only return assets with this string in the hostname. Use this to find a selection of assets with similar hostnames. Do not use arguments "host_name_is" and "host_name_like" at the same time. | Optional |
limit | Limit the number of entries returned. Use -1 to return all entries (may run slow or cause a time out). | Optional |
start_window | Beginning of window to search for open connections. Format is "YYYY-MM-DD HH:MM:SS.000", for example, March 15, 2019 at 1:52:36 am would be written as "2019-03-15 01:52:36.000". | Optional |
end_window | End of window to search for open connections. Format is "YYYY-MM-DD HH:MM:SS.000", for example, March 15, 2019 at 1:52:36 am would be written as "2019-03-15 01:52:36.000". | Optional |
time | Exact time at which the process was spawned. | Optional |
time_ago | Specifies how far back you want to look. Format examples: 2 hours, 4 minutes, 6 month, 1 day, etc. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.Files.pid | number | pid for the process which opened a file |
Uptycs.Files.fd | number | process specific file descriptor number |
Uptycs.Files.upt_asset_id | string | Uptycs asset id for the the asset on which the file was opened |
Uptycs.Files.upt_hostname | string | Host name for the asset on which the file was opened |
Uptycs.Files.upt_time | date | time at which the file was opened |
Uptycs.Files.path | string | filesystem path of the file descriptor |
#
Command Exampleuptycs-get-process-open-files limit=1
#
Context Example#
Human Readable Output#
Process which has opened a fileupt_hostname | pid | path | fd | upt_time |
---|---|---|---|---|
uptycs-osquery-mhntm | 30143 | /var/osquery/osquery.db/001951.log | 35 | 2019-07-19 17:00:38.000 |
#
12. uptycs-set-alert-statusSet the status of an alert to new, assigned, resolved, or closed
#
Base Commanduptycs-set-alert-status
#
InputArgument Name | Description | Required |
---|---|---|
alert_id | Uptycs alert id used to identify a particular alert | Required |
status | Status of the alert can be new, assigned, resolved, or closed | Required |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-set-alert-status alert_id="9cb18abd-2c9a-43a8-988a-0601e9140f6c" status=assigned
#
Context Example#
Human Readable Output#
Uptycs Alert Statusid | code | status | createdAt | updatedAt |
---|---|---|---|---|
9cb18abd-2c9a-43a8-988a-0601e9140f6c | OUTBOUND_CONNECTION_TO_THREAT_IOC | assigned | 2019-02-22T21:13:21.238Z | 2019-07-19T17:07:27.447Z |
#
13. uptycs-set-asset-tagSets a tag on a particular asset
#
Base Commanduptycs-set-asset-tag
#
InputArgument Name | Description | Required |
---|---|---|
asset_id | Uptycs asset id for the asset that the tag should be set on | Required |
tag_key | Tag key that will be set on the asset | Required |
tag_value | Tag value that will be set on the asset | Optional |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-set-asset-tag asset_id="984d4a7a-9f3a-580a-a3ef-2841a561669b" tag_key="Uptycs" tag_value="work laptop"
#
Context Example#
Human Readable Output#
Uptycs Asset TaghostName | tags |
---|---|
kyle-mbp-work | Uptycs=work laptop, owner=Uptycs office, network=low, cpu=unknown, memory=unknown, disk=high |
#
14. uptycs-get-user-informationget info for an Uptycs user
#
Base Commanduptycs-get-user-information
#
InputArgument Name | Description | Required |
---|---|---|
user_id | Unique Uptycs id for the user | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.UserInfo.id | string | unique Uptycs id for the user |
Uptycs.UserInfo.name | string | Uptycs user's name |
Uptycs.UserInfo.email | string | Uptycs user's email address |
#
Command Exampleuptycs-get-user-information user_id="33436e24-f30f-42d0-8438-d948be12b5af"
#
Context Example#
Human Readable Output#
Uptycs User Informationname | id | |
---|---|---|
B schmoll | goo@test.com | 33436e24-f30f-42d0-8438-d948be12b5af |
#
15. uptycs-get-threat-indicatorsget Uptycs threat indicators
#
Base Commanduptycs-get-threat-indicators
#
InputArgument Name | Description | Required |
---|---|---|
indicator | the specific indicator you wish to search for. This can be an IP address, a Bad Domain, etc. as well ass any indicators you have added. | Optional |
limit | Limit the number of entries returned. Use -1 to return all entries (may run slow or cause a time out). | Optional |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-get-threat-indicators limit=1
#
Context Example#
Human Readable Output#
Uptycs Threat Indicatorsid | indicator | description | indicatorType | createdAt | isActive | threatId |
---|---|---|---|---|---|---|
8e54f94c-469a-4737-9eef-4e650a93ab58 | 54.165.17.209 | malware.com | IPv4 | 2019-07-19T16:44:17.511Z | true | b3f44b34-f6a1-46bc-88f1-9755e3ac1a65 |
#
16. uptycs-get-threat-sourcesget Uptycs threat sources
#
Base Commanduptycs-get-threat-sources
#
InputArgument Name | Description | Required |
---|---|---|
limit | Limit the number of entries returned. Use -1 to return all entries (may run slow or cause a time out). | Optional |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-get-threat-sources limit=1
#
Context Example#
Human Readable Output#
Uptycs Threat Sourcesname | description | url | enabled | custom | createdAt | lastDownload |
---|---|---|---|---|---|---|
AlienVault Open Threat Exchange Malicious Domains and IPs | A feed of malicious domains and IP addresses | 4533da856e43f06ee00bb5f1adf170a0ce5cacaca5992ab1279733c2bdd0a88c | true | false | 2019-05-12T01:01:04.154Z | 2019-05-13T01:00:05.934Z |
#
17. uptycs-get-threat-vendorsget Uptycs threat vendors
#
Base Commanduptycs-get-threat-vendors
#
InputArgument Name | Description | Required |
---|---|---|
limit | Limit the number of entries returned. Use -1 to return all entries (may run slow or cause a time out). | Optional |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-get-threat-vendors
#
Context Example#
Human Readable Output#
Uptycs Threat Vendorsdescription | url | updatedAt | customerId | numIocs | numThreats | lastDownload | id | createdAt | name |
---|---|---|---|---|---|---|---|---|---|
2018-11-20T19:15:05.611Z | e8213ef3-ef92-460e-a542-46dccd700c16 | 42b9220c-7e29-4fd8-9cf7-9f811e851f8e | 2018-11-20T19:15:05.611Z | Bschmoll Inc.-Threats |
#
18. uptycs-get-parent-informationget the parent process information for a particular child process
#
Base Commanduptycs-get-parent-information
#
InputArgument Name | Description | Required |
---|---|---|
asset_id | Only return assets with this asset id. Do not use arguments "asset_id" and "host_name_is" at the same time. | Optional |
child_add_time | Time that the specified process was spawned. | Required |
host_name_is | Hostname for asset which spawned the specified process. | Optional |
parent | pid for the parent process. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.Parent.pid | number | pid of the process (this is the same number as the input argument 'parent') |
Uptycs.Parent.upt_hostname | string | hostname for asset which spawned the specified process |
Uptycs.Parent.upt_asset_id | string | asset id for asset which spawned the specified process |
Uptycs.Parent.parent | number | pid for the parent process (this is the parent of the input argument 'parent') |
Uptycs.Parent.upt_add_time | date | time that the process was spawned |
Uptycs.Parent.upt_remove_time | date | time that the process was removed |
Uptycs.Parent.name | string | name of the process |
Uptycs.Parent.path | string | path to the process binary |
Uptycs.Parent.cmdline | string | complete argv for the process |
Uptycs.Parent.pgroup | number | process group |
Uptycs.Parent.cwd | string | process current working directory |
#
Command Exampleuptycs-get-parent-information asset_id="984d4a7a-9f3a-580a-a3ef-2841a561669b" child_add_time="2019-01-29 16:14:27.000" parent=484
#
Context Example#
Human Readable Output#
Parent process informationupt_hostname | parent | pid | name | path | cmdline |
---|---|---|---|---|---|
kyle-mbp-work | 1 | 484 | VBoxSVC | /Applications/VirtualBox.app/Contents/MacOS/VBoxSVC | /Applications/VirtualBox.app/Contents/MacOS/VBoxSVC --auto-shutdown |
#
19. uptycs-post-threat-sourcepost a new threat source to your threat sources in Uptycs
#
Base Commanduptycs-post-threat-source
#
InputArgument Name | Description | Required |
---|---|---|
description | A short description for the threat source | Required |
entry_id | entry_id for the file with threat information. This file should be uploaded to Cortex XSOAR in the Playground War Room using the paperclip icon next to the CLI. | Required |
filename | The name of the file being uploaded | Required |
name | The name for the threat source | Required |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-post-threat-source name="testThreatSources" description="testing Uptycs API" entry_id="4322@27d41dbb-9676-4408-88bf-51193334caf7" filename="threatSourcesTest.csv"
#
Context Example#
Human Readable OutputUptycs Posted Threat Source
#
20. uptycs-get-usersget a list of Uptycs users
#
Base Commanduptycs-get-users
#
InputArgument Name | Description | Required |
---|---|---|
limit | Limit the number of entries returned. Use -1 to return all entries (may run slow or cause a time out). | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.Users.id | string | unique Uptycs id for the user |
Uptycs.Users.name | string | Uptycs user's name |
Uptycs.Users.email | string | Uptycs user's email address |
Uptycs.Users.createdAt | date | datetime this user was added |
Uptycs.Users.updatedAt | date | last time this user was updated |
Uptycs.Users.admin | boolean | true if this user has admin privileges, false otherwise |
Uptycs.Users.active | boolean | true if this user is currently active, false otherwise |
#
Command Exampleuptycs-get-users limit=1
#
Context Example#
Human Readable Output#
Uptycs Usersname | id | admin | active | createdAt | updatedAt | |
---|---|---|---|---|---|---|
B schmoll | goo@test.com | 33436e24-f30f-42d0-8438-d948be12b5af | true | true | 2018-09-24T17:24:38.635Z | 2018-09-25T16:10:28.140Z |
#
21. uptycs-get-asset-groupsget Uptycs asset groups
#
Base Commanduptycs-get-asset-groups
#
InputArgument Name | Description | Required |
---|---|---|
limit | Limit the number of entries returned. Use -1 to return all entries (may run slow or cause a time out). | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.AssetGroups.id | string | unique Uptycs id for a particular object group |
Uptycs.AssetGroups.custom | boolean | true if this is a custom asset group, false otherwise |
Uptycs.AssetGroups.createdAt | date | datetime the group was created |
Uptycs.AssetGroups.updatedAt | date | datetime the group was last updated |
#
Command Exampleuptycs-get-asset-groups
#
Context Example#
Human Readable Output#
Uptycs Usersid | name | description | objectType | custom | createdAt | updatedAt |
---|---|---|---|---|---|---|
106eef5e-c3a6-44eb-bb3d-1a2087cded3d | assets | Default asset group | ASSET | false | 2018-09-24T17:24:45.604Z | 2018-09-24T17:24:45.604Z |
a73353c1-1b27-4eea-9a7c-d2f946cca030 | enrolling | Enrolling asset group | ASSET | false | 2018-09-24T17:24:45.601Z | 2018-09-24T17:24:45.601Z |
#
22. uptycs-get-user-asset-groupsget a list of users in a particular asset group
#
Base Commanduptycs-get-user-asset-groups
#
InputArgument Name | Description | Required |
---|---|---|
asset_group_id | return a list of users with access to this asset group | Required |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-get-user-asset-groups asset_group_id="106eef5e-c3a6-44eb-bb3d-1a2087cded3d"
#
Context Example#
Human Readable Output#
Uptycs User Asset GroupsB schmoll | Mike Boldi | Milan Shah |
---|---|---|
email: goo@test.com id: 33436e24-f30f-42d0-8438-d948be12b5af | email: woo@test.com id: e43b0119-8d23-4ea2-9fd9-3a9ff14fc195 | email: foo@test.com id: 89d26aa4-f0a8-48d9-a174-ce5285d9dd60 |
#
23. uptycs-get-threat-indicatorretrieve information about a specific threat indicator using a unique threat indicator id
#
Base Commanduptycs-get-threat-indicator
#
InputArgument Name | Description | Required |
---|---|---|
indicator_id | unique Uptycs id which identifies a specific threat indicator | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.ThreatIndicator.threat_source_id | string | unique Uptycs id which identifies the source of this specific threat indicator |
Uptycs.ThreatIndicator.threat_vendor_id | string | unique Uptycs id which identifies the vendor of this specific threat source |
Uptycs.ThreatIndicator.indicatorType | string | type of threat indicator (IPv4, domain,...) |
Uptycs.ThreatIndicator.indicator | string | threat indicator |
Uptycs.ThreatIndicator.createdAt | date | datetime the threat indicator was created |
Uptycs.ThreatIndicator.threadId | string | unique id for the group of threat indicators this thread indicator belongs to |
Uptycs.ThreatIndicator.id | string | unique id for this particular threat indicator |
#
Command Exampleuptycs-get-threat-indicator indicator_id="0ab619bb-cfe0-4db0-8a31-0a71fcc2a362"
#
Context Example#
Human Readable Output#
Uptycs Threat Indicatorid | indicator | description | indicatorType | createdAt | isActive | threatId |
---|---|---|---|---|---|---|
0ab619bb-cfe0-4db0-8a31-0a71fcc2a362 | 92.242.140.21 | nishant.uptycs.io | IPv4 | 2019-01-10T21:25:49.280Z | true | 60e2e9eb-f756-4a4d-a85d-55aa8167d59d |
#
24. uptycs-get-threat-sourceretrieve information about a specific threat source
#
Base Commanduptycs-get-threat-source
#
InputArgument Name | Description | Required |
---|---|---|
threat_source_id | unique Uptycs id for the threat source you wish to retrive | Required |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-get-threat-source threat_source_id="20ee2177-4fdc-4070-a046-945048373dd1"
#
Context Example#
Human Readable Output#
Uptycs Threat Sourcesname | description | url | enabled | custom | createdAt | lastDownload |
---|---|---|---|---|---|---|
Debian Linux vulnerabilities | Debian Linux vulnerabilities | https://vulners.com/api/v3/archive/collection/?type=debian | true | false | 2018-09-14T18:43:54.832Z |
#
25. uptycs-get-process-eventsfind process events which are running or have run on a registered Uptycs asset
#
Base Commanduptycs-get-process-events
#
InputArgument Name | Description | Required |
---|---|---|
asset_id | Only return assets with this asset id. Do not use arguments "asset_id", "host_name_is" or "host_name_like" at the same time. | Optional |
host_name_is | Only return assets with this hostname. Do not use arguments "host_name_is" and "host_name_like" at the same time. | Optional |
host_name_like | Only return assets with this string in the hostname. Use this to find a selection of assets with similar hostnames. Do not use arguments "host_name_is" and "host_name_like" at the same time. | Optional |
limit | Limit the number of entries returned. Use -1 to return all entries (may run slow or cause a time out). | Optional |
start_window | Beginning of window to search for open connections. Format is "YYYY-MM-DD HH:MM:SS.000", for example, March 15, 2019 at 1:52:36 am would be written as "2019-03-15 01:52:36.000". | Optional |
end_window | End of window to search for open connections. Format is "YYYY-MM-DD HH:MM:SS.000", for example, March 15, 2019 at 1:52:36 am would be written as "2019-03-15 01:52:36.000". | Optional |
time | Exact time at which the process was spawned. | Optional |
time_ago | Specifies how far back you want to look. Format examples: 2 hours, 4 minutes, 6 month, 1 day, etc. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.ProcessEvents.pid | number | pid for a particular process |
Uptycs.ProcessEvents.parent | number | pid for the parent of a particular process |
Uptycs.ProcessEvents.upt_asset_id | string | uptycs asset id for the asset which is running (or ran) the process |
Uptycs.ProcessEvents.upt_hostname | string | host name for the asset which is running (or ran) the process |
Uptycs.ProcessEvents.upt_time | date | time at which the process was spawned |
Uptycs.ProcessEvents.path | string | path to the process binary |
Uptycs.ProcessEvents.cmdline | string | comeplete argv for the process |
Uptycs.ProcessEvents.cwd | string | process current working directory |
#
Command Exampleuptycs-get-process-events limit=1
#
Context Example#
Human Readable Output#
Process eventsupt_hostname | pid | path | upt_time | parent | cmdline |
---|---|---|---|---|---|
kyle-mbp-work | 60067 | /usr/sbin/spctl | 2019-07-19 09:29:47.000 | 60065 | /usr/sbin/spctl --status |
#
26. uptycs-get-process-event-informationget information for a particular process event
#
Base Commanduptycs-get-process-event-information
#
InputArgument Name | Description | Required |
---|---|---|
asset_id | Only return assets with this asset id. Do not use arguments "asset_id" and "host_name_is" at the same time. | Optional |
host_name_is | Hostname for asset which spawned the specified process. | Optional |
pid | pid for the process. | Required |
time | Time that the specified process was spawned. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.ProcEvent.pid | number | pid for the process |
Uptycs.ProcEvent.upt_hostname | string | hostname for asset which spawned the specified process |
Uptycs.ProcEvent.upt_asset_id | string | asset id for asset which spawned the specified process |
Uptycs.ProcEvent.parent | number | pid for the parent process |
Uptycs.ProcEvent.upt_time | date | time that the process was spawned |
Uptycs.ProcEvent.path | string | path to the process binary |
Uptycs.ProcEvent.cmdline | string | comeplete argv for the process |
Uptycs.ProcEvent.cwd | string | process current working directory |
#
Command Exampleuptycs-get-process-event-information asset_id="984d4a7a-9f3a-580a-a3ef-2841a561669b" pid=3318 time="2019-02-28 18:43:04.000"
#
Context Example#
Human Readable Output#
Process event informationupt_hostname | parent | pid | path | cmdline |
---|---|---|---|---|
kyle-mbp-work | 1 | 3318 | /dev/console | xpcproxy com.apple.WebKit.WebContent.024FB342-0ECE-4E09-82E1-B9C9CF5F9CDF 3266 |
#
27. uptycs-get-socket-eventsfind processes which opened a socket
#
Base Commanduptycs-get-socket-events
#
InputArgument Name | Description | Required |
---|---|---|
asset_id | Only return assets with this asset id. Do not use arguments "asset_id", "host_name_is" or "host_name_like" at the same time. | Optional |
host_name_is | Only return assets with this hostname. Do not use arguments "host_name_is" and "host_name_like" at the same time. | Optional |
host_name_like | Only return assets with this string in the hostname. Use this to find a selection of assets with similar hostnames. Do not use arguments "host_name_is" and "host_name_like" at the same time. | Optional |
ip | IP address which process opened a socket to. | Optional |
limit | Limit the number of entries returned. Use -1 to return all entries (may run slow or cause a time out). | Optional |
start_window | Beginning of window to search for open sockets. Format is "YYYY-MM-DD HH:MM:SS.000", for example, March 15, 2019 at 1:52:36 am would be written as "2019-03-15 01:52:36.000". | Optional |
end_window | End of window to search for open sockets. Format is "YYYY-MM-DD HH:MM:SS.000", for example, March 15, 2019 at 1:52:36 am would be written as "2019-03-15 01:52:36.000". | Optional |
time | Exact time at which the socket was opened. | Optional |
time_ago | Specifies how far back you want to look. Format examples: 2 hours, 4 minutes, 6 month, 1 day, etc. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.SocketEvents.pid | number | pid of process which opened a connection to a specified IP |
Uptycs.SocketEvents.upt_hostname | string | hostname of the asset which ran the specified process |
Uptycs.SocketEvents.upt_time | date | time at which the connection was opened |
Uptycs.SocketEvents.path | string | file path to the process being run |
Uptycs.SocketEvents.local_address | string | local IP for specified connection |
Uptycs.SocketEvents.remote_address | string | remote IP for specified connection |
Uptycs.SocketEvents.local_port | number | local port for specified connection |
Uptycs.SocketEvents.remote_port | number | remote port for specified connection |
Uptycs.SocketEvents.upt_asset_id | string | asset id for asset which ran the specified process |
Uptycs.SocketEvents.socket | number | socket used to open the connection |
Uptycs.SocketEvents.family | number | network protocol |
Uptycs.SocketEvents.action | string | type of socket event (accept, connect, or bind) |
Uptycs.SocketEvents.protocol | number | transfer protocol |
#
Command Exampleuptycs-get-socket-events limit=1 remote_address="98.239.146.208"
#
Context Example#
Human Readable Output#
Socket eventsupt_hostname | pid | local_address | remote_address | upt_time | local_port | action |
---|---|---|---|---|---|---|
kyle-mbp-work | 89 | 0.0.0.0 | 17.142.171.8 | 2019-07-19 09:29:52.000 | 47873 | connect |
#
28. uptycs-get-parent-event-informationfind information for parent process events which are running or have run on a registered Uptycs assert
#
Base Commanduptycs-get-parent-event-information
#
InputArgument Name | Description | Required |
---|---|---|
asset_id | Only return assets with this asset id. Do not use arguments "asset_id" and "host_name_is" at the same time. | Optional |
child_add_time | Time that the specified process was spawned. | Required |
host_name_is | Hostname for asset which spawned the specified process. | Optional |
parent | pid for the parent process. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.ParentEvent.pid | number | pid of the process (this is the same number as the input argument 'parent') |
Uptycs.ParentEvent.upt_hostname | string | hostname for asset which spawned the specified process |
Uptycs.ParentEvent.upt_asset_id | string | asset id for asset which spawned the specified process |
Uptycs.ParentEvent.parent | number | pid for the parent process (this is the parent of the input argument 'parent') |
Uptycs.ParentEvent.upt_time | date | time that the process was spawned |
Uptycs.ParentEvent.path | string | path to the parent process binary |
Uptycs.ParentEvent.cmdline | string | complete argv for the parent process |
Uptycs.ParentEvent.cwd | string | parent process current working cirectory |
#
Command Exampleuptycs-get-parent-event-information child_add_time="2019-05-07 12:24:34.000" parent=9347 host_name_is="kyle-mbp-work"
#
Context Example#
Human Readable Output#
Parent process event informationupt_hostname | parent | pid | path | cmdline |
---|---|---|---|---|
kyle-mbp-work | 75 | 9347 | /sbin/mount | /sbin/mount -t hfs -o -u=99,-g=99,-m=755,nodev,noowners,nosuid,owners,nobrowse,-t=4m /dev/disk2s2 /Volumes/Time Machine Backups |
#
29. uptycs-get-socket-event-informationget information for a particular socket event
#
Base Commanduptycs-get-socket-event-information
#
InputArgument Name | Description | Required |
---|---|---|
asset_id | Only return assets with this asset id. Do not use arguments "asset_id" and "host_name_is" at the same time. | Optional |
host_name_is | Hostname for asset which spawned the specified process. | Optional |
ip | IP address which process opened a socket to. | Required |
time | Time that the specified connection was opened. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.SocketEvents.pid | number | pid of process which opened a connection to a specified IP |
Uptycs.SocketEvents.upt_hostname | string | hostname of the asset which ran the specified process |
Uptycs.SocketEvents.upt_time | date | time at which the connection was opened |
Uptycs.SocketEvents.path | string | file path to the process being run |
Uptycs.SocketEvents.local_address | string | local IP for specified connection |
Uptycs.SocketEvents.remote_address | string | remote IP for specified connection |
Uptycs.SocketEvents.local_port | number | local port for specified connection |
Uptycs.SocketEvents.remote_port | number | remote port for specified connection |
Uptycs.SocketEvents.upt_asset_id | string | asset id for asset which ran the specified process |
Uptycs.SocketEvents.action | string | type of socket event (accept, connect, or bind) |
Uptycs.SocketEvents.family | number | network protocol |
Uptycs.SocketEvents.socket | number | socket used to open the connection |
Uptycs.SocketEvents.protocol | number | transfer protocol |
#
Command Exampleuptycs-get-socket-event-information ip="18.213.163.112" time="2019-03-18 14:34:31.000"
#
Context Example#
Human Readable Output#
Socket event informationupt_hostname | pid | local_address | remote_address | upt_time | local_port | action |
---|---|---|---|---|---|---|
kyle-mbp-work | 16570 | 0.0.0.0 | 18.213.163.112 | 2019-03-18 14:34:31.000 | 47873 | connect |
#
30. uptycs-get-asset-tagsRetrieve a list of tags for a particular asset
#
Base Commanduptycs-get-asset-tags
#
InputArgument Name | Description | Required |
---|---|---|
asset_id | Uptycs asset id for the asset you are looking for. | Required |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-get-asset-tags asset_id="984d4a7a-9f3a-580a-a3ef-2841a561669b"
#
Context Example#
Human Readable Output#
Uptycs Asset Tags for asset id: 984d4a7a-9f3a-580a-a3ef-2841a561669bTags |
---|
Uptycs=work laptop |
owner=Uptycs office |
network=low |
cpu=unknown |
memory=unknown |
disk=high |
#
31. uptycs-get-saved-queriesRetrieve a saved query or list of all saved queries
#
Base Commanduptycs-get-saved-queries
#
InputArgument Name | Description | Required |
---|---|---|
limit | limit the number of entries returned | Optional |
query_id | Only return the query with this unique id | Optional |
name | Only return the query with this name | Optional |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-get-saved-queries name="test_saved_query"
#
Context Example#
Human Readable Output#
Uptycs Saved Queriesname | description | query | executionType | grouping | id |
---|---|---|---|---|---|
test_saved_query | this is a test query | select * from upt_assets limit 1 | global | "" | 16de057d-6f69-46b0-80d0-46cb9348c8fe |
#
32. uptycs-run-saved-queryRun a saved query
#
Base Commanduptycs-run-saved-query
#
InputArgument Name | Description | Required |
---|---|---|
name | The name of the query you want to run | Optional |
query_id | The unique id for the query you want to run | Optional |
asset_id | realtime queries only This argument should be used when one wants to run a realtime query on a particular asset. | Optional |
host_name_is | realtime queries only Only return assets with this hostname | Optional |
host_name_like | realtime queries only . Only return assets with this string in the hostname. | Optional |
variable_arguments | If your saved query has variable arguments, write them here in a json format where the key is the name of the variable argument and value is the value you want to use for this particular query. | Optional |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-run-saved-query name="test_saved_query"
#
Context Example#
Human Readable Output#
Uptycs Query Resultscity_id | updated_at | hardware_vendor | disabled | last_enrolled_at | deleted_at | gateway | cpu_brand | osquery_version | id | hardware_model | os_version | live | location | latitude | host_name | status | os_key | description | object_group_id | last_activity_at | hardware_serial | created_at | longitude | memory_mb | logical_cores | os_flavor | cores | os |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6ee1f7ef-ad7d-46b1-9f74-384299c90830 | 2018-09-25 16:14:28.898 | Dell Inc. | false | 2018-09-25 16:14:28.863 | 50.79.168.117 | Intel(R) Xeon(R) CPU E3-1225 v5 @ 3.30GHz | 3.2.6.15-Uptycs | 4c4c4544-0044-3910-8033-c8c04f5a4832 | PowerEdge T30 | 10.0.14393 | false | United States | 37.751 | caol | active | windows_10.0 | 106eef5e-c3a6-44eb-bb3d-1a2087cded3d | 2018-09-26 17:03:16.187 | HD93ZH2 | 2018-09-25 16:14:28.881 | -97.822 | 16250 | 4 | windows | 4 | Microsoft Windows Server 2016 Datacenter |
#
33. uptycs-post-saved-querySave a query to the Uptycs DB
#
Base Commanduptycs-post-saved-query
#
InputArgument Name | Description | Required |
---|---|---|
description | A short description for the query | Optional |
execution_type | The type of query (global or realtime). | Required |
name | The name for the query. This should be unique to this query. | Required |
query | The query which will be saved | Required |
type | Type of issue the query addresses. | Optional |
grouping | Add the query to a group of queries. | Optional |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-post-saved-query name="process_query" query="select * from processes where name=:name limit 1" execution_type=global description="This is a test query with a variable argument for the column 'name’"
#
Context Example#
Human Readable Output#
Uptycs Posted Queryname | type | description | query | executionType | grouping | custom |
---|---|---|---|---|---|---|
process_query | default | This is a test query with a variable argument for the column 'name’ | select * from processes where name=:name limit 1 | global | "" | true |
#
34. uptycs-get-carvesGet the list of carves file from a specific path.
#
Base Commanduptycs-get-carves
#
InputArgument Name | Description | Required |
---|---|---|
path | Retrieve carves from a specific path | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.Carves.id | string | Uptycs id of the carved file |
Uptycs.Carves.assetId | string | Uptycs id of the asset |
Uptycs.Carves.path | string | File path to the carved file |
Uptycs.Carves.createdAt | date | Time at which the file was carved |
Uptycs.Carves.updatedAt | date | Time at which the carve was updated |
Uptycs.Carves.status | string | Status of carve in Uptycs database |
Uptycs.Carves.assetHostName | string | Hostname in the Uptycs database |
Uptycs.Carves.offset | number | Carved file size offset |
Uptycs.Carves.length | number | Carved file size length |
Uptycs.Carves.deletedUserName | number | Deleted user name |
Uptycs.Carves.deleted_at | number | Time at which the carve was deleted |
#
Command Exampleuptycs-get-carves path="/etc/"
#
Context Example#
Human Readable Output#
Uptycs Carvesid | assetId | path | createdAt | updatedAt | status | assetHostName | offset | length | deletedUserName | deletedAt |
---|---|---|---|---|---|---|---|---|---|---|
e037cb0b-e9b0-4061-8966-5d3404cef9f6 | 2fb29ec9-5c16-4021-af7c-65528fead280 | /etc/hosts | 2023-05-19T06:58:12.304Z | 2023-05-19T06:58:13.576Z | FINISHED | uptycs-testhost | 0 | 197 |
#
35. uptycs-get-carves-linkGet the url of a carved file using uuid
#
Base Commanduptycs-get-carves-link
#
InputArgument Name | Description | Required |
---|---|---|
carve_id | uuid of a specific carved file. Get the id from the list of carves with the command uptycs-get-carves. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.CarvesLink.url | string | url of the carved file |
#
Command Exampleuptycs-get-carves-link carve_id="e037cb0b-e9b0-4061-8966-5d3404cef9f6"
#
Context Example#
Human Readable Output#
Uptycs Carvesurl |
---|
https://uptycs-carves-xxxxx.s3.us-xxxx-2.amazonaws.com/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/xxxx.... |
#
36. uptycs-get-carves-download-fileDownload a carved file using uuid
#
Base Commanduptycs-get-carves-download-file
#
InputArgument Name | Description | Required |
---|---|---|
carve_id | uuid of a specific carved file to download. Get the id from the list of carves with the command uptycs-get-carves. | Required |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-get-carves-download-file carve_id="e037cb0b-e9b0-4061-8966-5d3404cef9f6"
#
Context ExampleThere is no context output for this command.
#
Human Readable Output#
Uptycs Carves file downloadUploaded file: e037cb0b-e9b0-4061-8966-5d3404cef9f6.tar
#
37. uptycs-get-asset-with-idGet an Uptycs asset details.
#
Base Commanduptycs-get-asset-with-id
#
InputArgument Name | Description | Required |
---|---|---|
asset_id | Uptycs asset id. Get the id from the list of assets with the command uptycs-get-assets. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.Asset.hostName | string | Hostname in Uptycs DB |
Uptycs.Asset.location | string | Host location |
Uptycs.Asset.gateway | string | Gateway ip |
Uptycs.Asset.cpuBrand | string | Cpu brand |
Uptycs.Asset.hardwareModel | string | Hardware model |
Uptycs.Asset.hardwareVendor | string | Hardware vendor |
Uptycs.Asset.cores | number | Number of cores |
Uptycs.Asset.logicalCores | number | Number of logical cores |
Uptycs.Asset.memoryMb | number | Memory in mb |
Uptycs.Asset.os | string | os installed on asset (Windows, Linux, Mac OS X) |
Uptycs.Asset.osVersion | string | os version |
Uptycs.Asset.osFlavor | string | os flavor |
Uptycs.Asset.osKey | string | os key |
Uptycs.Asset.osqueryVersion | string | Uptycs osquery version |
Uptycs.Asset.status | string | status of host |
Uptycs.Asset.arch | string | Host cpu architecture |
Uptycs.Asset.agentVersion | string | Uptycs agent version |
Uptycs.Asset.quarantinedStatus | string | Uptycs agent quarantine status |
Uptycs.Asset.osDisplay | string | os version detailed info |
Uptycs.Asset.tags | string | Uptycs asset tags |
Uptycs.Asset.disabled | boolean | Asset disabled status |
Uptycs.Asset.objectGroupId | string | Uptycs object group id |
Uptycs.Asset.lastEnrolledAt | date | Last enrolled at time |
Uptycs.Asset.live | boolean | Asset live status |
#
Command Exampleuptycs-get-asset-with-id asset_id="984d4a7a-9f3a-580a-a3ef-2841a561669b"
#
Context Example#
Human Readable Output#
Uptycs Assetsstatus | live | disabled | quarantinedStatus | tags | lastEnrolledAt | osVersion | osqueryVersion | agentVersion | createdAt | osFlavor | hostName | gateway | os | osKey | objectGroupId | cpuBrand | hardwareModel | hardwareSerial | hardwareVendor | cores | logicalCores | memoryMb | arch | osDisplay | location |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
active | true | false | false | assets,macos,darwin | 2019-07-19 14:47:27.485 | 10.14.5 | 3.x.x.x-Uptycs | 5.x.x.x-Uptycs | 2018-09-25 16:38:16.440 | darwin | kyle-mbp-work | x.y.z.a | Mac OS X | darwin_10.14.5 | 984d4a7a-9f3a-580a-a3ef-2841a561669b | Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz | HVM domU | ec272101-e5c1-58b2-f847-c439abdadcf4 | Xen | 2 | 2 | 8192 | x86_64 | macOS 10.14.5 | United States |
#
38. uptycs-get-tagReturn Uptycs asset tag details
#
Base Commanduptycs-get-tag
#
InputArgument Name | Description | Required |
---|---|---|
tag_id | Uptycs tag id. Get the id from the list of tags with the command uptycs-get-tags. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.tag.tag | string | Tag name in Uptycs DB |
Uptycs.tag.resourceType | string | Tag resource type |
Uptycs.tag.seedId | string | Uptycs seed id |
Uptycs.tag.key | string | Tag key |
Uptycs.tag.value | string | Tag value |
Uptycs.tag.flagProfileId | string | Uptycs flag profile id |
Uptycs.tag.customProfileId | string | Uptycs custom profile id |
Uptycs.tag.complianceProfileId | string | Uptycs compliance profile id |
Uptycs.tag.processBlockRuleId | string | Uptycs process block rule id |
Uptycs.tag.dnsBlockRuleId | string | Uptycs dns block rule id |
Uptycs.tag.windowsDefenderPreferenceId | string | Windows Defender Preference Id |
Uptycs.tag.createdBy | string | Id of creator |
Uptycs.tag.updatedBy | string | Id of last modifier |
Uptycs.tag.createdAt | date | Created at time |
Uptycs.tag.updatedAt | date | Updated at time |
Uptycs.tag.status | string | Status of tag |
Uptycs.tag.source | string | Source of tag |
Uptycs.tag.system | boolean | Status of system |
Uptycs.tag.custom | boolean | Status of custom |
Uptycs.tag.tagRuleId | string | Uptycs tag rule id |
#
Command Exampleuptycs-get-tag tag_id="984d4a7a-9f3a-580a-a3ef-2841a561669b"
#
Context Example#
Human Readable Output#
Uptycs tagtag | resourceType | seedId | key | value | flagProfileId | customProfileId | complianceProfileId | processBlockRuleId | dnsBlockRuleId | windowsDefenderPreferenceId | createdBy | updatedBy | createdAt | updatedAt | status | source | system | custom | tagRuleId |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
asset-group=Asset test 1 | asset | 14e579e4-3661-4bd6-ace3-082cf6fc4ec5 | asset-group | Asset test 1 | 5d894e7c-5606-4380-8711-123ee2a7d96c | ec272101-e5c1-58b2-f847-c439abdadcf4 | 984d4a7a-9f3a-580a-a3ef-2841a561669b | testuser | testuser | 2019-07-19 14:47:27.485 | 2019-07-19 14:47:27.485 | active | direct | false | false |
#
39. uptycs-get-tagsReturn a list of Uptycs asset tags with details.
#
Base Commanduptycs-get-tags
#
InputArgument Name | Description | Required |
---|---|---|
key | Uptycs tag key | Optional |
value | Uptycs tag value | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.tags.id | string | Tag id in Uptycs DB |
Uptycs.tags.tag | string | Tag name in Uptycs DB |
Uptycs.tags.resourceType | string | Tag resource type |
Uptycs.tags.seedId | string | Uptycs seed id |
Uptycs.tags.key | string | Uptycs tag key |
Uptycs.tags.value | string | Uptycs tag value |
Uptycs.tags.flagProfileId | string | Uptycs flag profile id |
Uptycs.tags.customProfileId | string | Uptycs custom profile id |
Uptycs.tags.complianceProfileId | string | Uptycs compliance profile id |
Uptycs.tags.processBlockRuleId | string | Uptycs process block rule id |
Uptycs.tags.dnsBlockRuleId | string | Uptycs dns block rule id |
Uptycs.tags.windowsDefenderPreferenceId | string | Windows Defender Preference Id |
Uptycs.tags.createdBy | string | Id of tag creator |
Uptycs.tags.updatedBy | string | Id of last modifier |
Uptycs.tags.createdAt | date | Created at time |
Uptycs.tags.updatedAt | date | Updated at time |
Uptycs.tags.status | string | status of tag |
Uptycs.tags.source | string | source of tag |
Uptycs.tags.system | boolean | system status |
Uptycs.tags.custom | boolean | custom status |
Uptycs.tags.tagRuleId | string | Uptycs tag rule id |
#
Command Exampleuptycs-get-tags key="asset-group"
#
Context Example#
Human Readable Output#
Uptycs tagstag | resourceType | seedId | key | value | flagProfileId | customProfileId | complianceProfileId | processBlockRuleId | dnsBlockRuleId | windowsDefenderPreferenceId | createdBy | updatedBy | createdAt | updatedAt | status | source | system | custom | tagRuleId |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
asset-group=Asset test 1 | asset | 14e579e4-3661-4bd6-ace3-082cf6fc4ec5 | asset-group | Asset test 1 | 5d894e7c-5606-4380-8711-123ee2a7d96c | ec272101-e5c1-58b2-f847-c439abdadcf4 | 984d4a7a-9f3a-580a-a3ef-2841a561669b | testuser | testuser | 2019-07-19 14:47:27.485 | 2019-07-19 14:47:27.485 | active | direct | false | false |
#
40. uptycs-delete-tagDelete an Uptycs asset tag
#
Base Commanduptycs-delete-tag
#
InputArgument Name | Description | Required |
---|---|---|
tag_id | Delete the tag matching this id. Get the id from the list of tags with the command uptycs-get-tags. | Required |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-delete-tag tag_id="14e579e4-3661-4bd6-ace3-082cf6fc4ec5"
#
Context Example#
Human Readable Output#
Uptycs deleted tagUptycs Deleted tag
#
41. uptycs-create-lookuptableCreate a new Uptycs lookup table.
#
Base Commanduptycs-create-lookuptable
#
InputArgument Name | Description | Required |
---|---|---|
name | Name of a lookup table | Required |
id_field | Id field for the table. An identifier (ID) from the JSON/CSV file you want to upload. Select an ID based on the context of lookup data. For example, a domain lookup ID can be domain, or a port lookup ID can be port. This ID must be the same as defined in the JSON file to be uploaded, otherwise Uptycs does not capture the JSON data. This field is case sensitive and cannot be edited after a lookup table is saved. | Required |
description | Description of a lookup table. | Optional |
filename | The name of the file being uploaded. This file should be uploaded to Cortex XSOAR in the Playground War Room using the paperclip icon next to the CLI. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.lookuptable.id | string | Id of lookup table in Uptycs DB |
Uptycs.lookuptable.name | string | Name of the created lookup table |
#
Command Exampleuptycs-create-lookuptable name="test_table" id_field="remote_address" description="look up table with remote address"
#
Context Example#
Human Readable Output#
Uptycs create lookup tableid | name |
---|---|
984d4a7a-9f3a-580a-a3ef-2841a561669b | test_table |
#
42. uptycs-post-lookuptable-dataUpdate csv data for a look up table.
#
Base Commanduptycs-post-lookuptable-data
#
InputArgument Name | Description | Required |
---|---|---|
table_id | Look up table id. Get the id from the list of tables with the command uptycs-get-lookuptables. | Required |
filename | The name of the file being uploaded. This file should be uploaded to Cortex XSOAR in the Playground War Room using the paperclip icon next to the CLI. | Required |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-post-lookuptable-data table_id="984d4a7a-9f3a-580a-a3ef-2841a561669b" filename="lookuptable.csv"
#
Context Example#
Human Readable OutputUptycs Posted lookup table data
#
43. uptycs-edit-lookuptableEdit an Uptycs lookup table
#
Base Commanduptycs-edit-lookuptable
#
InputArgument Name | Description | Required |
---|---|---|
table_id | Look up table id. Get the id from the list of tables with the command uptycs-get-lookuptables. | Required |
name | Name of a lookup table. | Optional |
description | A lookup table description. | Optional |
active | Enable or disable the table with a boolean flag of true or false. | Optional |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-edit-lookuptable table_id="984d4a7a-9f3a-580a-a3ef-2841a561669b" name="test_table_new" description="look up table with remote address"
#
Context Example#
Human Readable Output#
Uptycs edit lookup tableactive | createdAt | createdBy | customerId | dataLookupTable | description | fetchRowsquery | forRuleEngine | id | idField | name | rowCount | seedId | updatedAt | updatedBy |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TRUE | 2023-04-21T08:27:20.888Z | f976bda8-d5dc-468f-8283-20d5368352e2 | b1c3b08c-eedd-4b94-8ba0-9ca322401016 | null | null | SELECT id_field_value,data FROM upt_lookup_rows WHERE lookup_table_id = '3fdb051b-b38b-4792-9daa-0a88ba4fae53' | TRUE | 3fdb051b-b38b-4792-9daa-0a88ba4fae53 | remote_address | Test 1 | 24 | null | 2023-04-25T04:11:04.664Z | f976bda8-d5dc-468f-8283-20d5368352e2 |
#
44. uptycs-get-lookuptableGet an Uptycs lookup table details
#
Base Commanduptycs-get-lookuptable
#
InputArgument Name | Description | Required |
---|---|---|
table_id | Id of table in Uptycs DB. Get the id from the list of tables with the command uptycs-get-lookuptables. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.lookuptable.seedId | string | Uptycs seed id |
Uptycs.lookuptable.name | string | Look up table name |
Uptycs.lookuptable.description | string | Description of the table |
Uptycs.lookuptable.active | boolean | Active status of the table |
Uptycs.lookuptable.idField | string | Uptycs id field |
Uptycs.lookuptable.rowCount | number | Row count of table |
Uptycs.lookuptable.forRuleEngine | boolean | Status of flag forRuleEngine |
Uptycs.lookuptable.createdBy | string | Id of creator |
Uptycs.lookuptable.updatedBy | string | Id of last modifier |
Uptycs.lookuptable.createdAt | date | Created at time |
Uptycs.lookuptable.updatedAt | date | Updated at time |
Uptycs.lookuptable.dataLookupTable | string | Data look up table name |
Uptycs.lookuptable.fetchRowsquery | string | Query used to fetch rows |
#
Command Exampleuptycs-get-lookuptable table_id="984d4a7a-9f3a-580a-a3ef-2841a561669b"
#
Context Example#
Human Readable Output#
Uptycs look up tablesactive | createdAt | createdBy | customerId | dataLookupTable | description | fetchRowsquery | forRuleEngine | id | idField | name | rowCount | seedId | updatedAt | updatedBy |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TRUE | 2023-04-21T08:27:20.888Z | f976bda8-d5dc-468f-8283-20d5368352e2 | b1c3b08c-eedd-4b94-8ba0-9ca322401016 | null | null | SELECT id_field_value,data FROM upt_lookup_rows WHERE lookup_table_id = '3fdb051b-b38b-4792-9daa-0a88ba4fae53' | TRUE | 3fdb051b-b38b-4792-9daa-0a88ba4fae53 | remote_address | Test 1 | 24 | null | 2023-04-25T04:11:04.664Z | f976bda8-d5dc-468f-8283-20d5368352e2 |
#
45. uptycs-get-lookuptablesGet List of Uptycs lookup table details
#
Base Commanduptycs-get-lookuptables
#
InputThere are no arguments for this command.
#
Context OutputPath | Type | Description |
---|---|---|
Uptycs.lookuptable.id | string | Uptycs id of look up table |
Uptycs.lookuptable.seedId | string | Uptycs seed id |
Uptycs.lookuptable.name | string | Look up table name |
Uptycs.lookuptable.description | string | Description of the table |
Uptycs.lookuptable.active | boolean | Active status of the table |
Uptycs.lookuptable.idField | string | Uptycs id field |
Uptycs.lookuptable.rowCount | number | Row count of table |
Uptycs.lookuptable.forRuleEngine | boolean | Status of flag forRuleEngine |
Uptycs.lookuptable.createdBy | string | Id of creator |
Uptycs.lookuptable.updatedBy | string | Id of last modifier |
Uptycs.lookuptable.createdAt | date | Created at time |
Uptycs.lookuptable.updatedAt | date | Updated at time |
Uptycs.lookuptable.dataLookupTable | string | Data look up table name |
Uptycs.lookuptable.fetchRowsquery | string | Query used to fetch rows |
#
Command Exampleuptycs-get-lookuptables
#
Context Example#
Human Readable Output#
Uptycs look up tablesactive | createdAt | createdBy | customerId | dataLookupTable | description | fetchRowsquery | forRuleEngine | id | idField | name | rowCount | seedId | updatedAt | updatedBy |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TRUE | 2023-04-21T08:27:20.888Z | f976bda8-d5dc-468f-8283-20d5368352e2 | b1c3b08c-eedd-4b94-8ba0-9ca322401016 | null | null | SELECT id_field_value,data FROM upt_lookup_rows WHERE lookup_table_id = '3fdb051b-b38b-4792-9daa-0a88ba4fae53' | TRUE | 3fdb051b-b38b-4792-9daa-0a88ba4fae53 | remote_address | Test 1 | 24 | null | 2023-04-25T04:11:04.664Z | f976bda8-d5dc-468f-8283-20d5368352e2 |
#
46. uptycs-delete-lookuptableDelete an Uptycs lookup table
#
Base Commanduptycs-delete-lookuptable
#
InputArgument Name | Description | Required |
---|---|---|
table_id | Table id in Uptycs DB. Get the id from the list of tables with the command uptycs-get-lookuptables. | Required |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-delete-lookuptable table_id="984d4a7a-9f3a-580a-a3ef-2841a561669b"
#
Context Example#
Human Readable Output#
Uptycs deleted lookuptableUptycs Deleted lookuptable
#
47. uptycs-delete-assets-tagDisassociate an asset with a tag
#
Base Commanduptycs-delete-assets-tag
#
InputArgument Name | Description | Required |
---|---|---|
tag_id | Disassociate the tag matching this id with the given asset_id. Get the id from the list of tags with the command uptycs-get-tags. | Required |
asset_id | Disassociate the asset matching this asset id with the given tag_id. Get the id from the list of asset with the command uptycs-get-assets. | Required |
#
Context OutputThere is no context output for this command.
#
Command Exampleuptycs-delete-asset-tag tag_id="14e579e4-3661-4bd6-ace3-082cf6fc4ec5" asset_id="984d4a7a-9f3a-580a-a3ef-2841a561669b"
#
Context Example#
Human Readable Output#
Uptycs delete assets tagUptycs disassociated assets tags
#
Additional InformationIn order to create an instance of the integration, a user API key and secret must be downloaded from the users Uptycs account. After signing in, navigate to Configuration->Users. At the bottom left of the screen you will see a window labeled "User API key". Click download. The downloaded file will have all the information necessary to create the instance.
#
Known LimitationsWhile the Cortex XSOAR-Uptycs integration provides multiple commands with which to access the Uptycs backend, not all features are supported. In particular, configuration changes are best made using the Uptycs UI. Many of the commands have a limit set to reduce the number of rows returned from a query or api call. The limit can be raised, or turned off, however, this may cause the queries take longer to return and potentially return large numbers of rows. When writing queries, it can sometimes be easier to test using the Uptycs UI rather than the integration.