Skip to content

Commit

Permalink
Add: Add scp_port as valid alert method data key
Browse files Browse the repository at this point in the history
This adds scp_port as a valid option in the checks in
append_alert_method_data, so it can be set by GSA.
  • Loading branch information
timopollmeier committed Aug 10, 2023
1 parent 86daf8a commit 4680dfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gsad_gmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -4460,6 +4460,7 @@ append_alert_method_data (GString *xml, params_t *data, const char *method,
|| strcmp (name, "scp_host") == 0
|| strcmp (name, "scp_known_hosts") == 0
|| strcmp (name, "scp_path") == 0
|| strcmp (name, "scp_port") == 0
|| strcmp (name, "scp_report_format") == 0))
|| (strcmp (method, "SMB") == 0
&& (strcmp (name, "smb_credential") == 0
Expand Down

0 comments on commit 4680dfe

Please sign in to comment.