Permalink
Browse files

bill of materials / lib licenses

  • Loading branch information...
kcq committed Jun 9, 2017
1 parent 3587a47 commit d8737fa9df3c71d76cc8a8069eb3123d9a225182
Showing with 75 additions and 0 deletions.
  1. +58 −0 lib-licenses.json
  2. +14 −0 scripts/bom.gen.sh
  3. +3 −0 scripts/mac.bom.gen.command
View
@@ -0,0 +1,58 @@
[
{
"project": "github.com/Sirupsen/logrus",
"license": "MIT License",
"confidence": 1
},
{
"project": "github.com/cloudimmunity/go-dockerclientx",
"license": "BSD 2-clause \"Simplified\" License",
"confidence": 1
},
{
"project": "github.com/cloudimmunity/go-dockerclientx/external/github.com/Sirupsen/logrus",
"license": "MIT License",
"confidence": 1
},
{
"project": "github.com/codegangsta/cli",
"license": "MIT License",
"confidence": 1
},
{
"project": "github.com/docker-slim/docker-slim",
"license": "\"Do What The F*ck You Want To Public License\"",
"confidence": 0.047
},
{
"project": "github.com/docker/go-connections/nat",
"license": "Apache License 2.0",
"confidence": 0.966
},
{
"project": "github.com/dustin/go-humanize",
"license": "MIT License",
"confidence": 0.969
},
{
"project": "github.com/franela/goreq",
"license": "MIT License",
"confidence": 1
},
{
"project": "github.com/go-mangos/mangos",
"license": "Apache License 2.0",
"confidence": 1
}
]
[
{
"project": "github.com/cloudimmunity/pdiscover",
"error": "No license detected"
},
{
"project": "github.com/cloudimmunity/system",
"error": "No license detected"
}
]
View
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -e
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
SDIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
source $SDIR/env.sh
echo "installing bom tool (note: requires Go 1.8+)"
go get -v -u github.com/cloudimmunity/license-bill-of-materials
license-bill-of-materials github.com/docker-slim/docker-slim/apps/docker-slim > $SDIR/../lib-licenses.json
@@ -0,0 +1,3 @@
here="$(dirname "$BASH_SOURCE")"
cd $here
./bom.gen.sh

0 comments on commit d8737fa

Please sign in to comment.