Seed the HIPAA threat library as risks
curl --request POST \
--url https://api.trycomp.ai/v1/hipaa/risk-assessment/risks/seed \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"templateIds": [
"ransomware",
"phishing-credential-compromise"
]
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({templateIds: ['ransomware', 'phishing-credential-compromise']})
};
fetch('https://api.trycomp.ai/v1/hipaa/risk-assessment/risks/seed', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/hipaa/risk-assessment/risks/seed"
payload = { "templateIds": ["ransomware", "phishing-credential-compromise"] }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)HIPAA Security Risk Assessment
Seed the HIPAA threat library as risks | Comp AI API
Creates one register risk per suggested threat, linked to every ePHI asset it applies to, and links existing same-titled risks instead of duplicating them.
POST
/
v1
/
hipaa
/
risk-assessment
/
risks
/
seed
Seed the HIPAA threat library as risks
curl --request POST \
--url https://api.trycomp.ai/v1/hipaa/risk-assessment/risks/seed \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"templateIds": [
"ransomware",
"phishing-credential-compromise"
]
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({templateIds: ['ransomware', 'phishing-credential-compromise']})
};
fetch('https://api.trycomp.ai/v1/hipaa/risk-assessment/risks/seed', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/hipaa/risk-assessment/risks/seed"
payload = { "templateIds": ["ransomware", "phishing-credential-compromise"] }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Was this page helpful?

