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

Propagation of container details #499

Closed
wants to merge 1 commit into from

Conversation

slashben
Copy link
Contributor

@slashben slashben commented Mar 6, 2025

This pull request to pkg/rulemanager/v1/rule_manager.go includes changes to improve the enrichment of rule failures with Kubernetes and container details. The most important changes include the introduction of a new method to handle this enrichment and the refactoring of existing code to use this new method.

Improvements to rule failure enrichment:

  • Added a new method enrichRuleFailureWithContainerDetails to encapsulate the logic for enriching rule failures with Kubernetes and container details.
  • Refactored the enrichRuleFailure method to utilize the new enrichRuleFailureWithContainerDetails method for adding Kubernetes and container details to rule failures.

@slashben slashben requested review from matthyx and amitschendel March 6, 2025 06:07
@slashben slashben marked this pull request as ready for review March 6, 2025 06:07
matthyx
matthyx previously approved these changes Mar 6, 2025
Copy link

github-actions bot commented Mar 6, 2025

Summary:

  • License scan: failure
  • Credentials scan: failure
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

@slashben slashben force-pushed the fix/propagation-of-container-details branch from 8730335 to 80d62f9 Compare March 6, 2025 06:55
Copy link

github-actions bot commented Mar 6, 2025

Summary:

  • License scan: failure
  • Credentials scan: failure
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

@matthyx matthyx closed this Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants