QRadar offense automation with Shuffle

Send IBM QRadar offenses to a Shuffle workflow with the documented forwarding script, then enrich and close them through the QRadar REST API using service tokens and pinned API versions.

On this page

How QRadar offense automation with Shuffle works

Analysts working in IBM QRadar want enrichment to start the moment an offense is raised, without copying offense IDs, IP addresses and user names into another console. The supported pattern has two directions. In the first, a bash forwarding script added to QRadar posts the offense_id to a Shuffle webhook URL, with an authorization header token so that only your QRadar host can start workflows. In the second, Shuffle calls the QRadar REST API to read the offense, pull related data for enrichment, and update or close the offense once the playbook reaches a decision. The documented route is that script plus the QRadar REST API, and it is the one DeployOpen plans, builds and tests inside your own infrastructure, so your team can review every hop before analysts depend on it.

The decisions that matter most sit on the QRadar side and the Shuffle side of the webhook. Confirm which QRadar host and rule set will run the forwarding script, who owns the webhook token and how it is rotated, and which Shuffle environment receives the call. On the API side, use authorized service tokens sent in the SEC header, as the Shuffle QRadar app documentation recommends, rather than a username and password on every request, and scope each token to the offense and reference data permissions the playbook needs. Confirm also that your QRadar version and the API version pinned in requests are recorded together, because requests without a version header use the latest API version, which can break integrations after a QRadar upgrade.

Plan the verification before the first live offense. Send a test offense ID from a non-production QRadar instance, confirm the webhook receives it, and check that each REST call returns the fields your playbook expects. Then test the close path in a way that cannot cause harm, such as closing a test offense only. Record the webhook token location, service token owner, pinned API version and the Shuffle workflow version in your change records, so that a QRadar upgrade or a token rotation becomes a planned task with a retest rather than a surprise for the on-call analyst.

What you need before connecting QRadar to Shuffle

Connecting QRadar to Shuffle depends on four things being in place before any script or API call is written: a Shuffle deployment that QRadar can reach, QRadar console and API access, a dedicated service token, and a pinned API version. Network paths and certificates tie these together, and each one should be confirmed in your own environment.

A running and reachable Shuffle deployment

Shuffle needs a working backend with a webhook URL that the QRadar console can post to. Confirm which deployment model you run (single server, Docker Swarm, hybrid with a local Orborus, or Kubernetes) and that the webhook endpoint is available on the network path QRadar will use. Confirm the exact Shuffle version you plan to run with the release notes and your own test environment, not from memory.

Shuffle architecture docs

QRadar console and API access

The forwarding script runs on the QRadar side and the enrichment and closing steps call the QRadar REST API, so the QRadar console and its API must be enabled and reachable from Shuffle's runtime. Confirm with your QRadar administrator which user roles and API capabilities are permitted in your deployment, and confirm your QRadar version against IBM's current documentation.

A dedicated authorized service token

Create a QRadar authorized service token for this integration rather than reusing a person's login. Scope it to the offense read and update capabilities the workflow needs, and record who owns it and when it expires. The Shuffle QRadar app docs recommend sending this token in the SEC header instead of a username and password on every request.

Shuffle QRadar app docs

A pinned QRadar API version

Requests without a version header use the latest QRadar API version, and the Shuffle QRadar app docs warn this can break integrations after a QRadar upgrade. Decide on the API version your workflows target, send it explicitly on every call, and test it again before any console upgrade. Confirm which versions your QRadar release supports with IBM.

Network paths and certificates

Map each direction of traffic: the QRadar console posting to the Shuffle webhook, and Shuffle calling the QRadar API. Check firewall rules, proxies and DNS for both, and confirm that the certificate chain on each side is trusted by the other. Self-signed or internal certificate authorities are a common cause of failed posts, so verify the chain before debugging the script.

Confirmed versions and a test plan

Write down the exact Shuffle version, QRadar version and API version in your change record, and confirm each against the vendor documentation and your own lab before rollout. Plan a test offense that exercises the webhook, enrichment and closing steps in a non-production environment first, so that version or certificate problems surface before live offenses are affected.

Configuring the forwarding script and the QRadar API connection

This sequence connects QRadar to a Shuffle webhook so each new offense starts a workflow, then gives that workflow a scoped, token-based way to read and update the same offense through the QRadar REST API. Each step closes with a check you can see before moving on.

  1. Create the Shuffle webhook trigger

    In the Shuffle workflow that will handle QRadar offenses, add a webhook trigger and save the workflow so Shuffle generates the trigger URL. Copy the URL into your configuration notes and mark which environment it belongs to, since a test instance and a production instance will have different URLs. Confirm the trigger's current status and the exact webhook behavior against the Shuffle extensions documentation for your release. Done means the trigger is saved, the URL is recorded, and the workflow is not yet pointing at live analyst work.

  2. Generate the authorization header token

    Create a random, high-entropy token that the forwarding script will send in its authorization header, and store it in your secrets manager rather than in a shared document. Configure the Shuffle webhook so it only accepts requests carrying that value, following the header pattern described in the Shuffle extensions documentation. Keep a record of who owns the token and when it was issued so rotation is possible later. Done means the token exists only in the secrets store and the webhook is set to require it.

  3. Add the bash forwarding script to QRadar

    Using the Shuffle extensions documentation as the reference, add the bash script to QRadar so it posts the offense_id to the Shuffle webhook URL with the authorization header. Review the script line by line before deployment, confirm that it only sends the offense identifier and the header, and make sure the payload is built from the offense_id variable QRadar supplies. Test the script on a non-production QRadar node where you can. Done means the script is installed on the intended QRadar host and the payload format is written down.

  4. Send a sample offense and confirm receipt

    Trigger a test offense in a QRadar environment you control, or run the script manually with a known offense_id, and watch the Shuffle workflow execution history. Check that the webhook received the offense_id, that the authorization header was validated, and that a request without the token is rejected. Record the execution ID for the test. Done means you can see a received webhook execution containing the expected offense_id, and a rejected request with the wrong token.

  5. Create the QRadar service token with minimum role

    In QRadar, create an authorized service token for the Shuffle integration instead of using a personal account. Assign the smallest security profile and user role that let the workflow read offenses and make the specific updates you plan to automate, such as adding notes or changing status. Ask your QRadar administrator to confirm the role mapping against your deployment, because role names and permissions depend on your QRadar version. Done means the token exists, its role is documented, and no shared user password is required for the integration.

  6. Configure the Shuffle QRadar app with SEC header and API version

    In Shuffle, configure the QRadar app with the service token sent in the SEC header, as recommended in the Shuffle QRadar app documentation, rather than a username and password on every request. Set an explicit QRadar API version in the app configuration so requests do not fall back to the latest version, which the documentation warns can break integrations after a QRadar upgrade. Record the pinned version alongside the QRadar release it was tested against. Done means the app is configured and stored in the secrets location for Shuffle credentials.

  7. Verify a single offense read through the API

    From the workflow, run a GET request for one known offense using the configured app, passing the offense_id from your test. Confirm that the response returns the expected offense fields and that the call succeeds with the pinned API version in place. Then repeat the call with the token removed to confirm it fails. Done means a successful single-offense GET is visible in the execution results, and the failure case is recorded, so the enrichment and closing steps can be built on a verified connection.

How an offense moves from QRadar to Shuffle and back

The flow starts when a QRadar offense fires the forwarding script, which posts the offense_id to a Shuffle webhook with an authorization header. Orborus picks up the job and a worker starts the workflow, whose QRadar app calls the REST API with a service token sent in the SEC header and a pinned API version. Enrichment results or the closure request then travel back to QRadar. Check each boundary: the webhook token, the service token scope, and the pinned version used on every call.

Request flow between QRadar, Shuffle and the QRadar REST API.

Which offense fields reach Shuffle and how they map

The forwarding script sends only the offense_id to the Shuffle webhook, so the offense name, source and destination addresses, severity, categories and notes are not in the trigger payload. The first action in the workflow has to call QRadar to fetch the offense details. This keeps the data path narrow: Shuffle stores what the workflow asks QRadar for, not a copy of every offense field pushed on each event. It also means every offense creates at least one QRadar API call, and enrichment steps that look up related data add more. Estimate the call volume from your expected offense rate before you connect the script, and confirm with your QRadar administrator that the API limits and the rate of your rule firing can absorb it.

The offense_id value is the key that feeds the QRadar app's get and update actions. A get action uses it to read the offense, and an update action uses it to change fields such as status or assignment when the playbook closes or annotates an offense. Map the webhook field to a workflow variable once, near the start of the flow, so later steps reference one named input rather than parsing the raw payload in several places. Test the mapping with a known offense ID from a non-production QRadar instance before you rely on it.

The service token's role defines what enrichment and closure are allowed. A token that can read offenses but cannot update them will let the workflow enrich but fail on closure, and a token with broad administrative rights lets a misbuilt playbook change far more than intended. Grant the narrowest role that covers the actions in your playbook, and record which actions the token must perform. Field names and available actions in the QRadar app differ between app versions, so confirm the exact action names and output fields against the version you deploy before you build steps that depend on them.

