Skip to content

Enhance default analysis mode to be aware of application configurations #1837

@sjd78

Description

@sjd78

Summary

When starting the analysis wizard, and selecting the analysis mode, a better default choice could be automatically made. This can avoid the case where there is a validation message displayed by static default choice. For example, we would like to avoid the analysis wizard opening looking like this:

Screenshot 2024-04-10 at 9 34 17 AM

Change requested

If 1 application has been selected to be analyzed and the application is configured to have...

  • Binary definitions only → select Binary
  • Source definitions only → select Source + Dependencies
  • Source and Binary definitions → select Source + Dependencies
  • No definitions → No default selection

If >1 application has been selected to be analyzed, two options are available:

  • Default to a static Source + Dependencies
  • Follow the same rules as for a single application and if they all select the same option, select that one. If any are different, default to a static Source + Dependencies

Reference

The enhancement follows up on #1364 and #1819 (comment)

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.priority/minorLowest priority. Possibly useful, but not yet enough support to actually get it done.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

Status

🏗 In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions