Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
humilis-kinesis-processor
Advanced tools
.. |Build Status| image:: https://travis-ci.org/humilis/humilis-kinesis-processor.svg?branch=master :target: https://travis-ci.org/humilis/humilis-kinesis-processor .. |PyPI| image:: https://img.shields.io/pypi/v/humilis-kinesis-processor.svg?style=flat :target: https://pypi.python.org/pypi/humilis-kinesis-processor
|Build Status| |PyPI|
A humilis <https://github.com/humilis/humilis>
__ plugin to deploy a
Lambda <https://aws.amazon.com/documentation/lambda/>
__ function that
maps events in a Kinesis <https://aws.amazon.com/documentation/kinesis/>
__
event stream using a list of Python callables.
::
pip install humilis-kinesis-processor
Assuming you have
virtualenv <https://virtualenv.readthedocs.org/en/latest/>
__ installed:
::
make develop
Configure humilis::
.env/bin/humilis configure --local
Unit tests
To run the local test suite::
make test
Integration tests
Before running the integration test suite you need to set a few deployment secrets using the command::
s3keyring set [group]/[STAGE] [key] [secret]
In group humilis-kinesis-processor
the following secrets need to be set:
sentry/dsn
: The Sentry DSN <https://docs.getsentry.com/hosted/quickstart/#configure-the-dsn>
__.By the default, the integration tests will deploy on a stage called DEV
so
the command to set the Sentry DSN is::
s3keyring set humilis-kinesis-processor:DEV sentry.dsn [SENTRYDSN]
To run the integration test suite::
make testi
The command above will deploy a Kinesis processor to your AWS account, and will also create additional resources (such as several Kinesis streams) needed to test that the deployment was successful. Once deployed, the integration tests will run, and once they have completed the test environment will be destroyed.
If you do not want the test environment to be destroyed after tests have completed you should run instead::
make testi DESTROY=no
You can also modify the name of the deployment stage by setting the STAGE
environment variable. For instance, to deploy to a TEST
stage::
make testi STAGE=TEST
See humilis <https://github.com/humilis/humilis>
__ documentation.
If you have questions, bug reports, suggestions, etc. please create an issue on
the GitHub project page <http://github.com/humilis/humilis-kinesis-processor>
_.
This software is licensed under the MIT license <http://en.wikipedia.org/wiki/MIT_License>
_
See License file <https://github.com/humilis/humilis-kinesis-processor/blob/master/LICENSE.txt>
_
© 2016 Anatoly Bubenkov, German Gomez-Herrero, FindHotel <http://company.findhotel.net>
_ and others.
Anatoly Bubenkov <bubenkoff@gmail.com>
_
initial idea and first alpha implementation
German Gomez-Herrero <german.gomezherrero@gmail.com>
_
actual implementation and further developments
FAQs
Humilis kinesis stream processor plugin
We found that humilis-kinesis-processor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.