Mapping QRadar offense data to Shuffle workflow inputs

This table maps each value passed between the QRadar forwarding script, the Shuffle webhook trigger and the QRadar app actions, and shows who owns it and where it is stored. Read it before building the workflow, so each credential and field has a named owner and one place to change it. The main takeaway is that the offense ID is data, while the webhook token and the QRadar service token are secrets that need separate storage and rotation.

ValueWhere it is usedOwnerWhere it is stored
offense_idBash script posts it to the Shuffle webhook as the trigger input, then the QRadar app reads the offenseQRadar administrator sets the rule or script; the value itself is generated by QRadarPassed in the request body only; record it in the case, not in the script
Webhook authorization header tokenShuffle webhook trigger checks the header before the workflow runsShuffle workflow owner creates it; QRadar script administrator stores a copyShuffle trigger configuration and the script on the QRadar host; restrict file permissions on both
Service token in the SEC headerQRadar app authenticates each REST call from the workflowQRadar administrator issues the authorized service token with the roles it needsShuffle app credential, encrypted in OpenSearch; never in workflow text or logs
Pinned QRadar API version headerSent by the QRadar app on every request so responses match the tested versionIntegration owner selects the version during testing and records it in change controlApp request configuration in Shuffle; documented alongside the QRadar upgrade plan
Offense status fieldUpdate action sets the status when a workflow starts investigating or closes an offenseSOC lead defines the allowed status values for each playbook stageWorkflow logic in Shuffle; allowed values listed in the runbook
Close fields and closing reasonUpdate action sends the close fields the playbook decides on, such as reason and commentSOC lead defines the reasons; QRadar administrator confirms the fields exist in the version in useWorkflow variables and the offense record in QRadar; confirm field names against the pinned API
Encryption modifier for saved credentialsShuffle encrypts the QRadar app credential at restShuffle platform administratorDeployment secret; losing or changing it breaks all saved app authentications

Hardening the QRadar to Shuffle path

The QRadar to Shuffle path carries offense data in one direction and closing authority in the other, so each hop needs its own controls. The cards below cover the webhook token, the QRadar service token, the Shuffle encryption secret, transport security and the workflows allowed to change offense state.

Webhook token handling and rotation

The forwarding script sends the offense_id to a Shuffle webhook with an authorization header token, so that token is the only thing separating the webhook from anyone who can post to it. Store it in the QRadar script configuration with restricted file permissions, not in a shared runbook. Define a rotation procedure that updates both the Shuffle webhook and the QRadar script in one change window, and confirm that old tokens stop working after rotation. Test a rejected request before you trust the setup.

Shuffle extensions docs

Authorized service tokens in the SEC header

The Shuffle QRadar app docs recommend authorized service tokens sent in the SEC header for API integrations, instead of a username and password on every request. Service tokens let you scope access, name the integration in the audit trail and revoke it without changing a person's account. Ask your QRadar administrator which token types your version supports and who can create them. Avoid reusing a personal administrator token for automation.

Shuffle QRadar app docs

Least-privilege roles for the token

Give the service token only the QRadar permissions the workflows use, such as reading offenses and notes and updating offense status where closing is required. Separate read-only enrichment from write actions by using distinct tokens if your QRadar roles allow it. Review the granted role after each QRadar upgrade, because permissions that were sufficient before may change. Document which workflow uses which token so a revocation has a predictable blast radius.

The SHUFFLE_ENCRYPTION_MODIFIER secret

Shuffle encrypts saved app credentials and API keys in OpenSearch with AES-256 using the SHUFFLE_ENCRYPTION_MODIFIER secret. Losing or changing this value breaks every saved app authentication, including the QRadar credentials, so treat it as a recovery-critical secret. Keep it in your secrets store, record who holds a copy, and back it up alongside OpenSearch data. Change it only through a planned procedure that re-enters affected credentials.

Shuffle configuration docs

TLS on the webhook and API paths

Both the webhook that receives offenses and the QRadar REST API calls carry sensitive offense data and tokens, so both should run over TLS with certificates your organization trusts. Confirm that the Shuffle backend and frontend sit behind a TLS-terminating proxy or are configured directly for TLS, and that QRadar's certificate is validated by the Shuffle app rather than disabled. Check that the forwarding script can verify the Shuffle certificate chain from the QRadar host.

Restricting workflows that close offenses

