Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kartverket/backstage-plugin-security-metrics-backend

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kartverket/backstage-plugin-security-metrics-backend

This is a backend plugin for the Security metrics Backstage plugin. The backend plugin works as a proxy for the frontend plugin, and allows the system to communicate with the security metrics API. The backend plugin has two roles:

  • 2.1.0
  • npm
  • Socket score

Version published
Weekly downloads
78
increased by457.14%
Maintainers
0
Weekly downloads
 
Created
Source

Security metrics (backend-plugin)

This is a backend plugin for the Security metrics Backstage plugin. The backend plugin works as a proxy for the frontend plugin, and allows the system to communicate with the security metrics API. The backend plugin has two roles:

  • Handle the on-behalf-of flow to acquire JWT for the backend API
  • Provide the user with a scope to aquire the Entra ID JWT that was used to log into backstage

Kartverket.dev configuration

NOTE: Ensure that you have installed the frontend plugin aswell

In app-config.production.yaml add the following under the sikkerhetsmetrikker config-block:

securityMetricsBackendClientId: ${SIKKERHETSMETRIKKER_PLUGIN_BACKEND_CLIENT_ID}
backendBaseUrl: http://plugin-backend.sikkerhetsmetrikker-main:8080/api

In packages/backend/src/index.ts add the following line in order add the backend plugin:

// Security metrics
backend.add(import('@kartverket/backstage-plugin-security-metrics-backend'));

and in packages/backend/package.json add the following dependency.

"@kartverket/backstage-plugin-security-metrics-backend": "^1.0.0"

It may be better to use yarn add @kartverket/backstage-plugin-security-metrics-backend from the packages/backend directory

The plugin has been developed by the summer interns in the SKVIS-team

FAQs

Package last updated on 21 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc