-
Notifications
You must be signed in to change notification settings - Fork 912
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
rule(The docker client is executed in a container): modify condition to reduce false positive #955
Conversation
…to reduce false positive Signed-off-by: Hiroki Suezawa <[email protected]>
/milestone 0.19.0 |
Thanks @rung - it looks good to me! I edited the release notes to match what you did since here we have a user facing change. |
LGTM label has been added. Git tree hash: 9ba34479acedaaf81751c7ae59b340e4048a9284
|
@fntlnz Thank you! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fntlnz, leodido The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@rung this change is not good to me:
if some bad guy was able to hack into any container in namespace I would propose to change like:
|
And this is GKE specific. Hopefully we will have the cloud provider info to leverage in the future. |
@Kaizhe Thank you for your comment! How about changing the condition to this? If it's ok, I will send new PR with comments mentioning GKE behavior
Make sense. On the other hand, if we don't specify namespaces, the attack surface could be extended imho. |
@rung adding Thanks! |
Signed-off-by: Hiroki Suezawa [email protected]
What type of PR is this?
/kind rule-update
Any specific area of the project related to this PR?
/area rules
What this PR does / why we need it:
The docker client is executed in a container
rule.user_known_k8s_client_container
macro to this rule.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
kubectl
is used onscaler.sh
Does this PR introduce a user-facing change?: