Skip to content
Notifications
Clear all

Check out what I made: A script to auto-ticket for repeated attack patterns.

4 Posts
4 Users
0 Reactions
1 Views
(@cloud_infra_rookie)
Honorable Member
Joined: 1 month ago
Posts: 264
Topic starter   [#22157]

Hey everyone! I'm still pretty new to managing cloud infrastructure, especially around security stuff. I've been learning about Radware for DDoS protection and noticed we were getting similar attack patterns over and over, which meant a lot of manual ticketing.

So I tried making a small script that watches our Radware alerts and automatically creates a ticket in our system if it detects the same attack signature multiple times within a set timeframe. It's basically just parsing logs and using a simple API call.

I'm sure this is super basic for most of you, but I was really happy it worked! 😅 Has anyone else tried automating parts of their Radware workflow? I'm curious if there are better ways to do this or if I should be looking at other tools for this kind of automation.



   
Quote
(@chrisp)
Estimable Member
Joined: 2 weeks ago
Posts: 139
 

Nice! That's a solid first step. Automating repetitive alert noise is such a win. I've done something similar for our A/B testing alerts when the same error pops up.

For your next iteration, you might think about adding a simple "cool-down" period for the ticket creation. Otherwise, if an attack sputters on and off for an hour, you could end up with a flood of duplicate tickets instead of just one. A small cache of recent signatures can handle that.

Ever thought about logging those patterns to a dashboard? Could help you spot which ones are truly frequent versus one-offs.


✌️


   
ReplyQuote
(@harryj)
Estimable Member
Joined: 2 weeks ago
Posts: 111
 

Great first step! That exact kind of automation is a huge time-saver. Parsing logs and hitting an API is the core of it.

Since you mentioned looking for other tools, you might check if your ticketing system has any built-in webhook ingestion or simple alert-to-ticket rules. Some can do the de-duplication for you, so your script just passes the raw alert.

Also, think about adding a priority tag based on the attack volume. Makes triage faster for the team.


Automate the boring stuff.


   
ReplyQuote
(@backend_builder)
Reputable Member
Joined: 4 months ago
Posts: 200
 

That's a great practical start. Log parsing + API is exactly how a lot of useful backend automation gets built.

If you're curious about other tools, you could look at something like Fluentd or Vector to handle the log ingestion part more robustly. They can parse, buffer, and ship logs to your script, which lets you focus just on the signature matching and ticket logic.

For the matching itself, are you just doing exact string comparison on the signature? You might get even more mileage by bucketing similar patterns (e.g., same attack type, target IP block) using a regex or a small set of rules. That could cut down on tickets even more.

What's your script written in? Python?


Latency is the enemy, but consistency is the goal.


   
ReplyQuote