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.Profiles

Cortex endpoint security profiles and per-endpoint policy lookups.

type alias Profile =
{ id : Maybe Int
, uuid : Maybe String
, name : Maybe String
, type_ : Maybe String
, platform : Maybe String
, description : Maybe String
, isDefault : Maybe Bool
, isGlobal : Maybe Bool
, isDisabled : Maybe Bool
, usageCount : Maybe Int
, associatedTargets : List String
, createdBy : Maybe String
, createdByPretty : Maybe String
, creationTime : Maybe Int
, modifiedBy : Maybe String
, modifiedByPretty : Maybe String
, modificationTime : Maybe Int
, modules : Maybe Value
}

A single endpoint security profile (prevention or extension).

type alias GetPolicyResponse =
{ policyName : Maybe String }

Response from getPolicy.

getProfiles : { type_ : String } -> Request (List Profile)

POST /public_api/v1/endpoints/get_profiles

Get endpoint security profiles of the requested type. The API requires a type discriminator ("prevention" or "extension"); pass it via the record argument.

getPolicy : { endpointId : String } -> Request GetPolicyResponse

POST /public_api/v1/endpoints/get_policy

Get the policy name assigned to a single endpoint. Requires the endpoint ID; pass it via the record argument.