Skip to content

Commit

Permalink
Remove unsupported actions. Relates to #1059.
Browse files Browse the repository at this point in the history
  • Loading branch information
jshcodes committed Nov 11, 2023
1 parent 195a3af commit 2335f8a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/falconpy/firewall_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ def perform_action(self: object, body: dict = None, parameters: dict = None, **k
"""Perform the specified action on the Firewall Policies specified in the request.
Keyword arguments:
action_name -- action to perform: 'add-host-group', 'add-rule-group', 'disable', 'enable',
'remove-rule-group' or 'remove-host-group'.
action_name -- action to perform: 'add-host-group', 'disable', 'enable',
or 'remove-host-group'.
action_parameters -- Action specific parameter options. List of dictionaries.
{
"name": "string",
Expand Down Expand Up @@ -164,8 +164,8 @@ 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', 'add-rule-group', 'remove-rule-group'
_allowed_actions = ['add-host-group', 'disable', 'enable', 'remove-host-group',
# 'add-rule-group', 'remove-rule-group' # Currently unsupported
]
operation_id = "performFirewallPoliciesAction"
parameter_payload = args_to_params(parameters, kwargs, Endpoints, operation_id)
Expand Down

0 comments on commit 2335f8a

Please sign in to comment.