-
Notifications
You must be signed in to change notification settings - Fork 5
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 dockerfile chnages + host-scanner deployment #158
Conversation
PR Description updated to latest commit (136d230) |
PR Analysis
PR Feedback
How to useInstructions
|
Summary:
|
Summary:
|
Summary:
|
Summary:
|
} | ||
if bytes.HasSuffix(processNameFromCMD, []byte(processSuffix)) { | ||
logger.L().Debug("process found", helpers.String("processSuffix", processSuffix), | ||
helpers.Int("pid", int(pid))) |
Check failure
Code scanning / CodeQL
Incorrect conversion between integer types High
strconv.ParseInt
if bytes.HasSuffix(processNameFromCMD, []byte(processSuffix)) { | ||
logger.L().Debug("process found", helpers.String("processSuffix", processSuffix), | ||
helpers.Int("pid", int(pid))) | ||
res := &ProcessDetails{PID: int32(pid), CmdLine: make([]string, 0, len(cmdLineSplitted))} |
Check failure
Code scanning / CodeQL
Incorrect conversion between integer types High
strconv.ParseInt
Summary:
|
Type
Enhancement, Configuration changes
Description
This PR introduces significant changes to the Dockerfile and adds a deployment configuration for the host-scanner. The main changes include:
PR changes walkthrough
2 files
Dockerfile
build/Dockerfile
The Dockerfile has been restructured into multiple stages,
including a builder stage and a final stage. It now builds
two applications: node-agent and kube-host-sensor. The
entrypoint has been adjusted to run the node-agent.
host-scanner.yaml
deployment/host-scanner.yaml
A new deployment configuration for the host-scanner has been
added. This configuration deploys the host-scanner as a
DaemonSet in the 'kubescape' namespace.
User description
Overview