feat: Add support for monitoring of InfraScan projects#89
Merged
Conversation
jkondrat
approved these changes
Jun 11, 2026
Collaborator
There was a problem hiding this comment.
One thing that came to mind while reviewing is that it would be valuable for the supported project statistics to also account for scans initiated via the CLI, so that the reporting reflects all scan entry points consistently.
That said, I don't see this as a blocker for the current PR.
jkondrat
approved these changes
Jun 11, 2026
| @app.route('/api/scans/supported-projects', methods=['GET']) | ||
| def get_supported_projects(): | ||
| """Return an aggregated list of infrastructure projects using InfraScan in the last 12 months.""" | ||
| results_dir = app.config['RESULTS_DIR'] |
Collaborator
There was a problem hiding this comment.
This aggregation appears to load and process all scan JSON files on demand. That could become quite expensive as the number of scans grows.
Might be worth adding some caching here.
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.
Supported Projects & Monitored Repository Scanning
Summary
This PR introduces support for monitored repositories and a new Supported Projects dashboard.
Main changes
monitored_projects.json)/supported-projectspageReview Request
This feature touches both backend processing and user-facing reporting, so I would appreciate a deep review focused on:
If you spot any architectural issues or future operational risks, please call them out even if they are outside the immediate scope of the implementation.
Thank you for taking the time to review this thoroughly.