Splunk event delivery
Send QScan event notifications directly to Splunk HTTP Event Collector (HEC). No intermediary receiver is required. Notifications contain event, workspace and resource IDs rather than raw captures, source code or cryptographic evidence. A workspace administrator configures the destination and reviews its first test.
Prepare Splunk access
Create a dedicated HEC token restricted to the intended index. The connector needs HEC ingestion access, not a Splunk administrator or search credential. Enable the token, choose its allowed/default index and copy it into QScan's token field. Follow Splunk's HEC setup guide.
Use the public HTTPS event endpoint, such as
https://http-inputs-your-stack.splunkcloud.com/services/collector/event.
A host origin is also accepted and normalized to that path. Ports 443 and 8088
are supported. A private-only instance needs a public TLS ingress that your
organization controls; do not disable TLS verification. Management/search URLs,
literal IP addresses, redirects, URL credentials, query strings and fragments
are not accepted. Obtain the exact hostname from your Splunk administrator.
Leave Indexer acknowledgement off unless your deployment and HEC token support it. Splunk documents Cloud Platform indexer acknowledgement support for AWS Kinesis Firehose; ordinary direct Cloud HEC delivery should use collector acceptance. For supported Enterprise deployments, enable acknowledgement on both the HEC token and the QScan connection. See Splunk's acknowledgement documentation.
Configure and test
- Open Integrations > Splunk > Manage Splunk, then Add Splunk.
- Enter a recognizable name, the HEC endpoint and token. Tokens are encrypted in storage and are never returned in connection metadata or delivery history.
- Select an index or leave it empty to use the token's default. The default
sourcetype is
sectigo:quantum:ready. Select the event outcomes you need. - Save the disabled connection. Choose Send test, then inspect Deliveries. A queued test is not a successful connection check.
- Wait for Collector accepted, or Indexer confirmed when acknowledgement is enabled. Find the test event in Splunk before choosing Enable.
Endpoint, index, sourcetype and acknowledgement mode are fixed for a destination. Create a replacement destination when changing that scope. Edit events affects future events; already queued deliveries retain their original recipients. The shared limit is ten unrevoked event destinations per workspace, including signed webhooks. Delivery and attempt history are retained for thirty days.
Understand delivery results
| Result | What it establishes | Next step |
|---|---|---|
| Queued / Sending | Work is pending or a request is in flight | Refresh delivery history |
| Awaiting indexing | HEC accepted the event and QScan retained its acknowledgement ID | QScan polls the same receipt; it does not resend the event |
| Collector accepted | The HEC event endpoint returned a valid success receipt | Verify indexing and downstream processing in Splunk |
| Indexer confirmed | The acknowledgement endpoint confirmed that receipt | Inspect the indexed event and your downstream rules |
| Failed | A definitive provider error or exhausted retry budget | Review the error and correct access/configuration |
| Outcome unknown | Acceptance or indexing could not be established | Search for the event ID before considering a retry |
| Cancelled | The queued work was stopped | An earlier in-flight request may still have arrived |
QScan inspects the HEC response code; an HTTP 200 by itself is insufficient. Provider response text and tokens are not retained. History shows safe error messages, HTTP/provider codes, attempt phase and delivery assurance. See HEC response codes.
Acknowledgement polling is bounded by thirty minutes from the accepted receipt and 64 total attempts. False means indexing is unconfirmed, not that resending is safe. A known accepted receipt is never automatically resent. An expired or unverifiable indexing receipt is marked unknown and cannot be retried as a new send through the delivery retry action.
Transient sends use up to eight attempts per retry cycle and honor provider retry delays. A network interruption can occur after Splunk accepted an event. Retries may therefore duplicate it; events can also arrive out of order. Use the workspace and stable event ID as your deduplication key. This is not exactly-once delivery. A later rejected attempt does not erase uncertainty from an earlier send.
Find an event in Splunk
Copy Event ID from delivery history and search the chosen index. For example:
index=security sourcetype="sectigo:quantum:ready"
| spath
| search id="YOUR-EVENT-ID"
| table _time id type organizationId data.resourceId
The source is sectigo-quantum-ready. Event time is the original QScan event time,
not the retry time. Setup sends webhook.test; production subscriptions use the
same event catalog as signed webhooks.
If a send's receipt was lost, inspect Splunk first. Retrying an unknown send requires explicit duplicate-risk approval and retains the same event ID. Do not put that approval into an automatic retry loop. If the event is already present, retain it and investigate downstream processing instead of resending.
Replace a token or stop delivery
Use Replace token with the current connection revision. Replacement disables delivery, cancels active delivery records and clears prior test verification. Send a new successful test, inspect it in Splunk and enable the connection again. An old token's in-flight response cannot validate the replacement. Revoke the old HEC token in Splunk after reviewing your rotation procedure.
Disable stops queued work. Revoke permanently retires the QScan destination. Neither action removes previously indexed events or revokes the HEC token at Splunk. In-flight requests may already have arrived. Re-enabling starts with future events; it does not backfill events skipped while disabled.
API and SDKs
Administrators use the shared event-destination API:
POST /api/v1/webhookswithkind: "splunk", name, URL, HEC token and events.GET /api/v1/webhooksfor metadata andsecretVersion.POST /api/v1/webhooks/{id}/credentialswithexpectedVersionand the new token.- Existing test, state, subscriptions, delivery history, retry and revoke routes.
const requestId = crypto.randomUUID(); // Retain with the exact request for retries.
const destination = await qr.createSplunk({
requestId,
name: 'Security events', url: process.env.SPLUNK_HEC_URL,
token: process.env.SPLUNK_HEC_TOKEN, index: 'security',
events: ['capture.completed', 'repository-scan.completed']
});
const test = await qr.testWebhook(destination.id);
const receipt = await qr.webhookDelivery(destination.id, test.id);
// Poll with bounded backoff and review receipt.state and deliveryAssurance.
// Enable only after the test succeeds and you inspect the event in Splunk.
import os, uuid
request_id = str(uuid.uuid4()) # Retain with the exact request for retries.
connection = qr.create_splunk(
'Security events', os.environ['SPLUNK_HEC_URL'],
os.environ['SPLUNK_HEC_TOKEN'],
['capture.completed', 'repository-scan.completed'], index='security', request_id=request_id)
test = qr.test_webhook(connection['id'])
receipt = qr.webhook_delivery(connection['id'], test['id'])
| JavaScript | Python |
|---|---|
createSplunk(input) | create_splunk(name, url, token, events, **options) |
replaceSplunkToken(id, version, token) | replace_splunk_token(id, version, token) |
webhookDelivery(id, deliveryId) | webhook_delivery(id, delivery_id) |
allWebhookDeliveries(id) | all_webhook_deliveries(id) |
retryWebhookDelivery(id, deliveryId, {confirmDuplicateRisk: true}) | retry_webhook_delivery(id, delivery_id, confirm_duplicate_risk=True) |
The final row is for an explicitly reviewed unknown send, not acknowledgement
polling. Both SDKs omit approval by default. Creation accepts a retained requestId (request_id in Python); reuse the identical input after a lost response. Changed input or principal returns 409. The console retains its request ID while retrying the same setup. See the API reference
for exact request and response contracts.
Acceptance boundary
Provider and Worker/Tenant tests use synthetic HEC responses. They verify token privacy, tenant/role enforcement, receipt persistence, bounded retries, credential replacement races and acknowledgement handling. They do not certify your Splunk instance, token permissions, index rules or downstream alerts. Complete the test and event lookup above in your deployment before enabling production delivery.
Remove retired connections
Revoke a destination first. Revocation stops queued delivery and removes QScan's stored credential. Requests already sent may still reach the receiver; their late receipts remain visible, without scheduling another send or indexing check. Revoking in QScan does not revoke a token in Splunk or erase receiver-side events.
Open Retired connections & history from Signed webhooks or Splunk connections. The full-page view lists revoked destinations, 25 per page. Choose Delete permanently, review the retained-history explanation, then confirm; Keep connection cancels without changing anything. If the response is lost, Retry deletion uses the same revocation details. A confirmed deletion cannot be undone.
Deleted history lists generic connection identifiers, 100 per page. Endpoint settings, original names and credentials are removed; delivery receipts remain available for their normal thirty-day retention. Receipt history has no retry controls for retired destinations. Collector acceptance alone does not establish indexing or downstream processing.
For automation, revoke with DELETE /api/v1/webhooks/{id}, then send
POST /api/v1/webhooks/{id}/delete with confirm: true and the exact
expectedRevokedAt returned by revocation. Repeat that same body after a lost
response. Read deleted identifiers with /api/v1/webhooks?deleted=true and follow
nextAfter as after; delivery-history paths remain unchanged. JavaScript offers
deleteWebhook, deletedWebhooks, and allDeletedWebhooks; Python offers
delete_webhook, deleted_webhooks, and all_deleted_webhooks.
OAuth MCP clients can use event_destination_revoke,
event_destination_delete, and event_destinations_deleted. Mutations require
explicit confirmation and workspace administrator authority. Existing
event_deliveries and event_delivery tools read retained receipts.