@grafana/plugin-validator 0.14.3 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -193,22 +193,27 @@ The tool runs a series of analyzers to ensure submitted plugins are following be
193
193
  | ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
194
194
  | Archive Structure / `archive` | Ensures the contents of the zip file have the expected layout. | None |
195
195
  | Archive Name / `archivename` | The name of the archive should be correctly formatted. | None |
196
+ | Backend Binary / `backendbinary` | Validates the consistency between the existence of a binary file and plugin.json declarations for backend or alerting. | None |
196
197
  | Backend Debug / `backenddebug` | Checks that the standalone debug files for backend plugins are not present. | None |
197
198
  | Binary Permissions / `binarypermissions` | For datasources and apps with binaries, this ensures the plugin can run when extracted on a system. | None |
198
199
  | Broken Links / `brokenlinks` | Detects if any URL doesn't resolve to a valid location. | None |
200
+ | Checksum / `checksum` | Validates that the passed checksum (as a validator arg) is the one calculated from the archive file. | `checksum` |
199
201
  | Code Rules / `coderules` | Checks for forbidden access to environment variables, file system or use of `syscall` module. | [semgrep](https://github.com/returntocorp/semgrep), `sourceCodeUri` |
202
+ | Discoverability / `discoverability` | Warns about missing keywords and description that are used for plugin indexing in the catalog. | None |
200
203
  | Go Manifest / `gomanifest` | Validates the build manifest. | `sourceCodeUri` |
201
204
  | Go Security Checker / `gosec` | Inspects source code for security problems by scanning the Go AST. | [gosec](https://github.com/securego/gosec), `sourceCodeUri` |
205
+ | Developer Jargon / `jargon` | Generally discourages use of code jargon in the documentation. | None |
202
206
  | JS Source Map / `jssourcemap` | Checks for required `module.js.map` file(s) in archive. | `sourceCodeUri` |
203
- | Logos / `logos` | Detects whether the plugin includes small and large logos to display in the Plugin catalog | none |
204
- | Developer Jargon / `jargon` | Generally discourages use of code jargon in the documentation. | None |
207
+ | Legacy Grafana Toolkit usage / `legacybuilder` | Detects the usage of the not longer supported Grafana Toolkit. | None |
205
208
  | Legacy Platform / `legacyplatform` | Detects use of Angular which is deprecated. | None |
206
209
  | License Type / `license` | Checks the declared license is one of: BSD, MIT, Apache 2.0, LGPL3, GPL3, AGPL3. | None |
210
+ | Logos / `logos` | Detects whether the plugin includes small and large logos to display in the plugin catalog. | none |
207
211
  | Manifest (Signing) / `manifest` | When a plugin is signed, the zip file will contain a signed `MANIFEST.txt` file. | None |
208
212
  | Metadata Paths / `metadatapaths` | Ensures all paths are valid and images referenced exist. | None |
209
213
  | Metadata Validity / `metadatavalid` | Ensures metadata is valid and matches plugin schema. | None |
210
214
  | module.js (exists) / `modulejs` | All plugins require a `module.js` to be loaded. | None |
211
215
  | Organization (exists) / `org` | Verifies the org specified in the plugin ID exists. | None |
216
+ | Vulnerability Scanner / `osv-scanner` | Detects critical vulnerabilities in Go modules and yarn lock files. | [osv-scanner](https://github.com/google/osv-scanner), `sourceCodeUri` |
212
217
  | Plugin Name formatting / `pluginname` | Validates the plugin ID used conforms to our naming convention. | None |
213
218
  | Published / `published` | Detects whether any version of this plugin exists in the Grafana plugin catalog currently. | None |
214
219
  | Readme (exists) / `readme` | Ensures a `README.md` file exists within the zip file. | None |
@@ -220,7 +225,6 @@ The tool runs a series of analyzers to ensure submitted plugins are following be
220
225
  | No Tracking Scripts / `trackingscripts` | Detects if there are any known tracking scripts, which are not allowed. | None |
221
226
  | Type Suffix (panel/app/datasource) / `typesuffix` | Ensures the plugin has a valid type specified. | None |
222
227
  | Version / `version` | Ensures the version submitted is newer than the currently published plugin. If this is a new/unpublished plugin, this is skipped. | None |
223
- | Vulnerability Scanner / `osv-scanner` | Detects critical vulnerabilities in Go modules and yarn lock files. | [osv-scanner](https://github.com/google/osv-scanner), `sourceCodeUri` |
224
228
  | Unsafe SVG / `unsafesvg` | Checks if any svg files are safe based on a whitelist of elements and attributes. | none |
225
229
 
226
230
  ## Output
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/plugin-validator",
3
- "version": "0.14.3",
3
+ "version": "0.16.0",
4
4
  "description": "Grafana Plugin Validator",
5
5
  "main": "index.js",
6
6
  "scripts": {