Upload sample-reports and standardize on Python 3.12#48
Merged
agasthik merged 1 commit intoJul 9, 2026
Merged
Conversation
- capture_screenshots.py now remaps real 12-digit account IDs to well-known AWS example IDs before capturing, with a shared, deterministic mapping across both sample reports - Re-anonymized sample HTML reports and regenerated screenshots - Use Python 3.12 consistently across README badge, prerequisites, CI description, and the python-tests workflow matrix
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.
Description of changes:
Summary
Two related housekeeping changes to the sample reports and project metadata:
reports are replaced with well-known AWS documentation example account IDs (e.g.
111122223333,123456789012)said 3.11+, prerequisites said 3.12+, CI tested both). All references now consistently target 3.12, matching
the Lambda runtime already pinned to
python3.12in both SAM templates.Changes
Account ID anonymization
sample-reports/scripts/capture_screenshots.pynow runs ananonymize_account_ids()step beforecapturing screenshots. It:
shared, deterministic mapping so an account appearing in multiple reports maps to the same placeholder
everywhere.
\b\d{12}\b) so digit runs embedded in longer numbers aren't touched.security_assessment_single_account.htmlandsecurity_assessment_multi_account.html.Python 3.12 consistency
README.md: badge3.11+→3.12, prerequisites3.12+→3.12, CI table description →Python 3.12..github/workflows/python-tests.yml: test matrix["3.11", "3.12"]→["3.12"].By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.