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

Cortex case search — incident-level groupings of issues.

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 — use it to reach fields the SDK has not modeled yet.

defaultSearchArgs : SearchArgs

A SearchArgs with no filters, sort, pagination, or timeframe — equivalent to an unfiltered search.

type alias Case =
{ caseId : Maybe Int
, caseName : Maybe String
, description : Maybe String
, severity : Maybe String
, statusProgress : Maybe String
, resolveReason : Maybe String
, resolveComment : Maybe String
, isBlocked : Maybe Bool
, starred : Maybe Bool
, creationTime : Maybe Int
, modificationTime : Maybe Int
, resolvedTimestamp : Maybe Int
, assignedUserMail : Maybe String
, assignedUserPrettyName : Maybe String
, issueCount : Maybe Int
, lowSeverityIssueCount : Maybe Int
, medSeverityIssueCount : Maybe Int
, highSeverityIssueCount : Maybe Int
, criticalSeverityIssueCount : Maybe Int
, userCount : Maybe Int
, hostCount : Maybe Int
, wildfireHits : Maybe Int
, aggregatedScore : Maybe Int
, xdrUrl : Maybe String
, caseDomain : Maybe String
, hosts : List String
, users : List String
, issueCategories : List String
, tags : List String
, issueIds : List Int
, assetIds : List String
, assets : List String
, mitreTacticsIdsAndNames : List String
, mitreTechniquesIdsAndNames : List String
, customFields : Maybe Value
}

A single case (incident-level grouping of related issues).

type alias SearchResponse =
{ data : List Case
, filterCount : Maybe Int
, totalCount : Maybe Int
}

Paginated envelope returned by search.