vanhecke/celmex/3.0.0

Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/vanhecke/celmex is gone (deleted or private); Software Heritage not asked yet (this run's --swh-calls were used up); no fork with the same repo name found; no cached copy. Use another version.

Details

Cortex.Api.DeviceControl

Cortex device-control policy violations — events where a peripheral device (USB stick, optical drive, etc.) was blocked by an endpoint policy.

type alias ViolationsResponse =
{ totalCount : Maybe Int
, resultCount : Maybe Int
, violations : List Violation
}

Paginated envelope returned by getViolations.

type alias Violation =
{ violationId : Maybe Int
, timestamp : Maybe Int
, type_ : Maybe String
, hostname : Maybe String
, username : Maybe String
, ip : Maybe String
, endpointId : Maybe String
, vendor : Maybe String
, vendorId : Maybe String
, product : Maybe String
, productId : Maybe String
, serial : Maybe String
}

A single device-control violation — a peripheral that was blocked on an endpoint by policy. Every field is Maybe because the API may omit fields that are not relevant to the violation type (e.g. product_id may be empty for unidentified devices).

getViolations : Request ViolationsResponse

POST /public_api/v1/device_control/get_violations

Get device-control violations matching the optional filters in request_data. An empty body returns up to 100 results.