Get package executions
Request a page with a list of package executions belonging to a tenant, sorted by the uploaded date, in descending order (most recent uploaded package execution listed first). The page number and page size parameters are optional. When the values are not specified, the default values are 1 and 20 respectively.
Service endpoint | /packages/v2/executions?page=m&page_size=n |
Optional query string parameters |
|
Example | retrieve the first page with up to 100 Detections, filtered by ID, and sorted by ID: https://protectapi.cylance.com/packages/v2/executions?page=1&page_size=100&id=1C04-1C2D&sort=id |
Method | HTTP/1.1 GET |
Request headers |
|
Request
None
Response
Please see the Response status codes for more information.
Response JSON schema
Field Name | Description |
---|---|
createdAt | This is the date and time (in UTC) when the execution was requested. |
createdBy | This is the user who requested the execution.
|
destination | This is the FTP, SFTP, or SAMBA URL for saving the results. |
deviceCount | This is the number of online devices at the moment the package execution request was made. |
deviceStatuses | These are the statuses of the package executions on the device.
|
id | This is the unique identifier of the execution resource. |
keepResultsLocally | This is the setting to save the results to the local disk drive. If true, the results are saved to file://[Cylance Data Directory]/Optics. |
name | This is the name of the execution. |
packageExecutions | This is the list of packages to execute.
|
page_number | This is the page number requested. |
page_size | This is the page size requested. |
target | These are the devices and/or zones to execute the packages against.
|
total_number_of_items | This is the total number of resources. |
total_pages | This is the total number of pages that can be retrieved based on the page size specified. |