Repository navigation
chore(deps): update dependency mongodb/kingfisher to v2.14.0 - #519
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v2.13.0→v2.14.0v2.13.0→v2.14.0Note: The
pre-commitmanager in Renovate is not supported by thepre-commitmaintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.Release Notes
mongodb/kingfisher
v2.14.0Compare Source
Prepare Python SDK
kingfisher-secret-scanner1.5.0 so the pending shared Rust and Python changes are not skipped as the already-published 1.4.0 release. The Python API remains compatible.Add independent
make release cratesandmake release kingfisher-secret-scannercommands. Infer committed package versions, reject immutable-version conflicts and invalid release contexts before dispatch, and retain verified-artifact publication guards. SDK runtime changes without a required version bump fail before wheel builds.Cache GitHub App installation tokens across workers, coordinate refresh before expiry, and retry rate-limited exchanges with shared failure cooldowns. #556
Improved
rules checkto verifynegative_examplesand apply scan-time capture selection, entropy, safe-list, pattern requirements, checksums, and rule filters to both positive and negative examples. Positive examples rejected only byignore_if_containsremain warnings (errors with--warnings-as-errors) for compatibility with runtime filtering; independent entropy, safe-list, checksum, and rule-filter failures remain errors. #555Fixed Rust/Python scanning to enforce YAML pattern requirements for raw and Base64 candidates; added offline
luhn_validandiban_validLiquid checksum filters. #554Aligned SDK rule execution with the CLI: added typed URI syntax checks, compact full-match component context, shared bounded candidate verification and per-batch validation request grouping. Python preserves finding locations and serialization; Rust exposes additive context APIs. No-options context scans isolate raw and decoded-buffer components; explicit detection options retain their selected matching policy.
Rust source API migration only — existing rule files require no changes: prepared
kingfisher-rules2.0.0 andkingfisher-scanner2.0.0 for the exhaustiveHttpValidation.authfield and public rules types/re-exports. OAuth2 service authentication is opt-in; existing Kingfisher YAML and Betterleaks TOML rules continue to load without anauthblock or OAuth2 credentials. Only Rust code constructingHttpValidationstruct literals needsauth: None, orSome(Box::new(HttpValidationAuth { oauth2: config }))withOAuth2Config/OAuth2PasswordCredentials; Rust scanner consumers must use rules 2.x types. The crates.io packages use core 1.0.4 for the Unicode-decoding fast path already shipped in the CLI; CLI 2.14.0 and Python SDK 1.4.0 are unchanged, with no Python API major break. See the Rust migration guide.Memoize only definitive active/inactive validation results within a batch, keyed by rule and resolved inputs; inconclusive failures and cancellation remain retryable, and shrinking candidate-attempt budgets do not duplicate successful checks.
Sped up large Git history scans with candidate-first metadata, subtree pruning and exact ancestor summaries, preserving commit/path attribution without persisting scan data between runs.
Reduced memory and decoding overhead with compact indexes, copy-on-write ancestry bitmaps, per-worker Git caches and SIMD Unicode checks.
Losslessly packed the tokenizer vocabulary and prioritized scan throughput with release
opt-level = 3(previously"s"); cold-crate size-focused overrides remain.Corrected pairing-budget diagnostics when dependency candidate lists are capped.
Added
rsa_sha256Liquid signing for RS256 JWT validation with PKCS#1/PKCS#8 PEM keys. #552Added Azure Blob Storage scanning with SAS, account-key, Entra-token, and anonymous authentication.
Added shared path/extension selection across files, Git sources, and archive members; S3, GCS, Azure Blob, and Hugging Face storage scans filter before downloading and support resumable listings and incremental caching with complete reports.
Made storage page checkpoints append-only with end-of-scan compaction; retry changed Azure/GCS objects with current version identities and skip deleted objects with warnings.
Enforced S3/GCS/Azure Blob download caps while streaming and honored Azure timeout controls; improved per-object failure handling without marking failed pages complete. Isolated cache entries by endpoint/selection policy and removed stale, orphaned and abandoned temporary objects safely.
Preserved literal
!in source/archive-member paths, rejected empty path prefixes and retained nonempty slash-suffixed storage objects. Skip malformed Hugging Face entries without losing valid files, reject unsafe/repeated pagination links and bound Confluence pagination without visible progress.Preserved repository links, commit IDs and file paths with
--commit-metadata=falsewhile hiding author, committer and date details.Added OAuth2 password-grant authentication for custom HTTP validators, with environment-backed credentials, token reuse/refresh, failure cooldowns, and fixed-origin delivery. HTTPS token/verifier requests retain strict TLS and environment proxy/
NO_PROXYhandling; explicitly allowed loopback plain-HTTP token/verifier requests connect directly without proxies. Redirects stay disabled for both; other validators' TLS/proxy policies are unchanged.Added Jira access checks and project exclusions; hardened Jira/Confluence rate-limit handling, pagination, and API context paths. Expanded target/authentication examples in the README and guides.
Jira migration: API requests no longer follow redirects, including same-origin redirects. Reverse-proxy installations must pass the final canonical
--url, including any context path such as/jira.Retry transient GitHub API failures and rate limits with bounded backoff and server-provided cooldowns. #551
Behavior change:
--no-limitslifts content caps and preserves timeouts; add--no-timeoutsto disable scan operation deadlines. Bound SMTP cleanup and SQLite lock waits. #524Configuration
📅 Schedule: (UTC)
* * * * 6)🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.