person (Person): The user this risk register entry applies tocurl --location '/risk-registers' \
--header 'Content-Type: application/json' \
--data '{
"distinct_count": "string",
"distinct_on": "host_name",
"include_total_count": true,
"limit": 10,
"offset": 0,
"query": "name='\''WINPC-4291'\'' AND status IN ('\''active'\'', '\''pending'\'')",
"sort": "name desc, id"
}'{
"distinct_values": [
{
"count": 0,
"value": null
}
],
"pagination": {
"count": 0,
"total_count": 1000
},
"items": [
{
"created_by": "user@example.com",
"detection_id": "8CA67511-744C-4D74-B26E-7281CF88712F",
"id": "8CA67511-744C-4D74-B26E-7281CF88712F",
"investigation_id": "8CA67511-744C-4D74-B26E-7281CF88712F",
"logged_action": "string",
"name": "Source code exfiltration to personal GitHub",
"person_id": "alan@example.com",
"rationale": "string",
"risk_register_kind": "custom",
"severity": "critical",
"state": "suggestion"
}
]
}