Merge branch 'ent-11504-discovery-network-scan-wmi' into 'develop'

Ent 11504 discovery network scan wmi

See merge request artica/pandorafms!6053
This commit is contained in:
Rafael Ameijeiras 2023-06-08 11:11:33 +00:00
commit a4f9c6fb4c
1 changed files with 2 additions and 2 deletions

View File

@ -1460,7 +1460,7 @@ class HostDevices extends Wizard
}
include_once $config['homedir'].'/include/class/CredentialStore.class.php';
$available_keys = CredentialStore::getKeys('CUSTOM');
$available_keys = CredentialStore::getKeys('WMI');
if (check_acl($config['id_user'], 0, 'UM')) {
$link_to_cs = '<a class="ext_link" href="'.ui_get_full_url(
'index.php?sec=gmodules&sec2=godmode/groups/group_list&tab=credbox'
@ -1482,7 +1482,7 @@ class HostDevices extends Wizard
'arguments' => [
'type' => 'select',
'name' => 'auth_strings[]',
'fields' => CredentialStore::getKeys('CUSTOM'),
'fields' => CredentialStore::getKeys('WMI'),
'selected' => explode(
',',
$this->task['auth_strings']