From 8e1a44ba7ff5d53f0249e6dad41dcdaaa6d63d6c Mon Sep 17 00:00:00 2001 From: Ahmed Abdelsalam Date: Fri, 2 Feb 2024 11:23:24 +0100 Subject: [PATCH] Fix code formatting --- src/gsad_validator.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/gsad_validator.c b/src/gsad_validator.c index 176892541..4337e75a5 100644 --- a/src/gsad_validator.c +++ b/src/gsad_validator.c @@ -469,11 +469,10 @@ init_validator () gvm_validator_add (validator, "port_range_id", "^[a-z0-9\\-]+$"); gvm_validator_add ( validator, "resource_type", - "^(alert|asset|audit_report|cert_bund_adv|config|cpe|credential|cve|dfn_cert_adv|" - "filter|group|host|info|nvt|note|os|ovaldef|override|permission|port_list|" - "report|report_config|report_format|result|role|scanner|schedule|tag|" - "target|task|ticket|" - "tls_certificate|user|vuln|)$"); + "^(alert|asset|audit_report|cert_bund_adv|config|cpe|credential|cve|" + "dfn_cert_adv|filter|group|host|info|nvt|note|os|ovaldef|override|" + "permission|port_list|report|report_config|report_format|result|role|scanner|" + "schedule|tag|target|task|ticket|tls_certificate|user|vuln|)$"); gvm_validator_add (validator, "resource_id", "^[[:alnum:]\\-_.:\\/~]*$"); gvm_validator_add (validator, "resources_action", "^(|add|set|remove)$"); gvm_validator_add (