-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] Add Authors, Contributors, and additional doc changes #28
Conversation
c635933
to
c3dbbe9
Compare
CONTRIBUTING.rst
Outdated
|
||
StreamAlert contains unit tests for many parts of the code. When making changes, you need to ensure that you do not break existing functionality. To run unit tests locally:: | ||
|
||
$ nosetests -v test/unit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
denote the directory this should be run from
CONTRIBUTING.rst
Outdated
|
||
Each test should end with ``... ok``, and finally you should see ``OK`` at the end. | ||
|
||
If you are making changes which require test refactoring, please do so. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unit test refactoring
CONTRIBUTING.rst
Outdated
|
||
If you are making changes which require test refactoring, please do so. | ||
|
||
If you are adding features to existing classes with tests, you must add test cases to verify your changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to verify your changes do what you expect them to
CONTRIBUTING.rst
Outdated
Integration Testing | ||
~~~~~~~~~~~~~~~~~~~ | ||
|
||
To verify StreamAlert end to end locally, follow the testing instructions `here <https://streamalert.io/rules.html>`_. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To verify StreamAlert works from end-to-end, locally, follow ...
CONTRIBUTING.rst
Outdated
Pull Request | ||
------------ | ||
|
||
Once your branch is ready, push it to your forked repository, and make a pull-request to the main ``airbnb/streamalert`` repo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once your code is ready for review, push ...
docs/source/conf-datasources.rst
Outdated
|
||
Overview | ||
-------- | ||
|
||
Datasources are defined in ``conf/sources.json`` | ||
* Datasources defined in ``conf/sources.json`` control which datasources can send to and be analyzed by StreamAlert. | ||
* Each datasource (``kinesis``, ``s3``) contains a mapping of specific entity names (kinesis streams, s3 buckets) along with a list of logs coming from that source. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"contains a mapping of specific entity names (kinesis streams, s3 buckets)" - this may be confusing for folks, what's an "entity" or "entity name"
docs/source/getting-started.rst
Outdated
|
||
1. Define your `account <account.html>`_ | ||
1. Create your `AWS account <account.html>`_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Define vs. Create (define implies you can use existing or create a new one)
docs/source/rules.rst
Outdated
|
||
matchers | ||
~~~~~~~~ | ||
|
||
``matchers`` defines the conditions that need to be satisfied in order for the ``def`` function block to run against an incoming record. | ||
``matchers`` define the additional conditions that must be satisfied for an alert to be triggered. This serves two purposes: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
they are conditions that must be satisfied before a rule even executes
docs/source/rules.rst
Outdated
|
||
Matchers can serve 2 purposes: | ||
Matchers are generally defined in ``rules/matchers.py``, but they can also in rule files if the following line is added:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Matchers are defined in ``rules/matchers.py`. If desired, matchers can also be defined in Rule files if the following line is added to the top of the Rule files
docs/source/rules.rst
Outdated
|
||
Within each of these folders you can define: | ||
In order to test the effectiveness of our new rules, we can run a set of local integration tests to verify alerts would be triggered. The `stream_alert_cli.py` command line tool comes built-in with a `lambda test` command. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you switched from 'you' to 'we', I suggest switching back
585b7ae
to
93454c8
Compare
eeebd60
to
de7dfec
Compare
🎉 Yay for documentation! 📜 🎉 |
de7dfec
to
077d9eb
Compare
[docs] update docs with additional deployment and setup details [docs] add streamalert authors [docs] add contributing guide [docs] feedback from #28 [docs] add streamalert logo [docs] README updates
[docs] update docs with additional deployment and setup details [docs] add streamalert authors [docs] add contributing guide [docs] feedback from #28 [docs] add streamalert logo [docs] README updates
077d9eb
to
40489d5
Compare
to @airbnb/streamalert-maintainers
size: med
CONTRIBUTING.rst
andAUTHORS.rst
jinja2
torequirements.txt