snowflake-connector-nodejs
snowflake-connector-nodejs copied to clipboard
SNOW-824882 SSO token cache
Description
Please explain the changes you made here.
- [x] Added id_token authentication
- [x] Added secureStorage feature
- [x] Added reauthentication
Checklist
- [x] Format code according to the existing code style (run
npm run lint:check -- CHANGED_FILES
and fix problems in changed code) - [x] Create tests which fail without the change (if possible)
- [x] Make all tests (unit and integration) pass (
npm run test:unit
andnpm run test:integration
) - [x] Extend the README / documentation and ensure is properly displayed (if necessary)
- [x] Provide JIRA issue id (if possible) or GitHub issue id in commit message
Codecov Report
Attention: Patch coverage is 78.80795%
with 32 lines
in your changes missing coverage. Please review.
Project coverage is 88.95%. Comparing base (
03d557d
) to head (8ca1118
).
Additional details and impacted files
@@ Coverage Diff @@
## master #820 +/- ##
==========================================
- Coverage 89.20% 88.95% -0.26%
==========================================
Files 62 64 +2
Lines 5947 6091 +144
==========================================
+ Hits 5305 5418 +113
- Misses 642 673 +31
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@sfc-gh-ext-simba-jy please update branch with rebase and update security validation links in prepared in doc as well.
⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
🔎 Detected hardcoded secret in your pull request
GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
---|---|---|---|---|---|
11748687 | Triggered | Generic High Entropy Secret | 4d9b3d4c2e8ba246848fd8f32c0a4622841d44e7 | test/unit/file_transfer_agent/encrypt_util_test.js | View secret |
🛠 Guidelines to remediate hardcoded secrets
The above secret(s) have been detected in your PR. Please take an appropriate action for each secret:
- If it’s a true positive, remove the secret from source code, revoke it and migrate to a secure way of storing and accessing secrets (see http://go/secrets-and-code). Once that’s done, go to the incidents page linked in the “GitGuardian id” column (log in using SnowBiz Okta) and resolve the incident.
- If it’s a false positive, go to the incidents page linked in the “GitGuardian id” column (log in using SnowBiz Okta) and ignore the incident.
- If you didn't add this secret - and only then - you may ignore this check as it's non-blocking. If you did add the secret and you ignore this check, you'll be assigned a "Security Finding" ticket in Jira in a few days.
Note:
- A secret is considered leaked from the moment it touches GitHub. Rewriting git history by force pushing or other means is not necessary and doesn’t change the fact that the secret has to be revoked.
- This check has a “Skip: false positive” button. Don’t use it. It will mark all detected secrets as false positives but only in the context of this specific run - it won’t remember this action in subsequent check runs.
If you encounter any problems you can reach out to us on Slack: #gitguardian-secret-scanning-help
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.