8000 GitHub - stanch/jq-modules: Various jq (https://stedolan.github.io/jq/) modules
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

stanch/jq-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Various jq modules

cf-sg-graph.jq

This script produces a JSON Graph representation of the security rules found in a given CloudFormation template.

Note that currently only rules specified as resources are supported.

Prerequisites:

sudo apt-get install jq graphviz
sudo npm install -g jgf-dot
mkdir ~/.jq
curl https://raw.githubusercontent.com/stanch/jq-modules/master/cf-sg-graph.jq > ~/.jq/cf-sg-graph.jq

Usage:

jq 'include "cf-sg-graph"; graph' template.json | jgfdot | dot -Tsvg -otest.svg -Granksep=1.5

About

Various jq (https://stedolan.github.io/jq/) modules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0