vanhecke/celmex/2.0.0

NOTE: the latest version is 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.AuditLogs

Cortex tenant audit-log queries (management events and agent reports).

type alias SearchArgs =
{ filters : List Filter
, sort : Maybe Sort
, range : Maybe Range
, timeframe : Maybe Timeframe
, extra : List ( String, Value )
}

Arguments to search. All fields are optional; pass defaultSearchArgs for an unfiltered request. extra is merged last into request_data and overrides any SDK-generated key on collision.

defaultSearchArgs : SearchArgs

A SearchArgs with no filters, sort, pagination, or timeframe.

type alias AuditLog =
{ auditId : Int
, ownerName : Maybe String
, ownerEmail : Maybe String
, entity : Maybe String
, result : Maybe String
, description : Maybe String
, insertTime : Maybe Int
}

A single audit-management event (user action on the tenant).

type alias SearchResponse =
{ totalCount : Int
, resultCount : Int
, data : List AuditLog
}

Paginated envelope returned by search.

{ totalCount : Maybe Int
, resultCount : Maybe Int
, data : List Value
}

Agent reports have uppercase field names (TIMESTAMP, ENDPOINTID, DOMAIN, CATEGORY, SUBTYPE, …) and some floating-point timestamps, so the report rows are preserved as raw JSON to capture every field without duplicating the agent event schema here.

agentsReports : Request AgentsReportsResponse

POST /public_api/v1/audits/agents_reports