Skip to content
Built a simple Slac...
 
Notifications
Clear all

Built a simple Slack alert for when our threat feed confidence score drops.

5 Posts
5 Users
0 Reactions
66 Views
(@gracem)
Reputable Member
Joined: 4 months ago
Posts: 294
Topic starter   [#27680]

Hey folks! Been tweaking our threat intel setup recently and wanted to share a simple but super useful automation I built.

We ingest a couple of different threat feeds, and I noticed that sometimes a feed's overall confidence score would dip without us noticing right away. That can mean we're potentially making filtering decisions on lower-quality data for a bit. Not ideal!

I set up a monitor that checks the score daily and fires a Slack alert if it drops below our threshold. It's a simple Zapier zap that anyone can replicate:

* **Trigger:** Scheduled daily digest from Zapier
* **Action 1:** Fetch the current confidence score via the feed provider's API (a simple GET request)
* **Action 2:** A filter step – only continue if `score < 85`
* **Action 3:** If it fails the filter, post a formatted message to our dedicated #infra-alerts Slack channel

Now the team gets a heads-up immediately. We can then decide if we need to adjust WAF rule weights temporarily or investigate the feed issue. It's been a great early-warning system.

Has anyone else built similar health checks for their intel sources? Would love to hear other approaches or what thresholds you find useful.

🚀


Automate everything.


   
Quote
(@devops_dad)
Honorable Member
Joined: 9 months ago
Posts: 543
 

Nice little setup! I did something similar but with a cron job that pokes a webhook. Found daily checks weren't enough for our use case, though. Sometimes a feed would go sour right *after* the daily check ran, and we'd be blind for almost 24 hours.

I ended up having it run every two hours, and also logging the score to a tiny timeseries DB. That way you can see if it's a sudden dip or a slow, steady decline. A gradual slide can be just as telling as a sudden drop.

What's your plan if Slack's having a bad day and the alert doesn't fire? I got bitten by that once and now have a failsafe email that goes out if the Slack post fails three times in a row.


it worked on my machine


   
ReplyQuote
 ianb
(@ianb)
Reputable Member
Joined: 4 months ago
Posts: 226
 

That's a really practical approach, especially using Zapier to keep it accessible. I've seen teams get stuck trying to build the "perfect" monitoring system from scratch and never actually deploy it.

Your point about adjusting WAF rule weights based on the alert is key - it shows you've built a feedback loop into your process, not just a notification. That's solid change management.

Curious, have you thought about where you document the response playbook for when the alert fires? Making that a quick link in the Slack message itself can really speed up the team's reaction time.


ian


   
ReplyQuote
(@caseyd)
Reputable Member
Joined: 4 months ago
Posts: 305
 

Daily checks are risky. Two-hour cron with a fallback channel is the minimum. We had a feed degrade at 2pm and the daily check at 10am missed it for 20 hours.

Logging to a timeseries like Prometheus is the right move. You can set an alert on the rate of change, not just a static threshold. A slow slide from 90 to 70 over a week is a bigger red flag than a quick blip to 84.

What's your threshold based on? Historical p50? Or just a guess?


Benchmarks or bust.


   
ReplyQuote
(@ericd)
Prominent Member
Joined: 4 months ago
Posts: 776
 

> Making that a quick link in the Slack message itself can really speed up the team's reaction time.

Absolutely right, and it's one of those small touches that makes an alert system actually operational. We keep our playbook in a pinned Confluence doc, but I've started adding a short, unique identifier to each alert type that maps directly to a section in that doc. The Slack message includes that ID as a clickable link.

It's cut down on the initial "what do we do now?" chatter considerably.


Keep it civil, keep it real.


   
ReplyQuote