Skip to content

Update schema generator for Betterleaks - #8805

Merged
nvuillam merged 2 commits into
oxsecurity:mainfrom
wesley-dean:betterleaks_schema_patch
Aug 26, 2026
Merged

Update schema generator for Betterleaks#8805
nvuillam merged 2 commits into
oxsecurity:mainfrom
wesley-dean:betterleaks_schema_patch

Conversation

@wesley-dean

Copy link
Copy Markdown
Contributor

Fixes #8801

REPOSITORY_BETTERLEAKS_PR_COMMITS_SCAN,
REPOSITORY_BETTERLEAKS_PR_SOURCE_SHA,
and REPOSITORY_BETTERLEAKS_PR_TARGET_SHA are supported by Betterleaks and
documented from its descriptor, but are absent from the generated MegaLinter
configuration JSON Schema. As a result, schema validators such as v8r reject
otherwise valid .mega-linter.yml configurations.

This change narrowly adds those three Betterleaks-specific variables to the
generated configuration schema. It does not change Betterleaks runtime behavior
or the descriptor format.

Proposed Changes

  1. Update the automation script that builds the JSON schema to include the three missing entries for REPOSITORY_BETTERLEAKS
  2. Update changelog

Readiness Checklist

Author/Contributor

  • Add entry to the CHANGELOG listing the change and linking to the corresponding issue (if appropriate)
  • If documentation is needed for this change, has that been included in this pull request

Reviewing Maintainer

  • Label as breaking if this is a large fundamental change
  • Label as either automation, bug, documentation, enhancement, infrastructure, or performance

@nvuillam
nvuillam merged commit 24f9231 into oxsecurity:main Aug 26, 2026
10 checks passed
@nvuillam

Copy link
Copy Markdown
Member

Thanks Wes :)

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.

REPOSITORY_BETTERLEAKS_PR_COMMITS_SCAN is not supported in configuration

2 participants