Skip to content

feat: Add support for monitoring of InfraScan projects#89

Merged
igor-soldev merged 1 commit into
mainfrom
feature/infrascan-projects
Jun 11, 2026
Merged

feat: Add support for monitoring of InfraScan projects#89
igor-soldev merged 1 commit into
mainfrom
feature/infrascan-projects

Conversation

@igor-soldev

Copy link
Copy Markdown
Member

Supported Projects & Monitored Repository Scanning

Summary

This PR introduces support for monitored repositories and a new Supported Projects dashboard.

Main changes

  • Added monitored repositories configuration (monitored_projects.json)
  • Added automated repository scanning support
  • Added refresh endpoint for monitored repositories
  • Added aggregation logic for supported projects
  • Added /supported-projects page
  • Added API endpoint for retrieving aggregated supported project statistics
  • Added GitHub Actions metadata support to scan results
  • Added search and pagination support in the frontend

Review Request

This feature touches both backend processing and user-facing reporting, so I would appreciate a deep review focused on:

  • Security concerns
  • Hidden edge cases
  • Data consistency issues
  • Scalability concerns
  • Long-term maintainability

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.

@igor-soldev igor-soldev requested a review from jkondrat June 10, 2026 08:32
@igor-soldev igor-soldev added the enhancement New feature or request label Jun 10, 2026

@jkondrat jkondrat left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread app.py
@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']

@jkondrat jkondrat Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@igor-soldev igor-soldev merged commit 42a6349 into main Jun 11, 2026
2 checks passed
@igor-soldev igor-soldev deleted the feature/infrascan-projects branch June 15, 2026 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants