Skip to content

Commit 21c653b

Browse files
chore: remove vendor dir
1 parent 7e68f60 commit 21c653b

1,558 files changed

Lines changed: 340 additions & 487604 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/CONFIGURATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ delimiters:
103103
104104
#### Secret redaction
105105
106-
When `redactSecrets` is enabled (the default), values that look like secrets are replaced with `[REDACTED]` in the code lines sent to Bucketeer. Out of the box this covers well-known token formats (AWS, GitHub, GitLab, Slack, Stripe, Google, JWTs, `Authorization` headers, private keys) and quoted assignments to variables whose name contains a common secret keyword (`apikey`, `secret`, `token`, `password`, `credential`, `auth`).
106+
When `redactSecrets` is enabled (the default), values that look like secrets are replaced with `[REDACTED]` in the code lines sent to Bucketeer. Detection is powered by the [betterleaks](https://github.com/betterleaks/betterleaks) ruleset, which covers hundreds of well-known credential formats (cloud providers, VCS tokens, payment APIs, JWTs, private keys, and more). On top of that, `Authorization` header values and quoted assignments to variables whose name contains a common secret keyword (`apikey`, `secret`, `token`, `password`, `credential`, `auth`) are also redacted.
107107

108108
If your codebase uses its own naming conventions or token formats, you can extend the built-in rules:
109109

go.mod

Lines changed: 56 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,103 @@
11
module github.com/bucketeer-io/code-refs
22

3-
go 1.22.0
4-
5-
toolchain go1.22.8
3+
go 1.25.0
64

75
require (
86
github.com/bmatcuk/doublestar/v4 v4.7.1
97
github.com/go-git/go-git/v5 v5.13.1
10-
github.com/hashicorp/go-retryablehttp v0.7.7
118
github.com/iancoleman/strcase v0.3.0
12-
github.com/launchdarkly/json-patch v0.0.0-20180720210516-dd68d883319f
139
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00
14-
github.com/olekukonko/tablewriter v0.0.5
1510
github.com/petar-dambovaliev/aho-corasick v0.0.0-20211021192214-5ab2d9280aa9
16-
github.com/spf13/cobra v1.8.1
17-
github.com/spf13/pflag v1.0.5
11+
github.com/spf13/cobra v1.10.1
12+
github.com/spf13/pflag v1.0.10
1813
github.com/spf13/viper v1.19.0
19-
github.com/stretchr/testify v1.10.0
20-
golang.org/x/tools v0.28.0
14+
github.com/stretchr/testify v1.11.1
15+
golang.org/x/tools v0.45.0 // indirect
2116
)
2217

2318
require (
19+
github.com/betterleaks/betterleaks v1.6.1
2420
github.com/cenkalti/backoff/v4 v4.3.0
25-
github.com/launchdarkly/api-client-go/v15 v15.1.0
21+
golang.org/x/tools/godoc v0.1.0-deprecated
2622
)
2723

2824
require (
29-
dario.cat/mergo v1.0.0 // indirect
25+
dario.cat/mergo v1.0.2 // indirect
26+
github.com/Masterminds/semver/v3 v3.4.0 // indirect
3027
github.com/Microsoft/go-winio v0.6.1 // indirect
3128
github.com/ProtonMail/go-crypto v1.1.3 // indirect
29+
github.com/STARRY-S/zip v0.2.3 // indirect
30+
github.com/andybalholm/brotli v1.2.1 // indirect
31+
github.com/bodgit/plumbing v1.3.0 // indirect
32+
github.com/bodgit/sevenzip v1.6.2 // indirect
33+
github.com/bodgit/windows v1.0.1 // indirect
3234
github.com/cloudflare/circl v1.3.7 // indirect
3335
github.com/cyphar/filepath-securejoin v0.3.6 // indirect
3436
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
37+
github.com/dlclark/regexp2 v1.11.5 // indirect
38+
github.com/dsnet/compress v0.0.2-0.20230904184137-39efe44ab707 // indirect
3539
github.com/emirpasic/gods v1.18.1 // indirect
40+
github.com/expr-lang/expr v1.17.8 // indirect
41+
github.com/fatih/semgroup v1.2.0 // indirect
3642
github.com/fsnotify/fsnotify v1.7.0 // indirect
43+
github.com/gitleaks/go-gitdiff v0.9.1 // indirect
3744
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
3845
github.com/go-git/go-billy/v5 v5.6.1 // indirect
46+
github.com/go-sprout/sprout v1.0.3 // indirect
3947
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
40-
github.com/golang/protobuf v1.5.4 // indirect
41-
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
48+
github.com/google/go-github/v72 v72.0.0 // indirect
49+
github.com/google/go-querystring v1.1.0 // indirect
50+
github.com/google/uuid v1.6.0 // indirect
51+
github.com/h2non/filetype v1.1.3 // indirect
52+
github.com/hashicorp/go-version v1.7.0 // indirect
53+
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
4254
github.com/hashicorp/hcl v1.0.0 // indirect
4355
github.com/inconshreveable/mousetrap v1.1.0 // indirect
4456
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
4557
github.com/kevinburke/ssh_config v1.2.0 // indirect
58+
github.com/klauspost/compress v1.18.6 // indirect
59+
github.com/klauspost/pgzip v1.2.6 // indirect
4660
github.com/magiconair/properties v1.8.7 // indirect
47-
github.com/mattn/go-runewidth v0.0.9 // indirect
61+
github.com/mattn/go-colorable v0.1.14 // indirect
62+
github.com/mattn/go-isatty v0.0.20 // indirect
63+
github.com/mholt/archives v0.1.6-0.20260429171216-ef71b7a32fae // indirect
64+
github.com/mikelolasagasti/xz v1.0.1 // indirect
65+
github.com/minio/minlz v1.1.1 // indirect
66+
github.com/mitchellh/copystructure v1.2.0 // indirect
4867
github.com/mitchellh/mapstructure v1.5.0 // indirect
49-
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
68+
github.com/mitchellh/reflectwalk v1.0.2 // indirect
69+
github.com/nwaples/rardecode/v2 v2.2.2 // indirect
70+
github.com/pelletier/go-toml/v2 v2.3.1 // indirect
71+
github.com/pierrec/lz4/v4 v4.1.26 // indirect
5072
github.com/pjbgf/sha1cd v0.3.0 // indirect
73+
github.com/pkoukk/tiktoken-go v0.1.8 // indirect
5174
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
75+
github.com/rrethy/ahocorasick v1.0.0 // indirect
76+
github.com/rs/zerolog v1.33.0 // indirect
5277
github.com/sagikazarmark/locafero v0.4.0 // indirect
5378
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
5479
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
80+
github.com/shurcooL/githubv4 v0.0.0-20260209031235-2402fdf4a9ed // indirect
81+
github.com/shurcooL/graphql v0.0.0-20240915155400-7ee5256398cf // indirect
5582
github.com/skeema/knownhosts v1.3.0 // indirect
83+
github.com/sorairolake/lzip-go v0.3.8 // indirect
5684
github.com/sourcegraph/conc v0.3.0 // indirect
57-
github.com/spf13/afero v1.11.0 // indirect
58-
github.com/spf13/cast v1.6.0 // indirect
85+
github.com/spf13/afero v1.15.0 // indirect
86+
github.com/spf13/cast v1.10.0 // indirect
5987
github.com/subosito/gotenv v1.6.0 // indirect
88+
github.com/ulikunitz/xz v0.5.15 // indirect
6089
github.com/xanzy/ssh-agent v0.3.3 // indirect
6190
go.uber.org/atomic v1.9.0 // indirect
6291
go.uber.org/multierr v1.9.0 // indirect
63-
golang.org/x/crypto v0.31.0 // indirect
64-
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
65-
golang.org/x/mod v0.22.0 // indirect
66-
golang.org/x/net v0.33.0 // indirect
67-
golang.org/x/oauth2 v0.18.0 // indirect
68-
golang.org/x/sync v0.10.0 // indirect
69-
golang.org/x/sys v0.28.0 // indirect
70-
golang.org/x/text v0.21.0 // indirect
71-
google.golang.org/appengine v1.6.8 // indirect
72-
google.golang.org/protobuf v1.33.0 // indirect
92+
go.yaml.in/yaml/v3 v3.0.4 // indirect
93+
go4.org v0.0.0-20260112195520-a5071408f32f // indirect
94+
golang.org/x/crypto v0.53.0 // indirect
95+
golang.org/x/exp v0.0.0-20250218142911-aa4b98e5adaa // indirect
96+
golang.org/x/mod v0.36.0 // indirect
97+
golang.org/x/net v0.55.0 // indirect
98+
golang.org/x/sync v0.21.0 // indirect
99+
golang.org/x/sys v0.46.0 // indirect
100+
golang.org/x/text v0.38.0 // indirect
73101
gopkg.in/ini.v1 v1.67.0 // indirect
74102
gopkg.in/warnings.v0 v0.1.2 // indirect
75103
gopkg.in/yaml.v3 v3.0.1 // indirect

0 commit comments

Comments
 (0)