-
Notifications
You must be signed in to change notification settings - Fork 431
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
chore(containers): make feature flag a safe guard #3610
chore(containers): make feature flag a safe guard #3610
Conversation
- make default behavior (--containers) to enrich containers Keep a safeguard measure (change cmdline flag to --no-containers): - do not try to register runtime services - do not try to register runtime sockets (with or without --crs)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I've did a bisect and detected that this raised these error logs: {"level":"error","ts":1698260772.5729601,"msg":"error triggering container enrich in control plane","error":"containers.(*Containers).EnrichCgroupInfo: containers.(*runtimeInfoService).getFromKnownRuntime: unsupported runtime"} https://github.com/aquasecurity/tracee/actions/runs/6644853997/job/18055080048?pr=3610#step:4:400 {"level":"error","ts":1698260853.4470563,"msg":"error triggering container enrich in control plane","error":"containers.(*Containers).EnrichCgroupInfo: containers.(*runtimeInfoService).getFromKnownRuntime: unsupported runtime"} https://github.com/aquasecurity/tracee/actions/runs/6644853997/job/18055080048?pr=3610#step:4:452 Was it a dormant bug that came to the surface? Or are those errors expected? |
container enriching is default now. likely a test trying to run enriching and facing issues because this wasn't done before. there is a flag to disable enriching that could bet set for the runtime tests, I believe (until test is ready for the enriching ?). |
Yep. Agree. Disabling it on integration tests. |
commit b39d884 (HEAD -> no-containers-default, rafaeldtinoco/no-containers-default)
Author: Rafael David Tinoco [email protected]
Date: Wed Oct 25 12:09:09 2023
commit b067fd3
Author: Rafael David Tinoco [email protected]
Date: Wed Oct 25 11:51:14 2023