* ci(detector-tests): test detectors if integration fails (#2994) * Pin STARRY-S/zip #2999 * Adding Larksuite Detectors + Tests (#3008) * fix(git): set GIT_DIR based on ScanOptions.Bare (#3004) * Return targeted scan errors (#2995) * fix(deps): update module github.com/aws/aws-sdk-go to v1.54.6 (#2996) * fix(deps): update module github.com/googleapis/gax-go/v2 to v2.12.5 (#2993) * ci(detector-tests): disambiguate step names (#2989) * fix(deps): update module github.com/aws/aws-sdk-go to v1.54.5 (#2992) * clone more refs (#2988) * fix(deps): update module google.golang.org/api to v0.185.0 (#2987) * [feat] - Add Option to Retain False Positives During Detection (#2967) * fix(deps): update module github.com/getsentry/sentry-go to v0.28.1 (#2986) * fix(deps): update module github.com/elastic/go-elasticsearch/v8 to v8.14.0 (#2981) * fix(deps): update module github.com/bradleyfalzon/ghinstallation/v2 to v2.11.0 (#2980) * fix(deps): update module cloud.google.com/go/storage to v1.42.0 (#2977) * fix(deps): update module go.mongodb.org/mongo-driver to v1.15.1 (#2975) * fix(deps): update module github.com/google/go-containerregistry to v0.19.2 (#2973) * fix(deps): update golang.org/x/exp digest to 7f521ea (#2972) * fix(deps): update module github.com/aws/aws-sdk-go to v1.54.2 (#2962) * patch dependency (#2971) * [fix] - implement MaxSecretSizeProvider for `auth0managementapitoken` detector (#2953) * Fix integration tests (#2970) * feat(detectors): log falsepositive reason (#2969) * fix(handlers): workaround for max archive depth (#2965) * add metrics to the pipeline (#2968) * adding eraser ai detector (#2961) * Modularize scanning engine (#2887) * test: fix compile errors (#2964) OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/trufflehog?expand=0&rev=107
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.78.2
|
|
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
|