commit c735d1e4b1e78e2649b36fc5e4d6d4069b6116d24eb4883d3562203f9ab9832c Author: Dominique Leuenberger Date: Tue Oct 20 14:13:13 2020 +0000 Accepting request 842569 from devel:kubic add to factory please OBS-URL: https://build.opensuse.org/request/show/842569 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trivy?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..51d808a --- /dev/null +++ b/_service @@ -0,0 +1,18 @@ + + + https://github.com/aquasecurity/trivy.git + git + .git + trivy + v0.9.2 + @PARENT_TAG@ + v(.*) + enable + + + + *.tar + gz + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..9f5bccd --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/aquasecurity/trivy.git + d9fa353a069bf14e93c88cf6a4ba194c12594374 \ No newline at end of file diff --git a/trivy-0.9.2.tar.gz b/trivy-0.9.2.tar.gz new file mode 100644 index 0000000..c178d1e --- /dev/null +++ b/trivy-0.9.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a26f12b2ba1fee2cf0838ab4d05732e9b32c8ca30dcd0b54bd6be84f680ae6f +size 20688249 diff --git a/trivy.changes b/trivy.changes new file mode 100644 index 0000000..8955ff1 --- /dev/null +++ b/trivy.changes @@ -0,0 +1,61 @@ +------------------------------------------------------------------- +Tue Sep 08 18:00:57 UTC 2020 - jsuchome@suse.com + +- Update to version 0.9.2: + * Fixing `Error retrieving template from path` when --format is not template but template is provided (#556) + * Adding contrib/junit.tpl to docker image (#554) + * db: Update trivy-db to include CVSS score info (#530) + * docs: fix markdown (#553) + * Added function to escape string in failure message title and descriptions (#551) + * Added JUNIT support (#541) + * chore(docs): mention air-gapped environment (#544) + * chore(README): add programming languages (#543) + * fix(log): write error messages to stderr (#538) + * Use StoreMetadata from trivy-db (#509) + * docs: add more CI options to README (#535) + * chore(Dockerfile): bump up alpine to 3.12 (#528) + * fix(alpine): replace go-deb-version with go-apk-version (#520) + * fix: MissingBlobs is implemented different in FS and S3 the method log… (#522) + +------------------------------------------------------------------- +Wed Aug 19 11:24:03 UTC 2020 - dmueller@suse.com + +- Update to version 0.9.1: + * fix(alpine): support 3.12 (#517) + * chore(README): prepare for v0.9.0 (#507) + * fix(config): transpose arguments (#516) + +------------------------------------------------------------------- +Tue Jul 28 12:33:21 UTC 2020 - jsuchome@suse.com + +- Update to version 0.9.0: + * fix(app): add ArgsUsage (#508) + * feat: support repository and filesystem scan (#503) + * Add GHSA support (#467) + * refactor: define common options and embed them into the option for subcommand (#502) + * Add image subcommand (#493) + * fix: remove help template (#500) + * vulnerability: Add CVSS Vectors to JSON output. (#484) + * feat: support registry token (#482) + * chore: bump up urfave/cli to v2 (#499) + * chore(doc): update README (#490) + * chore(ci): move integration tests to GitHub Actions (#485) + * feat: support OCI Image Format (#475) + * chore(github): fix issue templates (#483) + * contrib/gitlab.tpl: Add new id field (#468) + * chore(docs): add triage.md (#473) + * fix: handle a scratch/busybox/DockerSlim image gracefully (#476) + * rpc: Fix output to use templates when in client server mode. (#469) + * Override with Vendor score if exists (#433) + * docs: Update installation docs for pointing to Trivy Releases. (#463) + +------------------------------------------------------------------- +Fri Jul 24 11:34:15 UTC 2020 - jsuchome@suse.com + +- enabled changesgenerate option to automatically generate changes + +------------------------------------------------------------------- +Thu Jul 16 15:54:15 CEST 2020 - jsuchome@suse.com + +- initial release of 0.6.0 version, supported by Harbor 2.0 + diff --git a/trivy.spec b/trivy.spec new file mode 100644 index 0000000..d61d416 --- /dev/null +++ b/trivy.spec @@ -0,0 +1,57 @@ +# +# spec file for package trivy +# +# Copyright (c) 2020 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# +# nodebuginfo + + +%define goipath github.com/aquasecurity/trivy + +Name: trivy +Version: 0.9.2 +Release: 0 +Summary: Vulnerability Scanner for Containers +License: Apache-2.0 +Group: System/Management +URL: https://github.com/aquasecurity/trivy +Source0: %{name}-%{version}.tar.gz +Source1: vendor.tar.gz +BuildRequires: golang-packaging +BuildRequires: golang(API) >= 1.13 + +%description +A Simple and Comprehensive Vulnerability Scanner for Containers and other Artifacts, +Suitable for CI. + +%prep +%setup -q -n %{name}-%{version} +%setup -q -T -D -a 1 + +%build +%goprep %{goipath} + +export CGO_ENABLED=0 + +%gobuild -mod vendor cmd/trivy + +%install +%goinstall + +%files +%license LICENSE +%doc README.md +%{_bindir}/trivy + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..29f9c36 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9309b4845bcb26d3820a2f91b339bf919c790eb0dcc6bd1b7e0b1cf291273a7d +size 4286775