diff --git a/.gitleaks.toml b/.gitleaks.toml new file mode 100644 index 0000000..8e1df97 --- /dev/null +++ b/.gitleaks.toml @@ -0,0 +1,8 @@ +# Gitleaks configuration +# https://github.com/gitleaks/gitleaks + +[allowlist] + description = "Allowlist for false positives" + + # Documentation examples with placeholder credentials + commits = ["92155cf6574d89f93ee68503a7b68455ceaa19af"] diff --git a/nora-registry/src/openapi.rs b/nora-registry/src/openapi.rs index ade11b0..253ba24 100644 --- a/nora-registry/src/openapi.rs +++ b/nora-registry/src/openapi.rs @@ -5,7 +5,6 @@ //! //! Functions in this module are stubs used only for generating OpenAPI documentation. - #![allow(dead_code)] // utoipa doc stubs — not called at runtime, used by derive macros use axum::Router; diff --git a/nora-registry/src/secrets/mod.rs b/nora-registry/src/secrets/mod.rs index 0bba218..4961363 100644 --- a/nora-registry/src/secrets/mod.rs +++ b/nora-registry/src/secrets/mod.rs @@ -1,7 +1,6 @@ // Copyright (c) 2026 Volkov Pavel | DevITWay // SPDX-License-Identifier: MIT - //! Secrets management for NORA //! //! Provides a trait-based architecture for secrets providers: