- Update to version 3.75.0: * fix(deps): update module golang.org/x/text to v0.15.0 (#2786) * fix(deps): update module golang.org/x/oauth2 to v0.20.0 (#2785) * fix(deps): update module github.com/charmbracelet/bubbletea to v0.26.1 (#2777) * fix(deps): update module github.com/googleapis/gax-go/v2 to v2.12.4 (#2781) * fix(deps): update module github.com/aws/aws-sdk-go to v1.52.2 (#2776) * fix(deps): update module cloud.google.com/go/secretmanager to v1.13.0 (#2775) * set default buffer size to 64 (#2778) * Update result's extra data for Slack (#2779) * fix for infinite recursion in Postman var sub (#2780) * Update rabbitmq.go regex detect amqps protocol (#2609) * adds build version to finished scanning log (#2773) * update imports (#2772) * fix(deps): update module google.golang.org/api to v0.177.0 (#2770) * fix(deps): update module github.com/aws/aws-sdk-go to v1.51.32 (#2769) * Detector-Competition-Fix - fixed the alchemy detector regex (#1821) * Detector-Fix: Reintroduce Cloudflareglobalapikey (#2101) * Expose detector-specific false positive logic (#2743) * fixed calendly api key (#2368) * [bug] - Improve BufferedFileReader Close Behavior (#2768) * fix(deps): update module google.golang.org/protobuf to v1.34.0 (#2766) * [feat] - Add ReadFrom method to BufferedFileWriter (#2759) * [feat] - buffered file reader (#2731) * test(git): change length of chunks (#2767) * [chore] Add some happy path logs to GitLab (#2765) * Update ignore extensions (#2764) * Correclty set metrics for enumerated orgs (#2757) * feat(git): scan commit metadata (#2754) * fix(deps): update module github.com/aws/aws-sdk-go to v1.51.31 (#2763) * ignore pbix and vsdx files (#2762) OBS-URL: https://build.opensuse.org/request/show/1172166 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/trufflehog?expand=0&rev=91
56 lines
1.5 KiB
RPMSpec
56 lines
1.5 KiB
RPMSpec
#
|
|
# spec file for package trufflehog
|
|
#
|
|
# Copyright (c) 2024 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/
|
|
#
|
|
|
|
|
|
Name: trufflehog
|
|
Version: 3.75.0
|
|
Release: 0
|
|
Summary: CLI tool to find exposed secrets in source and archives
|
|
License: AGPL-3.0-or-later
|
|
URL: https://github.com/trufflesecurity/trufflehog
|
|
Source: trufflehog-%{version}.tar.gz
|
|
Source1: vendor.tar.gz
|
|
BuildRequires: golang(API) >= 1.22
|
|
|
|
%description
|
|
TruffleHog is a scanning engine that helps find exposed secrets
|
|
within e.g. GitHub/GitLab repos, AWS S3 buckets, GCS buckets,
|
|
Docker images, Circle CI/Travis CI setups, or in individual files.
|
|
|
|
%prep
|
|
%autosetup -D -a 1
|
|
|
|
%build
|
|
%ifnarch ppc64
|
|
export GOFLAGS="-buildmode=pie"
|
|
%endif
|
|
go build
|
|
|
|
%check
|
|
# execute the binary as a basic check
|
|
./%{name} --help
|
|
|
|
%install
|
|
install -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{_bindir}/%{name}
|
|
|
|
%changelog
|