-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: initial check command with basic UI (#2)
* feat: grant check grant check adds the ability for the program to take an image or SBOM and provide a license compliance check based on a provided configuration The default configuration denies all licenses so a user running the command for the first time will see status code 1 as the response --------- Signed-off-by: Christopher Phillips <[email protected]>
- Loading branch information
Showing
26 changed files
with
2,061 additions
and
59 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
permit: | ||
- BSD.* | ||
- CC0.* | ||
- MIT.* | ||
- Apache.* | ||
- MPL.* | ||
- ISC | ||
- WTFPL | ||
|
||
ignore-packages: | ||
# packageurl-go is released under the MIT license located in the root of the repo at /mit.LICENSE | ||
- github.com/anchore/packageurl-go | ||
|
||
# both of these dependencies are specified as Apache-2.0 in their respective GitHub READMEs | ||
- github.com/alibabacloud-go/cr-20160607/client | ||
- github.com/alibabacloud-go/tea-xml/service | ||
|
||
# crypto/internal/boring is released under the openSSL license as a part of the Golang Standard Libary | ||
- crypto/internal/boring | ||
|
||
# from: https://github.com/spdx/tools-golang/blob/main/LICENSE.code | ||
# The tools-golang source code is provided and may be used, at your option, | ||
# under either: | ||
# * Apache License, version 2.0 (Apache-2.0), OR | ||
# * GNU General Public License, version 2.0 or later (GPL-2.0-or-later). | ||
# (we choose Apache-2.0) | ||
- github.com/spdx/tools-golang | ||
|
||
# from: https://github.com/xi2/xz/blob/master/LICENSE | ||
# All these files have been put into the public domain. | ||
# You can do whatever you want with these files. | ||
- github.com/xi2/xz | ||
|
||
# from: https://gitlab.com/cznic/sqlite/-/blob/v1.15.4/LICENSE | ||
# This is a BSD-3-Clause license | ||
- modernc.org/libc | ||
- modernc.org/libc/errno | ||
- modernc.org/libc/fcntl | ||
- modernc.org/libc/fts | ||
- modernc.org/libc/grp | ||
- modernc.org/libc/langinfo | ||
- modernc.org/libc/limits | ||
- modernc.org/libc/netdb | ||
- modernc.org/libc/netinet/in | ||
- modernc.org/libc/poll | ||
- modernc.org/libc/pthread | ||
- modernc.org/libc/pwd | ||
- modernc.org/libc/signal | ||
- modernc.org/libc/stdio | ||
- modernc.org/libc/stdlib | ||
- modernc.org/libc/sys/socket | ||
- modernc.org/libc/sys/stat | ||
- modernc.org/libc/sys/types | ||
- modernc.org/libc/termios | ||
- modernc.org/libc/time | ||
- modernc.org/libc/unistd | ||
- modernc.org/libc/utime | ||
- modernc.org/libc/uuid/uuid | ||
- modernc.org/libc/wctype | ||
- modernc.org/mathutil | ||
- modernc.org/memory |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
enforce-v0: true # don't make breaking-change label bump major version before 1.0. | ||
title: "" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#.grant.yaml | ||
precedence: [deny, allow] | ||
deny: "*" | ||
allow: | ||
deny-licenses: "*" | ||
allow-licenses: | ||
- MIT | ||
- Apache-2 | ||
- Apache-2.0 |
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
Oops, something went wrong.