@kartverket/backstage-plugin-risk-scorecard 1.0.13 → 1.1.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.
package/README.md CHANGED
@@ -4,11 +4,14 @@ This is a plugin for Backstage that helps you and your team when working continu
4
4
  The plugin is dependent on a backend service in order to decrypt and communicate with GitHub, and some configuration is
5
5
  necessary for them to communicate.
6
6
 
7
- Add the root url to your running backend service to the app-config:
7
+ Add the following configuration to the proxy-block in your app-config. Modify the `target` to the root url of your running backend service.
8
8
 
9
- ``` yaml
10
- app:
11
- backendUrl: http://localhost:8080
9
+ ```yaml
10
+ proxy:
11
+ endpoints:
12
+ '/risc-proxy':
13
+ target: http://localhost:8080
14
+ allowedHeaders: ['Authorization', 'GCP-Access-Token']
12
15
  ```
13
16
 
14
17
  The backend uses EntraID id-tokens to validate the user, and GCP access tokens to federate access to the GCP KMS.
@@ -18,4 +21,4 @@ for both:
18
21
  1. Add discovery of organization data for Microsoft Org
19
22
  2. Add authentication for both providers
20
23
 
21
- Happy RiSc-ing 🌹
24
+ Happy RiSc-ing 🌹