Skip to content

[API RATE LIMIT] #426

Open
Open
@R3dHash

Description

@R3dHash

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionuse for asking information about a functionality or behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions