This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
[ BUG ] No FalconPy API for "sca" and "system-tray" policies. #1128
Labels
device control
Device Control Policies issues and questions
firewall
Firewall Policies and Management issues and questions
functionality request
Requests for new functionality
prevention policies
Prevention Policies issues and questions
sensor update
Sensor Update Policy issues and questions
Describe the bug
Since recently ( less than one year ago ), two new policy categories are listed under the
device_policies
section of a host JSON depiction :FalconPy has no API to enumerate these.
To Reproduce
Get any host device details, you'll get these API references under the
device_policies
section mentioned above, we can't enumerate them to get their names & properties & associated values.Expected behavior
FalconPy would have an API to grab the details of the
sca
andsystem-tray
policies. That would allow me to update the table of API function names for policies in my own code:Also, side note, this whole Policy thing is getting a little bit out of hand right ? One year ago there were only two settings, and now you're adding new functions & API endpoints for each little settings you might want to have. Shouldn't there be some unified policy API at some point ? I'm no API designer expert though :D
The Web UI upstream API has this pretty much sorted out :
I wouldn't be against a generic "queryPolicy" with a policy type parameter.
Thanks !
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: