Skip to main content

NGSIEM

NGSIEM saved queries and search for this CID — ListSavedQueries (PEP 8 list_saved_queries) and StartSearchV1 (PEP 8 start_search). Paths are GET /ngsiem-content/queries/savedqueries/v1 and POST /humio/api/v1/repositories/{repository}/queryjobs.

This collection is not CrowdStrike production. It does not call Falcon cloud. It is not MSSP.

RPC field notes: NgsiemService.

Auth​

Every call needs a console session or a Bearer token:

  • Cookie cs_console from CreateSession (POST /identity/entities/sessions/v1)
  • Authorization: Bearer with ngsiem-saved-queries:read for list
  • ngsiem:write for start

A session cookie bypasses OAuth scopes and can list or start. Seed client cs-local-hosts (hosts:read only) cannot list (403 missing scope ngsiem-saved-queries:read). Read-only client cs-local-ngs (ngsiem-saved-queries:read) cannot start (403). Write client cs-local-ngsw (ngsiem:write) cannot list (403).

HTTP paths​

GET /ngsiem-content/queries/savedqueries/v1 — RPC ListSavedQueries, PEP 8 list_saved_queries, scope ngsiem-saved-queries:read. Returns MSA string ids.

POST /humio/api/v1/repositories/{repository}/queryjobs — RPC StartSearchV1, PEP 8 start_search, scope ngsiem:write. Body {query_string}. Returns id, repository, query_string, hashed_query_on_view.

Missing trimmed repository → 400 repository is required. Missing trimmed query_string → 400 query_string is required. Duplicate repository + query string → 409 search already exists.

Empty query on list returns every saved-query id in this CID. Optional filter must be name:~'…' with a trimmed inner value, matched to name case-insensitively (exact). Any other non-empty filter → 400 filter is invalid. Extra limit / offset / search_domain / parameters ignored. Default sort is id ascending. Empty store → empty resources, still 200.

JSON is snake_case MSA. Clone success is 200. New ids are job- plus a slug from the query string.

Dashboards, parsers, lookups, labels, bulk, saved-query writes, search status, and stop are not in this build.

Dashboards, parsers, lookups, labels, bulk, saved-query writes, search status, and stop are not in this build (not yet). No further roadmap row. Remaining operations stay under Not yet implemented. This is not MSSP.