Python module to create Jira tickets from Uptycs alerts

Create Jira Tickets from Uptycs Alerts

This python module allows you to create Jira tickets from Uptycs alerts. 


Usage: ./uptjira.py <uptycs_apikey_file> [--domainsuffix <uptycs_domain>]


The --domainsuffix flag is only required for uptycs domains other than '.uptycs.io'


This python script reads alerts from Uptycs and creates JIRA tickets from them. 

Each type of Uptycs alert to be processed must have a corresponding config file in 

the "./alert_config/" directory. Each config file has the Uptycs alert code and JSON

for the Jira ticket. 


The summary and description fields in the Jira JSON can reference the following Uptycs alert fields:

  $upt_hostname

  $upt_asset_id

  $key 

  $value 

  $alert_time 

  

The Jira ticket creation uses the following fields: project, issuetype, summary, description 

    

Jira configuration details (server, user, auth_token) must be set in the file: jira_config.json

Each time this script is run it pulls alerts for codes specified in the ./alert_config/*.json files

with timestamp greater than the last run time and less than the current run time. 

The first time it is run it goes back a maximum of 1 day. 

We recommend running this script every 30 mins and specifying a maximum interval of 15 mins

for SQL alerts. 

 

    • Related Articles

    • Uptycs alert integration with Rocket Chat

      Following is a step by step ReadMe for integration of Uptycs alert with Rocket Chat https://github.com/Uptycs/toolsreadme/blob/master/rocketchat.md
    • AWS Tag Creation From Uptycs Saved Queries

      aws_tag_from_query.py This script applies AWS tags to resources based on an Uptycs saved query. It uses the AWS Python SDK (boto3).  Usage:   python3 aws_tag_from_query.py <uptycs_apikey_file> [-q <"query name"> | --all] -k <key> [-v <value>] -ec2 ...
    • Demisto - Security Orchestration

      Integrate Uptycs into your Security Orchestration, Automation, and Response architecture using Demisto. Access a full repertoire of Uptycs "actions" directly from within Demisto, and integrate Uptycs actions into your playbooks with simple drag and ...
    • Auth0 Integration

      Overview This document outlines steps / information needed  to configure Auth0 authentication Procedure Create Uptycs Application Provision "Allowed Callback URLs", "Allowed Web Origins" Note : Replace <domain> with the actual domain. Enable SAML2 ...
    • SAML Configuration

      Uptycs supports SAML 2.0 authentication and is configured on the back-end by Uptycs Customer Success Team. Before generating metadata file on your side, request Uptycs to provide the config xml with contains Uptycs public cert. Here are the other ...