L1 security personnel have lots of manual work, which can be significantly automated to minimize effort and increase efficiency. One such L1 activity is to check whether the offense triggered on QRadar® is valid by using rule-based validation. Robotic process automation (RPA) is software that helps automate the highly repetitive tasks many security employees perform, often at the expense of creative problem-solving and customer-centric work. In this developer code pattern, we have developed a methodology to determine if the offense is valid or invalid. Applying this pattern can significantly bring down the time L1 security personnel spends on manual validation.
We will demonstrate the automation with the following use case. A vehicle has been assigned a speed limit of 100 kph. If the speed of the vehicle exceeds 100 kph, it is a violation. If the vehicle’s speed exceeds 100 kph twice within 15 min, an offense will be generated on QRadar. In this code pattern, we will manually send speed violation events and generate an offense on QRadar. Once the offense shows up on QRadar, the offenses watch application will automatically detect the offense and trigger the validation bot. This bot will run the validation application to validate the detected offense and tell us if it is valid or invalid.
When you have completed this code pattern, you will understand how to:
- Automate using RPA
- Extract offenses from QRadar using REST APIs
- Automate security L1 activities
- Create a universal DSM log source in QRadar
- Create a rule to detect the offense in QRadar
- Trigger the rules extraction bot.
- The bot will extract the necessary rules.
- The bot will store the rules in rules.txt.
- Run the offenses watch application, which will look for new offenses showing up in QRadar.
- Run the offenses application.
- The offenses application will send speed violation events/logs to QRadar. This will generate the offense in QRadar.
- The offense generated in QRadar gets detected by the offences watch application.
- The watch application triggers the validation bot.
- The validation bot extracts required information from QRadar.
- The bot stores the extracted information in validation.txt and runs the validation application.
- The validation application validates and determines whether the offense triggered is valid or invalid.
Ready to give it a try? Check out the README for step-by-step instructions.