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

Support Postfix operator in matchBinaries selector #2679

Closed
2 tasks done
anfedotoff opened this issue Jul 16, 2024 · 1 comment · Fixed by #2689
Closed
2 tasks done

Support Postfix operator in matchBinaries selector #2679

anfedotoff opened this issue Jul 16, 2024 · 1 comment · Fixed by #2689
Assignees
Labels
kind/enhancement This improves or streamlines existing functionality

Comments

@anfedotoff
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem?

Sometimes you know only binary name and this binary can be in different folders on different machines. In operator is limited by elements count.

Describe the feature you would like

Selector can look like:

- matchBinaries:
      - operator: "Postfix"
        values:
        - "qemu-system-x86_64"

Describe your proposed solution

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@anfedotoff anfedotoff added the kind/enhancement This improves or streamlines existing functionality label Jul 16, 2024
@mtardy
Copy link
Member

mtardy commented Jul 16, 2024

Thanks for opening the issue, the foundation work can be found here:

As stated in #1731:

Prepare the way to add the Prefix and NotPrefix operators. And after Postfix and NotPostfix.

You should be able to imitate #1732 for Postfix and NotPostfix.

As we talked about, I'll assign you to this since you wanted to work on it, please ping me for review when you have something. I can help you along the way if needed since this is something I wanted to eventually do (but I'm pleased you want to take care of it).

@anfedotoff anfedotoff changed the title Support Postfix operator in matchBinaries action Support Postfix operator in matchBinaries selector Jul 18, 2024
@mtardy mtardy linked a pull request Jul 22, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement This improves or streamlines existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants