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

fix(policyMatcher): handling relative path resource by joining it with cwd #1859

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

Prateeknandle
Copy link
Collaborator

@Prateeknandle Prateeknandle commented Sep 3, 2024

Purpose of PR?:

Fixes #750

Does this PR introduce a breaking change?
no

If the changes in this PR are manually verified, list down the scenarios covered::

Additional information for reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs

Checklist:

  • Bug fix. Fixes #
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • PR Title follows the convention of <type>(<scope>): <subject>
  • Commit has unit tests
  • Commit has integration tests

@Prateeknandle Prateeknandle marked this pull request as ready for review September 3, 2024 17:21
daemon1024
daemon1024 previously approved these changes Sep 4, 2024
@Prateeknandle
Copy link
Collaborator Author

now passing the generated full path to BuildPidNode(), in order to get updated processName as well.

…h cwd

Signed-off-by: Prateek <prateeknandle@gmail.com>
Signed-off-by: Prateek <prateeknandle@gmail.com>
Copy link
Member

@Aryan-sharma11 Aryan-sharma11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Aryan-sharma11 Aryan-sharma11 merged commit ae5f57c into kubearmor:main Sep 9, 2024
16 checks passed
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.

policy matching with relative path access has issues with telemetry/alerts
3 participants