airbnb / streamalert

StreamAlert is a serverless, realtime data analysis framework which empowers you to ingest, analyze, and alert on data from any environment, using datasources and alerting logic you define.
https://streamalert.io
Apache License 2.0
2.86k stars 334 forks source link

[packaging] utilize a lambda layer for rules in the rules engine lambda #1271

Open ryandeivert opened 4 years ago

ryandeivert commented 4 years ago

Background

As we move toward packaging improvements, we should consider using an AWS Lambda Layer for management of rules deployed to the rules engine.

Desired Change

Add support for zipping / applying a new lambda layer for streamalert rules without having to deploy the rule rules engine code.

Things to consider:

Third party dependencies used by rules that are not part of the 'core' rules engine code. Maybe have a secondary layer for these?