CrowdStrike / falconpy

The CrowdStrike Falcon SDK for Python

Home Page:https://www.falconpy.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ BUG ] policy_id key is missing from body payload handler for the update_policy_container operation.

jshcodes opened this issue · comments

Describe the bug
The body payload abstraction handler for update_policy_container is missing the policy_id key.

To Reproduce
Create an instance of the FirewallManagement service class and then make a call to the update_policy_container operation. Make sure to include the policy_id keyword argument. This argument will not be processed and the key will not be provided as part of the body payload sent to the API.

Expected behavior
The payload handler properly ingests the key value and adds it to the body payload.

Environment (please complete the following information):

  • OS: All supported
  • Python: All supported
  • FalconPy: Up to 1.3.3

Additional context
Discovered while investigating #1059.