falconpy
falconpy copied to clipboard
[ BUG ] firewall management - update_rule_group - "version" should be renamed to "tracking"
Describe the bug When trying to call the update_rule_group API call, we get prompt with something like
update_response = falcon.update_rule_group(
id=rule_group_id,
comment="Removing a rule",
rule_ids=updated_rule_ids,
rule_versions=updated_rule_versions,
diff_operations=[diff_operation],
diff_type="application/json-patch+json"}
we receive a response similar to
'errors': [{'code': 400, 'message': "rule group 'version' cannot be empty"}]}
'version' actually refers to the "tracking" token from the rule group. This should be renamed as version is misleading.
Hi @GabrielNBJJ -
We've investigated this issue and it appears to be a problem with how this error is generated. You are correct, the value that should be provided here is the tracking
argument. We are resolving this on the API side.
Thank you for reporting this issue! 😄