Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Debug existing rules #1227

Open
Dietr1ch opened this issue Dec 1, 2024 · 0 comments
Open

[Feature Request] Debug existing rules #1227

Dietr1ch opened this issue Dec 1, 2024 · 0 comments
Labels
feature a whole new feature

Comments

@Dietr1ch
Copy link

Dietr1ch commented Dec 1, 2024

Summary:

When prompted about a new connection it'd be nice to be able to understand why a certain rule didn't apply to the connection.

Use case

  • I start a new application and shortly add a new rule for it.
  • Later, I get a new prompt for a new connection from the same App
    • However, I think that it should be captured by the existing rule.

Today

  • I just write a new rule, and then try to do a side-by-side diff to understand how my first rule missed this case, and then fix the first and only rule.

With debugging UI

  • I select which rule should've covered this case.
    • The UI shows my what rule matchers passed and which ones failed so I can better understand why the rule didn't work.
    • I notice an error and fix the existing rule by relaxing constraints around all the missed rule matchers.
@Dietr1ch Dietr1ch added the feature a whole new feature label Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a whole new feature
Projects
None yet
Development

No branches or pull requests

1 participant