关闭 NeuVector 的 nvprotect 机制

NeuVector 有一个名为 nvprotect 的内部保护机制,用于限制用户对 NeuVector pod 的访问权限。

例如 sh、ls 等命令是无法使用的:

如果需要关闭,可以通过接口进行关闭,此处提供脚本,支持关闭 Controller、Scanner、Enforcer 的 nvprotect。

使用方法:

1
2
3
4
5
6
7
8
9
10
git clone https://github.com/warnerchen/disable-nvprotect.git
cd disable-nvprotect
chmod +x script.sh

# 关闭 nvprotect
# 关闭 enforcer 即可同时关闭 scanner 的 nvprotect
./script.sh off (controller|enforcer)

# 开启 nvprotect
./script.sh on (controller|enforcer)

Author

Warner Chen

Posted on

2025-02-05

Updated on

2025-02-27

Licensed under

You need to set install_url to use ShareThis. Please set it in _config.yml.
You forgot to set the business or currency_code for Paypal. Please set it in _config.yml.

Comments

You forgot to set the shortname for Disqus. Please set it in _config.yml.