Closing or changing an offense is a write action that can hide activity from analysts, so limit which workflows hold that capability. Put offense-closing steps behind a human approval or a narrow condition, and restrict who can edit those workflows in Shuffle. Log every close action with the offense ID, the triggering workflow and the operator. Test the approval path with a non-production offense before enabling it.

Common failures when QRadar offenses do not reach Shuffle

This table maps each common failure in the QRadar to Shuffle path to its likely cause and the fix to try first. Read it by matching the symptom you see, such as a rejected request or a silent workflow, to the row, then checking the cause in the order listed. Most failures trace back to a token, a network path, an unpinned API version or a changed encryption secret.

SymptomLikely causeFix
Webhook rejects the authorization tokenThe token in the forwarding script does not match the value the Shuffle webhook expects, often because of copy errors, extra whitespace or a regenerated tokenCompare the header value in the QRadar script with the webhook settings in Shuffle, re-enter it from one source, and send a test request before re-enabling the rule
Script runs but no workflow startsThe posted URL points to the wrong webhook ID, the workflow is not saved or started, or the offense_id field is missing from the request bodyConfirm the webhook URL against the workflow trigger, check that the workflow is running, and review the request body the script sends
QRadar cannot reach the Shuffle URLA firewall rule blocks the QRadar host from the Shuffle port, or QRadar does not trust the certificate presented by ShuffleOpen the required path from the QRadar console to Shuffle, then add the internal certificate authority to QRadar's trust store rather than disabling verification
API calls fail after a QRadar upgradeRequests omit the API version header, so QRadar serves its latest API version, which can change response fields or behaviorPin an explicit version header in every call, test the workflow against the new QRadar version in a non-production instance, then update the pin deliberately
Service token cannot read or close offensesThe authorized service token was assigned a role or security profile without offense read or update rights, or the token was created under a different scopeReview the token's role and security profile in QRadar, grant only the offense permissions the playbook needs, and retest reads and close actions separately
Saved app authentication breaks after the encryption secret changesThe SHUFFLE_ENCRYPTION_MODIFIER value was changed or lost, so credentials stored in OpenSearch can no longer be decryptedRestore the original secret value from your secrets store, restart the services, then re-enter the QRadar credentials in the app settings if they still fail

Questions buyers ask about QRadar and Shuffle integration

How much effort does a QRadar to Shuffle offense integration take, and what drives it?

Effort depends mostly on how many offense types you forward, how many enrichment sources the workflow calls, how complex your closure rules are, which QRadar version you run, and how the network paths between QRadar, Shuffle and the enrichment services are opened and approved. The forwarding step itself is small: a bash script added to QRadar posts the offense_id to a Shuffle webhook URL with an authorization token. Most of the work sits in the enrichment and closure logic, the service account, and the testing that proves a closed offense is closed for the right reasons. Ask any partner to break the quote down by offense type, enrichment source and closure rule, and to state which QRadar version and network zones the estimate assumes.

Can an internal team build a QRadar and Shuffle integration on its own?

Often yes, if the team already administers QRadar and runs Shuffle in production and has someone who can write and debug Shuffle workflows. The forwarding script and webhook pattern are documented in the Shuffle extensions docs, so the first step is not the hard part. The harder parts are designing closure rules that a SOC will trust, creating authorized service tokens with the narrowest permissions, pinning the QRadar API version, handling failures without losing offenses, and writing a test plan. Teams without a Shuffle or QRadar specialist often build the happy path quickly and then spend longer on error handling and review. Decide early which of these you will own internally and which you will buy.

What do QRadar and Shuffle administrators need to provide for this work?

The work needs a QRadar administrator who can create authorized service tokens, add the forwarding script to the relevant rules or response path, and confirm which offense fields and API endpoints the integration may read and update. It needs a Shuffle administrator who can create the webhook trigger, store the authorization token in Shuffle's credential store, and manage workflow versions in the environment. Both teams should agree on network paths from QRadar to the Shuffle webhook and from Shuffle to the QRadar REST API, including any proxies or firewall rules. Access to a non-production QRadar or a representative test environment is essential before any closure logic goes live.

How long does testing take, and what does it depend on?

Testing duration depends on how many offense types and closure rules you have, whether a non-production QRadar instance with realistic offense data is available, how many enrichment sources must be exercised, and how much review your SOC requires before closing offenses automatically. Each closure rule needs tests for the positive case, the negative case and failure cases such as an expired token, a rejected API call or a missing field. Plan time for SOC review of sample outcomes, not only engineering checks. Ask a partner to state the testing scope in the written plan and to name the environments used, since no duration can be given without knowing these inputs.

Why should the integration use authorized service tokens instead of a username and password?

Authorized service tokens let the integration authenticate with a dedicated identity whose permissions you can scope and revoke without affecting people. The Shuffle QRadar app docs recommend sending these tokens in the SEC header for API integrations instead of a username and password on every request. Use a service account with only the API permissions needed to read offenses, add notes or enrichment, and close offenses where your rules allow it. Store the token in Shuffle's credential handling, rotate it on a schedule you define, and record who approved its creation. Confirm the exact token types and permission model in your QRadar version before you design the workflow.

What changes when QRadar is upgraded, and how do we protect the integration?

A QRadar upgrade can change the API behavior the integration depends on. The Shuffle QRadar app docs note that requests without a QRadar API version header use the latest API version, which might break integrations when QRadar is upgraded. Pin an explicit API version in every request, record the version in your change log, and include the integration in your QRadar upgrade test plan. Before upgrading QRadar, run the offense forwarding, enrichment and closure paths against a test instance on the target version and check field names, response shapes and permissions. Treat a QRadar upgrade as a change that needs its own regression test, not a routine patch.

What goes wrong most often, and how do we catch it early?

The most common failures are an expired or over-permissioned token, a changed API response after an upgrade, an offense closed by a rule that did not match the SOC's intent, and a webhook that fails silently so offenses never reach Shuffle. Catch these with explicit error handling in each workflow step, alerts when the webhook stops receiving offenses, logging of every enrichment and closure action with the offense_id, and a periodic reconciliation between QRadar open offenses and Shuffle execution records. Include a failure test in the plan for each of these cases, so the team knows the behavior before an incident depends on it.

How DeployOpen scopes a QRadar offense automation project

Every DeployOpen engagement is fixed-scope: the scope, deliverables and timelines are agreed in writing before work starts, and the quote follows from that written scope. For a QRadar offense project, the scope should name each piece of the build: the forwarding script added to QRadar, the Shuffle webhook that receives the offense_id, the workflows that enrich the offense, the REST calls that update or close it, and the service token and API version each call uses. Each of these changes the amount of work, so a quote that does not list them is not yet comparable with another one.

The client provides the inputs the build depends on. That means administrative access to the QRadar console and a Shuffle instance where the workflows will run, a named QRadar administrator and a named Shuffle owner who can make decisions during the build, and a set of test offenses that cover the cases the workflows must handle, including offenses with no matching assets and offenses that already carry notes. The client also approves the service token and its role before it is created, since the token defines what the automation can read and change. Confirm with your QRadar team which API version your installed release supports and which version the integration will pin, because that choice shapes the testing effort.

At handover, the client receives the configured forwarding script and workflows, documentation of each webhook, token, API version and enrichment step, and test evidence showing how the workflows behaved against the agreed offense cases. Ongoing support, upgrade testing when QRadar or Shuffle changes, and continuous testing are available as retainers, so the client can decide whether to keep that capacity in house or buy it as a recurring service once the initial build is complete.

How DeployOpen delivers and supports this integration

DeployOpen plans, builds, documents and supports the QRadar to Shuffle offense flow inside your own infrastructure. We start from a written scope that names the QRadar version, the Shuffle deployment and the service accounts involved, so the integration is reviewed before any token is issued.

How we scope

  • Confirm the QRadar version, API version you intend to pin, and the offense fields the workflow needs.
  • Map which offenses are forwarded, which are enriched, and which may be closed by a playbook.
  • Agree in writing how service tokens, the SEC header and webhook authorization values are created and stored.
  • Engagements are fixed-scope, with deliverables and timelines agreed before work starts.

How we build

  • Install the forwarding script on the QRadar side and test that each offense_id reaches the Shuffle webhook.
  • Build enrichment and closing steps against the QRadar REST API using scoped service tokens, not shared user passwords.
  • Pin the QRadar API version in every request so a QRadar upgrade does not silently change behavior.
  • Test with replayed offenses, failed responses and malformed payloads before anything closes in production.

How we hand over

  • Deliver the workflow export, script configuration, token scope list and API version record as documentation.
  • Document the retest results, known limits and the steps to rotate tokens and webhook secrets.
  • Walk your QRadar and SOC administrators through the offense lifecycle and the rollback procedure.
  • Confirm with your team which controls and evidence your compliance reviewers need from this integration.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers.
  • Review the pinned QRadar API version when QRadar is upgraded and retest the affected steps.
  • Monitor for changes in the Shuffle release line and plan Shuffle upgrades in a separate change window.
  • Retain a clear change log so every workflow edit is traceable to a reviewed request.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.