Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions security_tool_comparison.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,22 @@ <h1>AWS Security Auditing tools comparison</h1>
return cell.getValue();
};

hyperlinkMutator = function (value) {
return "<a href='" + value + "'>" + value + "</a>";
};

var table = new Tabulator("#table", {
layout:"fitColumns",
layoutColumnsOnNewData:true,
placeholder:"No Data Set",
columns:[
{title:"Rule", field:"rule", sorter:"string", width:200},
{title:"Type", field:"type", formatter:formatcolor, sorter:"string"},
{title:"PacBot", field:"pacbot", formatter:formatcolor, sorter:"string"},
{title:"Prowler", field:"prowler", formatter:formatcolor, sorter:"string"},
{title:"Security Monkey", field:"security_monkey", formatter:formatcolor, sorter:"string"},
{title:"PacBot", field:"pacbot", formatter:formatcolor, mutator:hyperlinkMutator, sorter:"string"},
{title:"Prowler", field:"prowler", formatter:formatcolor, mutator:hyperlinkMutator, sorter:"string"},
{title:"Security Monkey", field:"security_monkey", formatter:formatcolor, mutator:hyperlinkMutator, sorter:"string"},
{title:"Trusted Advisor", field:"trusted_advisor", formatter:formatcolor, sorter:"string"},
{title:"AWS Config Rule", field:"config_rule", formatter:formatcolor, sorter:"string"},
{title:"AWS Config Rule", field:"config_rule", formatter:formatcolor, mutator:hyperlinkMutator, sorter:"string"},
{title:"CloudMapper", field:"cloudmapper", formatter:formatcolor, sorter:"string"}
],
});
Expand Down