Describe the issue
CKV_AWS_363 is using an out of date set of deprecations. More need to be deprecated to be accurate.
Examples
If you check the amended test samples in the PR below, I've had to amend out-of-date tests that would be deprecated by the proper check dates.
Version (please complete the following information):
AWS's documentation on the deprecated runtime versioning: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-deprecated
(Note that Python 3.8 and 3.9 have been deprecated since the PR below was spun up.)
Additional context
PR: #7284
The PR involved more than just adding dates, as 3.9 was being used for passing-test scenarios. Also, other errors to unit tests were encountered after merging in main, so more code edits were required to achieve fully working unit tests.
Describe the issue
CKV_AWS_363 is using an out of date set of deprecations. More need to be deprecated to be accurate.
Examples
If you check the amended test samples in the PR below, I've had to amend out-of-date tests that would be deprecated by the proper check dates.
Version (please complete the following information):
AWS's documentation on the deprecated runtime versioning: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-deprecated
(Note that Python 3.8 and 3.9 have been deprecated since the PR below was spun up.)
Additional context
PR: #7284
The PR involved more than just adding dates, as 3.9 was being used for passing-test scenarios. Also, other errors to unit tests were encountered after merging in main, so more code edits were required to achieve fully working unit tests.