kosa8 docs

Commands / kosa8 cloud siem add

kosa8 cloud siem add

Add a SIEM destination

--kind webhook --url https://… (a signing secret is printed once) --kind splunk_hec --url https://splunk…:8088/services/collector/event --token … --kind datadog --site datadoghq.com --api-key …

The token or API key may come from KOSA8_SIEM_TOKEN instead of a flag, to keep it out of shell history. It is stored encrypted and never shown again.

Options

FlagTypeWhat it doesDefault
--api-keystringDatadog API key (or KOSA8_SIEM_TOKEN)—
--indexstringSplunk index—
--kindstringwebhook, splunk_hec or datadogwebhook
--namestringa name for this destination—
--sitestringDatadog site, e.g. datadoghq.com or datadoghq.eu—
--sourcetypestringSplunk sourcetype (default ocsf:api_activity)—
--startstringbeginning (send the whole log first, the default) or now—
--tokenstringSplunk HEC token (or KOSA8_SIEM_TOKEN)—
--urlstringhttps address (webhook, splunk_hec)—

Example

  kosa8 cloud siem add --kind splunk_hec --url https://splunk.acme.com:8088/services/collector/event --index security
  kosa8 cloud siem add --kind datadog --site datadoghq.eu --start now