Skip to main content

does cribls collector for rest api support jwt?I need to generate an api key, then use this key for authorization (bearer) and then i can collect data but i've to set some dynamic fields like date in the body to collect the datahttps://platform.secutix.com/backend/dataexport/how_to

No support for JWT yet. Ticket CRIBL-8327 for tracking purposes.


In my case it could work without it. at least with curl. not sure how to do it in cribl.


I think we can do this today using the Login Auth type


We got it sorted via DMs 🙂


<@U01LSBF5953&gt; What is the current workaround for JWT? We want to connect to the Snowflake SQL API using Key Pair Authentication, which uses JWT as bearer token.https://docs.snowflake.com/en/developer-guide/sql-api/authenticating#label-sql-api-authenticating-key-pair


You might be able to do this with a scripted collector and some python:https://docs.snowflake.com/en/developer-guide/sql-api/authenticating#python-example


<@U01LSBF5953&gt; Was able to get the script collector working with a prototype python script. The script maintains a timestamp that is used in an SQL statement and dynamically updated every time the script gets executed. This timestamp is currently being written to a local file on the worker node. Is there an easy way to synchronize this across worker nodes?


not within cribl, no. Rsync might be your friend here. Or a shared volume where you write the timestamp file


Reply