aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/rubygem-auth-sanitizer-gitlab/Makefile20
-rw-r--r--security/rubygem-auth-sanitizer-gitlab/distinfo3
-rw-r--r--security/rubygem-auth-sanitizer-gitlab/pkg-descr10
4 files changed, 34 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 74b008d83250..ddbe5a7a19c5 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1168,6 +1168,7 @@
SUBDIR += rubygem-attr_encrypted
SUBDIR += rubygem-attr_encrypted3
SUBDIR += rubygem-auth-sanitizer
+ SUBDIR += rubygem-auth-sanitizer-gitlab
SUBDIR += rubygem-bcrypt
SUBDIR += rubygem-bcrypt-ruby
SUBDIR += rubygem-bcrypt_pbkdf
diff --git a/security/rubygem-auth-sanitizer-gitlab/Makefile b/security/rubygem-auth-sanitizer-gitlab/Makefile
new file mode 100644
index 000000000000..1a7050d6becd
--- /dev/null
+++ b/security/rubygem-auth-sanitizer-gitlab/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= auth-sanitizer
+PORTVERSION= 0.2.3
+CATEGORIES= security rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= -gitlab
+
+MAINTAINER= mfechner@FreeBSD.org
+COMMENT= Configurable KV output redaction. Sanitize/filter your secrets
+WWW= https://auth-sanitizer.galtzo.com/ \
+ https://github.com/ruby-oauth/auth-sanitizer
+
+LICENSE= MIT
+
+RUN_DEPENDS= rubygem-version_gem-gitlab>=1.1.10<2:devel/rubygem-version_gem-gitlab
+
+USES= gem
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-auth-sanitizer-gitlab/distinfo b/security/rubygem-auth-sanitizer-gitlab/distinfo
new file mode 100644
index 000000000000..348cbcccf6a0
--- /dev/null
+++ b/security/rubygem-auth-sanitizer-gitlab/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1787213081
+SHA256 (rubygem/auth-sanitizer-0.2.3.gem) = db10aac92cfbe4c64ab637eebcbe1d67395d1694798041362173370f59933e3c
+SIZE (rubygem/auth-sanitizer-0.2.3.gem) = 44544
diff --git a/security/rubygem-auth-sanitizer-gitlab/pkg-descr b/security/rubygem-auth-sanitizer-gitlab/pkg-descr
new file mode 100644
index 000000000000..bfacd865f289
--- /dev/null
+++ b/security/rubygem-auth-sanitizer-gitlab/pkg-descr
@@ -0,0 +1,10 @@
+auth-sanitizer provides small, dependency-light helpers for keeping OAuth and
+authentication secrets out of object inspection and log output.
+
+The gem is intentionally narrow in scope. It does not change HTTP requests,
+token objects, persistence, or application configuration for you. Instead, it
+gives host gems and applications two reusable redaction surfaces:
+- Auth::Sanitizer::FilteredAttributes redacts selected instance variables from
+ #inspect.
+- Auth::Sanitizer::SanitizedLogger wraps an existing logger and redacts
+ sensitive values from string log messages.