microsoft / microsoft/AttackSurfaceAnalyzer

During Analysis, Warn User and Ignore Collected Verticals That Don't Exist in Both Runs

Open
#733 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.
It may be confusing to a user if they did not use the same set of collection arguments for two runs and mistakenly try to compare them, resulting in a huge data set that is not particularly meaningful.
Describe the solution you'd like
Print a warning to the screen to the user about the collectors that are mismatched and exclude that vertical from the analysis.

Describe alternatives you've considered
May also be helpful to have a new flag that allows forcing comparison if you wanted to essentially export the result of a single collection run. Also need to check if this has an impact on doing analysis for monitor runs which do not have a compare run.

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

The issue does not name files, tests, or an entry point. Start by locating the analysis code that compares collectors or verticals between two runs, then trace how monitor runs without a compare run are handled. Done means mismatched collectors are identified, warned about, and excluded without breaking single-run analysis.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.