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

Enable "exposures" as an ignore filter for xray_ignore_rule resource #301

Open
ivangonzalezz opened this issue Jan 29, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ivangonzalezz
Copy link

We're using the resource xray_ignore_rule to create ignore rules for our components. We have the use case now to filter out exposures for specific paths, such as secrets (as shown at the end of this document: https://jfrog.com/help/r/xray-rest-apis/create-ignore-rule)

This way, an ignore rule with a filter for exposures could be created via Terraform with the same resource than for vulnerabilities. For example:

resource "xray_ignore_rule" "example" {
  # .....

  exposures = {
    categories = ["secrets", "services"]
    file_path  = ["/etc/envoy/req.sw.envoy.admin-localhost.yaml"]
  }
}

I tried to implement it by myself but in the document I shared before it's not really self explanatory on which values are accepted, if they are optional or not...

Can I ask you to add this feature for xray_ignore_rule resource?

TY in advance!

@alexhung
Copy link
Member

@ivangonzalezz Thank you for the suggestion. I've added this to our plan.

@alexhung alexhung added the enhancement New feature or request label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants