Jira Service Management Zero Trust Alarm Integration
Support Statement
This documentation is provided "as is" without support for 3rd party software. The level of support for this integration guide is best effort without any SLA on response time. No 3rd party product support can be provided by Superna directly. 3rd party components require support contracts. See EULA for more details.
Overview
Customers using Jira Service Management can leverage a native integration that initiates native ingestion API alerts from Security Edition Zero Trust alerts. Customers can augment the capabilities of Jira Service Management with threat intelligence and Cyber Storage capabilities of Superna Security Edition.
Solution Overview
Superna Defender Zero Trust API receives webhook alerts and parses the key data for use in native Jira API task creation.
Advanced Zero Trust Capabilities
- Webhook to native Jira API alarm integration
What Is Jira Service Management?
Jira Service Management is the ITSM solution that unites IT, development, and business teams to deliver exceptional service experiences.
Integration Architecture

Solution Configuration in Jira Service Management and Defender Zero Trust
Prerequisites
- Installed Security Edition
- Eyeglass OS appliance version 15.5 — verify with
cat /etc/os-release - License key for the Zero Trust API
- Jira Service Management with an API token
Configuration in Jira Service Management
- Log in to your Atlassian account management and navigate to API tokens.
- Generate a new token and copy the value for use in later steps.
- Under the project settings for your Jira Service Management project, record the project key value for use in the configuration steps below.
Configuration Steps on Eyeglass Virtual Machine
High-Level Steps
- Create the Python location to run the application on the Eyeglass VM.
- Create the Python main application script.
- Create the Linux systemd service and set it to auto-start.
- Create the Zero Trust configuration in Defender.
- Update the main script to customize it with the Jira Service Management Python code.
- Test the script is running as a service.
- Create a test event in Defender to validate alerts appear as indexed parsed events in Jira Service Management.
Configure the Service Start and Python Integration Files
Log in to the Eyeglass VM via SSH as the admin user:
ssh admin@<your-vm-ip>
Become root:
sudo -s
mkdir -p /opt/superna/cgi-bin
chown -R sca:users /opt/superna/cgi-bin
chmod -R u+rwX,g+rwX /opt/superna/cgi-bin
Switch to the SCA user:
sudo -u sca -s
cd /opt/superna/cgi-bin
Create a Python virtual environment for the integration:
python3 -m venv venv-jirazt
source venv-jirazt/bin/activate
Install required Python packages:
pip install flask boto3 requests logging jira
deactivate
Create integration script files:
touch jirazt.py
touch jirazt.sh
chmod +x jirazt.py
chmod +x jirazt.sh
Create the jirazt.sh launch script:
nano /opt/superna/cgi-bin/jirazt.sh
Paste the following content into the file:
#!/bin/bash
export PATH="/opt/.pyenv/bin:$PATH"
source /opt/superna/cgi-bin/venv-jirazt/bin/activate
exec python /opt/superna/cgi-bin/jirazt.py
Make the script executable:
chmod +x /opt/superna/cgi-bin/jirazt.sh
Exit back to root:
exit
whoami # confirm you are root
Create the systemd service unit file:
nano /etc/systemd/system/jirazt.service
Paste the following content into the file:
[Unit]
Description=Webhook listener for Zero Trust API translations and integrations
After=network.target
[Service]
Type=simple
User=sca
Group=users
WorkingDirectory=/opt/superna/cgi-bin
ExecStart=/bin/bash /opt/superna/cgi-bin/jirazt.sh
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
Reload systemd to register the new service:
systemctl daemon-reload
Enable the service to start on boot (do not start it yet):
systemctl enable jirazt
Configure Python Packages and Customize the Integration Code
-
Download the Python template code from the link to download.
-
Open the Python template file in a text editor. Only replace the placeholder values — do not delete any commas.
-
Locate the section named "Jira Service Management Integration section" and replace the keys as follows:
jira_url— replace with your Jira instance URLusername— replace with the email login for the account used to create the API tokenapi_token— replace with your API tokenjira_project— replace with the Jira project key value
-
Open the production file on the Eyeglass VM:
nano /opt/superna/cgi-bin/jirazt.py -
Open the template file locally in Notepad, select all (Ctrl+A), and copy.
-
Paste the clipboard into the SSH terminal session with the open nano editor.
-
Save the file:
- Press Ctrl+X
- Answer Yes to save and exit
-
Start the service and verify it is running:
systemctl start jirazt
systemctl status -l jiraztVerify the service returns "active and running". If the service does not start, do not proceed — double-check the steps above.
Configure Defender Zero Trust Webhooks
-
Configure the Zero Trust endpoint in the Ransomware Defender Zero Trust tab.
Recommended ConfigurationSend only Critical and Major events, and only webhooks that set lockout or delayed lockout. The goal is to send findings rather than a list of alarms that do not pinpoint a security incident. Customers can customize based on specific requirements.
-
The endpoint URL uses localhost and sends webhooks to the application service listening on port 5000:
http://localhost:5000/webhook -
Add the Content-Type header with value application/json to complete the webhook configuration.
-
Click Save to commit the configuration.
-
Click Save on the main Webhook configuration page.
How to Test the Integration with Jira Service Management
- Install the Jira Service Management agent on a test machine and record its IP address.
- Get the IP address of the Eyeglass VM.
- Download the curl command template and open it with a text editor:
- Locate the IP address of Eyeglass at the very end of the text and replace it with the IP address of your Eyeglass VM.
- Search for
clientIPs":["172.31.1.45"]and replace only the IP address with the IP of the test machine running the Jira Service Management agent. This simulates a Zero Trust alert on that host.
- Copy all the text in the text editor.
- SSH to the Eyeglass VM as the admin user.
- Paste the entire CLI command to the SSH prompt to send sample data to the running Zero Trust application. This sends test data directly to the application to be processed and sent to Jira Service Management.
A successfully processed webhook test returns the following text in the SSH terminal:
done sending event to jirazt and check for http 200 and success count in response
To review the process logs from the web application:
sudo -s
journalctl -f -u jirazt
To log to a file and review with nano, showing only the most recent 250 lines:
journalctl -f -n 250 -u jirazt > /tmp/ztwebhook.log
nano /tmp/jirazt.log
The response code from the Jira Service Management API call should show HTTP 200 status code and successCount 1 to indicate the task was successfully created.
Log in to Jira Service Management to verify the new incident was raised.
Jira Service Management SecOps Administrators Integration Experience
Once the integration is complete, tasks created by the integration are visible in the Jira Service Management console with details populated from the Superna Zero Trust event payload.