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

Cortex behavioral indicators of compromise (BIOCs).

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

Arguments to get. 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 — e.g. extended_view is reachable through it.

defaultSearchArgs : SearchArgs

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

type alias BiocsResponse =
{ objectsCount : Maybe Int
, objects : List Value
, objectsType : Maybe String
}

BIOC objects have ~15 variable fields including a nested indicator object whose shape depends on the rule type. We decode the BIOC items as raw JSON so every field is preserved without duplicating the whole Cortex BIOC schema here.

get : SearchArgs -> Request BiocsResponse

POST /public_api/v1/bioc/get

Response is top-level {objects_count, objects, objects_type} — NOT wrapped in the usual reply envelope.