
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@roadiehq/backstage-plugin-launchdarkly
Advanced tools
Welcome to the LaunchDarkly plugin! It allows you to view feature flags on an entity page in Backstage for either a Project in a tab or a specific context in an entity card.
Add a proxy configuration for LaunchDarkly in the app-config.yaml
file
proxy:
'/launchdarkly/api':
target: https://app.launchdarkly.com/api
headers:
Authorization: ${LAUNCHDARKLY_API_KEY}
In the packages/app/src/components/catalog/EntityPage.tsx
under overviewContent
add the following:
<EntitySwitch>
<EntitySwitch.Case if={isLaunchdarklyContextAvailable}>
<EntityLaunchdarklyContextOverviewCard />
</EntitySwitch.Case>
</EntitySwitch>
This component displays LaunchDarkly flags with multiple environments. It allows toggling which columns are shown and provides a more comprehensive view of LaunchDarkly flags. The component expects a prop array of envs to display on the table.
In the packages/app/src/components/catalog/EntityPage.tsx
under overviewContent
add the following:
<EntitySwitch>
<EntitySwitch.Case if={isLaunchdarklyProjectAvailable}>
<EntityLaunchdarklyCard envs={['production', 'dev']} />
</EntitySwitch.Case>
</EntitySwitch>
In the packages/app/src/components/catalog/EntityPage.tsx
under serviceEntityPage
add the following:
<EntityLayout.Route path="/launch-darkly-projects" title="LaunchDarkly">
<EntityLaunchdarklyProjectOverviewContent />
</EntityLayout.Route>
Set the LAUNCHDARKLY_API_KEY
environment variable and run the backstage backend.
Create an entity with the following annotations and import it:
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: launchdarklytest
annotations:
launchdarkly.com/project-key: default
launchdarkly.com/environment-key: test
launchdarkly.com/context: '{ "kind": "tenant", "key": "blah", "name": "blah" }'
spec:
type: service
lifecycle: unknown
owner: 'group:engineering'
Add the additional annotations in order to filter flags by tags and/or query
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: launchdarklytest
annotations:
launchdarkly.com/project-key: default
launchdarkly.com/environment-key: test
launchdarkly.com/context: '{ "kind": "tenant", "key": "blah", "name": "blah" }'
launchdarkly.com/filter-tags: '["tagged-flag"]'
launchdarkly.com/filter-query: 'dark-mode'
spec:
type: service
lifecycle: unknown
owner: 'group:engineering'
Roadie gives you a hassle-free, fully customisable SaaS Backstage. Find out more here: https://roadie.io.
FAQs
Unknown package
The npm package @roadiehq/backstage-plugin-launchdarkly receives a total of 43 weekly downloads. As such, @roadiehq/backstage-plugin-launchdarkly popularity was classified as not popular.
We found that @roadiehq/backstage-plugin-launchdarkly demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.