NPM audit reports:
found 13 vulnerabilities (9 low, 1 moderate, 1 high, 2 critical) in 3756 scanned package
Snyk test (with the --dev flag) reports:
Tested 731 dependencies for known issues, found 11 issues, 17 vulnerable paths.
NPM audit reports:
found 13 vulnerabilities (9 low, 1 moderate, 1 high, 2 critical) in 3756 scanned package
Snyk test (with the --dev flag) reports:
Tested 731 dependencies for known issues, found 11 issues, 17 vulnerable paths.
| #!/bin/bash | |
| declare -a commands=( | |
| create | |
| expose | |
| run | |
| set | |
| explain | |
| get |
| { | |
| "id":"https://schema.management.azure.com/schemas/2018-05-01/policyDefinition.json#", | |
| "$schema":"http://json-schema.org/draft-04/schema#", | |
| "title":"Policy Definition", | |
| "description":"This schema defines Azure resource policy definition, please see https://azure.microsoft.com/en-us/documentation/articles/resource-manager-policy/ for more details.", | |
| "type":"object", | |
| "properties":{ | |
| "if":{ | |
| "oneOf":[ | |
| { |
| package kubernetes | |
| name = input.metadata.name | |
| kind = input.kind | |
| is_service { | |
| kind = "Service" | |
| } |
| FROM python:3.7-alpine3.8 AS parent | |
| WORKDIR /app | |
| RUN pip3 install pipenv | |
| FROM parent AS base | |
| COPY Pipfile /app/ | |
| COPY Pipfile.lock /app/ |
| #!/bin/env python3 | |
| """ | |
| This script provides a basic example of using the pysnyk Snyk API client | |
| to populate a SQLite database, currently with a list of organizations, | |
| members, projects, vulnerabilies and dependencies. | |
| This is particularly useful combined with datasette, which provides a | |
| handy interface for exploring the data. |
| class Snyk < Formula | |
| desc "Find & fix known vulnerabilities in open-source dependencies" | |
| homepage "https://github.com/snyk/snyk" | |
| url "https://github.com/snyk/snyk/releases/download/v1.167.2/snyk-macos" | |
| version "1.167.2" | |
| sha256 "0d3990873060d9bb7acce02e8971ef3abb969c9207264fce1183dfc98e637605" | |
| def install | |
| mv "snyk-macos", "snyk" | |
| bin.install "snyk" |
A sample test run using the pycnab testing example against the current example bundles.
Summarising:
bundle.json files are invalid according to pycnabbundle.json files are invalid according to the JSON Schemacnab directories are invalid| { | |
| "build": [ | |
| { | |
| "base-image": "docker.io/library/maven:3-jdk-10-slim@sha256:66e3ec42ecb6ebba503fb9f684f1def49ce9045058533f4d27873942b61774a6", | |
| "packages": { | |
| "deb": { | |
| "adduser": { | |
| "version": "3.118" | |
| }, | |
| "apt": { |