Skip to content

Commit

Permalink
Added audit_report as a resource type
Browse files Browse the repository at this point in the history
  • Loading branch information
a-h-abdelsalam committed Feb 2, 2024
1 parent 1c91257 commit 9960d32
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/gsad_validator.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,10 +439,10 @@ init_validator ()
gvm_validator_add (validator, "port_range_id", "^[a-z0-9\\-]+$");
gvm_validator_add (
validator, "resource_type",
"^(alert|asset|cert_bund_adv|config|cpe|credential|cve|dfn_cert_adv|"
"filter|group|host|info|nvt|note|os|ovaldef|override|permission|port_list|"
"report|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_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 9960d32

Please sign in to comment.