mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-09-30 07:43:14 +00:00
LAM-M1: Add event/record validation at handler entry for all 4 SQS-triggered Lambdas. Validates Records key exists and is a non-empty list, checks each record has a body key, and catches malformed JSON separately to add to batchItemFailures. LAM-M5: Change logger.error() to logger.exception() inside all except blocks across pdf-extract, pdf-generate, suggestions, and library-ingest handlers so stack traces are included in CloudWatch logs for debugging. LAM-M8: Add _validate_s3_key() to pdf-extract, pdf-generate, and library-ingest that strips path traversal sequences (../, ..\), collapses double slashes, and rejects keys with disallowed characters via regex. |
||
|---|---|---|
| .. | ||
| app.py | ||
| requirements.txt | ||