This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To get only specific results from SCA, Sonatype, etc... we can use the following | |
fcli ssc appversion-vuln count --appversion MyApp:version --by 11111111-1111-1111-1111-111111111151 -q id=SCA | |
fcli ssc appversion-vuln count --appversion MyApp:version --by 11111111-1111-1111-1111-111111111151 -q id=SONATYPE | |
It is currently not possible to combine grouping and filtering in the fcli, so the next best thing is to \ | |
use filterset and then query to count for example the number of SCA High or Critical count | |
fcli ssc appversion-vuln count --appversion MyApp:version --filterset=32142c2d-3f7f-4863-a1bf-42jadfrfasd2ed -q id=High -o expr={visibleCount} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_____ _ _ _______ _______ _____ _____ _____ | |
| __ \ /\ | \ | | / ____\ \ / / ____| __ \_ _/ ____| | |
| | | | / \ | \| | | (___ \ \_/ / (___ | | | || || | __ | |
| | | |/ /\ \ | . ` | \___ \ \ / \___ \| | | || || | |_ | | |
| |__| / ____ \| |\ | ____) | | | ____) | |__| || || |__| | | |
|_____/_/ _\_\_| \_|_|_____/ |_|_|_____/|_____/_____\_____| | |
| | / __ \ / ____| || | | | | |
| | | | | | | __| || |_ | | | |
| | | | | | | |_ |__ _| | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
,--. | |
,---, ,---, ,--.'| .--.--. .--.--. ,---, ,---, ,----.. | |
.' .' `\ ' .' \ ,--,: : | / / '. ,---, / / '. .' .' `\ ,`--.' | / / \ | |
,---.' \ / ; '. ,`--.'`| ' : | : /`. / /_ ./|| : /`. / ,---.' \ | : :| : : | |
| | .`\ |: : \ | : : | | ; | |--`,---, | ' :; | |--` | | .`\ |: | '. | ;. / | |
: : | ' |: | /\ \ : | \ | : | : ;_ /___/ \. : || : ;_ : : | ' || : |. ; /--` | |
| ' ' ; :| : ' ;. : | : ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const chromeless = new Chromeless({ remote: true }) | |
const screenshot = await chromeless | |
.goto('https://html5test.com/') | |
.wait(2000) | |
.screenshot() | |
console.log(screenshot) | |
await chromeless.end() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"> | |
<title>Dorling Cartogram</title> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.v2.js"></script> | |
<style> | |
#chart { | |
width: 960px; | |
height: 470px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Download dcos https://dcos.io/releases/ | |
Once downloaded, move the installer (dcos_generate_config.sh) to the root of the repo (the repo will be mounted into the vagrant machines as /vagrant). | |
Install VBox and Vagrant | |
Clone Repo | |
git clone https://github.com/dcos/dcos-vagrant | |
Install Vagrant plugins | |
$ vagrant plugin install vagrant-hostmanager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var requestFileSystem = window.webkitRequestFileSystem || window.mozRequestFileSystem || window.msRequestFileSystem || window.requestFileSystem; | |
var URL = "example.zip"; | |
var filesystem, zipFs = new zip.fs.FS(); | |
function onerror(message) { | |
console.error(message); | |
} | |
function removeRecursively(entry, onend, onerror) { | |
var rootReader = entry.createReader(); |