1
- # Hash Sensitive [ ![ CI] ( https://github.com/Sjustein /hash-sensitive/actions/workflows/ci.yml/badge.svg )] ( https://github.com/Sjustein /hash-sensitive/actions/workflows/ci.yml )
1
+ # Hash Sensitive [ ![ CI] ( https://github.com/Globy-App /hash-sensitive/actions/workflows/ci.yml/badge.svg )] ( https://github.com/Globy-App /hash-sensitive/actions/workflows/ci.yml )
2
2
3
3
🙈 A Monolog processor that protects sensitive data from miss logging. Forked from: [ redact-sensitive] ( https://github.com/leocavalcante/redact-sensitive ) by [ Leo Cavalcante] ( https://github.com/leocavalcante ) .
4
4
When redacting values from logs, it might be useful to be able to compare redacted values that are equal.
@@ -10,7 +10,7 @@ Readme.INFO: Hello, World! {"api_key":"3f6b5eb5b4bc422fc119c76caccd8792d1cf253a7
10
10
11
11
## Install
12
12
``` shell
13
- composer require sjustein /hash-sensitive
13
+ composer require globyapp /hash-sensitive
14
14
```
15
15
16
16
## Usage
@@ -28,7 +28,7 @@ Will hash the value of the `api_key`.
28
28
You can now create a new Processor with the given keys:
29
29
30
30
``` php
31
- use HashSensitive\HashSensitiveProcessor;
31
+ use GlobyApp\ HashSensitive\HashSensitiveProcessor;
32
32
33
33
$sensitive_keys = ['api_key'];
34
34
@@ -38,7 +38,7 @@ $processor = new HashSensitiveProcessor($sensitive_keys);
38
38
### 3. Set the Processor to a Monolog\Logger
39
39
40
40
``` php
41
- use HashSensitive\HashSensitiveProcessor;
41
+ use GlobyApp\ HashSensitive\HashSensitiveProcessor;
42
42
43
43
$sensitive_keys = ['api_key'];
44
44
@@ -52,7 +52,7 @@ $logger->pushProcessor($processor);
52
52
53
53
``` php
54
54
use Monolog\Handler\StreamHandler;
55
- use HashSensitive\HashSensitiveProcessor;
55
+ use GlobyApp\ HashSensitive\HashSensitiveProcessor;
56
56
57
57
$sensitive_keys = ['api_key'];
58
58
@@ -78,7 +78,7 @@ Use `algorithm` to specify the algorithm used for hashing the value. Refer to [t
78
78
79
79
``` php
80
80
use Monolog\Handler\StreamHandler;
81
- use HashSensitive\HashSensitiveProcessor;
81
+ use GlobyApp\ HashSensitive\HashSensitiveProcessor;
82
82
83
83
$sensitive_keys = ['access_token'];
84
84
@@ -105,7 +105,7 @@ When set to false, every key in the input data is checked against every key in s
105
105
106
106
``` php
107
107
use Monolog\Handler\StreamHandler;
108
- use HashSensitive\HashSensitiveProcessor;
108
+ use GlobyApp\ HashSensitive\HashSensitiveProcessor;
109
109
110
110
$sensitive_keys = [
111
111
'test',
0 commit comments