Skip to content

chore(gitleaks): allowlist documentation example values - #5718

Merged
sc979 merged 3 commits into
stagingfrom
MON-212387-gitleaks-doc-examples
Oct 16, 2026
Merged

sc979 merged 3 commits into
stagingfrom
MON-212387-gitleaks-doc-examples

Conversation

@kduret

@kduret kduret commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fixes: MON-212387

Allowlist, in .gitleaks.toml, 15 example values published in the documentation and the Centreon Cloud token placeholders, as exact values with a short comment each:

  • API login and REST API v1 response examples
  • Gorgone public key thumbprints
  • Slack webhook template (XXX placeholders)
  • curl user placeholders (Elasticsearch, IBM SoftLayer)
  • Microsoft sample JWT (expired)
  • Centreon MAP signing key, Cisco Meraki and Skylight PVX example keys

Why: secrets-scan only scans the commits of a pull request. These values predate the scan (added on 2026-01-23 in #4993), so they were never flagged, but any change that copies those pages fails it. The rspress migration (#5415) reports 169 findings for 15 unique values; every flagged line exists unchanged in the staging sources.

Validation (gitleaks 8.30.1, run locally):

The remaining 284 findings are values that only exist in the git history. They are tracked in MON-212387 for review and are intentionally not allowlisted.

Target version (i.e. version that this PR changes)

  • 24.10.x
  • 25.10.x
  • 26.10.x
  • Cloud
  • Monitoring Connectors
  • Experience Monitoring
  • Log Management

Example values published in the documentation (API responses, public key
thumbprints, placeholders) predate the secrets scan and fail any change that
copies those pages, such as the rspress migration.

Refs: MON-212387
@kduret
kduret marked this pull request as ready for review October 16, 2026 11:51
@kduret
kduret requested a review from a team as a code owner October 16, 2026 11:51
@kduret
kduret requested a review from sc979 October 16, 2026 11:51
@sc979
sc979 merged commit 72fc2ee into staging Oct 16, 2026
11 checks passed
@sc979
sc979 deleted the MON-212387-gitleaks-doc-examples branch October 16, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants