Skip to content

Commit

Permalink
Fix configuration.feature_powershell_audit.
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-unwin committed Oct 17, 2024
1 parent 7db0d50 commit df6d907
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Models/db_upgrades/db_5.6.0.php
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,7 @@
$output .= str_replace("\n", " ", (string)$db->getLastQuery()) . "\n\n";
log_message('info', (string)$db->getLastQuery());

$sql = "INSERT INTO `configuration` VALUES (NULL,'feature_powershell_audit','','text','n','system','2000-01-01 00:00:00','Use the PowerShell audit script instead of the VBScript audit script in discoveries.')";
$sql = "INSERT INTO `configuration` VALUES (NULL,'feature_powershell_audit','n','bool','y','system','2000-01-01 00:00:00','Use the PowerShell audit script instead of the VBScript audit script in discoveries.')";
$db->query($sql);
$output .= str_replace("\n", " ", (string)$db->getLastQuery()) . "\n\n";
log_message('info', (string)$db->getLastQuery());
Expand Down
2 changes: 1 addition & 1 deletion other/open-audit.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1286,7 +1286,7 @@ INSERT INTO `configuration` VALUES (NULL,'uuid',UUID(),'text','n','system','2000
INSERT INTO `configuration` VALUES (NULL,'feature_agents_advanced','n','bool','y','system','2000-01-01 00:00:00','Allow Agents to execute commands and download files.');
INSERT INTO `configuration` VALUES (NULL,'feature_queries_advanced','n','bool','y','system','2000-01-01 00:00:00','Allow Queries without a filter.');
INSERT INTO `configuration` VALUES (NULL,'feature_executables','n','bool','y','system','2000-01-01 00:00:00','Activate the linux based Executables feature.');
INSERT INTO `configuration` VALUES (NULL,'feature_powershell_audit','','text','n','system','2000-01-01 00:00:00','Use the PowerShell audit script instead of the VBScript audit script in discoveries.')
INSERT INTO `configuration` VALUES (NULL,'feature_powershell_audit','n','bool','y','system','2000-01-01 00:00:00','Use the PowerShell audit script instead of the VBScript audit script in discoveries.')
INSERT INTO `configuration` VALUES (NULL,'product','community','text','n','system','2000-01-01 00:00:00','Product type.');
INSERT INTO `configuration` VALUES (NULL,'license_footer','','text','n','system','2000-01-01 00:00:00','Footer text.');
INSERT INTO `configuration` VALUES (NULL,'license_limit','','number','n','system','2000-01-01 00:00:00','Licensed devices.');
Expand Down

0 comments on commit df6d907

Please sign in to comment.