Comments (3)
Hi Brian,
You've got it right: the OC daemon isn't intended to send the emails (or even alerts) directly. It logs events to the Correlator which condenses multiple events into an single alert that it can send off. The default OC config file includes a directive log to the Correlator, which will be able to send off an email.
https://github.com/thinkst/opencanary/blob/master/opencanary/data/settings.json#L57
from opencanary.
Ok thanks much, I can make email alerts work pretty well with inotify-tools
so I think I'm good to go, just wanted to check on the "right" way to do this. Have a great day.
from opencanary.
Hi,
Just looking at OpenCanary, sorry to comment on a closed issue, but email alerts do seem to work from the OC daemon as @braimee was attempting to do.
"SMTP": {
"class": "logging.handlers.SMTPHandler",
"mailhost": ["smtp.sendgrid.net", 25],
"fromaddr": "[email protected]",
"toaddrs" : ["[email protected]"],
"subject" : "OpenCanary Alert",
"credentials" : ["username","password"]
}
from opencanary.
Related Issues (20)
- How to get modules to run with my own writing HOT 5
- Issue with the portscan feature, when running in docker. HOT 2
- error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 HOT 3
- Missing quotes to "verify": False ? HOT 2
- question: Where to see the login( credentials) details? HOT 2
- Ubuntu - Autostart Service in Python Virtual Enviroment HOT 4
- SQLFactory does not log any activity HOT 1
- syslog utc timestamp data fields HOT 1
- New web Skin
- Opencanary send out alarms days after event HOT 4
- How can I downgrade RDP. py in version 0.9.0, as I would like it to be in version 0.4 of the Python 2.7 environment? HOT 3
- Feature Request: RDP full authentication flow HOT 1
- Splunk not ingesting opencanary.log HOT 2
- [BUG] Putty and Powershell ssh client not able to recognize this fake ssh service HOT 4
- [BUG] v0.91 Seems to have problem with Telnet (Tested on Ubuntu 20.04 and 22.04) HOT 3
- [BUG] v0.90 seems to log SSH as a port-scanning even with port-scanning disabled. HOT 2
- [BUG] nasLogin skin (&CSS) - does not work when reverse proxying the HTTP stack HOT 10
- Ability to customize/extend input filed names of http.skin form elements. HOT 5
- [BUG] portmap not being written to /var/tmp/opencanary.log HOT 13
- LLMNR Support? HOT 4
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 opencanary.