Skip to content

Conversation

wesley-dean
Copy link
Contributor

This adds a link to the "raw" version of the JSON schema for descriptors.

Fixes #

Proposed Changes

  1. this adds a link labeled(raw) after the reference to the JSON schema for linter descriptors. While working on validating a plugin, I attempted to use v8r with the URL mentioned on the plugins.md page only to be met with the error Unexpected token '<', " which confused me as there was no < in my plugin descriptor. I eventually realized that the link on the plugins page points to the JSON schema file in the repo, not raw version that I could pass to v8r -s https://.... . Rather than change the existing link, I added a new link with the (raw) title after it. I'm pretty sure there are more attractive ways to accomplish the same thing, so I'm very open to feedback, modifications, etc..

Readiness Checklist

Author/Contributor

  • Add entry to the CHANGELOG: I didn't because it's just a small addition to a page on the site, not MegaLinter itself
  • If documentation is needed: same, just a small update to the site

Reviewing Maintainer

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

This adds a link to the "raw" version of the JSON schema for descriptors.
@wesley-dean
Copy link
Contributor Author

Screenshot_20250313_095605_edited

This is where the (raw) link is added

@echoix echoix merged commit 1170bea into oxsecurity:main Mar 13, 2025
6 checks passed
@wesley-dean
Copy link
Contributor Author

@echoix thanks!

@echoix
Copy link
Collaborator

echoix commented Mar 13, 2025

In remember myself having difficulty finding it, that and the rendered html versions that are hidden at one single place

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