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
This commit is contained in:
commit
c735d1e4b1
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
18
_service
Normal file
18
_service
Normal file
@ -0,0 +1,18 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">https://github.com/aquasecurity/trivy.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="filename">trivy</param>
|
||||
<param name="revision">v0.9.2</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
<service name="go_modules" mode="disabled"/>
|
||||
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/aquasecurity/trivy.git</param>
|
||||
<param name="changesrevision">d9fa353a069bf14e93c88cf6a4ba194c12594374</param></service></servicedata>
|
BIN
trivy-0.9.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
trivy-0.9.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
61
trivy.changes
Normal file
61
trivy.changes
Normal file
@ -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
|
||||
|
57
trivy.spec
Normal file
57
trivy.spec
Normal file
@ -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
|
BIN
vendor.tar.gz
(Stored with Git LFS)
Normal file
BIN
vendor.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user