grafana/docs/sources
Giuseppe Guerra 0db65d229e
Plugins: Add Subresource Integrity checks (#93024)
* Plugins: Pass hashes for SRI to frontend

* Add SRI hashes to frontendsettings DTOs

* Add docstring

* TestSriHashes

* Fix typo

* Changed SriHashes to ModuleHash

* update loader_test compareOpts

* update ModuleHash error message

* Add TestModuleHash/no_module.js

* Add omitEmpty to moduleHash

* Add ModuleHash to api/plugins/${pluginId}/settings

* moved ModuleHash field

* feat(plugins): add moduleHash to bootData and plugin types

* feat(plugins): if moduleHash is available apply it to systemjs importmap

* Calculate ModuleHash for CDN provisioned plugins

* Add ModuleHash tests for TestCalculate

* adjust test case name

* removed .envrc

* Fix signature verification failing for internal plugins

* fix tests

* Add pluginsFilesystemSriChecks feature togglemk

* renamed FilesystemSriChecksEnabled

* refactor(plugin_loader): prefer extending type declaration over ts-error

* added a couple more tests

* Removed unused features

* Removed unused argument from signature.DefaultCalculator call

* Removed unused argument from bootstrap.DefaultConstructFunc

* Moved ModuleHash to pluginassets service

* update docstring

* lint

* Removed cdn dependency from manifest.Signature

* add tests

* fix extra parameters in tests

* "fix" tests

* removed outdated test

* removed unused cdn dependency in signature.DefaultCalculator

* reduce diff

* Cache returned values

* Add support for deeply nested plugins (more than 1 hierarchy level)

* simplify cache usage

* refactor TestService_ModuleHash_Cache

* removed unused testdata

* re-generate feature toggles

* use version for module hash cache

* Renamed feature toggle to pluginsSriChecks and use it for both cdn and filesystem

* Removed app/types/system-integrity.d.ts

* re-generate feature toggles

* re-generate feature toggles

* feat(plugins): put systemjs integrity hash behind feature flag

---------

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2024-10-04 14:55:09 +02:00
..
administration Correlations: Update docs to include information on external correlation type (#93772) 2024-09-30 07:43:45 -05:00
alerting Alerting docs: update that test functionality only for G Alertmanager (#94064) 2024-10-01 17:28:26 +02:00
breaking-changes Docs: update docs to reflect new sharing UI (#90630) 2024-09-25 09:42:58 -04:00
dashboards Docs: Fix Sharing page aliases (#94118) 2024-10-02 10:21:43 -04:00
datasources Docs - direction param for Loki in Explore (#91905) 2024-09-30 16:46:21 +01:00
developers Docs: update docs to reflect new sharing UI (#90630) 2024-09-25 09:42:58 -04:00
explore [DOC] Add videos to Explore docs (#93847) 2024-09-26 15:32:43 -04:00
fundamentals Docs: Replaces Agent with Alloy (#90674) 2024-07-19 14:51:51 -04:00
getting-started Docs: Edit mode updates (#89438) 2024-06-20 09:53:21 -04:00
introduction Docs: update docs to reflect new sharing UI (#90630) 2024-09-25 09:42:58 -04:00
panels-visualizations Docs: Geomap visualization refactor (#94101) 2024-10-02 11:34:22 -04:00
release-notes Docs: Fix broken links resulting from plugin-tools site reorganization (#90391) 2024-07-13 10:59:27 -07:00
search Docs: Restructure Search content (#93636) 2024-09-24 16:12:08 -04:00
setup-grafana Plugins: Add Subresource Integrity checks (#93024) 2024-10-04 14:55:09 +02:00
shared Tidying up the Grafana setup documentation (#93860) 2024-09-27 15:57:38 +00:00
troubleshooting Profiling: Enhance configuration and docs (#90048) 2024-07-09 17:48:16 +02:00
tutorials docs>tutorial:improve set up section (#93988) 2024-09-30 12:05:39 +02:00
upgrade-guide Docs: Moved data source UID info into technical notes (#92712) 2024-08-30 09:34:30 -04:00
whatsnew Docs: update docs to reflect new sharing UI (#90630) 2024-09-25 09:42:58 -04:00
_index.md Update description of Grafana OSS (#89088) 2024-06-13 08:18:26 +02:00
cli.md CLI: Provide the list of admins if the admin with the default ID was not found (#92217) 2024-08-27 16:01:33 +02:00
menu.yaml Docs: library panel (#35272) 2021-06-04 20:13:56 +02:00