Expose structured EOL lifecycle data#84
Merged
Merged
Conversation
Co-authored-by: Amp <amp@ampcode.com> Amp-Thread-ID: https://ampcode.com/threads/T-019e84de-2503-7335-a36d-8da06c5607f9
bakayolo
force-pushed
the
bena/eol-lifecycle-blocks
branch
from
June 1, 2026 21:07
e183ff1 to
8c23827
Compare
nandiheath
approved these changes
Jun 1, 2026
bakayolo
added a commit
that referenced
this pull request
Jun 1, 2026
## Summary - restore Lambda `eol_date` mapping to the actionable `support` date so past-support runtimes classify as RED - keep `deprecated_support_end` mapped to upstream `eol` so the later AWS terminal deprecated-support date remains available in the structured `eol` block - update adapter tests and docs to lock the intended Lambda semantics ## Why A staging scan on current `origin/main` (`3c14919`, snapshot `74d2db30-df1f-442e-87ce-4f84baba0a7d`) showed 4,172 Lambda resources moving RED → YELLOW compared with the v0.5.6 snapshot `82dd88b4-33d3-4960-b0ce-0a3c4044fca3`. The resource inventory was unchanged (28,294 resources, 0 added/removed); the drift was caused by #84 changing Lambda `eol_date` from `support` to upstream `eol`, making past-actionable-date runtimes `deprecated_support`/YELLOW until AWS terminal support ends. ## Test plan - `go test ./pkg/eol/endoflife ./pkg/config ./pkg/policy ./pkg/workflow/detection` Co-authored-by: Amp <amp@ampcode.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
EOLDateJSON with a structuredeolblockactionable_datedeprecated_support_end/deprecated_supportsupport and update Lambda lifecycle mappingWhy
Some products expose multiple relevant lifecycle dates. RDS MySQL now needs both minor-version standard-support dates and later major/extended support dates. The collector should preserve all available lifecycle dates, but only warn early on the first actionable boundary.
Validation
go test ./pkg/types ./pkg/eol/endoflife ./pkg/policy ./pkg/workflow/detection ./pkg/snapshotgo test ./pkg/config