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

Add platform-specific tag to rules #506

Open
r0binak opened this issue Oct 8, 2024 · 2 comments
Open

Add platform-specific tag to rules #506

r0binak opened this issue Oct 8, 2024 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@r0binak
Copy link

r0binak commented Oct 8, 2024

This is only necessary for use in certain environments.

@tstromberg
Copy link
Collaborator

Spoke to @r0binak via e-mail, the gist here is to provide a way for folks who are only interested in rules that impact a single platform to filter by or ignore other platforms. For example, for a Linux CI/CD platform, you probably don't care about Windows hits.

What I propose is adding GOOS-style tags to our rules that only impact a subset of platforms:

  • linux
  • darwin
  • windows
  • solaris
  • ...

For 3rd party rules, we'll need to apply some heuristics to auto-tag rules: for example, rules that contain Win32 in their name should be tagged as Windows.

@tstromberg
Copy link
Collaborator

This has launched for a fair number of 1st party rules - we still need to add code to automatically do this for 3rd party rules based on heuristics (rule name, description)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants