Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@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
The npm package @backstage/integration receives a total of 49,374 weekly downloads. As such, @backstage/integration popularity was classified as popular.
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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.