Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

[TECH] move all the credentials tests to a fixture folder and update the leaks config #138

@yacosta738

Description

@yacosta738

In the .gitleaks.toml file, we are excluding all the test folders because they contain test users and passwords. One solution could be to create a fixtures folder and generate JSON files for the user credentials, loading them later in each test.


In the file .gitleaks.toml

-[allowlist]
-paths = [
-  ".*src/test.*"
-]
+[allowlist]
+# Only ignore generated cassettes; keep the rest of test code scanned
+paths = ["tests/fixtures/.*\\.json$"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions