Skip to content

List drift-events

GET
/drift-events

Detekovaná změna spravovaného/adoptovaného cloudového zdroje provedená mimo Sencai (ruční konzole, jiný IaC, kompromitace). Vzniká při scan ingestion (cloud-asset upsertAsset/scanCallback) porovnáním kanonického subsetu uloženého stavu vs. čerstvě naskenovaného stavu — jeden drift-event per změněné pole. Drift se počítá JEN pro ownership ∈ {managed, read-only}; unmanaged/ignored se přeskakují (šum). tenant-private + org-scoped (W3-06 / F2.INV.03).

pagination[page]
integer
pagination[pageSize]
integer
filters

Strapi REST filter syntax

object
sort
string
populate
string

OK

object
data
Array
object
cloud_asset
One of:

DocumentId reference to api::cloud-asset.cloud-asset

string
organisation
One of:

DocumentId reference to api::organisation.organisation

string
detected_at

Časová značka detekce driftu (okamžik scan ingestion, který změnu odhalil).

string format: date-time
field
required

Logické pole kanonického subsetu, které se změnilo (instanceType | state | securityGroups | iamPolicies | sizeGb | tags.* …).

string
before

Hodnota pole PŘED změnou (uložený stav). Serializovaná do textu (JSON.stringify u objektů/polí). Bez PII/secrets — kanonický subset whitelistuje neutajená pole.

string
after

Hodnota pole PO změně (čerstvě naskenovaný stav). Serializovaná do textu (JSON.stringify u objektů/polí). Bez PII/secrets.

string
severity
required

Závažnost driftu (z plánu F2.INV.03): low = tag change; medium = security-group rule change; high = instance terminated/stopped-destroyed NEBO IAM policy attached.

string
Allowed values: low medium high
acknowledged

True když uživatel drift potvrdil (uzavřel). Acknowledge je jen evidence — drift-event zůstává (immutable historie pro NIS2 evidence).

boolean
acknowledged_by

Identita uživatele, který drift potvrdil (email nebo user:id) — accountability.

string
acknowledged_at

Časová značka potvrzení driftu (nullable dokud není acknowledged).

string format: date-time
home_region

Logical data-residency region of the tenant (CELL invariant, F2.CELL.01).

string
cell_id

Deployment cell within home_region for blast-radius isolation (CELL invariant, F2.CELL.01).

string
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
nullable
meta
object
pagination
object
page
integer
pageSize
integer
pageCount
integer
total
integer

Missing or invalid authentication

Not authorized (tenant scope or capability)