Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
cdk-codepipeline-bitbucket-build-result-reporter
Advanced tools
A JSII construct lib for reporting AWS CodePipeline and build statuses to a Bitbucket server instance
Automatically report all CodePipeline build results to a Bitbucket server. For details, see the Bitbucket REST API documentation https://docs.atlassian.com/bitbucket-server/rest/4.0.0/bitbucket-build-rest.html.
Add the library to your AWS CDK project:
npm i --save cdk-codepipeline-bitbucket-build-result-reporter
Configure the Bitbucket token that is used to synchronize statuses:
aws ssm put-parameter --name "/my/ssm/variable/BITBUCKET_UPDATE_BUILD_STATUS_TOKEN" --value "<generated-token>" --type "SecureString"
Note: stack
must be a CDK deployment stage so that the bundled Lambda asset will be properly deployed.
// AWS CDK 2.0
import { App, Stack, aws_ssm as ssm, aws_ec2 as ec2 } from 'aws-cdk-lib';
const accessToken = ssm.StringParameter.fromStringParameterName(stack, 'param', '/my/ssm/variable/BITBUCKET_UPDATE_BUILD_STATUS_TOKEN');
// In your infrastructure account, add to your stack
new CodePipelineBitbucketBuildResultReporter(stack, 'CodePipelineBitbucketBuildResultReporter', {
bitBucketServerAddress: 'bitbucket-server.com',
bitbucketAccessToken: accessToken,
vpc,
});
FAQs
A JSII construct lib for reporting AWS CodePipeline and build statuses to a Bitbucket server instance
The npm package cdk-codepipeline-bitbucket-build-result-reporter receives a total of 121 weekly downloads. As such, cdk-codepipeline-bitbucket-build-result-reporter popularity was classified as not popular.
We found that cdk-codepipeline-bitbucket-build-result-reporter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.