
Security News
curl Shuts Down Bug Bounty Program After Flood of AI Slop Reports
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.
@teamgantt/pipeline-lambda
Advanced tools
Utilities for lambdas that execute in the context of a CodePipeline
Utilities for lambdas that execute in the context of a CodePipeline
These functions are mostly boilerplate for lambda functions that execute as a step in AWS CodePipeline.
const AWS = require('aws-sdk');
const {putJobFailure, putJobSuccess} = require('@teamgantt/pipeline-lambda');
// A function that cleans up some temporary test stack
const deleteStack = (cfn, stackName) => {
const params = {
StackName: stackName
};
return cfn.deleteStack(params).promise();
}
exports.handler = async (event, context) => {
// Get the job from the event given to lambda
const job = event['CodePipeline.job'];
// Get data passed to the job
const { id: jobId, data: { actionConfiguration: { configuration: { UserParameters: stackName } } } } = job;
// Create the clients you need for whatever jam your lambda is doing
const pipeline = new AWS.CodePipeline();
const cfn = new AWS.CloudFormation();
try {
await deleteStack(cfn, stackName);
// If your work succeeds, call putJobSuccess like so to mark the pipeline job as good
// this will cause your pipeline to transition to the next step in the pipeline :)
await putJobSuccess(pipeline, {context, jobId, message: `Deleted stack ${stackName}`});
} catch (e) {
// Mark the job as a failure, causing your pipeline to stop dead in it's tracks with failure
await putJobFailure(pipeline, {context, jobId, message: `Failed to delete stack ${stackName}`});
}
};
FAQs
Utilities for lambdas that execute in the context of a CodePipeline
The npm package @teamgantt/pipeline-lambda receives a total of 0 weekly downloads. As such, @teamgantt/pipeline-lambda popularity was classified as not popular.
We found that @teamgantt/pipeline-lambda demonstrated a not healthy version release cadence and project activity because the last version was released 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
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.