Skip to content

Commit

Permalink
Update CrowdStrikeFalcon.py - fixed ioarules function
Browse files Browse the repository at this point in the history
  • Loading branch information
zeekforit authored Jan 12, 2024
1 parent c6aff01 commit e31347d
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1293,10 +1293,15 @@ def get_ioarules(rule_ids: list[str]) -> dict:
:param rule_ids: IDs of the requested ioa rule.
:return: Response json of the get ioa rule entities endpoint (ioa rule objects)
"""
print("RuleID:")
print(rule_ids)

params = { 'ids': rule_ids }

return http_request(
'POST',
'/ioarules/entities/rules/GET/v1',
data=json.dumps({'ids': rule_ids}),
'GET',
'/ioarules/entities/rules/v1',
params = params,
)


Expand Down

0 comments on commit e31347d

Please sign in to comment.