go-win64api
go-win64api copied to clipboard
Allow custom an Action when create new rule
Hello @iamacarpet
I created a new branch to allow custom an Action in firewall module Please close this pull request: https://github.com/iamacarpet/go-win64api/pull/31
Thank you!
Hi! First, thank you for PR!
I should appear here earlier, so sorry for big delay.
I am not sure if this is very useful when following function exists :
FirewallRuleAddAdvanced(rule FWRule)
rule.Action
allows you to set custom action.
IMHO most of admins/users works with firewall with whitelisting logic, so custom action is not commonly used and for special cases mentioned function should be good to use.
Have a great day and again - thanks for contribution!