Alert custom rule details
Select
Get the details of the custom alert rule by Id
Path Parameters
- alertRuleId int32 required
Unique Id of the alert custom rule to get details
- 200
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
queryEntities object[]
list of query entities
isQueryModifyEnabled booleanvisibility int32whether its private or public
sqlQuery stringdoesQuerySupportOutputFilter booleanfrequency int32isOverwriteAssociationAtAlertAllowed booleanisSystemCreated booleanwhether its system created or not
isPrimaryKeyPresent booleanwhether primary key is present or not
isDisabled booleanwhether its disabled or not
queryDescription stringbrief description of the query
queryCriteriaName stringcriteria name of the query
customAlertType int32alert type enum value
creator object
details of the query creator
userName stringname of the query creator
userId int32unique id of the user
additionalQueryDetails object
contains additional query details
querySeverity stringPossible values: [
NONE
,CRITICAL
,WARNING
,INFORMATION
]Default value:
NONE
query severity level value
scriptDescription object
contains script details
reportName stringname of the report
description stringguid stringunique identifier for the script
queryEntity object
contains query details
queryId int32unique id of the query
queryName stringname of the query
queryOutputColumns object[]
list of the output columns associated with the alert rule
isColumnFilterable booleanlmDataType int32isPrimaryKey booleancolumnFriendlyName stringcolumnName stringsecurityAssociations object
contains associations
associations object[]
contains list of security associations
ref
{
"queryEntities": [
{
"isQueryModifyEnabled": true,
"visibility": 0,
"sqlQuery": "string",
"doesQuerySupportOutputFilter": true,
"frequency": 0,
"isOverwriteAssociationAtAlertAllowed": true,
"isSystemCreated": true,
"isPrimaryKeyPresent": true,
"isDisabled": true,
"queryDescription": "string",
"queryCriteriaName": "string",
"customAlertType": 0,
"creator": {
"userName": "string",
"userId": 0
},
"additionalQueryDetails": {
"querySeverity": "NONE",
"scriptDescription": {
"reportName": "string",
"description": "string",
"guid": "string"
}
},
"queryEntity": {
"queryId": 0,
"queryName": "string"
},
"queryOutputColumns": [
{
"isColumnFilterable": true,
"lmDataType": 0,
"isPrimaryKey": true,
"columnFriendlyName": "string",
"columnName": "string"
}
],
"securityAssociations": {
"associations": [
{}
]
}
}
]
}
Internal Server Error