API reference
Every route of the JSON API, written from RiskWren's OpenAPI document for version 0.10.1. For sign-in, the shape of answers and errors, and how lists page, see The API. A running server gives the document itself at /api/openapi.json.
System#
GET /api/v1/health/live#
Is the server process running?
GET /api/v1/health/ready#
Can the server do its work?
The database answers and its schema is the one this version expects.
GET /api/v1/meta#
The product's name, version, and branding
What the web app needs before anyone signs in.
Signing in#
DELETE /api/v1/session#
Sign out
GET /api/v1/session#
Who is signed in
POST /api/v1/session#
Sign in with an email address and password
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
email | string | yes | |
password | string | yes |
POST /api/v1/session/demo#
Sign in as a sample person (demo installations only)
Only a demo organization has this, only for the sample people it names, and only from the machine it runs on unless the server was started with --demo-on-network.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
email | string | yes |
POST /api/v1/session/password#
Change your own password
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
current_password | string | ||
new_password | string | yes |
Single sign-on#
GET /api/v1/sso#
How single sign-on is set up
GET /api/v1/sso/callback#
Finish single sign-on
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
code | query | string | ||
state | query | string | ||
error | query | string |
POST /api/v1/sso/check#
Ask the identity provider whether it answers
Reads the provider's discovery document and signing keys, and says whether the client secret is set. Nothing is changed and nobody is signed in.
PUT /api/v1/sso/mappings#
Say which groups give which roles
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
mappings | list of MappingIn | yes |
GET /api/v1/sso/start#
Begin single sign-on
Sends the browser to the identity provider. It comes back to /sso/callback.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
next | query | string |
People and units#
GET /api/v1/accounts#
Find people
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Default: "". | |
status | query | string |
POST /api/v1/accounts#
Add a person
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
display_name | string | yes | |
email | string | yes | |
password | string | ||
roles | list of GrantBody | ||
title | string | ||
unit_ids | list of integer |
GET /api/v1/accounts/{account_id}#
One person
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
account_id | path | integer | yes |
PATCH /api/v1/accounts/{account_id}#
Change a person's details
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
account_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
display_name | string | ||
email | string | The address they sign in with (administrators) | |
status | string | ||
time_zone | string | ||
title | string |
POST /api/v1/accounts/{account_id}/password#
Give a person a new password
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
account_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
new_password | string | yes |
PUT /api/v1/accounts/{account_id}/roles#
Set a person's roles
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
account_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
roles | list of GrantBody | yes |
PUT /api/v1/accounts/{account_id}/units#
Set the units a person works in
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
account_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
unit_ids | list of integer | yes |
POST /api/v1/imports/people#
Import people from CSV
Send the CSV as the request body. With dry_run (the default) nothing is changed.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
dry_run | query | boolean | Default: true. |
POST /api/v1/imports/units#
Import units from CSV
Send the CSV as the request body. With dry_run (the default) nothing is changed.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
dry_run | query | boolean | Default: true. |
GET /api/v1/roles#
The roles and what each allows
GET /api/v1/units#
The organization's units, as a list and as a tree
POST /api/v1/units#
Add a unit
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
code | string | ||
kind | string | yes | |
name | string | yes | |
parent_id | integer |
GET /api/v1/units/{unit_id}#
One unit, with the units above it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
unit_id | path | integer | yes |
PATCH /api/v1/units/{unit_id}#
Rename, move, or close a unit
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
unit_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
code | string | ||
kind | string | ||
name | string | ||
parent_id | integer | ||
status | string |
Appearance#
GET /api/v1/admin/branding#
The branding, for editing
PUT /api/v1/admin/branding#
Change the product name, palette, and accent
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
accent | string | ||
accent_dark | string | ||
email_footer | string | ||
footer_links | list of object | ||
organization_name | string | ||
palette | string | yes | |
product_name | string | yes | |
rating_ramp | string | ||
show_powered_by | boolean | ||
sign_in_message | string | ||
terms | object | The organization's own words: key → {one, many} |
POST /api/v1/admin/branding/check#
How an accent color would read, before saving it
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
accent | string | yes | |
accent_dark | string |
DELETE /api/v1/admin/branding/images/{kind}#
Remove a logo or tab icon
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
kind | path | string | yes |
POST /api/v1/admin/branding/images/{kind}#
Upload a logo or tab icon
Send the image as the request body: PNG, JPEG, WebP, or SVG, up to 2 MB.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
kind | path | string | yes |
The inventory#
GET /api/v1/admin/visibility#
How much of the register everyone can see
PUT /api/v1/admin/visibility#
Change how much of the register everyone can see
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
visibility | string | yes |
GET /api/v1/admin/vocabularies#
Every vocabulary, with what may be changed in it
GET /api/v1/information#
Find information assets
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
status | query | string | ||
kind | query | string | ||
criticality | query | string | ||
data_class | query | string | ||
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; start with - for descending Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/information#
Add an information asset
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
agreement | string | What it is held or shared under | |
criticality | string | ||
custom | object | Values of the organization's own fields, by key | |
data_class | string | ||
external_refs | list of ExternalRefBody | ||
held_in | string | The systems and places it is kept | |
kind | string | ||
name | string | ||
org_unit_id | integer | ||
restricted | boolean | ||
shared_with | string | ||
status | string | ||
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/information/{ref}#
One information asset, with its owners and links
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/information/{ref}#
Change an information asset
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
agreement | string | What it is held or shared under | |
criticality | string | ||
custom | object | Values of the organization's own fields, by key | |
data_class | string | ||
external_refs | list of ExternalRefBody | ||
held_in | string | The systems and places it is kept | |
kind | string | ||
name | string | ||
org_unit_id | integer | ||
restricted | boolean | ||
shared_with | string | ||
status | string | ||
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/information/{ref}/history#
Everything that has happened to an information asset
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/information/{ref}/links#
Link an information asset to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as relies_on |
to | string | yes | The reference of the record it reaches, such as SYS-0003 |
DELETE /api/v1/information/{ref}/links/{link_id}#
Remove a link from an information asset
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
PUT /api/v1/information/{ref}/owners#
Set a information asset's owners
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
GET /api/v1/processes#
Find processes
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
status | query | string | ||
kind | query | string | ||
criticality | query | string | ||
data_class | query | string | ||
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; start with - for descending Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/processes#
Add a process
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
criticality | string | ||
custom | object | Values of the organization's own fields, by key | |
data_class | string | ||
external_refs | list of ExternalRefBody | ||
kind | string | ||
name | string | ||
org_unit_id | integer | ||
purpose | string | ||
restricted | boolean | ||
status | string | ||
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/processes/{ref}#
One process, with its owners and links
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/processes/{ref}#
Change a process
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
criticality | string | ||
custom | object | Values of the organization's own fields, by key | |
data_class | string | ||
external_refs | list of ExternalRefBody | ||
kind | string | ||
name | string | ||
org_unit_id | integer | ||
purpose | string | ||
restricted | boolean | ||
status | string | ||
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/processes/{ref}/history#
Everything that has happened to a process
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/processes/{ref}/links#
Link a process to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as relies_on |
to | string | yes | The reference of the record it reaches, such as SYS-0003 |
DELETE /api/v1/processes/{ref}/links/{link_id}#
Remove a link from a process
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
PUT /api/v1/processes/{ref}/owners#
Set a process's owners
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
GET /api/v1/sites#
Find sites
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
status | query | string | ||
kind | query | string | ||
criticality | query | string | ||
data_class | query | string | ||
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; start with - for descending Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/sites#
Add a site
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
address | string | ||
criticality | string | ||
custom | object | Values of the organization's own fields, by key | |
data_class | string | ||
external_refs | list of ExternalRefBody | ||
kind | string | ||
name | string | ||
org_unit_id | integer | ||
restricted | boolean | ||
status | string | ||
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/sites/{ref}#
One site, with its owners and links
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/sites/{ref}#
Change a site
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
address | string | ||
criticality | string | ||
custom | object | Values of the organization's own fields, by key | |
data_class | string | ||
external_refs | list of ExternalRefBody | ||
kind | string | ||
name | string | ||
org_unit_id | integer | ||
restricted | boolean | ||
status | string | ||
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/sites/{ref}/history#
Everything that has happened to a site
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/sites/{ref}/links#
Link a site to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as relies_on |
to | string | yes | The reference of the record it reaches, such as SYS-0003 |
DELETE /api/v1/sites/{ref}/links/{link_id}#
Remove a link from a site
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
PUT /api/v1/sites/{ref}/owners#
Set a site's owners
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
GET /api/v1/systems#
Find systems
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
status | query | string | ||
kind | query | string | ||
criticality | query | string | ||
data_class | query | string | ||
hosting | query | string | ||
lifecycle | query | string | ||
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; start with - for descending Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/systems#
Add a system
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
criticality | string | ||
custom | object | Values of the organization's own fields, by key | |
data_class | string | ||
external_refs | list of ExternalRefBody | ||
hosting | string | ||
kind | string | ||
lifecycle | string | ||
name | string | ||
org_unit_id | integer | ||
restricted | boolean | ||
status | string | ||
summary | string | ||
tags | list of string | ||
url | string | ||
version | integer |
GET /api/v1/systems/{ref}#
One system, with its owners and links
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/systems/{ref}#
Change a system
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
criticality | string | ||
custom | object | Values of the organization's own fields, by key | |
data_class | string | ||
external_refs | list of ExternalRefBody | ||
hosting | string | ||
kind | string | ||
lifecycle | string | ||
name | string | ||
org_unit_id | integer | ||
restricted | boolean | ||
status | string | ||
summary | string | ||
tags | list of string | ||
url | string | ||
version | integer |
GET /api/v1/systems/{ref}/history#
Everything that has happened to a system
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/systems/{ref}/links#
Link a system to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as relies_on |
to | string | yes | The reference of the record it reaches, such as SYS-0003 |
DELETE /api/v1/systems/{ref}/links/{link_id}#
Remove a link from a system
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
PUT /api/v1/systems/{ref}/owners#
Set a system's owners
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
GET /api/v1/third-parties#
Find third parties
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
status | query | string | ||
kind | query | string | ||
criticality | query | string | ||
data_class | query | string | ||
tier | query | string | A tier's key, or none for untiered | |
review | query | string | due: overdue; soon: within a month | |
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; start with - for descending Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/third-parties#
Add a third party
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
criticality | string | ||
custom | object | Values of the organization's own fields, by key | |
data_class | string | ||
external_refs | list of ExternalRefBody | ||
kind | string | ||
name | string | ||
notes | string | ||
org_unit_id | integer | ||
restricted | boolean | ||
status | string | ||
summary | string | ||
tags | list of string | ||
version | integer | ||
website | string |
GET /api/v1/third-parties/{ref}#
One third party, with its owners and links
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/third-parties/{ref}#
Change a third party
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
criticality | string | ||
custom | object | Values of the organization's own fields, by key | |
data_class | string | ||
external_refs | list of ExternalRefBody | ||
kind | string | ||
name | string | ||
notes | string | ||
org_unit_id | integer | ||
restricted | boolean | ||
status | string | ||
summary | string | ||
tags | list of string | ||
version | integer | ||
website | string |
GET /api/v1/third-parties/{ref}/history#
Everything that has happened to a third party
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/third-parties/{ref}/links#
Link a third party to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as relies_on |
to | string | yes | The reference of the record it reaches, such as SYS-0003 |
DELETE /api/v1/third-parties/{ref}/links/{link_id}#
Remove a link from a third party
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
PUT /api/v1/third-parties/{ref}/owners#
Set a third party's owners
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
GET /api/v1/vocabularies#
The lists of values records choose from
PUT /api/v1/vocabularies/{name}#
Rename, reorder, add to, or retire a vocabulary
A value's key never changes, so renaming one never rewrites a record. A value in use is retired, not removed: records keep it and new ones cannot choose it.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
name | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
items | list of object | yes | Every value, in order: key, label, description, and retired |
Risks#
GET /api/v1/program#
How risks are rated: the method, the categories, and the rules
GET /api/v1/program/fields#
The fields of the organization's own on each kind of record
PUT /api/v1/program/fields/{type_key}#
Set the fields a kind of record carries
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
type_key | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
fields | list of object | yes | In order, each with key, label, kind (text, number, date, or choice), choices for a choice, and optionally help and required |
POST /api/v1/program/preview#
See which risks a change to the program would move
Makes the change, lists every open risk whose rating, standing, or next review moved, and then undoes it. Nothing is changed, and what is listed is exactly what publishing the same change would move.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
appetites | object | Category key to rating; null takes the one above | |
cadences | object | The whole cadence table | |
method | object | The whole scoring method |
POST /api/v1/program/publish#
Change the scoring method, appetite, or cadences
A changed scoring method is published as a new version. Every open risk is read again under what is now in force; assessments keep the rating they were given.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
appetites | object | Category key to rating; null takes the one above | |
cadences | object | The whole cadence table | |
method | object | The whole scoring method |
POST /api/v1/risk-categories#
Add a risk category
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
appetite | string | A rating; needed at the top | |
description | string | ||
key | string | Made from the name if absent | |
name | string | yes | |
parent | string | The key of the category above it |
PATCH /api/v1/risk-categories/{key}#
Rename a risk category or change its appetite
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
appetite | string | ||
description | string | ||
move | string | up or down, among those beside it | |
name | string | ||
status | string |
GET /api/v1/risk-library#
Reusable risk statements to start a risk from
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
category | query | string | ||
key | query | string | One entry, by its key |
GET /api/v1/risks#
Find risks
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
at | query | integer | A unit's id: its own risks and those escalated to it | |
category | query | string | A category key; includes those beneath | |
status | query | string | ||
standing | query | string | ||
residual_rating | query | string | ||
inherent_rating | query | string | ||
response | query | string | ||
subject | query | string | The reference of a record it concerns | |
above_appetite | query | boolean | Default: false. | |
overdue | query | boolean | Open risks whose review date has passed Default: false. | |
in_doubt | query | boolean | Default: false. | |
added | query | string | Raised in a period: FROM..TO | |
inherent_likelihood | query | integer | ||
inherent_impact | query | integer | ||
residual_likelihood | query | integer | ||
residual_impact | query | integer | ||
target_likelihood | query | integer | ||
target_impact | query | integer | ||
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field; start with - to reverse Default: "-residual_rating". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/risks#
Raise a risk
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
category | string | The key of a risk category | |
cause | string | ||
closed_reason | string | ||
consequence | string | ||
custom | object | Values of the organization's own fields, by key | |
event | string | ||
external_refs | list of ExternalRefBody | ||
library_key | string | The library entry it was started from | |
name | string | A short title | |
org_unit_id | integer | ||
restricted | boolean | ||
status | string | ||
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/risks/{ref}#
One risk, with its ratings and what it concerns
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/risks/{ref}#
Change a risk, close it, or reopen it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
category | string | The key of a risk category | |
cause | string | ||
closed_reason | string | ||
consequence | string | ||
custom | object | Values of the organization's own fields, by key | |
event | string | ||
external_refs | list of ExternalRefBody | ||
library_key | string | The library entry it was started from | |
name | string | A short title | |
org_unit_id | integer | ||
restricted | boolean | ||
status | string | ||
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/risks/{ref}/assessments#
Every judgment made of a risk, newest first
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/risks/{ref}/assessments#
Assess a risk
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
impact_levels | object | yes | The level chosen on each impact dimension that applies |
kind | string | yes | inherent, residual, or target |
likelihood | integer | yes | |
rationale | string | yes |
GET /api/v1/risks/{ref}/bow-tie#
A risk's causes, controls, event, and consequences
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/risks/{ref}/escalation#
Escalate a risk to a higher unit, or take it back
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
reason | string | ||
unit_id | integer | yes | A unit above the risk's own; null takes it back down |
GET /api/v1/risks/{ref}/estimate#
A risk's estimate in ranges and its simulation
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/risks/{ref}/estimate#
Estimate a risk in ranges, anew
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
assumptions | string | yes | Where the numbers came from |
currency | string | ||
frequency_high | number | yes | |
frequency_likely | number | yes | |
frequency_low | number | yes | Fewest times a year, such as 0.1 (once a decade) |
loss_high | number | yes | |
loss_likely | number | yes | |
loss_low | number | yes | Least it costs each time, in whole currency units |
GET /api/v1/risks/{ref}/history#
Everything that has happened to a risk
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/risks/{ref}/objectives#
Say which objectives a risk threatens
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
objectives | list of string | yes | References of the objectives the risk threatens |
PUT /api/v1/risks/{ref}/owners#
Set a risk's owners
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
PUT /api/v1/risks/{ref}/subjects#
Say what a risk concerns
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
subjects | list of string | yes | References of the records the risk concerns |
Controls#
GET /api/v1/control-library#
Common controls in plain words, to start a control from
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
keys | query | string | Library keys, separated by commas |
GET /api/v1/controls#
Find controls
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
status | query | string | ||
kind | query | string | ||
nature | query | string | ||
frequency | query | string | ||
state | query | string | effective, partly, ineffective, or not_assessed | |
tested | query | string | By a test that still holds: effective, failing, or none (no such test) | |
is_key | query | boolean | Default: false. | |
stale | query | boolean | Rated, but too long ago to rely on Default: false. | |
risk | query | string | A risk's reference: the controls on it | |
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; start with - for descending Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/controls#
Add a control
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
custom | object | Values of the organization's own fields, by key | |
external_refs | list of ExternalRefBody | ||
frequency | string | ||
is_key | boolean | ||
kind | string | ||
library_key | string | ||
name | string | A short title | |
nature | string | ||
objective | string | ||
org_unit_id | integer | ||
restricted | boolean | ||
statement | string | Who does what, how often | |
status | string | ||
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/controls/{ref}#
One control, with its rating and the risks it bears on
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/controls/{ref}#
Change a control
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
custom | object | Values of the organization's own fields, by key | |
external_refs | list of ExternalRefBody | ||
frequency | string | ||
is_key | boolean | ||
kind | string | ||
library_key | string | ||
name | string | A short title | |
nature | string | ||
objective | string | ||
org_unit_id | integer | ||
restricted | boolean | ||
statement | string | Who does what, how often | |
status | string | ||
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/controls/{ref}/history#
Everything that has happened to a control
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/controls/{ref}/owners#
Set a control's owners
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
GET /api/v1/controls/{ref}/ratings#
Every rating a control has had, newest first
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/controls/{ref}/ratings#
Rate how well a control works
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
design | string | yes | effective, partly, ineffective, or not_assessed |
note | string | yes | What the rating rests on |
operation | string | yes |
GET /api/v1/controls/{ref}/requirements#
The requirements a control helps to satisfy
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/controls/{ref}/requirements#
Map a control to a requirement, or change how
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
code | string | yes | The requirement's code, such as PR.AA-05 |
coverage | string | full or partial | |
framework | string | yes | The framework's key, such as nist-csf |
note | string |
POST /api/v1/controls/{ref}/requirements/suggested#
Map a control to everything the library suggests for it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
DELETE /api/v1/controls/{ref}/requirements/{mapping_id}#
Take a requirement off a control
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
mapping_id | path | integer | yes |
GET /api/v1/risks/{ref}/controls#
The controls on a risk, and what they suggest
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/risks/{ref}/controls#
Link a control to a risk, or change how it bears
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
control | string | yes | The control's reference, such as CTL-0007 |
note | string | ||
reduces | string | yes | likelihood, impact, or both |
reliance | string | yes | primary or supporting |
DELETE /api/v1/risks/{ref}/controls/{control_ref}#
Take a control off a risk
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
control_ref | path | string | yes |
Treatment#
GET /api/v1/acceptances#
Acceptances of risks the asker may see
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
state | query | string | in_force, expired, or withdrawn | |
expiring_within | query | integer | Days from today | |
unit | query | integer | A unit's id; includes every unit beneath it | |
mine | query | boolean | Only those I gave Default: false. |
POST /api/v1/acceptances/{acceptance_id}/withdrawal#
Withdraw an acceptance
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
acceptance_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
reason | string | yes |
GET /api/v1/actions#
Actions: one list of everything owed
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
status | query | string | open (not yet done), or a status | |
overdue | query | boolean | Default: false. | |
unit | query | integer | A unit's id; includes every unit beneath it | |
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
limit | query | integer | ||
cursor | query | string |
PATCH /api/v1/actions/{ref}#
Progress, finish, reschedule, or reassign an action
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
completion_note | string | ||
detail | string | ||
due_on | string | ||
owner_id | integer | ||
reason | string | ||
status | string | ||
title | string |
GET /api/v1/plans#
Treatment plans for risks the asker may see
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
status | query | string | ||
overdue | query | boolean | Default: false. | |
unit | query | integer | A unit's id; includes every unit beneath it | |
mine | query | boolean | Only plans I own Default: false. |
GET /api/v1/plans/{ref}#
One treatment plan, with its actions
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/plans/{ref}/actions#
Add an action to a plan
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
detail | string | ||
due_on | string | yes | |
owner_id | integer | yes | |
title | string | yes |
POST /api/v1/plans/{ref}/cancellation#
Cancel a treatment plan, with the reason
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
reason | string | yes |
POST /api/v1/risks/{ref}/acceptances#
Accept a risk above appetite
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
conditions | string | ||
expires_on | string | yes | |
rationale | string | yes |
POST /api/v1/risks/{ref}/plans#
Open a treatment plan for a risk
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
due_on | string | yes | |
objective | string | yes | |
owner_id | integer | yes | |
target_rating | string |
PUT /api/v1/risks/{ref}/response#
Record the response to a risk, and why
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
rationale | string | yes | |
response | string | yes | reduce, accept, transfer, or avoid |
GET /api/v1/risks/{ref}/treatment#
What is being done about a risk
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
Frameworks#
GET /api/v1/framework-packs#
The frameworks that ship, and which are loaded
POST /api/v1/framework-packs#
Load a framework beside the others
A pack that ships, by its key, or a whole pack: a publisher's new version, or a framework an organization keeps for itself. It is loaded beside what is there, never over it, and changes nothing that uses another.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
key | string | The key of a pack that ships | |
pack | object | A whole framework pack |
GET /api/v1/frameworks#
The frameworks on record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
retired | query | boolean | Default: false. |
POST /api/v1/frameworks#
Enter a framework of your own
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
key | string | A short key; made from the title if left out | |
kind | string | standard, regulation, agreement, or internal | |
publisher | string | Who it comes from: a sponsor, a party | |
source_url | string | ||
status | string | active or retired | |
summary | string | ||
title | string | ||
version | string |
GET /api/v1/frameworks/{key}#
One framework, with its source and baselines
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
PATCH /api/v1/frameworks/{key}#
Change a framework of your own, or retire any
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
key | string | A short key; made from the title if left out | |
kind | string | standard, regulation, agreement, or internal | |
publisher | string | Who it comes from: a sponsor, a party | |
source_url | string | ||
status | string | active or retired | |
summary | string | ||
title | string | ||
version | string |
GET /api/v1/frameworks/{key}/change#
One requirement in both versions
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes | |
from | query | string | yes | The key of the earlier version |
code | query | string | yes | The requirement's code, such as AC-2 or 164.308(a)(1)(i) |
GET /api/v1/frameworks/{key}/changes#
What changed from an earlier version
Requirements added, changed, and withdrawn since the earlier version, and what uses the earlier one: the scopes held to it, the controls, exceptions, and documents mapped to what changed, and how many crosswalks a move would carry.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes | |
from | query | string | yes | The key of the earlier version |
GET /api/v1/frameworks/{key}/coverage#
How many of a framework's requirements have a control mapped to them
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
DELETE /api/v1/frameworks/{key}/requirement#
Remove a requirement of your own
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes | |
code | query | string | yes | The requirement's code, such as AC-2 or 164.308(a)(1)(i) |
GET /api/v1/frameworks/{key}/requirement#
One requirement in full, with its controls
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes | |
code | query | string | yes | The requirement's code, such as AC-2 or 164.308(a)(1)(i) |
PATCH /api/v1/frameworks/{key}/requirement#
Change a requirement of your own
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes | |
code | query | string | yes | The requirement's code, such as AC-2 or 164.308(a)(1)(i) |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
code | string | A stable code, such as 4.2 or DUA-7 | |
guidance | string | ||
is_citable | boolean | False for a heading | |
parent | string | The code of the requirement above it | |
text | string | What is required | |
title | string |
GET /api/v1/frameworks/{key}/requirements#
One level of a framework's tree, or the requirements that match
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes | |
parent | query | string | A code; lists what is beneath it | |
q | query | string | Words to find in codes, titles, and text | |
baseline | query | string | A baseline's key | |
mapped | query | boolean | true for those with a control, false for those with none | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/frameworks/{key}/requirements#
Add a requirement to your own
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
code | string | A stable code, such as 4.2 or DUA-7 | |
guidance | string | ||
is_citable | boolean | False for a heading | |
parent | string | The code of the requirement above it | |
text | string | What is required | |
title | string |
POST /api/v1/frameworks/{key}/requirements/paste#
Add many requirements from pasted lines, after a dry run
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes | |
dry_run | query | boolean | Default: true. |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
text | string | yes | One requirement to a line: a code, then what it requires |
GET /api/v1/frameworks/{key}/suggestions#
Crosswalks a publisher's mapping suggests
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
POST /api/v1/frameworks/{key}/suggestions/confirm#
Map a suggested crosswalk
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
code | string | yes | The requirement's code in this framework |
control | string | yes | The control's reference |
POST /api/v1/frameworks/{key}/suggestions/set-aside#
Set a suggestion aside
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
code | string | yes | The requirement's code in this framework |
control | string | yes | The control's reference |
POST /api/v1/frameworks/{key}/versions#
Start a new version of your own
A copy of a framework of the organization's own, beside it, to be edited.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
title | string | yes | The new version's title |
version | string | What it is called |
Scopes#
GET /api/v1/scopes#
Find scopes
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
status | query | string | ||
framework | query | string | A framework's key | |
offers | query | boolean | Only scopes that offer their controls Default: false. | |
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; start with - for descending Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/scopes#
Add a scope
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
boundary | string | Where the scope begins and ends | |
external_refs | list of ExternalRefBody | ||
name | string | ||
offers_controls | boolean | Whether other scopes may inherit its controls | |
org_unit_id | integer | ||
restricted | boolean | ||
status | string | ||
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/scopes/{ref}#
One scope, with its boundary and what it must meet
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/scopes/{ref}#
Change a scope
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
boundary | string | Where the scope begins and ends | |
external_refs | list of ExternalRefBody | ||
name | string | ||
offers_controls | boolean | Whether other scopes may inherit its controls | |
org_unit_id | integer | ||
restricted | boolean | ||
status | string | ||
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/scopes/{ref}/controls#
How each control is done within a scope
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/scopes/{ref}/controls#
Use a control in a scope, or say where it stands
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
control | string | yes | The control's reference, such as CTL-0007 |
responsibility | string | Who answers for it here | |
statement | string | How it is done here | |
status | string | planned, partly, in_place, or not_applicable |
GET /api/v1/scopes/{ref}/controls/candidates#
Controls that answer a scope's requirements and are not used in it yet
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/scopes/{ref}/controls/inherited#
Inherit a control another scope offers
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
implementation | integer | yes | The id of the implementation another scope offers |
inheritance | string | yes | inherited (whole) or shared |
responsibility | string | ||
statement | string | What this scope does as its part | |
status | string | Where this scope's own part stands |
GET /api/v1/scopes/{ref}/controls/offered#
Controls other scopes offer to this one
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
DELETE /api/v1/scopes/{ref}/controls/{implementation_id}#
Stop using a control in a scope
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
implementation_id | path | integer | yes |
PUT /api/v1/scopes/{ref}/frameworks#
Hold a scope to a framework, or change its baseline
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
baseline | string | A baseline's key, to start from | |
framework | string | yes | The framework's key |
DELETE /api/v1/scopes/{ref}/frameworks/{key}#
Take a framework off a scope
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
key | path | string | yes |
POST /api/v1/scopes/{ref}/frameworks/{key}/move#
Move a scope to a later version of a framework
Its decisions and exceptions go with it where the code is unchanged; the crosswalks and documents mapped to the earlier version are carried for everyone.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
key | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
to | string | yes | The key of the later version |
GET /api/v1/scopes/{ref}/history#
Everything that has happened to a scope
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/scopes/{ref}/members#
Say what is inside a scope's boundary
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
records | list of string | References, such as SYS-0003 | |
units | list of integer | Unit ids |
PUT /api/v1/scopes/{ref}/owners#
Set a scope's owners
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
GET /api/v1/scopes/{ref}/plan-of-action#
The open issues that bear on a scope, each with its milestones
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/scopes/{ref}/requirements#
A scope's statement of applicability for one framework
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
framework | query | string | yes | The framework's key |
state | query | string | gap, planned, in_place, or excluded | |
q | query | string |
PUT /api/v1/scopes/{ref}/requirements#
Say whether a requirement applies within a scope
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
applicable | boolean | yes | |
code | string | yes | |
framework | string | yes | |
reason | string | Needed to leave a requirement out |
Evidence#
GET /api/v1/evidence#
Find evidence
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
status | query | string | ||
kind | query | string | ||
state | query | string | current, expiring, or stale | |
subject | query | string | A control or scope it supports | |
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; start with - for descending Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/evidence#
Add an evidence item
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
collected_on | string | The day it was collected | |
covers_from | string | ||
covers_to | string | ||
data_class | string | ||
kind | string | file, link, note, or attestation | |
name | string | What it is, briefly | |
note | string | What was seen, or what is attested to | |
org_unit_id | integer | ||
restricted | boolean | ||
status | string | ||
summary | string | ||
tags | list of string | ||
url | string | ||
valid_until | string | The day it stops counting; a year after collection if absent | |
version | integer |
GET /api/v1/evidence-for/{ref}#
The evidence attached to a control or a scope
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/evidence/{ref}#
One evidence item, with what it supports
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/evidence/{ref}#
Change an evidence item
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
collected_on | string | The day it was collected | |
covers_from | string | ||
covers_to | string | ||
data_class | string | ||
kind | string | file, link, note, or attestation | |
name | string | What it is, briefly | |
note | string | What was seen, or what is attested to | |
org_unit_id | integer | ||
restricted | boolean | ||
status | string | ||
summary | string | ||
tags | list of string | ||
url | string | ||
valid_until | string | The day it stops counting; a year after collection if absent | |
version | integer |
GET /api/v1/evidence/{ref}/file#
Download the file an evidence item holds
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/evidence/{ref}/file#
Send the file an evidence item holds
Send the file as the request body. Its type is judged by its content: PDF, common images, Word, Excel, and PowerPoint documents, and plain text, up to 25 MB.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
name | query | string | The file's name |
GET /api/v1/evidence/{ref}/history#
Everything that has happened to an evidence item
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/evidence/{ref}/owners#
Set an evidence item's owners
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
PUT /api/v1/evidence/{ref}/subjects#
Say what an evidence item supports
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
subjects | list of string | yes | References of controls and scopes, such as CTL-0007 |
Assessments and tests#
GET /api/v1/assessments#
Find assessments
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
status | query | string | ||
scope | query | string | A scope's reference | |
lead | query | integer | ||
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; start with - for descending Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/assessments#
Start an assessment of a scope
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
approach | string | ||
controls | list of string | Particular controls to test; all of the scope's own if absent | |
framework | string | A framework the scope is held to | |
lead_id | integer | ||
name | string | ||
period_end | string | ||
period_start | string | ||
restricted | boolean | ||
scope | string | The scope assessed, such as SCP-0001 | |
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/assessments/{ref}#
One assessment, with its tests
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/assessments/{ref}#
Change an assessment
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
approach | string | ||
controls | list of string | Particular controls to test; all of the scope's own if absent | |
framework | string | A framework the scope is held to | |
lead_id | integer | ||
name | string | ||
period_end | string | ||
period_start | string | ||
restricted | boolean | ||
scope | string | The scope assessed, such as SCP-0001 | |
summary | string | ||
tags | list of string | ||
version | integer |
POST /api/v1/assessments/{ref}/cancellation#
Abandon an assessment
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/assessments/{ref}/completion#
Close an assessment whose tests all count
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/assessments/{ref}/history#
Everything that has happened in an assessment
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/assessments/{ref}/owners#
Set an assessment's owners
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
POST /api/v1/assessments/{ref}/tests#
Add a control to an assessment
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
control | string | yes | The control's reference |
POST /api/v1/results/{result_id}/review#
Confirm a test result, or return it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
result_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
confirm | boolean | yes | True to confirm the result; false to return it |
note | string |
DELETE /api/v1/tests/{test_id}#
Take a control out of an assessment
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
test_id | path | integer | yes |
PATCH /api/v1/tests/{test_id}#
Change how a control is to be tested, or by whom
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
test_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
assigned_to | integer | ||
method | string | examine, interview, or test | |
procedure | string |
POST /api/v1/tests/{test_id}/results#
Record what a test found
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
test_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
design | string | yes | effective, partly, or ineffective |
evidence | list of string | References of evidence items | |
note | string | yes | What was found |
operation | string | yes | |
sample | string | What was looked at |
Issues, exceptions, and notices#
GET /api/v1/exceptions#
Find exceptions
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
state | query | string | requested, in_force, expired, refused, or withdrawn | |
scope | query | string | A scope's reference | |
document | query | string | A document's reference | |
framework | query | string | About a framework's requirements | |
about | query | string | control, requirement, or document | |
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; prefix with - for descending Default: "expires_on". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/exceptions#
Ask for an exception
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
compensating | string | What makes up for it meanwhile | |
control | string | The control's reference | |
document | string | The document's reference | |
expires_on | string | ||
justification | string | ||
name | string | ||
renews | string | The exception this carries on from | |
requirement | RequirementRef | ||
scope | string | The scope it applies in | |
starts_on | string | ||
version | integer |
GET /api/v1/exceptions/{ref}#
One exception
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/exceptions/{ref}#
Reword a request that has not been decided
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
compensating | string | What makes up for it meanwhile | |
control | string | The control's reference | |
document | string | The document's reference | |
expires_on | string | ||
justification | string | ||
name | string | ||
renews | string | The exception this carries on from | |
requirement | RequirementRef | ||
scope | string | The scope it applies in | |
starts_on | string | ||
version | integer |
POST /api/v1/exceptions/{ref}/decision#
Approve or refuse an exception
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
approve | boolean | yes | |
expires_on | string | An earlier end, when approving | |
note | string |
GET /api/v1/exceptions/{ref}/history#
Everything that has happened to an exception
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/exceptions/{ref}/withdrawal#
Take back a request, or end one early
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
reason | string |
GET /api/v1/issues#
Find issues
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
status | query | string | open, proposed, closed, cancelled, or live | |
severity | query | string | ||
source_kind | query | string | ||
about | query | string | A control, scope, or risk reference | |
overdue | query | boolean | Default: false. | |
age | query | string | Days since it was raised: 0-30, 31-90, 91-180, or 181+ | |
raised | query | string | Raised in a period: FROM..TO | |
closed | query | string | Closed in a period: FROM..TO | |
root_cause | query | string | ||
framework | query | string | About a framework's requirements | |
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; prefix with - for descending Default: "due_on". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/issues#
Raise an issue
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | ||
org_unit_id | integer | ||
owner_id | integer | Who is to put it right | |
requirements | list of RequirementRef | ||
restricted | boolean | ||
severity | string | critical, high, moderate, or low | |
source_kind | string | From the issue_sources vocabulary | |
subjects | list of string | References of the controls, scopes, and risks it is about | |
summary | string | What is wrong, and how it was found | |
tags | list of string | ||
version | integer |
GET /api/v1/issues/{ref}#
One issue, with its actions
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/issues/{ref}#
Change an issue
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | ||
org_unit_id | integer | ||
owner_id | integer | Who is to put it right | |
requirements | list of RequirementRef | ||
restricted | boolean | ||
severity | string | critical, high, moderate, or low | |
source_kind | string | From the issue_sources vocabulary | |
subjects | list of string | References of the controls, scopes, and risks it is about | |
summary | string | What is wrong, and how it was found | |
tags | list of string | ||
version | integer |
POST /api/v1/issues/{ref}/actions#
Add an action to an issue
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
contact_id | integer | ||
detail | string | ||
due_on | string | yes | |
owner_id | integer | yes | |
title | string | yes |
POST /api/v1/issues/{ref}/cancellation#
Withdraw an issue raised in error
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
reason | string |
POST /api/v1/issues/{ref}/closure#
Propose that an issue is put right
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
evidence | list of string | References of evidence items | |
note | string | yes | What was done to put it right |
root_cause | string | yes | From the root_causes vocabulary |
POST /api/v1/issues/{ref}/due-date#
Move an issue's date, with the reason
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
due_on | string | yes | |
reason | string | yes | Why the date is moving |
GET /api/v1/issues/{ref}/history#
Everything that has happened to an issue
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/issues/{ref}/owners#
Say who is to put an issue right
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
POST /api/v1/issues/{ref}/reopening#
Open a closed issue again
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
reason | string |
PUT /api/v1/issues/{ref}/subjects#
Say what an issue is about
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
requirements | list of RequirementRef | ||
subjects | list of string |
POST /api/v1/issues/{ref}/validation#
Confirm an issue's closure, or send it back
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
confirm | boolean | yes | True to confirm it is put right; false to send it back |
note | string |
GET /api/v1/notices#
What has been assigned to you or changed for you
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
unread | query | boolean | Default: false. |
GET /api/v1/notices/count#
How many of your notices are unread
POST /api/v1/notices/read#
Mark notices as read
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
ids | list of integer | Omit to mark every notice read |
Import and export#
GET /api/v1/exports/{kind}#
A list, as filtered, as CSV or JSON
kind is a list's own name: processes, systems, third-parties, information, risks, controls, scopes, evidence, assessments, issues, exceptions, actions, plans, acceptances, requirements (with framework), or statement (with scope and framework). Every other parameter is a filter, the same ones that list takes. What comes back is what the asker may see, and taking it is recorded in the history.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
kind | path | string | yes | |
format | query | string | csv or json Default: "csv". |
POST /api/v1/imports/records/{path}#
Import records from CSV
path is processes, systems, third-parties, information, risks, or controls. Send the CSV as the request body. With dry_run (the default) every row is checked and nothing is changed. Nothing is added unless every row can be.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
path | path | string | yes | |
dry_run | query | boolean | Default: true. | |
mapping | query | string | A JSON object saying which column holds each field; the rest are guessed |
POST /api/v1/imports/records/{path}/columns#
Read a CSV's columns and match them to fields
Send the CSV as the request body. Nothing is checked or changed: the answer says what columns the file has, and which field each is taken for.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
path | path | string | yes |
POST /api/v1/imports/requirements/{key}#
Import a framework's requirements from CSV
For one of the organization's own frameworks. Columns: a code, and optionally a title, the text, and the code of the requirement each sits under.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes | |
dry_run | query | boolean | Default: true. | |
mapping | query | string | A JSON object saying which column holds each field; the rest are guessed |
POST /api/v1/imports/requirements/{key}/columns#
Read a CSV's columns and match them to a requirement's fields
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
Reports#
GET /api/v1/admin/leadership-readers#
Who reads the leadership reports
PUT /api/v1/admin/leadership-readers#
Change who reads the leadership reports
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
people | list of integer | Accounts named as readers | |
reach | string | yes | executives, organization, or leaders |
GET /api/v1/as-of#
A register as it stood at the end of a day, rebuilt from the history
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
type | query | string | risk, control, issue, ... Default: "risk". | |
on | query | string | The day; today if left out | |
live | query | boolean | Only what was open or in use then Default: true. |
GET /api/v1/as-of/{ref}#
A record as it stood at the end of a day, beside how it is now
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
on | query | string | The day; today if left out |
GET /api/v1/compliance#
Where compliance stands: readiness by scope, issues, evidence, and exceptions
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
unit | query | integer | A unit's id; includes every unit beneath it |
GET /api/v1/dashboard#
Where the register stands, each figure with its list's filters
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
unit | query | integer | A unit's id; includes every unit beneath it |
POST /api/v1/dossiers/check#
Check that a dossier is whole and unchanged
Send the dossier's ZIP file as the request body, up to 32 MB; for a larger one, the command line's riskwren check-dossier checks it.
GET /api/v1/dossiers/{ref}#
A dossier of a scope, a risk, or a third party: a ZIP with a manifest that verifies
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/graph/{ref}#
A record and what it is connected to, in groups
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/heat-map#
Open risks counted by likelihood and impact
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
kind | query | string | inherent, residual, or target Default: "residual". | |
unit | query | integer | A unit's id; includes every unit beneath it | |
category | query | string | A category key; includes those beneath |
GET /api/v1/history#
Every change, newest first, for those who read everything
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
actor | query | integer | An account's id | |
about | query | string | A record's reference | |
kind | query | string | A kind of record, or other | |
since | query | string | From this date, year-month-day | |
until | query | string | Up to and including this date | |
before | query | integer | The next of the page before |
GET /api/v1/home#
What the asker owes, overdue first
GET /api/v1/leadership-reports#
The leadership reports issued, the latest first
POST /api/v1/leadership-reports#
Issue a leadership report: what it says is frozen, with its fingerprint
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
from | string | The first day it covers; after the last report | |
summary | string | What the issuer has to say about it | |
title | string | Its title | |
to | string | The last day it covers; today |
GET /api/v1/leadership-reports/next#
The next leadership report as it stands now: not stored until it is issued
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
from | query | string | The first day it covers | |
to | query | string | The last day it covers |
GET /api/v1/leadership-reports/{ref}#
A leadership report as it was issued, and whether its fingerprint verifies
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/measures#
Every defined measure: what it counts, its figure, and its trend
GET /api/v1/portfolio#
Risk and compliance by unit, category, framework, or third party
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
by | query | string | unit, category, framework, third_party, causes Default: "unit". | |
period | query | string | quarter, half, or year Default: "quarter". |
GET /api/v1/scopes/{ref}/oscal/{document}#
A scope in OSCAL: its system security plan (ssp) or its plan of action (poam)
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
document | path | string | yes | |
framework | query | string | For ssp: the framework's key |
GET /api/v1/scopes/{ref}/security-plan#
A scope's system security plan, as a page that prints by itself
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
Scheduled work and email#
GET /api/v1/admin/operations#
This installation: version, database, backups, health
What an administrator needs to know of the installation itself, and what riskwren doctor --production would say of it, without reaching anything outside.
GET /api/v1/jobs#
Scheduled work, and how its recent runs went
PUT /api/v1/jobs/{key}#
Pause or resume one job
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
enabled | boolean | yes |
POST /api/v1/jobs/{key}/run#
Run one job now
Runs the job at once, whether or not it is due, and says what it did. If another process is running it at this moment, nothing is run and the answer says so.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
GET /api/v1/mail#
How email is set up, and how it is doing
POST /api/v1/mail/test#
Send yourself a test message
Sends one message to your own address, now, and says whether the mail server took it.
GET /api/v1/session/preferences#
How you want to be told
PUT /api/v1/session/preferences#
Say how you want to be told
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
email_notices | string | yes |
Questionnaires#
GET /api/v1/questionnaires#
The questionnaires on record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
purpose | query | string |
POST /api/v1/questionnaires#
Add a questionnaire
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
document | object | yes | |
key | string | yes | |
purpose | string | ||
summary | string | ||
title | string | yes |
POST /api/v1/questionnaires/check#
Check a questionnaire without saving it
Says everything wrong with a document and, if nothing is, which questions the given answers would show. Nothing is saved.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
answers | object | ||
document | object | yes |
GET /api/v1/questionnaires/{key}#
One questionnaire, as it is or as it was
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes | |
version | query | integer |
PATCH /api/v1/questionnaires/{key}#
Change a questionnaire
A changed document is published as a new version. Earlier versions, and the answers given to them, are left as they were.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
document | object | ||
note | string | ||
purpose | string | ||
status | string | ||
summary | string | ||
title | string |
POST /api/v1/questionnaires/{key}/responses#
Answer a questionnaire
With complete false the answers are kept as a draft. A draft is finished by sending its response_id again, and is answered under the version it was begun under.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
key | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
answers | object | yes | |
complete | boolean | ||
response_id | integer |
GET /api/v1/responses/{response_id}#
Answers, as they were asked
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
response_id | path | integer | yes |
Campaigns#
GET /api/v1/campaign-items/{item_id}#
What one person is asked
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
item_id | path | integer | yes |
POST /api/v1/campaign-items/{item_id}/answer#
Answer what you were asked
With complete false the answers are kept as a draft and the item stays open.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
item_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
answers | object | yes | |
complete | boolean |
POST /api/v1/campaign-items/{item_id}/excuse#
Take an item out of a campaign
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
item_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | yes |
GET /api/v1/campaigns#
Campaigns you run or may read
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
status | query | string |
POST /api/v1/campaigns#
Start a campaign
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
document | string | For acknowledgment | |
due_on | string | ||
kind | string | yes | |
name | string | ||
org_unit_id | integer | ||
scope | string | ||
summary | string | ||
wanted | string |
POST /api/v1/campaigns/preview#
Who a campaign would ask
Counts what would be asked and of how many people. Nothing is started.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
document | string | For acknowledgment | |
due_on | string | ||
kind | string | yes | |
name | string | ||
org_unit_id | integer | ||
scope | string | ||
summary | string | ||
wanted | string |
GET /api/v1/campaigns/{ref}#
One campaign: progress, coverage by unit, and items
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/campaigns/{ref}/cancel#
Cancel a campaign started in error
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/campaigns/{ref}/close#
Close a campaign, keeping what was answered
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/campaigns/{ref}/remind#
Remind everyone who has not answered
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
Indicators#
GET /api/v1/indicators#
Find indicators
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
status | query | string | ||
state | query | string | ok, warn, breach, or no_reading | |
risk | query | string | A risk it warns of | |
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; start with - for descending Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/indicators#
Add an indicator
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
breach_at | number | The level that is too far | |
direction | string | up if higher is worse, else down | |
frequency | string | weekly, monthly, quarterly, annually | |
measure | string | Counted in: %, days | |
name | string | What is measured | |
org_unit_id | integer | ||
restricted | boolean | ||
source | string | Where the number is read from | |
status | string | ||
summary | string | ||
tags | list of string | ||
version | integer | ||
warn_at | number | The level at which to worry |
GET /api/v1/indicators/{ref}#
One indicator, with its readings and risks
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/indicators/{ref}#
Change an indicator
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
breach_at | number | The level that is too far | |
direction | string | up if higher is worse, else down | |
frequency | string | weekly, monthly, quarterly, annually | |
measure | string | Counted in: %, days | |
name | string | What is measured | |
org_unit_id | integer | ||
restricted | boolean | ||
source | string | Where the number is read from | |
status | string | ||
summary | string | ||
tags | list of string | ||
version | integer | ||
warn_at | number | The level at which to worry |
GET /api/v1/indicators/{ref}/history#
Everything that has happened to an indicator
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/indicators/{ref}/owners#
Set an indicator's owners
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
POST /api/v1/indicators/{ref}/readings#
Record what an indicator stands at
A second reading for the same day corrects the first. A reading that takes the indicator past its limit tells its owners and flags the risks it warns of.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
read_on | string | The day it was read; today if absent | |
value | number | yes |
PUT /api/v1/indicators/{ref}/risks#
Say which risks an indicator warns of
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
risks | list of string | yes | References of the risks it warns of, such as RSK-0007 |
GET /api/v1/risks/{ref}/indicators#
The indicators that warn of a risk
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
Find and tidy#
POST /api/v1/accounts/{account_id}/handover#
Pass on what a person held
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
account_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
only | list of HandoverItem | Only these; everything you may pass on if absent | |
to | integer | yes | The account that takes it |
GET /api/v1/accounts/{account_id}/holdings#
What a person answers for
Everything they are named on, and what was passed to a stand-in when their account was disabled, cut to what you may see.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
account_id | path | integer | yes |
GET /api/v1/search#
Search every kind of record
Looks in names, references, summaries, and what a record is called elsewhere, across every kind of record and actions. Only what you may open is returned.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | yes | Words to look for; every word must be on the record |
type | query | string | Only this kind, such as risk | |
limit | query | integer | How many of each kind Default: 6. |
GET /api/v1/similar#
Records that one with this name might already be
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
type | query | string | yes | The kind of record, such as issue |
name | query | string | yes | The name being given |
unit | query | integer | The unit it would belong to | |
apart_from | query | string | A reference to leave out |
GET /api/v1/tidy#
What needs putting in order
What records are missing, likely duplicates, and what people who have left still hold, each cut to what you may see. Every count is the length of the list behind it.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
unit | query | integer | A unit's id, with every unit beneath |
POST /api/v1/tidy/not-duplicates#
Say that two records are different things
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
refs | list of string | yes | The two references, such as SYS-0004 and SYS-0019 |
GET /api/v1/views#
Your saved views, and the shared ones
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
path | query | string | Of one list only |
POST /api/v1/views#
Save a view
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | ||
path | string | The list it is of, such as /risks | |
query | string | Its filters, as the address has them | |
shared | boolean | Whether everyone has it |
DELETE /api/v1/views/{view_id}#
Delete a view
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
view_id | path | integer | yes |
PATCH /api/v1/views/{view_id}#
Rename, change, share, or stop sharing a view
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
view_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | ||
path | string | The list it is of, such as /risks | |
query | string | Its filters, as the address has them | |
shared | boolean | Whether everyone has it |
Risk analyses#
GET /api/v1/risk-analyses#
Find risk analyses
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
status | query | string | ||
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; start with - for descending Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/risk-analyses#
Start a risk analysis
One question is made for each thing against each threat. Nothing is added later, so the analysis says what it looked at on the day it started.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
categories | list of string | Keys of risk categories | |
name | string | ||
org_unit_id | integer | The unit; a scope's own if absent | |
restricted | boolean | ||
scope | string | A scope's reference, such as SCP-0002 | |
summary | string | Why it is being done, and how | |
threats | list of string | Keys of library risks |
POST /api/v1/risk-analyses/preview#
How big an analysis would be
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
categories | list of string | Keys of risk categories | |
name | string | ||
org_unit_id | integer | The unit; a scope's own if absent | |
restricted | boolean | ||
scope | string | A scope's reference, such as SCP-0002 | |
summary | string | Why it is being done, and how | |
threats | list of string | Keys of library risks |
GET /api/v1/risk-analyses/{ref}#
One analysis: its progress and what it found
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/risk-analyses/{ref}#
Rename or describe an analysis
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | ||
restricted | boolean | ||
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/risk-analyses/{ref}/assets/{subject}#
One thing in an analysis, with each threat and what might answer it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
subject | path | string | yes |
POST /api/v1/risk-analyses/{ref}/assets/{subject}/rest#
Say none of the unanswered threats apply to one thing
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
subject | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string |
POST /api/v1/risk-analyses/{ref}/close#
Close an analysis, with what it found
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
conclusion | string | What the analysis found |
GET /api/v1/risk-analyses/{ref}/history#
Everything that happened in an analysis
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/risk-analyses/{ref}/items/{item_id}#
Answer one question
The threat does not apply to the thing; a risk on the register covers it; or a risk is raised for it, started from the library with the thing as what it concerns.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
item_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
look_again | boolean | For covered: put its rating in doubt | |
name | string | For raised: its title | |
note | string | Why | |
outcome | string | yes | not_applicable, covered, raised, or pending to take back |
risk | string | For covered: the risk's reference |
PUT /api/v1/risk-analyses/{ref}/owners#
Set who leads an analysis
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
POST /api/v1/risk-analyses/{ref}/reopen#
Reopen a closed analysis
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
Documents and the library#
GET /api/v1/documents#
Find documents
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
kind | query | string | policy, standard, procedure, guideline | |
status | query | string | active or retired | |
state | query | string | draft, in_review, approved, working, unpublished, due, or overdue | |
parent | query | string | Those that implement this one | |
awaiting_me | query | boolean | Waiting for my approval Default: false. | |
acknowledge | query | boolean | Those that ask to be acknowledged Default: false. | |
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; start with - for descending Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/documents#
Add a document, with its first draft
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
acknowledge | boolean | Whether the people it applies to are asked to acknowledge it | |
body | string | Its text, in a simple Markdown | |
form | string | text, link, or file | |
kind | string | policy, standard, procedure, or guideline | |
name | string | Its title | |
org_unit_id | integer | ||
parent | string | The reference of what it implements | |
restricted | boolean | ||
review_months | integer | Months between reviews | |
summary | string | What it is for, in a sentence or two | |
tags | list of string | ||
url | string | Where it is kept, if not here | |
version | integer |
GET /api/v1/documents/{ref}#
One document: the version in force, and the one coming
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/documents/{ref}#
Change what a document is, or where it sits
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
acknowledge | boolean | Whether the people it applies to are asked to acknowledge it | |
body | string | Its text, in a simple Markdown | |
form | string | text, link, or file | |
kind | string | policy, standard, procedure, or guideline | |
name | string | Its title | |
org_unit_id | integer | ||
parent | string | The reference of what it implements | |
restricted | boolean | ||
review_months | integer | Months between reviews | |
summary | string | What it is for, in a sentence or two | |
tags | list of string | ||
url | string | Where it is kept, if not here | |
version | integer |
GET /api/v1/documents/{ref}/acknowledgments#
Who has acknowledged a document
Everyone the document applies to, split by whether they have acknowledged the version they must, and by unit. For those who look after it, assessors, and those who read everything.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/documents/{ref}/audience#
Say who a document applies to
Everyone, or the people who work in the units named (and those beneath them) and those who hold the roles named.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
everyone | boolean | yes | Whether it applies to everyone |
roles | list of string | Roles, wherever they are held | |
units | list of integer | Units, with those beneath them |
GET /api/v1/documents/{ref}/compare#
Two versions side by side
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
from | query | integer | yes | A version's id |
to | query | integer | yes | A version's id |
PUT /api/v1/documents/{ref}/controls#
Say a document directs a control
Add the control, or change the note on it.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
control | string | yes | The control's reference |
note | string |
DELETE /api/v1/documents/{ref}/controls/{link_id}#
Take a control off a document
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
DELETE /api/v1/documents/{ref}/draft#
Discard the draft
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/documents/{ref}/draft#
Change the draft
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
ask_again | boolean | Whether those who acknowledged earlier must do so again | |
body | string | Its text, in a simple Markdown | |
change_note | string | What changed, and why | |
form | string | text, link, or file | |
url | string | Where it is kept, if not here |
POST /api/v1/documents/{ref}/draft#
Start a new version
The draft starts as a copy of the version in force.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/documents/{ref}/draft/decision#
Approve the draft, or return it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
decision | string | yes | approved, or returned |
note | string | Why; needed to return |
POST /api/v1/documents/{ref}/draft/file#
Send a file as the draft's content
Send the file as the request body: PDF, Word, and the other kinds evidence takes, up to 25 MB.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
name | query | string | The file's name |
POST /api/v1/documents/{ref}/draft/publish#
Publish the approved draft
It is numbered, put in force, and never changed again.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/documents/{ref}/draft/submit#
Send the draft to be approved
None of the people named may be the one sending it, or the one who started it.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
approvers | list of integer | yes | The accounts asked to approve it |
POST /api/v1/documents/{ref}/draft/withdraw#
Take the draft back from approval
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/documents/{ref}/governs#
What a document governs
The controls it directs and the requirements it answers, framework by framework.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/documents/{ref}/history#
Everything that has happened to a document
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/documents/{ref}/owners#
Set a document's owners
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
POST /api/v1/documents/{ref}/reinstate#
Put a retired document back in use
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/documents/{ref}/requirements#
Say a document answers a requirement
Add the requirement, or change the note on it.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
code | string | yes | The requirement's code |
framework | string | yes | The framework's key |
note | string |
DELETE /api/v1/documents/{ref}/requirements/{link_id}#
Take a requirement off a document
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
POST /api/v1/documents/{ref}/retire#
Take a document out of use
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string |
POST /api/v1/documents/{ref}/review#
Review a document and keep it as it is
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string |
GET /api/v1/documents/{ref}/versions/{version_id}#
One version of a document
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
version_id | path | integer | yes |
GET /api/v1/documents/{ref}/versions/{version_id}/file#
Download a version's file
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
version_id | path | integer | yes |
GET /api/v1/library#
The published documents that apply to you
Those you have still to acknowledge come first, then the broadest kind first.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words in the title, summary, or text | |
all | query | boolean | Every published document Default: false. |
GET /api/v1/library/{ref}#
A published document, to read
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/library/{ref}/acknowledge#
Say you have read the version in force
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
Agreements#
GET /api/v1/agreements#
Find agreements
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
kind | query | string | The kind of agreement | |
status | query | string | active (the default), closed, or all | |
state | query | string | in_force, ending, ended, upcoming, or closed | |
framework | query | string | Those that impose this framework | |
covers | query | string | Those that cover this record | |
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; start with - for descending Default: "ends_on". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/agreements#
Add an agreement
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
ends_on | string | Leave out for one that runs on | |
framework | string | The key of the framework of the requirements it imposes | |
kind | string | award, data_use, business_associate, contract, confidentiality, memorandum, or other | |
name | string | ||
notice_days | integer | Days before it ends by which notice must be given | |
org_unit_id | integer | ||
parties | string | Who it is with | |
reference | string | Their number for it | |
renews | boolean | Whether it carries on by itself | |
restricted | boolean | ||
starts_on | string | ||
summary | string | ||
tags | list of string | ||
url | string | Where the signed copy is kept | |
version | integer |
GET /api/v1/agreements/{ref}#
One agreement: what it covers and what it imposes
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/agreements/{ref}#
Change an agreement, its dates, or its terms
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
ends_on | string | Leave out for one that runs on | |
framework | string | The key of the framework of the requirements it imposes | |
kind | string | award, data_use, business_associate, contract, confidentiality, memorandum, or other | |
name | string | ||
notice_days | integer | Days before it ends by which notice must be given | |
org_unit_id | integer | ||
parties | string | Who it is with | |
reference | string | Their number for it | |
renews | boolean | Whether it carries on by itself | |
restricted | boolean | ||
starts_on | string | ||
summary | string | ||
tags | list of string | ||
url | string | Where the signed copy is kept | |
version | integer |
POST /api/v1/agreements/{ref}/close#
Close an agreement that has ended
What it imposed leaves the scopes that held it because of it.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | Why it is closed |
PUT /api/v1/agreements/{ref}/covers#
Say what an agreement covers
Every scope that holds what it covers is held to the framework it imposes.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
covers | list of string | yes | The references of the systems, information, and scopes |
GET /api/v1/agreements/{ref}/history#
Everything that has happened to an agreement
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/agreements/{ref}/owners#
Set an agreement's owners
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
POST /api/v1/agreements/{ref}/reopen#
Open a closed agreement again
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
Objectives and committee sessions#
GET /api/v1/objectives#
Find objectives
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
status | query | string | active, achieved, retired, or all; not retired by default | |
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; start with - for descending Default: "name". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/objectives#
Add an objective
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
measure | string | How it is known to be met | |
name | string | ||
org_unit_id | integer | ||
period | string | Such as 2026 to 2030 | |
restricted | boolean | ||
status | string | active, achieved, or retired | |
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/objectives/{ref}#
One objective, with the risks that threaten it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/objectives/{ref}#
Change an objective
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
measure | string | How it is known to be met | |
name | string | ||
org_unit_id | integer | ||
period | string | Such as 2026 to 2030 | |
restricted | boolean | ||
status | string | active, achieved, or retired | |
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/objectives/{ref}/history#
Everything that has happened to an objective
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/objectives/{ref}/owners#
Set an objective's owners
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
GET /api/v1/scenarios#
Find scenarios
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
status | query | string | draft, concluded, retired, or all; not retired by default | |
risk | query | string | Those that touch this risk or process | |
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; start with - for descending Default: "name". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/scenarios#
Add a scenario
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
assumptions | string | ||
conclusion | string | ||
name | string | ||
org_unit_id | integer | ||
restricted | boolean | ||
status | string | draft, concluded, or retired | |
summary | string | What might happen, as a story | |
tags | list of string | ||
version | integer |
GET /api/v1/scenarios/{ref}#
One scenario, with what it touches and its simulation
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/scenarios/{ref}#
Change a scenario, or conclude it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
assumptions | string | ||
conclusion | string | ||
name | string | ||
org_unit_id | integer | ||
restricted | boolean | ||
status | string | draft, concluded, or retired | |
summary | string | What might happen, as a story | |
tags | list of string | ||
version | integer |
GET /api/v1/scenarios/{ref}/history#
Everything that has happened to a scenario
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/scenarios/{ref}/owners#
Set a scenario's owners
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
PUT /api/v1/scenarios/{ref}/subjects#
Say which risks and processes it touches
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
subjects | list of string | yes | References of the risks and processes it touches |
GET /api/v1/sessions#
Find committee sessions
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
status | query | string | planned, held, or cancelled | |
when | query | string | upcoming, or past | |
about | query | string | Those with this record on the agenda | |
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; start with - for descending Default: "-held_on". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/sessions#
Plan a committee session
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
attendees | string | ||
committee | string | Which committee | |
held_on | string | The day it meets | |
minutes | string | In a simple Markdown | |
name | string | ||
org_unit_id | integer | ||
restricted | boolean | ||
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/sessions/{ref}#
One session: its agenda, decisions, and minutes
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/sessions/{ref}#
Change a session, its attendees, or its minutes
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
attendees | string | ||
committee | string | Which committee | |
held_on | string | The day it meets | |
minutes | string | In a simple Markdown | |
name | string | ||
org_unit_id | integer | ||
restricted | boolean | ||
summary | string | ||
tags | list of string | ||
version | integer |
POST /api/v1/sessions/{ref}/cancel#
Cancel a session
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string |
POST /api/v1/sessions/{ref}/held#
Record that a session was held
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/sessions/{ref}/history#
Everything that has happened to a session
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/sessions/{ref}/items#
Put an item on the agenda
A record from the register, by its reference, or a topic of its own.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | What the committee is asked | |
record | string | A record's reference | |
title | string |
DELETE /api/v1/sessions/{ref}/items/{item_id}#
Take an item off the agenda
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
item_id | path | integer | yes |
PATCH /api/v1/sessions/{ref}/items/{item_id}#
Change an item on the agenda
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
item_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | What the committee is asked | |
record | string | A record's reference | |
title | string |
POST /api/v1/sessions/{ref}/items/{item_id}/decision#
Record what was decided
The decision shows on the record the item was about, and its owners are told.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
item_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
decision | string | What was decided | |
outcome | string | yes | noted, approved, declined, or deferred |
POST /api/v1/sessions/{ref}/items/{item_id}/move#
Move an item up or down
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
item_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
up | boolean | yes | True to move it up the agenda, false to move it down |
PUT /api/v1/sessions/{ref}/owners#
Set a session's owners
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
Incidents#
GET /api/v1/admin/anonymous-reporting#
Whether reporting without a name is open
PUT /api/v1/admin/anonymous-reporting#
Open or close reporting without a name
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
open | boolean | yes |
GET /api/v1/anonymous-reports#
Whether a report can be made without a name (public)
POST /api/v1/anonymous-reports#
Report without a name (public, when open)
Nothing about who sent it is kept. The code in the answer is shown once: it is the only way back to the report.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
kind | string | incident, near_miss, or concern | |
location | string | Where it happened | |
name | string | What happened, in a line | |
occurred_on | string | When it happened, if known | |
org_unit_id | integer | The unit it happened in | |
summary | string | What happened |
POST /api/v1/anonymous-reports/follow-up#
Follow up a report with its code (public)
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
code | string | yes | The follow-up code the reporter was given |
POST /api/v1/anonymous-reports/messages#
Add to a report through its code (public)
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
body | string | yes | |
code | string | yes | The follow-up code the reporter was given |
GET /api/v1/incidents#
Find incidents, near misses, and concerns
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
status | query | string | reported, handling, closed, or live | |
kind | query | string | incident, near_miss, or concern | |
category | query | string | ||
severity | query | string | ||
about | query | string | Those that concern this record | |
reported | query | boolean | Only those I reported Default: false. | |
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; start with - for descending Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/incidents#
Report an incident, a near miss, or a concern
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
kind | string | incident, near_miss, or concern | |
location | string | Where it happened | |
name | string | What happened, in a line | |
occurred_on | string | When it happened, if known | |
org_unit_id | integer | The unit it happened in | |
summary | string | What happened |
GET /api/v1/incidents/summary#
The incidents you may see from the last year, counted
GET /api/v1/incidents/{ref}#
One incident, as much of it as you may see
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/incidents/{ref}#
Correct an incident
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
kind | string | ||
location | string | ||
name | string | ||
occurred_on | string | ||
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/incidents/{ref}/breach#
Whether it must be notified, and by when
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/incidents/{ref}/breach#
Assess whether it must be notified
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
conclusion | string | undecided, notify, or no_notification | |
discovered_at | string | yes | When it was discovered: the clock starts then |
exception | string | workforce, authorized, or could_not_retain | |
factors | object | ||
information | list of string | From the protected_information vocabulary | |
most_in_one_state | integer | The most of them living in any one state or jurisdiction | |
people | integer | About how many people it concerns | |
rationale | string | ||
regimes | list of RegimeBody | ||
secured | boolean | Unusable, unreadable, or indecipherable |
PUT /api/v1/incidents/{ref}/case#
Restrict an incident to those named on it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
members | list of integer | Accounts named on it, besides its handlers | |
restricted | boolean | yes | True: only those named on it know it exists |
POST /api/v1/incidents/{ref}/close#
Close an incident, saying how it ended
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | How it ended |
GET /api/v1/incidents/{ref}/history#
Everything that has happened to an incident
For those who see the handling: not for a reporter who sees only their report.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/incidents/{ref}/issues#
Raise an issue from it
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | ||
owner_id | integer | ||
severity | string | ||
subjects | list of string | Controls, scopes, risks | |
summary | string |
PUT /api/v1/incidents/{ref}/learning#
What it realized, what failed, what was learned
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
failed | list of string | Controls that failed | |
held | list of string | Controls that held | |
lessons | string | What was learned | |
realized | list of string | Risks it realized | |
root_cause | string | From the root_causes vocabulary |
POST /api/v1/incidents/{ref}/losses#
Record what it cost
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
amount | integer | yes | In whole units of the currency; negative to correct |
currency | string | ||
kind | string | yes | response, recovery, lost_revenue, notification, legal, fines, or other |
note | string |
POST /api/v1/incidents/{ref}/messages#
Write about an incident
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
body | string | yes | |
shared | boolean | Shared with the reporter, or a note |
POST /api/v1/incidents/{ref}/notifications#
Record a notification
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
count | integer | ||
duty | string | yes | Whom the rule says to notify, such as individuals |
method | string | ||
note | string | ||
recipient | string | yes | |
reference | string | ||
regime | string | yes | A rule the assessment names, such as hipaa or state:Ohio |
sent_on | string | yes | The day it was sent |
PUT /api/v1/incidents/{ref}/owners#
Set who handles an incident
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
POST /api/v1/incidents/{ref}/reopen#
Reopen a closed incident
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/incidents/{ref}/triage#
Triage: category, severity, records, handler
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
category | string | From the incident_categories vocabulary | |
handler_id | integer | Who handles it | |
org_unit_id | integer | Its unit, if it should move | |
severity | string | critical, high, moderate, or low | |
subjects | list of string | References of its records |
GET /api/v1/privacy#
The processes and systems that need a privacy impact assessment
POST /api/v1/privacy/reviews/{item_id}#
Say an answered assessment has been reviewed
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
item_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string |
Assistant#
GET /api/v1/admin/assistant#
How the assistant is set up, and its log
POST /api/v1/admin/assistant/check#
Check that the provider answers
POST /api/v1/assistant/draft-risk#
A risk drafted by the assistant from your words
The assistant searches for a risk that already says the same, and otherwise keeps a draft for you to open in the ordinary form. Nothing is made until a person saves it.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
description | string | yes | What could go wrong, in your words |
org_unit_id | integer | The unit it belongs to |
POST /api/v1/assistant/summary#
A summary of a record, by the assistant
Written from what you may see, through the same tools the tool server offers, and from no data class the configuration keeps back. It is not saved on the record.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
ref | string | yes | The record to summarize |
Integration#
GET /api/v1/admin/tokens#
Tokens for other systems
POST /api/v1/admin/tokens#
Make a token; it is shown this once
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
days | integer | yes | How many days it lasts, up to 366 |
name | string | yes | What will use it |
org_unit_id | integer | A unit, for a manager's, an assessor's, or a steward's token (a steward's needs one) | |
read_only | boolean | Whether it may only read | |
role | string | yes | auditor, manager, assessor, steward, or member |
POST /api/v1/admin/tokens/{token_id}/revoke#
Withdraw a token
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
token_id | path | integer | yes |
GET /api/v1/admin/webhooks#
Webhooks, with their latest deliveries
POST /api/v1/admin/webhooks#
Register a webhook
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
events | list of string | yes | *, a family such as issue.*, or names such as issue.create |
format | string | plain, ticket, or chat | |
name | string | yes | |
url | string | yes | An https:// address |
DELETE /api/v1/admin/webhooks/{hook_id}#
Remove a webhook
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
hook_id | path | integer | yes |
PATCH /api/v1/admin/webhooks/{hook_id}#
Change, pause, or resume a webhook
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
hook_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
active | boolean | ||
events | list of string | ||
format | string | ||
name | string | ||
url | string |
POST /api/v1/admin/webhooks/{hook_id}/test#
Send a test message to a webhook
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
hook_id | path | integer | yes |
GET /api/v1/controls/{ref}/reported#
What other systems have said of a control
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/controls/{ref}/reported#
Report a check or a piece of evidence onto a control, from another system
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
detail | string | ||
kind | string | yes | result or evidence |
observed_at | string | When, with its time zone; now if left out | |
outcome | string | For a result: passed, partial, or failed | |
scope | string | A scope that uses the control, by reference | |
title | string | yes | What was checked, or what the evidence is |
url | string | Where to see it |
GET /api/v1/drafts#
Drafts waiting for a person who may make them
POST /api/v1/drafts#
Propose a risk, an issue, or a control
Kept for a person to open in the ordinary form; nothing is made until they save it. A token that may only read may still propose one.
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
kind | string | yes | risk, issue, or control |
values | object | yes | The ordinary form's fields by name, and org_unit_id; at least a name |
why | string | What it rests on |
GET /api/v1/drafts/{draft_id}#
One draft
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
draft_id | path | integer | yes |
POST /api/v1/drafts/{draft_id}/set-aside#
Set a draft aside, saying why
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
draft_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string |
POST /api/v1/drafts/{draft_id}/use#
Mark a draft as used, naming what was made
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
draft_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
ref | string | yes | The record made from it |
GET /api/v1/reported#
What other systems have said, waiting for a person to confirm
POST /api/v1/reported/{report_id}/confirm#
Confirm a report: a failure raises an issue
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
report_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
owner_id | integer | For a failure: who puts it right | |
severity | string | For a failure: the issue's severity | |
valid_until | string | For evidence: until when it counts |
POST /api/v1/reported/{report_id}/set-aside#
Set a report aside, saying why
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
report_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
owner_id | integer | For a failure: who puts it right | |
severity | string | For a failure: the issue's severity | |
valid_until | string | For evidence: until when it counts |
GET /api/v1/standing/{kind}/{ref}#
Whether a third party, a scope, or an exception is in good standing
Yes or no, with the reasons by kind and nothing of the record's contents. A record the asker may not see is not found.
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
kind | path | string | yes | |
ref | path | string | yes |
Third parties#
PUT /api/v1/agreements/{ref}/parties#
Say which third parties an agreement is with
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
parties | list of string | yes | The references of the third parties it is with |
GET /api/v1/assurance-kinds#
The kinds of report, opinions, and judgments a review uses
PATCH /api/v1/contacts/{contact_id}#
Change a contact, or say they have left
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
contact_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
email | string | ||
name | string | ||
phone | string | ||
role | string | Their role there | |
status | string | active, or left |
GET /api/v1/coverage#
Where shared information needs an agreement and none covers it
GET /api/v1/respond#
What the holder of a link is asked (no account; the link in a header)
PUT /api/v1/respond#
Save the answers to finish later (no account; the link in a header)
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
answers | object | yes | The answers, by question key |
POST /api/v1/respond/files#
Send a report with the answers (no account; the link in a header)
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
name | query | string | The file's name |
POST /api/v1/respond/submit#
Send the answers (no account; the link in a header)
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
answers | object | yes | The answers, by question key |
GET /api/v1/reviews#
Find due diligence reviews
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
status | query | string | A status, or open for those not done | |
third_party | query | string | ||
late | query | boolean | Default: false. | |
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; start with - for descending Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string |
GET /api/v1/reviews/{ref}#
One review, with its link, answers, and concerns
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/reviews/{ref}#
Change a review not yet sent
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
due_on | string | When the answers are wanted | |
name | string | ||
questionnaire | string | The key of the questionnaire | |
restricted | boolean | ||
summary | string | ||
tags | list of string | ||
version | integer |
POST /api/v1/reviews/{ref}/cancel#
Cancel a review not yet answered
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string |
POST /api/v1/reviews/{ref}/conclude#
Record what was concluded from the answers
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
conclusion | string | yes | approved, conditions, or declined |
note | string |
POST /api/v1/reviews/{ref}/findings#
Raise a concern from a review as an issue about the third party
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | yes | |
owner_id | integer | Who here puts it right | |
severity | string | yes | critical, high, moderate, or low |
summary | string |
GET /api/v1/reviews/{ref}/history#
Everything that has happened to a review
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/reviews/{ref}/owners#
Set a review's owners
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
POST /api/v1/reviews/{ref}/send#
Send the questionnaire to a contact through a new link
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
contact_id | integer | yes | The contact to send it to |
days | integer | How long the link lasts, 1 to 90 days | |
due_on | string | When the answers are wanted |
POST /api/v1/reviews/{ref}/withdraw#
Withdraw the link, so it no longer opens anything
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/services#
Find services
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
q | query | string | Words to look for in the name, reference, or summary | |
unit | query | integer | A unit's id; includes every unit beneath it | |
status | query | string | ||
kind | query | string | ||
criticality | query | string | ||
data_class | query | string | ||
third_party | query | string | ||
owner | query | integer | ||
mine | query | boolean | Only records I am named on Default: false. | |
sort | query | string | A field name; start with - for descending Default: "-updated_at". | |
limit | query | integer | ||
cursor | query | string |
POST /api/v1/services#
Add a service a third party provides
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
criticality | string | ||
custom | object | Values of the organization's own fields, by key | |
data_class | string | ||
external_refs | list of ExternalRefBody | ||
kind | string | ||
name | string | ||
org_unit_id | integer | ||
restricted | boolean | ||
status | string | ||
summary | string | ||
tags | list of string | ||
third_party | string | The reference of the third party that provides it | |
version | integer |
GET /api/v1/services/{ref}#
One service, with what it reaches and handles
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PATCH /api/v1/services/{ref}#
Change a service
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
criticality | string | ||
custom | object | Values of the organization's own fields, by key | |
data_class | string | ||
external_refs | list of ExternalRefBody | ||
kind | string | ||
name | string | ||
org_unit_id | integer | ||
restricted | boolean | ||
status | string | ||
summary | string | ||
tags | list of string | ||
third_party | string | The reference of the third party that provides it | |
version | integer |
GET /api/v1/services/{ref}/history#
Everything that has happened to a service
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/services/{ref}/links#
Link a service to a record
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | ||
relation | string | yes | The key of a kind of link, such as relies_on |
to | string | yes | The reference of the record it reaches, such as SYS-0003 |
DELETE /api/v1/services/{ref}/links/{link_id}#
Remove a link from a service
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
link_id | path | integer | yes |
PUT /api/v1/services/{ref}/owners#
Set a service's owners
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
owners | list of object | yes | Each with an account_id and a kind |
GET /api/v1/third-parties/{ref}/assurance#
A third party's reports and certificates
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/third-parties/{ref}/assurance#
Add a report or certificate about a third party
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
collected_on | string | When it was received | |
covers_from | string | The period it covers, from | |
covers_to | string | ||
data_class | string | ||
name | string | ||
summary | string | ||
url | string | Where it is kept, if not sent as a file | |
valid_until | string | When it stops counting |
POST /api/v1/third-parties/{ref}/assurance/{document}/reviews#
Review a report: what it covers, found, and leaves to us
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
document | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
carve_outs | string | ||
exceptions | list of object | ||
issuer | string | ||
kind | string | yes | soc2_type2, iso27001, hitrust, pentest, and the like |
note | string | ||
opinion | string | unqualified, qualified, adverse, none | |
reliance | string | yes | relies, partly, or cannot |
responsibilities | list of object | Each with text, control (a reference), and status | |
services | list of string | The services it covers |
POST /api/v1/third-parties/{ref}/call-review#
Call for a review now: what happened
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
event | string | yes | incident, breach_notice, service_change, ownership, finding, or other |
note | string | What happened, and when |
POST /api/v1/third-parties/{ref}/contacts#
Add a contact at a third party
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
email | string | ||
name | string | ||
phone | string | ||
role | string | Their role there | |
status | string | active, or left |
POST /api/v1/third-parties/{ref}/offboarding#
End the relationship: open the checklist
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
reason | string | Why it ends |
POST /api/v1/third-parties/{ref}/offboarding/cancel#
Stop offboarding
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string |
POST /api/v1/third-parties/{ref}/offboarding/steps/{step}#
Record a step of offboarding: what was done
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
step | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string |
POST /api/v1/third-parties/{ref}/reviews#
Start a due diligence review
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
due_on | string | When the answers are wanted | |
name | string | ||
questionnaire | string | The key of the questionnaire | |
restricted | boolean | ||
summary | string | ||
tags | list of string | ||
version | integer |
GET /api/v1/third-parties/{ref}/tiering#
A third party's tiering: the questions, what the inventory suggests, and its tierings
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/third-parties/{ref}/tiering#
Tier a third party: the answers, and the tier with a reason if it differs
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
answers | object | yes | The answers, by question key |
rationale | string | Why, where the tier differs from the rules' | |
tier | string | The tier to record; the one the rules give if left out |
GET /api/v1/tiers#
The program's tiers, with what each means and its rules
Internal audit#
GET /api/v1/audit/outside#
Outside access given, and what may be opened
POST /api/v1/audit/outside#
Open one engagement or scope to an outsider
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
days | integer | yes | How long it stays open, at most 90 days |
email | string | ||
kind | string | yes | engagement (once reported) or scope |
name | string | yes | The person it is for |
organization | string | yes | Whom they are with |
purpose | string | ||
ref | string | yes | The engagement's or the scope's reference |
POST /api/v1/audit/outside/{access_id}/revoke#
Withdraw outside access
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
access_id | path | integer | yes |
GET /api/v1/audit/plans#
The audit plans, the latest period first
POST /api/v1/audit/plans#
Draft a plan for a period
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
ends_on | string | yes | |
name | string | yes | |
starts_on | string | yes | |
summary | string |
GET /api/v1/audit/plans/{ref}#
A plan, with each engagement and where it stands
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/audit/plans/{ref}/approve#
Approve a draft plan
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string |
POST /api/v1/audit/plans/{ref}/close#
Close a plan whose period is over
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/audit/plans/{ref}/committee-report#
A plan's engagements, findings by severity, and what is past its date
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/audit/plans/{ref}/engagements#
Plan an engagement
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
key | string | yes | A unit's id, or the record's reference |
kind | string | yes | unit, process, system, third_party, or scope |
name | string | yes | |
planned_end | string | ||
planned_start | string | ||
reason | string | yes | Why it is in the plan |
GET /api/v1/audit/requests/{request_id}#
A request, for the person asked or the team
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
request_id | path | integer | yes |
POST /api/v1/audit/requests/{request_id}/accept#
Accept the answer to a request
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
request_id | path | integer | yes |
POST /api/v1/audit/requests/{request_id}/answer#
Answer a request, with evidence
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
request_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
answer | string | ||
evidence | list of string | References of evidence |
POST /api/v1/audit/requests/{request_id}/return#
Send an answer back, with what is missing
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
request_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
reason | string | yes |
GET /api/v1/audit/universe#
Everything worth auditing, ranked from the register
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
kind | query | string | unit, process, system, ... | |
left_out | query | boolean | Those left out of the universe Default: false. |
GET /api/v1/audit/universe/{kind}/{key}#
One auditable thing and how it ranks
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
kind | path | string | yes | |
key | path | string | yes |
PUT /api/v1/audit/universe/{kind}/{key}#
Say what audit knows about a thing
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
kind | path | string | yes | |
key | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
adjustment | integer | Points up or down, at most 30 | |
adjustment_reason | string | ||
last_audit_note | string | ||
last_audited_on | string | An audit before RiskWren | |
left_out | boolean | ||
left_out_reason | string |
GET /api/v1/auditors#
The auditors, who may be on an engagement's team
GET /api/v1/engagements/{ref}#
An engagement; its work only for its team until reported
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/engagements/{ref}/advance#
Move an engagement to its next stage
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
opinion | string | effective, needs_improvement, ... | |
summary | string | For the report |
POST /api/v1/engagements/{ref}/drop#
Drop an engagement not yet reported, saying why
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
reason | string | yes |
POST /api/v1/engagements/{ref}/findings#
Raise a finding as an issue
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | yes | The finding, in a line |
owner_id | integer | yes | The manager who answers for putting it right |
severity | string | yes | critical, high, moderate, or low |
subjects | list of string | Controls or risks it is about | |
summary | string | What was found |
POST /api/v1/engagements/{ref}/requests#
Ask the audited for something
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
assignee | integer | yes | The account id of the person asked |
due_on | string | yes | |
what | string | yes | What is needed |
POST /api/v1/engagements/{ref}/restore#
Put a dropped engagement back in the plan
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/engagements/{ref}/start#
Start a planned engagement with its team
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
lead | integer | yes | The lead auditor's account id |
members | list of integer | The rest of the team | |
scope_note | string | What it covers |
POST /api/v1/engagements/{ref}/workpapers#
Add a step of the work
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
procedure | string | What is to be done | |
title | string | yes |
GET /api/v1/outside#
What an outsider's link opens (no account; the link in a header)
POST /api/v1/review-notes/{note_id}/answer#
Answer a review note
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
note_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
answer | string | yes |
POST /api/v1/review-notes/{note_id}/clear#
Clear an answered review note
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
note_id | path | integer | yes |
PUT /api/v1/workpapers/{paper_id}#
Record what was done, found, and the evidence
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
paper_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
done | string | yes | What was done |
evidence | list of string | References of evidence | |
found | string | What was found |
POST /api/v1/workpapers/{paper_id}/notes#
Add a review note
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
paper_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
note | string | yes |
POST /api/v1/workpapers/{paper_id}/sign-off#
Sign a workpaper off
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
paper_id | path | integer | yes |
Resilience#
GET /api/v1/continuity#
Every continuity plan, and the processes none restores
GET /api/v1/continuity/{ref}#
A continuity plan: what it restores, whom to call
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
PUT /api/v1/continuity/{ref}/covers#
Say which processes a plan restores
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
processes | list of string | References of processes |
POST /api/v1/continuity/{ref}/exercises#
Record an exercise
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
achieved_hours | integer | How long recovery took | |
held_on | string | yes | The day it was held |
kind | string | yes | tabletop, walkthrough, simulation, or full |
outcome | string | yes | What happened |
participants | string | ||
result | string | yes | met, partly, or not_met: its recovery objectives |
scenario | string | yes | What was tried |
POST /api/v1/continuity/{ref}/exercises/{exercise_id}/issues#
Raise a finding of an exercise as an issue
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes | |
exercise_id | path | integer | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
name | string | ||
owner_id | integer | ||
severity | string | ||
subjects | list of string | ||
summary | string |
GET /api/v1/continuity/{ref}/offline#
The plan in force as one file, for when the systems are down
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
GET /api/v1/processes/{ref}/impact#
A process's business impact and its shortfalls
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/processes/{ref}/impact#
Analyse a process's business impact
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
data_loss_hours | integer | yes | How much information it can afford to lose |
impacts | list of Impact | How much its loss hurts | |
minimum | string | The least it needs | |
note | string | ||
recovery_hours | integer | yes | How soon it must be back |
GET /api/v1/resilience#
Processes with their recovery needs and every shortfall
GET /api/v1/services/{ref}/recovery#
What a service can be restored within
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/services/{ref}/recovery#
Say what a service can deliver
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
basis | string | yes | What that rests on |
data_loss_hours | integer | How much information it can lose; none for a site | |
recovery_hours | integer | yes | What it can be restored within |
GET /api/v1/sites/{ref}/recovery#
How soon work at a site goes on again
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/sites/{ref}/recovery#
Say what a site can deliver
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
basis | string | yes | What that rests on |
data_loss_hours | integer | How much information it can lose; none for a site | |
recovery_hours | integer | yes | What it can be restored within |
GET /api/v1/systems/{ref}/recovery#
What a system can be restored within
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/systems/{ref}/recovery#
Say what a system can deliver
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
basis | string | yes | What that rests on |
data_loss_hours | integer | How much information it can lose; none for a site | |
recovery_hours | integer | yes | What it can be restored within |
GET /api/v1/third-parties/{ref}/recovery#
What a third party can be back within
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
POST /api/v1/third-parties/{ref}/recovery#
Say what a third party can deliver
| Parameter | In | Type | Required | Meaning |
|---|---|---|---|---|
ref | path | string | yes |
JSON body:
| Field | Type | Required | Meaning |
|---|---|---|---|
basis | string | yes | What that rests on |
data_loss_hours | integer | How much information it can lose; none for a site | |
recovery_hours | integer | yes | What it can be restored within |