Skip to content

Commit

Permalink
Add missing actions to validation. Closes #1059.
Browse files Browse the repository at this point in the history
  • Loading branch information
jshcodes committed Oct 30, 2023
1 parent 7fad6c1 commit 0e1ca7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/falconpy/firewall_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ def perform_action(self: object, body: dict = None, parameters: dict = None, **k
Swagger URL
https://assets.falcon.crowdstrike.com/support/api/swagger.html#/firewall-policies/performFirewallPoliciesAction
"""
_allowed_actions = ['add-host-group', 'disable', 'enable', 'remove-host-group']
_allowed_actions = ['add-host-group', 'disable', 'enable',
'remove-host-group', 'add-rule-group', 'remove-rule-group'
]
operation_id = "performFirewallPoliciesAction"
parameter_payload = args_to_params(parameters, kwargs, Endpoints, operation_id)
action_name = parameter_payload.get("action_name", "Not Specified")
Expand Down

0 comments on commit 0e1ca7d

Please sign in to comment.