opslevel / backstage-plugin Goto Github PK
View Code? Open in Web Editor NEWOpsLevel's Service Maturity plugin for Backstage
Home Page: https://www.npmjs.com/package/@opslevel/backstage-maturity
License: Apache License 2.0
OpsLevel's Service Maturity plugin for Backstage
Home Page: https://www.npmjs.com/package/@opslevel/backstage-maturity
License: Apache License 2.0
Hi,
I tried installing this plugin by following the steps mentioned here: https://github.com/OpsLevel/backstage-plugin
After I added all the configurations and started the backstage-app, I got this error:
When I tried to check which configuration step is causing this error, I realized this error prompts as soon as I added this plugin using below command:
yarn add --cwd packages/app backstage-plugin-opslevel-maturity
Please, let me if I am missing something @patrick-th @sabeerzaman and @sergio-opslevel.
Calls to graphql endpoint are insecure (see
Line 81 in a2a47db
Documentation requires us to use backstage proxy configuration which, by default since version 1.28, is now requiring to send backstage user jwt token via Authorization HTTP header. This is in direct conflict with opslevel proxy settings that sets a static opslevel api token. The workaround is to add credentials: dangerously-allow-unauthenticated
in the proxy setting. However, this allows anyone on the internet to use our backstage instance as an unauthenticated proxy to our opslevel account.
A potential solution would be to add an oauth endpoint in opslevel, ask the backstage user to authenticate using backstage scmAuth api and use the oauth token in the graphql API. This would secure the endpoint and allow using credentials: dangerously-allow-unauthenticated
without risk.
opslevel:
baseUrl: 'https://app.opslevel.com'
proxy:
endpoints:
'/opslevel':
target: 'https://app.opslevel.com'
headers:
X-Custom-Source: backstage
Authorization: Bearer ${OPSLEVEL_API_KEY}
allowedHeaders: ['GraphQL-Visibility']
Opslevel should ask user authentication instead of using a global token.
Anyone can use a backstage instance configured with opslevel to bypass backstage's authentication and directly use the proxy configured opslevel api key.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.