Comments (3)
The Notification endpoint has been added to master trunk, but it doesn't send an email ( /api/notification/email). Please download our master, find the issue and fix it.
In regards to SMS, the /api/notification/sms I don't see any parameters being parsed. We should be parsing SMS phone number and Message, which should contain a link to login to review the threat.
The above endpoints are great for having a generic way to send notifications. But, when sending this from Metron we should just be POSTing the Company, Site, Score to the /api/notification API and you should figure out who should be notified based on the users notification settings.
from threatdetectionservice.
Here's more detail on how we should be handling alerts coming from metron using the /api/metron/alerts URL.
We just need the threat id, company id, site id and score so that we can figure out who needs to be notified. So, above class needs to be changed so that it looks up the user that should be notified and notify that user. So, I would like to see a test where we send
/api/metron/alerts this payload
{
“threat_id": "ASnFODKFNDSK-23DSJO”,
“company_id” : “Flyball-Labs”,
“site_id” : “Site 1”,
“score” : 15
}
Then we should fire off a notification to users that are attached to the company id and/or site. The notification should either be an Email or SMS based on their notification preferences.
from threatdetectionservice.
Per our conversation, we agreed to change the payload to being the complete threat intel message. So, the /api/metron/alerts payload will just contain
{
"message":
}
from threatdetectionservice.
Related Issues (15)
- We need to implement the User and Agent Entity Based on Standards HOT 1
- Metron-Setup Script HOT 3
- Create central configuration files for the TMP API and GUI
- Metron won't enrich threat intel
- Expose Agent Configuration Parameters via GUI
- Adding Notification setting for a user HOT 1
- Add Facial Recognition
- Database Schema Should be Automatically Updated
- Login Errors
- Style the homepage and login page HOT 1
- Add an agent search and update HOT 1
- Expose Agent API functions
- Agent update script HOT 1
- Agent Authentication
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from threatdetectionservice.