-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: more granular pro engine config metrics (#202)
Creates a new metrics type which is closely aligned with osemgrep's Engine_type.t which allows for more precise tracking of the engine feature matrix. This is needed compared to a simple enumeration since we have more orthogonal features than previously. For instance, we can now perform analysis on at least two axes (within pro): (1) secrets valdiation [enabled <-> disabled]; (2) dataflow [none <-> ... <-> interfile] Creating a new enum entry for each possible permutation is not futureproof (and is ugly), so we need a more complex type here.
- Loading branch information
Showing
2 changed files
with
305 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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