Skip to content

Commit

Permalink
Fix code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
a-h-abdelsalam committed Jul 3, 2024
1 parent c348c4d commit 8e1a44b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/gsad_validator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 8e1a44b

Please sign in to comment.