- Update to version 3.76.2: * [bug] - Handle empty reader case in newFileReader (#2854) - Update to version 3.76.1: * fix(deps): update module github.com/aws/aws-sdk-go to v1.53.3 (#2849) * [bug] - Handle empty reader case in newFileReader (#2854) * [refactor] - Create separate handler for non-archive data (#2825) * added email and location in metadata. (#2850) * chore: fix some typos in comments (#2851) * Add "Intra42" detector (#2835) * [feat] - Support bearer auth for docker scans (#2848) * Use fake detectors in versioned detectors test (#2847) * switch to filesystem and specific tag when performance testing (#2846) * [bug] - Fix case-sensitivity issue in PrefixRegex function (#2811) * fix(deps): update module cloud.google.com/go/storage to v1.41.0 (#2843) * feat(sendgrid): update detector (#2833) * Bump up performance test threshold to 50% (#2839) * fix(deps): update module github.com/aws/aws-sdk-go to v1.53.1 (#2841) * fix(deps): update module github.com/fatih/color to v1.17.0 (#2837) * Fixed the Now Scanning emoji (#2842) * [chore] - Update GitlabV2 detector (#2840) * fix(deps): update module github.com/aws/aws-sdk-go to v1.53.0 (#2830) * Update results's extra data for Twilio (#2807) * fix(deps): update module github.com/google/go-github/v61 to v62 (#2832) * fix(deps): update module github.com/sassoftware/go-rpmutils to v0.4.0 (#2831) * fix(deps): update module google.golang.org/api to v0.180.0 (#2822) * fix(deps): update module github.com/xanzy/go-gitlab to v0.105.0 (#2824) * fix(deps): update testcontainers-go monorepo to v0.31.0 (#2823) * [refactor] - Refactor Archive Handling Logic (#2703) * Update postman flags to be less confusing (#2755) * fix(deps): update module github.com/prometheus/client_golang to v1.19.1 (#2821) * fix(deps): update module github.com/charmbracelet/bubbletea to v0.26.2 (#2818) * fix(deps): update module github.com/hashicorp/go-retryablehttp to v0.7.6 (#2819) * fix(deps): update module github.com/aws/aws-sdk-go to v1.52.6 (#2816) * test(common/http): fix panic (#2817) * fix(deps): update module github.com/snowflakedb/gosnowflake to v1.10.0 (#2810) * fix(deps): update module github.com/rabbitmq/amqp091-go to v1.10.0 (#2809) * fix(deps): update module github.com/xanzy/go-gitlab to v0.104.1 (#2784) * address linter (#2783) * chore(deps): update golangci/golangci-lint-action action to v6 (#2801) * Updating Enterprise Readme Link from Contact to Product Info Page (#2804) * Moved up enterprise section and added additional integrations (#2803) * fix(deps): update module google.golang.org/api to v0.178.0 (#2800) * fix(deps): update module github.com/aws/aws-sdk-go to v1.52.4 (#2794) * fix(deps): update module github.com/brianvoe/gofakeit/v7 to v7.0.3 (#2798) * fix(deps): update module golang.org/x/exp to v0.0.0-20240506185415-9bf2ced13842 (#2795) * increase test chan size (#2797) OBS-URL: https://build.opensuse.org/request/show/1174422 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/trufflehog?expand=0&rev=97
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.76.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
|