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

Adding host network watcher #486

Merged
merged 4 commits into from
Feb 18, 2025
Merged

Conversation

amitschendel
Copy link
Collaborator

Overview

Signed-off-by: Amit Schendel <[email protected]>
@amitschendel amitschendel merged commit ad5b15b into feature/host-agent Feb 18, 2025
5 of 7 checks passed
@amitschendel amitschendel deleted the feature/network-scan branch February 18, 2025 13:44
matthyx added a commit that referenced this pull request Feb 20, 2025
* First commit

Signed-off-by: Ben <[email protected]>

* Adding base host rules

Signed-off-by: Amit Schendel <[email protected]>

* Adding base code of host rule manager

Signed-off-by: Amit Schendel <[email protected]>

* Adding mock

Signed-off-by: Amit Schendel <[email protected]>

* fixing process details

Signed-off-by: Ben <[email protected]>

* Adding main support for rule manager

Signed-off-by: Amit Schendel <[email protected]>

* Removing import

Signed-off-by: Amit Schendel <[email protected]>

* Adding process tree support

Signed-off-by: Amit Schendel <[email protected]>

* Adding fixed config

Signed-off-by: Amit Schendel <[email protected]>

* Chaning log to debug to prevent spamming

Signed-off-by: Amit Schendel <[email protected]>

* Adding new code

Signed-off-by: Amit Schendel <[email protected]>

* Adding rules

Signed-off-by: Amit Schendel <[email protected]>

* Adding fixed rules

Signed-off-by: Amit Schendel <[email protected]>

* Adding path and rules

Signed-off-by: Amit Schendel <[email protected]>

* Commenting read env variable from proc

Signed-off-by: Amit Schendel <[email protected]>

* Added host agent rules (#485)

* Added host agent rules

Signed-off-by: Afek Berger <[email protected]>

* fixed tests & naming

Signed-off-by: Afek Berger <[email protected]>

---------

Signed-off-by: Afek Berger <[email protected]>

* Fixing rule name

Signed-off-by: Amit Schendel <[email protected]>

* Configuring event receiver export

Signed-off-by: Ben <[email protected]>

* fix

Signed-off-by: Ben <[email protected]>

* Fixing test

Signed-off-by: Amit Schendel <[email protected]>

* Changing unused params to _

Signed-off-by: Amit Schendel <[email protected]>

* Adding syscall peeking

Signed-off-by: Amit Schendel <[email protected]>

* Adding rule creation at constructor

Signed-off-by: Amit Schendel <[email protected]>

* Adding generic cooldown queue

Signed-off-by: Amit Schendel <[email protected]>

* implementing caching in the hosthashsensor

Signed-off-by: Ben <[email protected]>

* skip env check when running on host

Signed-off-by: Matthias Bertschy <[email protected]>

* fix kernel version parsing

Signed-off-by: Matthias Bertschy <[email protected]>

* Using temp k8s interface

Signed-off-by: Amit Schendel <[email protected]>

* Adding cloudmetadata to alerts

Signed-off-by: Amit Schendel <[email protected]>

* First commit

Signed-off-by: Ben <[email protected]>

* Adding base host rules

Signed-off-by: Amit Schendel <[email protected]>

* Adding base code of host rule manager

Signed-off-by: Amit Schendel <[email protected]>

* Adding mock

Signed-off-by: Amit Schendel <[email protected]>

* fixing process details

Signed-off-by: Ben <[email protected]>

* Adding main support for rule manager

Signed-off-by: Amit Schendel <[email protected]>

* Removing import

Signed-off-by: Amit Schendel <[email protected]>

* Adding process tree support

Signed-off-by: Amit Schendel <[email protected]>

* Adding fixed config

Signed-off-by: Amit Schendel <[email protected]>

* Chaning log to debug to prevent spamming

Signed-off-by: Amit Schendel <[email protected]>

* Adding new code

Signed-off-by: Amit Schendel <[email protected]>

* Adding rules

Signed-off-by: Amit Schendel <[email protected]>

* Adding fixed rules

Signed-off-by: Amit Schendel <[email protected]>

* Adding path and rules

Signed-off-by: Amit Schendel <[email protected]>

* Commenting read env variable from proc

Signed-off-by: Amit Schendel <[email protected]>

* Added host agent rules (#485)

* Added host agent rules

Signed-off-by: Afek Berger <[email protected]>

* fixed tests & naming

Signed-off-by: Afek Berger <[email protected]>

---------

Signed-off-by: Afek Berger <[email protected]>

* Fixing rule name

Signed-off-by: Amit Schendel <[email protected]>

* Configuring event receiver export

Signed-off-by: Ben <[email protected]>

* fix

Signed-off-by: Ben <[email protected]>

* Fixing test

Signed-off-by: Amit Schendel <[email protected]>

* Changing unused params to _

Signed-off-by: Amit Schendel <[email protected]>

* Adding syscall peeking

Signed-off-by: Amit Schendel <[email protected]>

* Adding rule creation at constructor

Signed-off-by: Amit Schendel <[email protected]>

* Adding generic cooldown queue

Signed-off-by: Amit Schendel <[email protected]>

* implementing caching in the hosthashsensor

Signed-off-by: Ben <[email protected]>

* Using temp k8s interface

Signed-off-by: Amit Schendel <[email protected]>

* Adding cloudmetadata to alerts

Signed-off-by: Amit Schendel <[email protected]>

* skip env check when running on host

Signed-off-by: Matthias Bertschy <[email protected]>

* fix kernel version parsing

Signed-off-by: Matthias Bertschy <[email protected]>

* split main into node and host agent

Signed-off-by: Matthias Bertschy <[email protected]>

* Ptracewatcher

Signed-off-by: Ben <[email protected]>

* Adding host network watcher (#486)

* Adding host network watcher

Signed-off-by: Amit Schendel <[email protected]>

* Fixing process tree

Signed-off-by: Amit Schendel <[email protected]>

* adding a goreleaser config

Signed-off-by: Matthias Bertschy <[email protected]>

---------

Signed-off-by: Amit Schendel <[email protected]>
Signed-off-by: Matthias Bertschy <[email protected]>
Co-authored-by: Matthias Bertschy <[email protected]>

* Fixing Dockerfile - @matthias blame

Signed-off-by: Amit Schendel <[email protected]>

* fix

Signed-off-by: Ben <[email protected]>

* Removing network on host

Signed-off-by: Amit Schendel <[email protected]>

* Clean unused code

Signed-off-by: Amit Schendel <[email protected]>

* Removing io_uring init on host

Signed-off-by: Amit Schendel <[email protected]>

* Adding reporting of open and exec to hash sensor

Signed-off-by: Amit Schendel <[email protected]>

* Adding injected rule creator

Signed-off-by: Amit Schendel <[email protected]>

* Public validate

Signed-off-by: Amit Schendel <[email protected]>

* Removing files

Signed-off-by: Amit Schendel <[email protected]>

* Removing host container

Signed-off-by: Amit Schendel <[email protected]>

* fixing nits before merging

Signed-off-by: Matthias Bertschy <[email protected]>

---------

Signed-off-by: Ben <[email protected]>
Signed-off-by: Amit Schendel <[email protected]>
Signed-off-by: Afek Berger <[email protected]>
Signed-off-by: Matthias Bertschy <[email protected]>
Co-authored-by: Amit Schendel <[email protected]>
Co-authored-by: Afek Berger <[email protected]>
Co-authored-by: Matthias Bertschy <[email protected]>
Co-authored-by: Amit Schendel <[email protected]>
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