Skip to content

Feature/ig bump - #328

Merged
amitschendel merged 4 commits into
mainfrom
feature/ig-bump
Jul 16, 2024
Merged

Feature/ig bump#328
amitschendel merged 4 commits into
mainfrom
feature/ig-bump

Conversation

@amitschendel

Copy link
Copy Markdown
Contributor

Overview

Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
@amitschendel amitschendel added the release Create release label Jul 15, 2024
@amitschendel
amitschendel requested a review from matthyx July 15, 2024 14:57
Signed-off-by: Amit Schendel <amitschendel@gmail.com>

@matthyx matthyx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

maybe try to modify all rules to be as similar as possible?

return nil
}

upperLayer := true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why do you set to true here

for _, mount := range mounts {
fullPath := getExecFullPathFromEvent(execEvent)
if rule.isPathContained(fullPath, mount) || rule.isPathContained(execEvent.ExePath, mount) {
upperLayer := execEvent.UpperLayer || execEvent.PupperLayer

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

and not here as well?

// is memory mapped file

if strings.HasPrefix(execPathDir, "/proc/self/fd") || strings.HasPrefix(execEvent.Cwd, "/proc/self/fd") || strings.HasPrefix(execEvent.ExePath, "/proc/self/fd") {
upperLayer := execEvent.UpperLayer || execEvent.PupperLayer

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ditto

@github-actions

Copy link
Copy Markdown

Summary:

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

@amitschendel
amitschendel merged commit dd748f4 into main Jul 16, 2024
@amitschendel
amitschendel deleted the feature/ig-bump branch July 16, 2024 09:19
entlein pushed a commit to k8sstormcenter/node-agent that referenced this pull request Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Create release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants