[sentinel-intel/sentinel-incident] #2964
Labels
feature
use for describing a new feature to develop
needs triage
use to identify issue needing triage from Filigran Product team
Use case
have better log on the sentinel connector checking the role inside the jwt token to have clear info on what is missing
Current Workaround
do the verification outside of the connector
the current side effect is that the connector are not stopping just spamming a lot of log not really great.
Proposed Solution
add check of the role present on the token get with the first auth stage and stop the container if the role are not sufficient with a beautifull log
Additional Information
current auth
connectors/external-import/sentinel-incidents/src/sentinel_incidents_connector/client_api.py
Line 25 in 1b8e373
connectors/stream/sentinel-intel/src/sentinel_intel_connector/api_handler.py
Line 33 in 1b8e373
Would you be willing to submit a PR?
may be
The text was updated successfully, but these errors were encountered: