client-python
client-python copied to clipboard
[API RATE LIMIT]
Problem to Solve
We'd like to apply an API Rate limit to custom scripts leveraging pycti. As such it would be globally applied to a python script.
Current Workaround
We use "from ratelimit import limits, sleep_and_retry" => https://pypi.org/project/ratelimit/ in our script.
Proposed Solution
We could leverage an option in the same vein as "set_retry_number" that could be "set_api_rate_limit" provided by design in pycti. Beyond scripts under development, if possible it would be interesting to enable such option from the frontend linked to specific Roles (limiting all connectors) or users (limiting specific connectors but not all of them).
Additional Information
N/A
Are you able to leverage rate limiting at the platform level?
Can you indicate where I can find the feature in the code or in a screendshot so I check with the infra's teams if it is leveraged ?
up :)