Fetch Alert Actions for an Action ID API
Use this API to search the alert actions for an action ID.
Input ParametersInput Parameters
|
Parameter |
Mandatory/ |
Data Type |
Description |
|---|---|---|---|
| actionId | Mandatory | String | Provide the ID of the action you want to fetch. |
Sample: Fetch alert action for an action IDSample: Fetch alert action for an action ID
API Request
curl -X GET
<qualys_base_url>/fim/v3/alert/actions/{actionId}
-H'authorization: Bearer <token>'
-H 'content-type:application/json'
Response
{
"customerId": "x5x0514x-x211-x1x4-809x-x3x2xx667xxx",
"applicationName": "FIM",
"id": "xxx13x40-11x0-11xx-x12x-xx6083x5x695",
"name": "Email - Alerting regression",
"description": "Alerting regression",
"actionType": "qemail",
"createdBy": "John Doe",
"createdById": "doe_john",
"updatedBy": "John Doe",
"updatedById": "doe_john",
"created": 1574919350308,
"updated": 1574919362952,
"alert": "Email- Alerting regression",
"subject": "Email- Alerting regression",
"smtpHost": "mta01.eng.sjc01.qualys.com",
"smtpPort": 25,
"emailRecipients": [
"[email protected]",
"[email protected]",
"[email protected]"
],
"emailFromAddress": "[email protected]",
"emailReplyTo": "[email protected]",
"slackWebhookUri": null,
"slackChannel": null,
"pagerdutyServiceKey": null,
"pagerdutyEventType": null,
"pagerdutyClient": null,
"activeRules": 1,
"disabledRules": 2,
"smtpUser": null
}