API Guide

Table Of Contents
Table 63. Attributes (continued)
Attribute name Description
CatalogName Name of the catalogs associated with the policy. This field is
checked during policy evaluation.
Categories Name of the categories associated with the policy. This field is
checked during policy evaluation.
SubCategories Name of the subcategories associated with the policy. If
defined, this field is checked during policy evaluation.
Severities List of severities associated to the policy. This field is checked
during policy evaluation.
Devices List of devices associated to the policy. This field is checked
during policy evaluation.
DevicesTypes List of devices types associated to the policy.
Groups List of groups associated to the policy. This field is checked
during policy evaluation.
Schedule
StartTime Start event-time to verify. This value indicates the start date
and time for policy validity. If defined. This field is checked
during policy evaluation.
EndTime End event-time to verify. This value indicates the end date
and time for policy validity. If defined. This field is checked
during policy evaluation.
CronString CRON string associated to the policy. This field indicates a
special CRON that can be applied to the policy to indicate
values such as the days for which the policy is valid.
Actions
Id ID of action.
Name Name associated with the action.
ParameterDetails Extra parameters that can be used for the action.
TemplateId ID of the template associated with the action.
PolicyActions Link to the list of actions that can be triggered for the policy.
PolicyCriteria Link to the criteria for the evaluation of the alert contents
with the policy contents. This evaluation determines if the
policy is valid and if any actions are triggered.
POST method for AlertPolicies
This method creates a policy.
Description
Creates a policy.
Privilege MONITORING_SETUP
HTTP response
codes
201
Example request
body
{
"Id": 0,
"Name": "Policy",
"Description": "Policy",
Alerts 129