Override alert checklist closure controls
curl --request POST \
--url https://demo.casebender.com/api/v1/alerts/{id}/checklist/closure-override \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>",
"acknowledgeIncomplete": true
}
'import requests
url = "https://demo.casebender.com/api/v1/alerts/{id}/checklist/closure-override"
payload = {
"reason": "<string>",
"acknowledgeIncomplete": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({reason: '<string>', acknowledgeIncomplete: true})
};
fetch('https://demo.casebender.com/api/v1/alerts/{id}/checklist/closure-override', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://demo.casebender.com/api/v1/alerts/{id}/checklist/closure-override",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'reason' => '<string>',
'acknowledgeIncomplete' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://demo.casebender.com/api/v1/alerts/{id}/checklist/closure-override"
payload := strings.NewReader("{\n \"reason\": \"<string>\",\n \"acknowledgeIncomplete\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://demo.casebender.com/api/v1/alerts/{id}/checklist/closure-override")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"reason\": \"<string>\",\n \"acknowledgeIncomplete\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://demo.casebender.com/api/v1/alerts/{id}/checklist/closure-override")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"reason\": \"<string>\",\n \"acknowledgeIncomplete\": true\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"alertId": "<string>",
"policyVersionIds": [
"<string>"
],
"policyFingerprint": "<string>",
"policySnapshot": {},
"selectionTrace": [
{
"policyId": "<string>",
"policyName": "<string>",
"policyVersionId": "<string>",
"scopeKey": "<string>",
"reasons": [
"<string>"
]
}
],
"alertCategoryValueAtInstantiation": "<string>",
"enforcementMode": "OFF",
"overrideMode": "DISALLOWED",
"allowAlertSpecificItems": true,
"requiredCount": 1,
"completedCount": 1,
"waivedCount": 1,
"items": [
{
"id": "<string>",
"checklistId": "<string>",
"source": "POLICY",
"sourcePolicyVersionId": "<string>",
"stableKey": "<string>",
"title": "<string>",
"order": 123,
"required": true,
"requiresComment": true,
"evidenceRequirement": "NONE",
"state": "PENDING",
"revision": 2,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"alertId": "<string>",
"groupName": "<string>",
"description": "<string>",
"dependsOnStableKey": "<string>",
"conditions": {},
"completedById": "<string>",
"completedBy": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"image": "<string>"
},
"completedAt": "2023-11-07T05:31:56Z",
"waivedById": "<string>",
"waivedBy": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"image": "<string>"
},
"waivedAt": "2023-11-07T05:31:56Z",
"waiverReason": "<string>"
}
],
"instantiatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"closureOverriddenAt": "2023-11-07T05:31:56Z",
"closureOverriddenById": "<string>",
"closureOverriddenBy": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"image": "<string>"
},
"closureOverrideReason": "<string>",
"completedAt": "2023-11-07T05:31:56Z"
}{
"error": "STALE_CHECKLIST_ITEM",
"message": "<string>",
"statusCode": 409,
"currentRevision": 2
}Alerts
Override Alert Checklist Closure
Record a privileged, reasoned override when checklist policy permits it.
POST
/
alerts
/
{id}
/
checklist
/
closure-override
Override alert checklist closure controls
curl --request POST \
--url https://demo.casebender.com/api/v1/alerts/{id}/checklist/closure-override \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>",
"acknowledgeIncomplete": true
}
'import requests
url = "https://demo.casebender.com/api/v1/alerts/{id}/checklist/closure-override"
payload = {
"reason": "<string>",
"acknowledgeIncomplete": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({reason: '<string>', acknowledgeIncomplete: true})
};
fetch('https://demo.casebender.com/api/v1/alerts/{id}/checklist/closure-override', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://demo.casebender.com/api/v1/alerts/{id}/checklist/closure-override",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'reason' => '<string>',
'acknowledgeIncomplete' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://demo.casebender.com/api/v1/alerts/{id}/checklist/closure-override"
payload := strings.NewReader("{\n \"reason\": \"<string>\",\n \"acknowledgeIncomplete\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://demo.casebender.com/api/v1/alerts/{id}/checklist/closure-override")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"reason\": \"<string>\",\n \"acknowledgeIncomplete\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://demo.casebender.com/api/v1/alerts/{id}/checklist/closure-override")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"reason\": \"<string>\",\n \"acknowledgeIncomplete\": true\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"alertId": "<string>",
"policyVersionIds": [
"<string>"
],
"policyFingerprint": "<string>",
"policySnapshot": {},
"selectionTrace": [
{
"policyId": "<string>",
"policyName": "<string>",
"policyVersionId": "<string>",
"scopeKey": "<string>",
"reasons": [
"<string>"
]
}
],
"alertCategoryValueAtInstantiation": "<string>",
"enforcementMode": "OFF",
"overrideMode": "DISALLOWED",
"allowAlertSpecificItems": true,
"requiredCount": 1,
"completedCount": 1,
"waivedCount": 1,
"items": [
{
"id": "<string>",
"checklistId": "<string>",
"source": "POLICY",
"sourcePolicyVersionId": "<string>",
"stableKey": "<string>",
"title": "<string>",
"order": 123,
"required": true,
"requiresComment": true,
"evidenceRequirement": "NONE",
"state": "PENDING",
"revision": 2,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"alertId": "<string>",
"groupName": "<string>",
"description": "<string>",
"dependsOnStableKey": "<string>",
"conditions": {},
"completedById": "<string>",
"completedBy": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"image": "<string>"
},
"completedAt": "2023-11-07T05:31:56Z",
"waivedById": "<string>",
"waivedBy": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"image": "<string>"
},
"waivedAt": "2023-11-07T05:31:56Z",
"waiverReason": "<string>"
}
],
"instantiatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"closureOverriddenAt": "2023-11-07T05:31:56Z",
"closureOverriddenById": "<string>",
"closureOverriddenBy": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"image": "<string>"
},
"closureOverrideReason": "<string>",
"completedAt": "2023-11-07T05:31:56Z"
}{
"error": "STALE_CHECKLIST_ITEM",
"message": "<string>",
"statusCode": 409,
"currentRevision": 2
}Requires the dedicated
alerts:close-override scope. The effective policy must permit privileged overrides, at least one required item must remain unresolved, and the request must contain a meaningful reason.
This endpoint records the override. Send the subsequent alert status update separately. Reopening the alert or changing a checklist item clears the active override, so a later closure requires a new authorization and reason.Authorizations
bearerAuthapiKey
API key authentication. Use format: Bearer cbr_live_your_key
Path Parameters
Minimum string length:
1Body
application/json
Response
Default Response
Show child attributes
Show child attributes
Available options:
OFF, WARN, BLOCK Available options:
DISALLOWED, PRIVILEGED_WITH_REASON Required range:
x >= 0Required range:
x >= 0Required range:
x >= 0Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I