- Update to version 3.76.0: * 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) * Add webhook source protos (#2789) * fix(deps): update module golang.org/x/net to v0.25.0 (#2792) * Use custom fp logic for private keys (#2793) * fix(deps): update module google.golang.org/protobuf to v1.34.1 (#2790) * 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) * pkg: fix function names in comment (#2761) * [chore] - add additional binary extension (#2760) * fix(deps): update module github.com/aws/aws-sdk-go to v1.51.30 (#2756) * update integration logos (#2752) * fix(deps): update module github.com/aws/aws-sdk-go to v1.51.29 (#2751) * [bug] - Fix the metric for buffered file writer writes (#2750) * [bug] - fix buffer size metric (#2749) * [chore] Remove broken test (#2748) * [refactor] - lazy buffer retrieval (#2745) * [chore] - update buffered file writer metric (#2740) * [bug] - Refactor newDiff constructor to avoid double initialization of contentWriter (#2742) * Revert "feat(git): scan commit metadata (#2713)" (#2747) * Fix SQL Server detector tests (#2716) * feat(git): scan commit metadata (#2713) * chore(deps): update golangci/golangci-lint-action action to v5 (#2744) * fix(deps): update module github.com/aws/aws-sdk-go to v1.51.28 (#2741) * update buffer metrics (#2737) * [bug] - Correctly return the checked out buffer to the pool (#2732) * fix(deps): update module google.golang.org/api to v0.176.1 (#2736) * fix(deps): update module github.com/aws/aws-sdk-go to v1.51.27 (#2735) * Make connection issues less jarring (#2730) * [bug] - Fix disk write metric and update BufferedFileWriter file field (#2733) * Add false positive info to proto (#2729) * [refactor] - Update Write method signature in contentWriter interface (#2721) * fix(deps): update module github.com/aws/aws-sdk-go to v1.51.26 (#2728) * Move detectors.IsKnownFalsePositive from the detectors and into the engine (#2643) * fix(deps): update module google.golang.org/api to v0.176.0 (#2726) * added onfleet api key detector (#2375) * fix(deps): update module google.golang.org/api to v0.175.0 (#2724) * fix(deps): update module github.com/microsoft/go-mssqldb to v1.7.1 (#2720) * fix(deps): update module github.com/aws/aws-sdk-go to v1.51.25 (#2723) * Detect Slack workflows webhook (#2569) * fix(deps): update module github.com/couchbase/gocb/v2 to v2.8.1 (#2714) * fix(deps): update module github.com/xanzy/go-gitlab to v0.103.0 (#2715) * fix(deps): update module github.com/aws/aws-sdk-go to v1.51.24 (#2717) * fix(deps): update module google.golang.org/api to v0.174.0 (#2712) * fix(deps): update module github.com/aws/aws-sdk-go to v1.51.23 (#2711) * fix(deps): update module google.golang.org/api to v0.173.0 (#2709) * fix(deps): update module github.com/aws/aws-sdk-go to v1.51.22 (#2708) * fix(deps): update module github.com/go-ldap/ldap/v3 to v3.4.8 (#2707) * fix(deps): update golang.org/x/exp digest to fe59bbe (#2706) * fix(deps): update module go.mongodb.org/mongo-driver to v1.15.0 (#2700) * fix(deps): update module github.com/aws/aws-sdk-go to v1.51.21 (#2699) * fix(deps): update module github.com/aws/aws-sdk-go to v1.51.20 (#2698) * fix(deps): update module github.com/launchdarkly/go-server-sdk/v7 to v7.4.0 (#2697) * Adding Pagarme API key detection (#2665) * fix(deps): update module github.com/aws/aws-sdk-go to v1.51.19 (#2694) * chore(deps): update sigstore/cosign-installer action to v3.5.0 (#2695) * [refactor] - template detector (#2692) * Remove unnecessary space in Vultr regex pattern (#2689) OBS-URL: https://build.opensuse.org/request/show/1174073 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/trufflehog?expand=0&rev=95
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.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
|