3.4.10 • Published 9 months ago

@kartverket/backstage-plugin-security-metrics-backend v3.4.10

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
9 months ago

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:

clientId: ${SMAPI_CLIENT_ID}
baseUrl: http://sikkerhetsmetrikker.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

Links

3.4.10

9 months ago

3.4.9

9 months ago

3.4.8

9 months ago

3.4.7

9 months ago

3.4.5

9 months ago

3.2.2

10 months ago

3.3.0

9 months ago

3.2.0

10 months ago

3.1.0

10 months ago

3.2.3

10 months ago

3.0.0

10 months ago

2.2.0

11 months ago

2.1.0

11 months ago

2.0.0

11 months ago

1.0.0

12 months ago

0.1.0

1 year ago