Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@backstage/integration
Advanced tools
Helpers for managing integrations towards external systems
@backstage/integration is a package that provides a set of utilities and integrations for working with various external systems and services within the Backstage ecosystem. It helps in managing integrations with source control systems, cloud providers, and other external services.
GitHub Integration
This feature allows you to integrate with GitHub, enabling you to resolve repository URLs and interact with GitHub repositories using the provided configuration.
const { GithubIntegration } = require('@backstage/integration');
const config = { host: 'github.com', token: 'your-github-token' };
const githubIntegration = GithubIntegration.fromConfig(config);
const repoUrl = 'https://github.com/your-org/your-repo';
const repoDetails = githubIntegration.resolveUrl({ url: repoUrl });
console.log(repoDetails);
GitLab Integration
This feature allows you to integrate with GitLab, enabling you to resolve repository URLs and interact with GitLab repositories using the provided configuration.
const { GitlabIntegration } = require('@backstage/integration');
const config = { host: 'gitlab.com', token: 'your-gitlab-token' };
const gitlabIntegration = GitlabIntegration.fromConfig(config);
const repoUrl = 'https://gitlab.com/your-org/your-repo';
const repoDetails = gitlabIntegration.resolveUrl({ url: repoUrl });
console.log(repoDetails);
Bitbucket Integration
This feature allows you to integrate with Bitbucket, enabling you to resolve repository URLs and interact with Bitbucket repositories using the provided configuration.
const { BitbucketIntegration } = require('@backstage/integration');
const config = { host: 'bitbucket.org', token: 'your-bitbucket-token' };
const bitbucketIntegration = BitbucketIntegration.fromConfig(config);
const repoUrl = 'https://bitbucket.org/your-org/your-repo';
const repoDetails = bitbucketIntegration.resolveUrl({ url: repoUrl });
console.log(repoDetails);
Azure DevOps Integration
This feature allows you to integrate with Azure DevOps, enabling you to resolve repository URLs and interact with Azure DevOps repositories using the provided configuration.
const { AzureIntegration } = require('@backstage/integration');
const config = { host: 'dev.azure.com', token: 'your-azure-token' };
const azureIntegration = AzureIntegration.fromConfig(config);
const repoUrl = 'https://dev.azure.com/your-org/your-repo';
const repoDetails = azureIntegration.resolveUrl({ url: repoUrl });
console.log(repoDetails);
Octokit is a GitHub API client for JavaScript. It provides a comprehensive set of tools for interacting with the GitHub API, including repository management, issue tracking, and more. Compared to @backstage/integration, Octokit is more focused on GitHub-specific functionalities.
Node-GitLab is a GitLab API client for Node.js. It allows you to interact with GitLab's API to manage repositories, issues, and other resources. While @backstage/integration provides a broader set of integrations, node-gitlab is specialized for GitLab.
Bitbucket is an API client for Bitbucket's REST API. It enables you to manage repositories, pull requests, and other resources on Bitbucket. Compared to @backstage/integration, the bitbucket package is dedicated to Bitbucket-specific operations.
Azure DevOps Node API is a client library for interacting with Azure DevOps services. It provides tools for managing repositories, pipelines, and other Azure DevOps resources. While @backstage/integration supports multiple integrations, azure-devops-node-api is focused on Azure DevOps.
Contains some common functionality of integrations.
This package will be imported both by the frontend and backend.
FAQs
Helpers for managing integrations towards external systems
We found that @backstage/integration demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.