microsoft / microsoft/AttackSurfaceAnalyzer

Reduce size of analysis stored in db

Open
#681 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
3k
Forks
294
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
We should change the format for the comparison results in the db to not include full objects, instead referencing the correct row in the collect table, this should reduce database size, and improve the speed of writing comparison to the db.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by tracing where comparison results and rows in the collect table are stored, then determine how references should replace embedded objects without breaking reads or writes. Done means comparison data is stored in the smaller referenced format and its behavior remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.