does cribls collector for rest api support jwt?
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 data https://platform.secutix.com/backend/dataexport/how_to
Answers
-
No support for JWT yet. Ticket CRIBL-8327 for tracking purposes.
0 -
In my case it could work without it. at least with curl. not sure how to do it in cribl.
0 -
I think we can do this today using the Login Auth type
0 -
We got it sorted via DMs :slightly_smiling_face:
0 -
<@U01LSBF5953> 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
0 -
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
0 -
<@U01LSBF5953> 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?
0 -
not within cribl, no. Rsync might be your friend here. Or a shared volume where you write the timestamp file
0