Laravel-Scrubber
Laravel-Scrubber copied to clipboard
A Laravel package to scrub sensitive information that breaks operational security policies from being leaked on accident or not by developers.
Using Bugsnag, I got the following error in my trace: ``` array:1 [▼ "exception" => Error {#2004 ▼ #message: "Call to undefined method Monolog\Handler\PsrHandler::pushProcessor()" #code: 0 #file: " /Users/ahoi/Entwicklung/Laravel/neu/vendor /yorcreative/laravel-scrubber/...
Hi there, I'd like to redact some sensitive information like this: ``` $token = 'github_pat_21BAP3XSDQ03ax56AASD8Z6_IyX2VEsSa7aDasd1jHLfENuuU0HW9rROK1CiuaM1GDBAQF6Tj0b5OLGA'; Scrubber::processMessage([ "context" => "accidental", "leak_of" => [ "jwt" => $token ] ]); // => 'github_pat_21BAP3XSDQ03ax56AASD8Z6_IyX2VEsSa7aDasd1jHLfENuuU0HW9rROK1CiuaM1GDBAQF6Tj0b5OLGA'...
Hi. Trying to mask long entities like images in base64. Using pattern '[a-zA-Z0-9=:\\+\/-]{100,}' When trying to log Log::info('/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQE...'); gettin error YorCreative\Scrubber\Strategies\ContentProcessingStrategy\Handlers\ArrayContentHandler::processArray(): Return value must be of type array, null returned
This is an automated pull request from [Shift](https://laravelshift.com) to update your package code and dependencies to be compatible with Laravel 12.x. **Before merging**, you need to: - Checkout the `l12-compatibility`...