automations-list
- 25 Oct 2024
-
DarkLight
-
PDF
automations-list
- Updated on 25 Oct 2024
-
DarkLight
-
PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Purpose
This automation returns an array of all automations and their associated triggers present on the declared IAP instance.
automations-list
APIs used:
/operations-manager/automations
/operations-manager/triggers
Input
Inputs | Data Type | Sample Input | Description |
---|---|---|---|
instance_name | Dropdown (String) | SE Lab Prod 2023.1 | The IAP instance name |
token (optional) | string | 9f0999c2-7054-4820-8eeb-c3052d30acaa | Authentication token or empty if an API key is used |
Output
Output | Data Type | Sample Output | Description |
---|---|---|---|
all_automations | JSON | Sample output as mentioned below | Returns a JSON object with all automations and their associated triggers |
Sample Output - Success Return
{"list_automations":[
{
_id: '612397982e145902a762abd2',
name: 'Create Security Policy Palo Alto',
description: '',
componentName: 'Create Security Policy Palo Alto',
componentType: 'workflows',
componentId: '66d4868f-83a7-4539-ab04-8d00660d308d',
gbac: { write: [], read: [] },
created: '2023-05-17T02:36:06.754Z',
createdBy: 'user.user@itential.com',
lastUpdated: '2023-05-17T02:36:06.754Z',
lastUpdatedBy: 'user.user@itential.com',
triggers: [ [Object] ]
},
{
_id: '62e7978be8433b0288de8e17',
name: 'NVD - Find Vulnerabilities by OS Type',
description: '',
componentName: 'NVD - Bulk Find Vulnerabilities',
componentType: 'workflows',
componentId: '12dcd61c-84a3-4b87-b588-c4562751ce45',
gbac: { write: [], read: [] },
created: '2023-02-24T03:44:52.961Z',
createdBy: 'user.user@itential.com',
lastUpdated: '2023-02-24T03:44:52.961Z',
lastUpdatedBy: 'user.user@itential.com',
triggers: [ [Object] ]
},
{
_id: '64667058e4e820010c7b6d55',
name: 'test_snow_Actions',
description: '',
componentName: 'test_snow_Action',
componentType: 'workflows',
componentId: '64d3ce26-7e8f-4e6b-8cb9-979b3cd388d5',
gbac: { read: [], write: [] },
created: '2023-05-18T18:37:12.324Z',
createdBy: 'user.user@itential.com',
lastUpdated: '2023-05-31T15:18:44.664Z',
lastUpdatedBy: 'user.user@itential.com',
triggers: [ [Object], [Object], [Object], [Object] ]
}
]
}
Error Output
Error Output | Data Type | Sample Output | Description |
---|---|---|---|
error_message | String | Malformed url encountered: Protocol is missing in the URL | Error message |
Was this article helpful?