Connect your log sources, identity provider and tools.
Setup guides for the SIEM data sources Etinesia supports, SCIM user provisioning into IAM, and the API and signed webhooks you can build on.
- Push sourcesCloudflare, AWS, Google Cloud and any HTTPS sender.
- API connectorsMicrosoft Entra ID, Azure, Microsoft 365, Google Workspace.
- SCIM 2.0Provision IAM users from Entra ID or Okta.
- API & webhooksTenant API keys and HMAC-signed events.
Where to find your endpoint and token.
Exact endpoint values appear in each console’s Sources or Settings page. The URLs, header names and tokens on this page are placeholders such as <ingest-endpoint> and <ingest-token>. Copy the real values from SIEM → Sources or IAM → Settings for your organisation.
- Sign in to siem.etinesia.com. Your organisation must already be approved for SIEM.
- Open Sources and add a source of the type you are connecting. Each source has its own ingest token, so you can always tell where an event came from and revoke one source without affecting the others.
- Copy the endpoint and token immediately. Tokens are shown once and stored only as a SHA-256 hash, so they cannot be displayed again. If you lose one, revoke it and create another.
- For API connectors (Microsoft and Google Workspace), enter the credentials on the Sources page instead. They are encrypted with AES-256-GCM, bound to your tenant.
Cloudflare Logpush.
Send Cloudflare logs, such as HTTP requests, firewall events or Zero Trust datasets, to Etinesia using a Logpush job with an HTTP destination. The ingest token travels as a request header.
- Create a Cloudflare Logpush source in SIEM and copy the endpoint, header name and token.
- In the Cloudflare dashboard, open Analytics & Logs → Logpush for the zone or account and create a job with the HTTP destination.
- Set the destination to the ingest endpoint and add the token header. Logpush takes headers as
header_<Name>=<value>query parameters on the destination URL, URL-encoded. - Choose the dataset and fields, keep the output as NDJSON, and enable the job.
curl "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/logpush/jobs" \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
-H "Content-Type: application/json" \
--data '{
"name": "etinesia-siem",
"dataset": "http_requests",
"destination_conf": "<ingest-endpoint>?header_<Header-Name>=<url-encoded header value>",
"output_options": {"output_type": "ndjson"},
"enabled": true
}'
If the header value contains spaces, as in Bearer <ingest-token>, encode them as %20.
AWS CloudTrail via EventBridge API destination.
CloudTrail management events are delivered to Amazon EventBridge. An EventBridge rule forwards them to Etinesia through an API destination, which adds the ingest token as a header.
- Make sure a CloudTrail trail is logging management events in each region you want to monitor.
- Create an AWS CloudTrail source in SIEM and copy the endpoint, header name and token.
- In EventBridge, create a connection with authorisation type API key: the key name is the header name and the value is the token. EventBridge stores it in AWS Secrets Manager.
- Create an API destination using that connection, the ingest endpoint and method
POST. Set an invocation rate limit that suits your event volume. - Create a rule on the default event bus with the pattern below and the API destination as its target. EventBridge creates, or lets you choose, an IAM role allowed to call
events:InvokeApiDestination.
{
"detail-type": [
"AWS API Call via CloudTrail",
"AWS Console Sign In via CloudTrail"
]
}
Create the connection and API destination with the AWS CLI
aws events create-connection --name etinesia-siem \
--authorization-type API_KEY \
--auth-parameters '{"ApiKeyAuthParameters":{"ApiKeyName":"<Header-Name>","ApiKeyValue":"<header value>"}}'
aws events create-api-destination --name etinesia-siem \
--connection-arn <connection-arn> \
--invocation-endpoint '<ingest-endpoint>' \
--http-method POST \
--invocation-rate-limit-per-second 50
EventBridge rules see events from their own region, so repeat the rule in each region, or forward events to one region first.
Google Cloud audit logs via Pub/Sub push.
A Cloud Logging sink routes audit logs to a Pub/Sub topic, and a push subscription delivers each message to Etinesia over HTTPS.
- Create a Google Cloud audit logs source in SIEM and copy the Pub/Sub push endpoint shown for it.
- Create a Pub/Sub topic, then a Log Router sink that sends audit logs to it. Use an organisation-level sink with
--include-childrento cover every project. - Grant the sink’s writer identity the
roles/pubsub.publisherrole on the topic. - Create a push subscription on the topic, with the push endpoint exactly as shown on the Sources page. Pub/Sub push subscriptions cannot add custom request headers, so use the endpoint value provided for this source type.
gcloud pubsub topics create etinesia-audit --project=PROJECT_ID
gcloud logging sinks create etinesia-audit \
pubsub.googleapis.com/projects/PROJECT_ID/topics/etinesia-audit \
--organization=ORG_ID --include-children \
--log-filter='logName:"cloudaudit.googleapis.com"'
# Use the writerIdentity printed by the previous command
gcloud pubsub topics add-iam-policy-binding etinesia-audit --project=PROJECT_ID \
--member='<writer-identity>' --role='roles/pubsub.publisher'
gcloud pubsub subscriptions create etinesia-audit-push --project=PROJECT_ID \
--topic=etinesia-audit --push-endpoint='<push-endpoint from the Sources page>'
Microsoft Entra ID and Azure Activity Log.
Etinesia reads Entra ID audit and directory information through Microsoft Graph, and subscription activity through Azure Monitor, using an app registration you create with read-only access.
- In the Microsoft Entra admin centre, go to App registrations → New registration. A single-tenant registration is enough.
- Under API permissions, add the Microsoft Graph application permissions
AuditLog.Read.AllandDirectory.Read.All, then select Grant admin consent. - Under Certificates & secrets, create a client secret and note its expiry date.
- For Azure Activity Log, open each subscription in the Azure portal, go to Access control (IAM) → Add role assignment and give the app the Reader role.
- In SIEM, add a Microsoft Entra ID / Azure source and enter the tenant ID, client ID, client secret and subscription IDs.
Entra ID sign-in logs are available through Microsoft Graph only for tenants with Microsoft Entra ID P1 or P2. Renew the client secret before it expires, then update it on the Sources page.
Microsoft 365 Management Activity API.
Microsoft 365 audit records for Exchange, SharePoint, OneDrive, Teams and Entra ID are read through the Office 365 Management Activity API.
- Confirm that audit logging is turned on in Microsoft Purview for your tenant.
- In your app registration (you can reuse the one above), add the Office 365 Management APIs application permission
ActivityFeed.Readand grant admin consent. - In SIEM, add a Microsoft 365 source with the tenant ID, client ID and client secret.
Google Workspace Reports API.
Workspace admin, login, Drive and other audit activity is read through the Admin SDK Reports API, using a service account with domain-wide delegation.
- In a Google Cloud project, enable the Admin SDK API, create a service account and create a JSON key for it.
- In the Google Admin console, go to Security → Access and data control → API controls → Manage domain-wide delegation and add the service account’s client ID with this scope only:
https://www.googleapis.com/auth/admin.reports.audit.readonly
- In SIEM, add a Google Workspace source, upload the JSON key and enter the email of an administrator the service account acts as. That administrator needs the Reports privilege.
Generic JSON / NDJSON over HTTPS.
Anything that can make an HTTPS request, such as a log shipper, script or appliance, can send events to a Generic HTTPS source. Send JSON, or newline-delimited JSON with one event per line, with the token header from the Sources page.
Send a batch of eventscurl -X POST '<ingest-endpoint>' \
-H '<Header-Name>: <header value>' \
-H 'Content-Type: application/x-ndjson' \
--data-binary @events.ndjson
events.ndjson
{"timestamp":"2026-11-07T09:41:07Z","host":"dc-02","event":"user.login.failed","user":"t.dube","src_ip":"203.0.113.10"}
{"timestamp":"2026-11-07T09:41:09Z","host":"dc-02","event":"user.login.success","user":"t.dube","src_ip":"203.0.113.10"}
Include a timestamp in each event where you can. Size limits and accepted content types are shown on the Sources page.
Importing Sigma rules.
SIEM can import detection rules written in the Sigma format, such as rules from the SigmaHQ repository. It supports a subset of the format, listed below, so check a rule against this list before you rely on it.
| Field modifiers | |contains, |startswith, |endswith, |all, and * / ? wildcards in values |
|---|---|
| Conditions | and, or, not, 1 of, all of |
| Correlations | event_count correlation rules |
| Not supported | |re regular expressions, and the legacy timeframe and count aggregation syntax |
Each imported rule keeps its author, and the author is credited in the console. Rules from SigmaHQ are licensed under the Detection Rule License (DRL) 1.1.
SCIM 2.0 provisioning from Microsoft Entra ID or Okta.
Create, update and deactivate Etinesia IAM users automatically from your identity provider.
| Tenant URL / SCIM base URL | https://iam.etinesia.com/scim/v2 |
|---|---|
| Secret token | Generate it in IAM → Settings |
Microsoft Entra ID
- In the Entra admin centre, go to Enterprise applications → New application → Create your own application and choose the non-gallery option.
- Open Provisioning, set the mode to Automatic, enter the tenant URL and secret token, and select Test connection.
- Review the attribute mappings, assign the users and groups to provision under Users and groups, then turn provisioning On.
Okta
- Create an app integration for Etinesia IAM and, on its General tab, enable SCIM provisioning.
- On the Provisioning tab, set the SCIM connector base URL to the value above, the unique identifier field to
userName, and the authentication mode to HTTP Header with the secret token as the bearer token. Choose the provisioning actions you want and test the connector. - Under To App, enable Create Users, Update User Attributes and Deactivate Users, then assign people or groups.
API keys.
- Create tenant API keys in the console’s Settings page. Each key belongs to your organisation only.
- A key is shown once and stored only as a SHA-256 hash. Keep it in a secrets manager, never in source code, and replace it if it may have been exposed.
- The API base URL and how to present the key are shown on the same Settings page. IAM also offers a policy-decision API your applications can call for allow or deny decisions.
Verifying signed webhooks.
Each webhook request carries an Etinesia-Signature header:
Etinesia-Signature: t=<unix timestamp>,v1=<hex HMAC-SHA256 of "<t>.<body>">
- Read the raw request body before any JSON parsing. Re-serialised JSON will not match.
- Compute HMAC-SHA256 over
<t>.<body>(the timestamp, a full stop, then the body) with the webhook’s signing secret, and hex-encode it. - Compare it with the
v1value in constant time, and reject requests whose timestamp is too old (five minutes in these examples) to stop replays.
import crypto from 'node:crypto';
import http from 'node:http';
const SECRET = process.env.ETINESIA_WEBHOOK_SECRET; // the webhook's signing secret
const TOLERANCE_SECONDS = 300;
export function verifyEtinesiaSignature(rawBody, header, secret, now = Date.now()) {
if (!header || !secret) return false;
let timestamp = null;
const signatures = [];
for (const part of header.split(',')) {
const [key, value] = part.trim().split('=');
if (key === 't') timestamp = value;
if (key === 'v1' && value) signatures.push(value);
}
if (!/^\d+$/.test(timestamp ?? '') || signatures.length === 0) return false;
if (Math.abs(Math.floor(now / 1000) - Number(timestamp)) > TOLERANCE_SECONDS) return false;
const expected = crypto.createHmac('sha256', secret)
.update(`${timestamp}.`)
.update(rawBody) // the raw request body, before any JSON parsing
.digest();
return signatures.some(sig =>
/^[0-9a-f]{64}$/i.test(sig) && crypto.timingSafeEqual(expected, Buffer.from(sig, 'hex')));
}
http.createServer((req, res) => {
const chunks = [];
req.on('data', chunk => chunks.push(chunk));
req.on('end', () => {
const rawBody = Buffer.concat(chunks);
if (!verifyEtinesiaSignature(rawBody, req.headers['etinesia-signature'], SECRET)) {
res.writeHead(401).end();
return;
}
const event = JSON.parse(rawBody.toString('utf8'));
// ...handle the event...
res.writeHead(204).end();
});
}).listen(8080);
Python (3.10+)
import hashlib
import hmac
import time
TOLERANCE_SECONDS = 300
def verify_etinesia_signature(raw_body: bytes, header: str, secret: str, now: float | None = None) -> bool:
"""raw_body is the request body exactly as received, before JSON parsing."""
if not header or not secret:
return False
timestamp, signatures = None, []
for part in header.split(","):
key, _, value = part.strip().partition("=")
if key == "t":
timestamp = value
elif key == "v1" and value:
signatures.append(value.lower())
if not timestamp or not timestamp.isdigit() or not signatures:
return False
current = int(now if now is not None else time.time())
if abs(current - int(timestamp)) > TOLERANCE_SECONDS:
return False
signed = timestamp.encode() + b"." + raw_body
expected = hmac.new(secret.encode(), signed, hashlib.sha256).hexdigest()
return any(hmac.compare_digest(expected, sig) for sig in signatures)
# Flask example:
# @app.post("/etinesia/webhook")
# def etinesia_webhook():
# if not verify_etinesia_signature(request.get_data(), request.headers.get("Etinesia-Signature", ""), SECRET):
# abort(401)
# event = request.get_json()
# ...
# return "", 204