I’ve been testing the Harmony Endpoint Management Python SDK and expected to receive a list with metadata only for Threat Prevention policies when running the following code:
rules_metadata_threat_prevention_res = he.policy_general_api.get_all_rules_metadata(
header_params={ "x-mgmt-run-as-job": 'on'},
query_params={"ruleFamily": 'Threat Prevention'})
However, I received metadata for all policies across all families, even though I specified the ruleFamily in the query_params. I’ve reviewed the code multiple times but can’t seem to find any issues.
Could someone help me identify if there’s a mistake in my code, or is this an SDK issue that I should report on GitHub?