From cf856ccdf468a611dff65902cfb5a583c337ff6e Mon Sep 17 00:00:00 2001 From: usmannasir Date: Sun, 6 Jul 2025 23:41:04 +0500 Subject: [PATCH] ai scans schedule --- CyberCP/secMiddleware.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CyberCP/secMiddleware.py b/CyberCP/secMiddleware.py index 3ae7966f1..28bf0a6e6 100644 --- a/CyberCP/secMiddleware.py +++ b/CyberCP/secMiddleware.py @@ -198,7 +198,7 @@ class secMiddleware: pathActual.find('saveSpamAssassinConfigurations') > -1 or pathActual.find('docker') > -1 or pathActual.find('cloudAPI') > -1 or pathActual.find('verifyLogin') > -1 or pathActual.find('submitUserCreation') > -1 or - pathActual.find('/api/') > -1) + pathActual.find('/api/') > -1 or pathActual.find('aiscanner/scheduled-scans') > -1) if isAPIEndpoint: # For API endpoints, still check for the most dangerous command injection characters @@ -220,7 +220,8 @@ class secMiddleware: or key == 'imageByPass' or key == 'passwordByPass' or key == 'PasswordByPass' or key == 'cronCommand' \ or key == 'emailMessage' or key == 'configData' or key == 'rewriteRules' \ or key == 'modSecRules' or key == 'recordContentTXT' or key == 'SecAuditLogRelevantStatus' \ - or key == 'fileContent' or key == 'commands' or key == 'gitHost' or key == 'ipv6' or key == 'contentNow': + or key == 'fileContent' or key == 'commands' or key == 'gitHost' or key == 'ipv6' or key == 'contentNow' \ + or key == 'time_of_day' or key == 'notification_emails' or key == 'domains': continue if valueAlreadyChecked == 0: