gitlab-secret_detection 0.26.0 → 0.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c99778319b6031d2afd3e105b9309bcb3fc1fa9a7f9052e9d671aecb180247de
|
4
|
+
data.tar.gz: 5c2b9a8cc540563028086ac93c26936238835a6d209ba2d76e7dac8ff6c946ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c20d90b1e739a0a0ac7689f57d9877ff2d6e8e472dabe6a2df6baecd9c97a66c949c51c1e19e02e3c2d3729b63a8990f42020e7ef9a80bb25b132b86e89b5d57
|
7
|
+
data.tar.gz: 3733cda34917ffbd2a013aae67c9b9adfc46c4285eb80f290c510670996468f5b6e55a0f66badba2dfba6bab3e81704d415fe4b0c9ed384720aa4cdfc51d7f88
|
@@ -235,14 +235,14 @@ module Gitlab
|
|
235
235
|
return nil
|
236
236
|
end
|
237
237
|
|
238
|
-
keywords_regex = include_keywords.join('|')
|
238
|
+
keywords_regex = include_keywords.map { |keyword| RE2::Regexp.quote(keyword) }.join('|')
|
239
239
|
|
240
240
|
logger.debug(
|
241
241
|
message: "Creating RE2 Keyword Matcher with set of rule keywords",
|
242
242
|
keywords: include_keywords.to_a
|
243
243
|
)
|
244
244
|
|
245
|
-
RE2("
|
245
|
+
RE2("(#{keywords_regex})")
|
246
246
|
end
|
247
247
|
|
248
248
|
def filter_by_keywords(keyword_matcher, payloads)
|
@@ -5,7 +5,7 @@ module Gitlab
|
|
5
5
|
class Gem
|
6
6
|
# Ensure to maintain the same version in CHANGELOG file.
|
7
7
|
# More details available under 'Release Process' section in the README.md file.
|
8
|
-
VERSION = "0.26.
|
8
|
+
VERSION = "0.26.1"
|
9
9
|
|
10
10
|
# SD_ENV env var is used to determine which environment the
|
11
11
|
# server is running. This var is defined in `.runway/env-<env>.yml` files.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab-secret_detection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.26.
|
4
|
+
version: 0.26.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- group::secret detection
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2025-05-
|
13
|
+
date: 2025-05-06 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: grpc
|