Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
cfn-resources
Advanced tools
> Prints the list of resource types and logical IDs from a CloudFormation > template.
Prints the list of resource types and logical IDs from a CloudFormation template.
Install globally:
npm i -g cfn-resources
$ cat my-template.json | cfn-resources
AWS::AutoScaling::AutoScalingGroup WebServerGroup
AWS::AutoScaling::LaunchConfiguration LaunchConfig
AWS::AutoScaling::ScalingPolicy WebServerScaleUpPolicy
AWS::AutoScaling::ScalingPolicy WebServerScaleDownPolicy
AWS::CloudWatch::Alarm CPUAlarmHigh
AWS::CloudWatch::Alarm CPUAlarmLow
AWS::EC2::SecurityGroup InstanceSecurityGroup
AWS::ElasticLoadBalancingV2::Listener ALBListener
AWS::ElasticLoadBalancingV2::LoadBalancer ApplicationLoadBalancer
AWS::ElasticLoadBalancingV2::TargetGroup ALBTargetGroup
AWS::SNS::Topic NotificationTopic
To print the number of resources in a template:
$ cat test/fixtures/sample.json | node lib/cli.js | wc -l
11
To print only resource types:
$ cat my-template.json | cfn-resources | cut -d" " -f1 | uniq
AWS::AutoScaling::AutoScalingGroup
AWS::AutoScaling::LaunchConfiguration
AWS::AutoScaling::ScalingPolicy
AWS::CloudWatch::Alarm
AWS::EC2::SecurityGroup
AWS::ElasticLoadBalancingV2::Listener
AWS::ElasticLoadBalancingV2::LoadBalancer
AWS::ElasticLoadBalancingV2::TargetGroup
AWS::SNS::Topic
All contributions are celebrated.
Distributed under the Apache 2.0 license.
FAQs
> Prints the list of resource types and logical IDs from a CloudFormation > template.
The npm package cfn-resources receives a total of 413 weekly downloads. As such, cfn-resources popularity was classified as not popular.
We found that cfn-resources demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.