carbonblack / cbapi-python

Carbon Black API - Python language bindings
Other
147 stars 86 forks source link

Legacy cbapi function watchlist_enable_action #2

Closed thepcn3rd closed 8 years ago

thepcn3rd commented 8 years ago

With the legacy cbapi.py inside of the function watchlist_enable_action the url needs to be changed from the following:

url = "%s/util/v1/watchlist/%d/action" % (self.server, watchlist_id)

to:

url = "%s/api/v1/watchlist/%d/action" % (self.server, watchlist_id)

With this change it is then usable.

Thank you, Leon Trappett

jgarman commented 8 years ago

Sorry I missed this for 0.9.2 - it will be included in the next release. Thanks for reporting this!