3.11.1 • Published 4 months ago

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

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
4 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

Links

3.10.5

7 months ago

3.10.4

8 months ago

3.10.7

7 months ago

3.9.1

8 months ago

3.10.6

7 months ago

3.9.0

8 months ago

3.10.9

5 months ago

3.10.8

6 months ago

3.11.0

5 months ago

3.10.1

8 months ago

3.8.0

9 months ago

3.7.1

9 months ago

3.10.0

8 months ago

3.7.0

10 months ago

3.10.3

8 months ago

3.6.0

11 months ago

3.11.1

4 months ago

3.10.2

8 months ago

3.5.0

12 months ago

3.4.10

12 months ago

3.4.9

12 months ago

3.4.8

1 year ago

3.4.7

1 year ago

3.4.5

1 year ago

3.2.2

1 year ago

3.3.0

1 year ago

3.2.0

1 year ago

3.1.0

1 year ago

3.2.3

1 year ago

3.0.0

1 year ago

2.2.0

1 year ago

2.1.0

1 year ago

2.0.0

1 year ago

1.0.0

1 year ago

0.1.0

1 year ago