Detect and Respond Response Policies

List Response Policies

get

Returns an array of Response Policies.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
get
/api/v1/rule-engine/rules

Create Response Policy

post

Creates a response policy from the data that's been supplied.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

Response Policy Create or Update Config

pluginsstring[]Optional

Plugin ID to be used in the response policy

Example: 214365f7-ac9a-45bc-9795-95958bdfa694
Responses
201

Requested Response Policy

application/json
post
/api/v1/rule-engine/rule

Fetch Response Policy

get

Fetches a specific response policy from the ID supplied in the path.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The ID of the response policy to be returned.

Responses
get
/api/v1/rule-engine/rule/{id}

Update Response Policy

put

Update a response policy given the provided object. This does not do a diff. You must send the complete object.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The ID of the response policy to be updated

Body

Response Policy Create or Update Config

pluginsstring[]Optional

Plugin ID to be used in the response policy

Example: 214365f7-ac9a-45bc-9795-95958bdfa694
Responses
put
/api/v1/rule-engine/rule/{id}

Delete Response Policy

delete

Deletes a response policy

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The ID of the response policy to be deleted

Responses
delete
/api/v1/rule-engine/rule/{id}

No content

Enable Response Policy

put

Enables a response policy

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The ID of the response policy to be enabled

Responses
put
/api/v1/rule-engine/rule/{id}/enable

Disable Response Policy

put

Disables a response policy

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The ID of the response policy to be disabled

Responses
put
/api/v1/rule-engine/rule/{id}/disable

Last updated