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

@seatgeek/backstage-plugin-slack-catalog-backend

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seatgeek/backstage-plugin-slack-catalog-backend

This plugin offers catalog integrations for ingesting data from the Slack API into the Software Catalog.

  • 2.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@seatgeek/backstage-plugin-slack-catalog-backend

This plugin offers catalog integrations for ingesting data from the Slack API into the Software Catalog.

npm latest version

Installation

Install the @seatgeek/backstage-plugin-slack-catalog-backend package in your backend package:

# From your Backstage root directory
yarn add --cwd packages/backend @seatgeek/backstage-plugin-slack-catalog-backend

Add the following config to your app-config.yaml:

slackCatalog:
  token: ${SLACK_API_TOKEN_CATALOG}

More information about Slack scopes requirements.

Processors

SlackUserProcessor

Enriches existing User entities with information from Slack, notably the user's Slack ID and profile picture, based on the user's .profile.email.

Installation

Add the following to your packages/backend/index.ts:

backend.add(import('@seatgeek/backstage-plugin-slack-catalog-backend'));
Legacy backend system

Add the following to your packages/backend/catalog.ts:

import { SlackUserProcessor } from '@seatgeek/backstage-plugin-slack-catalog-backend';

export default async function createPlugin(
  env: PluginEnvironment,
): Promise<Router> {
  const builder = CatalogBuilder.create(env);
  builder.addProcessor(
    // Add the slack user processor
    SlackUserProcessor.fromConfig(env.config, env.logger),
  );
  const { processingEngine, router } = await builder.build();
  processingEngine.start();
  return router;
}

FAQs

Package last updated on 07 Oct 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