-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
"""A package for alert plugins packaged with this project. | ||
This package contains alert plugins that are packaged as part of this | ||
project. The alert plugins implement a function named ``write()`` that | ||
accepts input records and typically sends them to an alerting | ||
destination. The alert plugins also implement and a function named | ||
``done`` that perform cleanup work when called. | ||
Note that the alert plugins implement the exact same interface as the | ||
store plugins in the :mod:`cloudmarker.stores` package. So a store | ||
plugin can usually serve equally well as an alert plugin, and vice | ||
versa. In fact, some of the store plugins such as | ||
:class:`cloudmarker.stores.esstore.EsStore` and | ||
:class:`cloudmarker.stores.mongodbstore.MongoDBStore` are indeed used as | ||
alert plugins too because security events can be alerted by storing them | ||
in an Elasticsearch index or MongoDB collection. | ||
If a plugin can serve as both a store plugin and an alert plugin, we | ||
keep them in the :mod:`cloudmarker.stores` package. If a plugin makes | ||
sense only as an alert plugin, we keep them in this | ||
:mod:`cloudmarker.alerts` package. | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
cloudmarker.alerts package | ||
========================== | ||
|
||
.. automodule:: cloudmarker.alerts | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Submodules | ||
---------- | ||
|
||
cloudmarker.alerts.emailalert module | ||
------------------------------------ | ||
|
||
.. automodule:: cloudmarker.alerts.emailalert | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
cloudmarker.alerts.slackalert module | ||
------------------------------------ | ||
|
||
.. automodule:: cloudmarker.alerts.slackalert | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters