Docs

Docs

x-cpod-domain: risk_compliance

Risk & Compliance

Vulnerabilities, controls, and risk items the org is tracking.

Try in explorer client.risk · client.vulnerabilities · client.complianceControls

Vulnerability

A known weakness on an asset, often tied to a CVE.

REST path/api/v1/vulnerabilities
Operations
listgetcreateupdateresolve
SDK
// list — returns only your records; add filters/search:
await client.risk.vulnerabilities.list()

// create:
await client.risk.vulnerabilities.create({
  id: "rec_01HXEXAMPLE",
  tenant_id: "example tenant_id",
  created_at: "2026-01-01T00:00:00Z",
  updated_at: "2026-01-01T00:00:00Z",
  app_id: "example app_id",
  created_by: "rec_01HXEXAMPLE",
})
FieldTypeDescription
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumWhere the write originated. Defaults to 'api'.frontendbackendserversystemapi
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
cve_idstringCommon Vulnerabilities and Exposures identifier. Null for vulnerabilities that do not have an assigned CVE (e.g. misconfigurations, proprietary scanner findings
titlestringShort, descriptive title summarizing the vulnerability.
descriptionstringDetailed technical description of the vulnerability, including attack vector, prerequisites, and potential impact.
severitystringSeverity classification of this vulnerability. Typically aligned with CVSS severity bands.
cvss_scorenumberCVSS base score (0.0 to 10.0). Null when no CVSS score is available.
cvss_vectorstringCVSS vector string describing the vulnerability characteristics (e.g. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
affected_asset_iduuidUUID of the asset affected by this vulnerability. The asset type is indicated by affectedAssetType.
affected_asset_typestringDiscriminator indicating which entity type affectedAssetId refers to: a TechnologyAsset, PhysicalAsset, or CloudResource.
statusstringCurrent remediation status. 'accepted_risk' requires documented justification and periodic review. 'false_positive' removes the item from active tracking.
discovered_atdate-timeISO 8601 timestamp when this vulnerability was first discovered by the scanning tool or reported.
remediated_atdate-timeISO 8601 timestamp when the vulnerability was confirmed as remediated. Set by the platform or manually by a security engineer.
due_datedate-timeRemediation deadline based on severity SLA policy. Critical vulnerabilities typically have a 7-day SLA, high a 30-day SLA.
assigned_touuidUUID of the Person responsible for remediating this vulnerability.
sourcestringName of the scanner or tool that discovered this vulnerability (e.g. Tenable).

ComplianceControl

A control statement against a framework (SOC 2, ISO 27001, etc.).

REST path/api/v1/compliance-controls
Operations
listgetcreateupdate
SDK
// list — returns only your records; add filters/search:
await client.risk.complianceControls.list()

// create:
await client.risk.complianceControls.create({
  id: "rec_01HXEXAMPLE",
  tenant_id: "example tenant_id",
  created_at: "2026-01-01T00:00:00Z",
  updated_at: "2026-01-01T00:00:00Z",
  app_id: "example app_id",
  created_by: "rec_01HXEXAMPLE",
})
FieldTypeDescription
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumWhere the write originated. Defaults to 'api'.frontendbackendserversystemapi
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
frameworkstringThe compliance or regulatory framework this control belongs to. 'custom' is for organization-specific internal controls not mapped to a standard framework.
control_idstringFramework-native control identifier (e.g. 'CC6.1' for SOC2, 'A.9.2.1' for ISO 27001, 'PR.AC-1' for NIST CSF, 'Req 8.3' for PCI DSS).
titlestringShort title of the control as defined in the framework or customized for internal use.
descriptionstringDetailed description of what this control requires and how the organization has implemented or plans to implement it.
categorystringControl category or domain within the framework (e.g. 'Access Control', 'Encryption', 'Incident Response', 'Change Management').
owneruuidUUID of the Person responsible for implementing and maintaining this control. The control owner provides evidence and attests to control effectiveness.
statusstringCurrent implementation status. 'partial' means the control is partially implemented and remediation work is ongoing. 'not_applicable' requires documented justif
evidencejsonEvidence artifacts collected to demonstrate this control is implemented and operating effectively.
last_assessed_atdate-timeISO 8601 timestamp of the most recent control assessment or evidence review.
next_review_atdate-timeISO 8601 timestamp when this control is next scheduled for review or re-assessment.
linked_asset_idsjsonUUIDs of TechnologyAssets to which this control applies. Used to scope the control to specific systems and generate per-asset compliance dashboards.
framework_iduuidID of the Framework this control belongs to.
control_refstringFramework-specific control reference number.
namestringShort name of the control.
objectivestringControl objective statement.
implementation_guidancestringRecommended steps for implementing this control.
implementation_maturityenumCurrent maturity level of this control's implementation.not_implementedpartialimplementedoptimized
effectivenessnumberEffectiveness score between 0 and 1.
owner_iduuidID of the Person who owns this control.
next_review_datedate-timeDate when this control is next due for review.
evidence_idsjsonIDs of Evidence records that support this control.
mapped_control_idsjsonIDs of controls in other frameworks that this control maps to.
mitigated_risk_idsjsonIDs of Risk records that this control mitigates.
related_document_idsjsonIDs of related documents.
knowledge_entity_iduuidBridge to the Knowledge Graph entity for this control.
custom_fieldsjsonTenant-defined additional fields.
tagsjsonFree-form tags for filtering.

RiskItem

A tracked risk with likelihood, impact, and mitigation.

REST path/api/v1/risk-items
Operations
listgetcreateupdate
SDK
// list — returns only your records; add filters/search:
await client.risk.riskItems.list()

// create:
await client.risk.riskItems.create({
  id: "rec_01HXEXAMPLE",
  tenant_id: "example tenant_id",
  created_at: "2026-01-01T00:00:00Z",
  updated_at: "2026-01-01T00:00:00Z",
  app_id: "example app_id",
  created_by: "rec_01HXEXAMPLE",
})
FieldTypeDescription
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumWhere the write originated. Defaults to 'api'.frontendbackendserversystemapi
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
titlestringShort, descriptive title of the risk.
descriptionstringDetailed description of the risk, including the threat source, vulnerability exploited, and potential business impact.
categorystringBusiness category of the risk. Used to route risks to the appropriate risk owner team and generate category-specific risk dashboards.
likelihoodstringQualitative likelihood rating representing the probability that this risk will materialize. Maps to numeric values 1–5 for risk score computation.
impactstringQualitative impact rating representing the magnitude of harm if this risk materializes. Maps to numeric values 1–5 for risk score computation.
risk_scorenumberComputed risk score (likelihood × impact), where each dimension maps to 1–5. Range is 1 (lowest) to 25 (highest). Set by the platform whenever likelihood or imp
statusstringCurrent treatment status. 'mitigating' means active work is underway to reduce the risk. 'accepted' means the risk has been formally accepted by an authorized s
owneruuidUUID of the Person responsible for managing and reporting on this risk item.
linked_vulnerability_idsjsonUUIDs of Vulnerability records that contribute to or evidence this risk.
linked_control_idsjsonUUIDs of ComplianceControl records that mitigate or address this risk.
mitigation_planstringDocumented plan for mitigating or treating this risk, including actions, timelines, and responsible parties.
due_datedate-timeTarget date by which this risk should be mitigated, accepted, or closed.