Set how much of an ISMS document Comp AI holds
curl --request POST \
--url https://api.trycomp.ai/v1/isms/documents/{id}/coverage \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{}'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.trycomp.ai/v1/isms/documents/{id}/coverage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/isms/documents/{id}/coverage"
payload = {}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)ISMS
Set how much of an ISMS document Comp AI holds | Comp AI API
Marks an ISMS document, or one section of it, as included, maintained outside Comp AI, or not applicable, which requires a written justification. External.
POST
/
v1
/
isms
/
documents
/
{id}
/
coverage
Set how much of an ISMS document Comp AI holds
curl --request POST \
--url https://api.trycomp.ai/v1/isms/documents/{id}/coverage \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{}'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.trycomp.ai/v1/isms/documents/{id}/coverage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/isms/documents/{id}/coverage"
payload = {}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Authorizations
API key for authentication
Path Parameters
Body
application/json
Coverage decision for a whole ISMS document, or for one section of it
Available options:
included, external, not_applicable Omit, or send an empty or whitespace-only string, to set coverage for the whole document. A section key sets coverage for one section; the keys a document offers depend on its type, and an unknown key is rejected with 400.
YYYY-MM-DD
Annex A control the justification answers, e.g. "5.1".
Response
200
Coverage saved
Was this page helpful?

