kingfisher/tests
Erich Blume 677c7a5d5f
Some checks failed
ClusterFuzzLite PR fuzzing / PR (address) (pull_request) Has been cancelled
CI Pull Request / Linux x64 (pull_request) Has been cancelled
CI Pull Request / Linux arm64 (pull_request) Has been cancelled
CI Pull Request / macOS arm64 (pull_request) Has been cancelled
CI Pull Request / Windows arm64 (pull_request) Has been cancelled
CI Pull Request / Windows x64 (pull_request) Has been cancelled
feat(gitea): add --clone-url-base flag for clone URL rewriting
When scanning a self-hosted Gitea/Forgejo instance, the API may be
reachable at a different hostname than the git clone endpoint (e.g.,
internal API vs. public clone URL behind a reverse proxy). The
--clone-url-base flag rewrites the scheme, host, and port of clone
URLs returned by the API, preserving the path.

Example:
  kingfisher scan gitea \
    --api-url https://forge.internal.example.com/api/v1/ \
    --clone-url-base https://forge.internal.example.com/ \
    --user eblume

This avoids routing clone traffic through an external proxy when the
API and git endpoints share the same internal host but the instance's
ROOT_URL points to the public endpoint.

Includes unit tests for the URL rewriting function and an integration
test using wiremock to verify the full enumeration path.
2026-03-29 08:28:36 -07:00
..
cli.rs Added TOON output support, to optimize usage of kingfisher from LLM/agent workflows 2026-03-15 15:00:59 -07:00
cli_failure.rs Fix redis URI matching and sqlite row budget 2026-02-28 14:25:05 -08:00
cli_git_clone_flags.rs changes in response to PR review 2026-02-28 12:16:08 -07:00
cli_subcommands.rs added dark mode for finding + access map viewer 2025-12-12 17:21:17 -08:00
cli_validate_revoke.rs Added TOON output support, to optimize usage of kingfisher from LLM/agent workflows 2026-03-15 15:00:59 -07:00
dependent_rule_dedup.rs preparing for v1.78.0 2026-02-02 23:22:08 -08:00
fingerprint_dedup.rs Kingfisher can now generate an auditor-friendly HTML report 2026-02-15 14:29:42 -08:00
int_allowlist.rs updated in response to ossf scorecard 2026-03-27 15:04:14 -07:00
int_base64.rs v1.63.0 2025-11-10 18:47:51 -08:00
int_bitbucket.rs updated in response to ossf scorecard 2026-03-27 15:04:14 -07:00
int_dedup.rs updated in response to ossf scorecard 2026-03-27 15:04:14 -07:00
int_gitea_clone_url_base.rs feat(gitea): add --clone-url-base flag for clone URL rewriting 2026-03-29 08:28:36 -07:00
int_github.rs updated in response to ossf scorecard 2026-03-27 15:04:14 -07:00
int_gitlab.rs updated in response to ossf scorecard 2026-03-27 15:04:14 -07:00
int_local_path_validation.rs Updated dockerfile to fix failing docker image publishing 2025-12-05 12:44:38 -08:00
int_quiet.rs Added TOON output support, to optimize usage of kingfisher from LLM/agent workflows 2026-03-15 15:00:59 -07:00
int_redact.rs updated in response to ossf scorecard 2026-03-27 15:04:14 -07:00
int_rules_no_validated_findings.rs improved yelp and perplexity rules 2026-03-07 07:40:26 -08:00
int_s3.rs refactored output reporting and formatting logic 2025-08-04 08:58:06 -07:00
int_slack.rs updated in response to ossf scorecard 2026-03-27 15:04:14 -07:00
int_teams.rs updated in response to ossf scorecard 2026-03-27 15:04:14 -07:00
int_uri_parsing.rs v1.87.0 2026-03-09 20:46:08 -07:00
int_validation_cache.rs updated in response to ossf scorecard 2026-03-27 17:22:21 -07:00
int_vulnerable_files.rs updated in response to ossf scorecard 2026-03-27 15:04:14 -07:00
jdbc_rule.rs Fix build issues 2026-02-02 08:17:41 -08:00
library_crates_external_project.rs Fixes in response to PR review 2026-02-16 09:43:16 -08:00
live_db_validation.rs preparing for v1.78.0 2026-02-02 23:22:08 -08:00
pre_commit_installer.rs fixing test failures 2025-12-16 23:51:22 -08:00
smoke_archive.rs v1.63.0 2025-11-10 18:47:51 -08:00
smoke_baseline.rs v1.63.0 2025-11-10 18:47:51 -08:00
smoke_branch.rs v1.73.0 2026-01-01 22:24:57 -08:00
smoke_check_rules.rs Added an optional exclude_words list to PatternRequirements so matches containing case-insensitive placeholder words are filtered out, with accompanying tests to cover the new behavior. 2025-11-04 13:07:24 -08:00
smoke_docker.rs updated confluent rule with a checksum. Added zuplo rule with a checksum 2025-11-09 08:42:16 -08:00
smoke_exclude.rs v1.63.0 2025-11-10 18:47:51 -08:00
smoke_fs.rs v1.63.0 2025-11-10 18:47:51 -08:00
smoke_git.rs v1.73.0 2026-01-01 22:24:57 -08:00
smoke_github_homebrew.rs Updated kingfisher scan to accept Git repository URLs as positional targets (for example kingfisher scan github.com/org/repo or kingfisher scan https://gitlab.com/group/project.git) without requiring --git-url. 2026-02-26 23:14:18 -07:00
smoke_sqlite.rs Automatically extracts and scans SQLite database contents for secrets stored in table rows 2026-02-22 23:35:18 -07:00
smoke_update.rs updated tests 2025-11-24 11:08:31 -08:00
tls_mode.rs more changes for v1.78.0 2026-02-03 09:37:53 -08:00