Srm Notification

This contains APIs related to CRUD operations of srm notifications

getNotificationRuleData

Securityx-api-key
Request
path Parameters
identifier
required
string
query Parameters
accountId
required
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

Responses
400

Bad Request

500

Internal Server Error

get/cv/api/notification-rule/{identifier}
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

updateNotificationRuleData

Securityx-api-key
Request
path Parameters
identifier
required
string
query Parameters
accountId
required
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

Request Body schema: */*
orgIdentifier
string
projectIdentifier
string
identifier
required
string
name
required
string
type
required
string
Enum: "MonitoredService" "ServiceLevelObjective" "FireHydrant"
required
Array of objects (NotificationRuleCondition)
required
object (CVNGNotificationChannel)
Responses
400

Bad Request

500

Internal Server Error

put/cv/api/notification-rule/{identifier}
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

deleteNotificationRuleData

Securityx-api-key
Request
path Parameters
identifier
required
string
query Parameters
accountId
required
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

Responses
400

Bad Request

500

Internal Server Error

delete/cv/api/notification-rule/{identifier}
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

getNotificationRuleData_1

Securityx-api-key
Request
query Parameters
accountId
required
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

notificationRuleIdentifiers
Array of strings
pageNumber
required
integer <int32>
pageSize
required
integer <int32>
Responses
400

Bad Request

500

Internal Server Error

get/cv/api/notification-rule
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

saveNotificationRuleData

Securityx-api-key
Request
query Parameters
accountId
required
string
Request Body schema: */*
orgIdentifier
string
projectIdentifier
string
identifier
required
string
name
required
string
type
required
string
Enum: "MonitoredService" "ServiceLevelObjective" "FireHydrant"
required
Array of objects (NotificationRuleCondition)
required
object (CVNGNotificationChannel)
Responses
400

Bad Request

500

Internal Server Error

post/cv/api/notification-rule
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}