Skip to content

Instantly share code, notes, and snippets.

View jchauncey's full-sized avatar

Jonathan Chauncey jchauncey

  • Workday
  • Hahira, GA
View GitHub Profile
{
"dashboard": {
"id": null,
"title": "NSQ Health",
"tags": ["deis"],
"style": "dark",
"timezone": "browser",
"editable": true,
"hideControls": false,
"sharedCrosshair": false,
#! /bin/sh
apt-get update
apt-get install -y apt-transport-https ca-certificates
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070
echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" >> /etc/apt/sources.list.d/docker.list
apt-get update
apt-get purge lxc-docker
apt-cache policy docker-engine
apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
apt-get install -y docker-engine
package kubernetes
import (
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
"net/url"
"sync"
"time"
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "Kubernetes"
},
"masterProfile": {
"count": 1,
"dnsPrefix": "",
"vmSize": "Standard_D2_v2"
stages:
- stage: build_and_push
jobs:
- job: build_component_a
steps:
...
- job: build_component_b
steps:
...
- job: build_component_c
2020-05-12T12:46:16.544-0400 INFO Detecting Debian vulnerabilities...
k8s.gcr.io/debian-base:v1.0.0 (debian 9.8)
==========================================
Total: 129 (UNKNOWN: 0, LOW: 86, MEDIUM: 27, HIGH: 16, CRITICAL: 0)
+-------------------+---------------------+----------+-----------------------+-----------------+---------------------------------------------+
| LIBRARY | VULNERABILITY ID | SEVERITY | INSTALLED VERSION | FIXED VERSION | TITLE |
+-------------------+---------------------+----------+-----------------------+-----------------+---------------------------------------------+
| apt | CVE-2011-3374 | LOW | 1.4.9 | | It was found that apt-key |