From 0e1ca7df51ef295f29e58ce064850698ca9a2291 Mon Sep 17 00:00:00 2001 From: Joshua Hiller Date: Mon, 30 Oct 2023 11:30:25 -0400 Subject: [PATCH] Add missing actions to validation. Closes #1059. --- src/falconpy/firewall_policies.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/falconpy/firewall_policies.py b/src/falconpy/firewall_policies.py index 4047609e8..7dbfd5f8f 100644 --- a/src/falconpy/firewall_policies.py +++ b/src/falconpy/firewall_policies.py @@ -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")