#11126 added .disco by default
This commit is contained in:
parent
654029c8f6
commit
200f63b516
|
@ -164214,4 +164214,20 @@ UPDATE `tevent_alert` ea INNER JOIN `tevent_rule` er ON ea.id = er.id_event_aler
|
|||
ALTER TABLE `tnetwork_explorer_filter`
|
||||
MODIFY COLUMN `id` INT NOT NULL AUTO_INCREMENT;
|
||||
|
||||
-- Insert new Pandora vulscan APP
|
||||
SET @short_name = 'pandorafms.vulnscan';
|
||||
SET @name = 'Vulnerability Scanner';
|
||||
SET @section = 'cloud';
|
||||
SET @description = 'Pandora FMS Vulnerability Scanner. Scans the network looking for known software vulnerabilities.';
|
||||
|
||||
SET @version = '1.0';
|
||||
INSERT IGNORE INTO tdiscovery_apps (id_app, short_name, name, section, description, version) VALUES ('', @short_name, @name, @section, @description, @version);
|
||||
SELECT @id_app := id_app FROM tdiscovery_apps WHERE short_name = @short_name;
|
||||
|
||||
-- Insert into tdiscovery_apps_scripts
|
||||
INSERT IGNORE INTO tdiscovery_apps_scripts (id_app, macro, value) VALUES (@id_app, '_exec1_', 'pandora_vulnscan.py');
|
||||
|
||||
-- Insert into tdiscovery_apps_executions
|
||||
INSERT IGNORE INTO tdiscovery_apps_executions (id_app, execution) VALUES (@id_app, ''_exec1_' '__pandoraServerConf__' '_agentGroups_' -t _numThreads_');
|
||||
|
||||
COMMIT;
|
||||
|
|
|
@ -166686,4 +166686,20 @@ INSERT INTO pandora_cve VALUES
|
|||
('CVE-2022-4952', 3.6, 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'),
|
||||
('CVE-2022-4953', 2.7, 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'),
|
||||
('CVE-2022-4955', 3.6, 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N'),
|
||||
('CVE-2022-4956', 5.9, 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H');
|
||||
('CVE-2022-4956', 5.9, 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H');
|
||||
|
||||
-- Insert new Pandora vulscan APP
|
||||
SET @short_name = 'pandorafms.vulnscan';
|
||||
SET @name = 'Vulnerability Scanner';
|
||||
SET @section = 'cloud';
|
||||
SET @description = 'Pandora FMS Vulnerability Scanner. Scans the network looking for known software vulnerabilities.';
|
||||
|
||||
SET @version = '1.0';
|
||||
INSERT IGNORE INTO tdiscovery_apps (id_app, short_name, name, section, description, version) VALUES ('', @short_name, @name, @section, @description, @version);
|
||||
SELECT @id_app := id_app FROM tdiscovery_apps WHERE short_name = @short_name;
|
||||
|
||||
-- Insert into tdiscovery_apps_scripts
|
||||
INSERT IGNORE INTO tdiscovery_apps_scripts (id_app, macro, value) VALUES (@id_app, '_exec1_', 'pandora_vulnscan.py');
|
||||
|
||||
-- Insert into tdiscovery_apps_executions
|
||||
INSERT IGNORE INTO tdiscovery_apps_executions (id_app, execution) VALUES (@id_app, ''_exec1_' '__pandoraServerConf__' '_agentGroups_' -t _numThreads_');
|
||||
|
|
Loading…
Reference in New Issue