MCPcopy Create free account
hub / github.com/baidu/openrasp / generateRemoteManagementEnable

Method generateRemoteManagementEnable

rasp-install/php/install.php:246–253  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

244 }
245
246 public function generateRemoteManagementEnable()
247 {
248 if (!empty($this->backend_url) && !empty($this->app_id) && !empty($this->app_secret)) {
249 $this->remote_management_enable = "1";
250 } else if (!empty($this->backend_url) || !empty($this->app_id) || !empty($this->app_secret)) {
251 log_tips(ERROR, "backend-url app-id app-secret options must be specified simultaneously.");
252 }
253 }
254
255 public function enableIast()
256 {

Callers 1

install.phpFile · 0.80

Calls 2

log_tipsFunction · 0.85
emptyFunction · 0.50

Tested by

no test coverage detected