brexhq / substation

Substation is a toolkit for routing, normalizing, and enriching security event and audit logs.
https://substation.readme.io
MIT License
322 stars 16 forks source link

fix(cmd): Out of Bounds int32 Check in AWS Lambda Autoscale #238

Closed andrew-kline closed 13 hours ago

andrew-kline commented 17 hours ago

Description

Motivation and Context

Solves potential overflow issue if the Kinesis downscale and upscale datapoints values are outside the upper bound for int32. This occurs in init - failure should occur pre-runtime if the env var(s) are set incorrectly.

How Has This Been Tested?

N/A

Types of changes

Checklist: