
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
cfn-stack-event-stream
Advanced tools
A readable stream of CloudFormation stack events.
var AWS = require('aws-sdk');
var EventStream = require('cfn-stack-event-stream');
var cfn = new AWS.CloudFormation({region: 'us-east-1'});
cfn.createStack({
StackName: 'my-stack',
TemplateBody: template
}, function(err) {
if (err) throw err;
EventStream(cfn, 'my-stack')
.on('data', function (e) {
console.log(e.ResourceStatus, e.ResourceType, e.ResourceStatusReason);
})
.on('end', function() {
cfn.describeStacks({StackName: 'my-stack'}, function(err, data) {
if (err) throw err;
console.log('Result: ' + data.Stacks[0].StackStatus);
});
});
});
EventStream(cfn, stackName, options)Returns an object-mode readable stream
which emits StackEvent objects as returned by describeStackEvents
Required parameters:
cfn: An AWS::CloudFormation instance.stackName: The name or ARN of the stack. Note that if you are reading events for a stack that is deleted or in the
process of being deleted, you need to pass the full ARN rather than the stackName.Options:
lastEventId: The EventId of a StackEvent. StackEvents emitted by the resulting stream
are guaranteed not to include this event or any preceding events.FAQs
A readable stream of CloudFormation stack events
The npm package cfn-stack-event-stream receives a total of 1,163 weekly downloads. As such, cfn-stack-event-stream popularity was classified as popular.
We found that cfn-stack-event-stream demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 38 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.