brexhq / substation

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

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

Closed andrew-kline closed 1 month ago

andrew-kline commented 1 month 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: