@veryfront/ext-observability-sentry-node 0.1.1267-rc.20634 → 0.1.1267-rc.20640
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.
- package/esm/policy.js +1 -1
- package/package.json +2 -2
package/esm/policy.js
CHANGED
|
@@ -32,7 +32,7 @@ const SENTRY_TOKEN_PATTERN = /\bsntrys_[A-Za-z0-9_+/=-]+\b/g;
|
|
|
32
32
|
const BEARER_TOKEN_PATTERN = /\bBearer\s+[A-Za-z0-9._~+/=-]+\b/gi;
|
|
33
33
|
const JWT_PATTERN = /\b[A-Za-z0-9_-]{16,}\.[A-Za-z0-9_-]{16,}\.[A-Za-z0-9_-]{16,}\b/g;
|
|
34
34
|
const URL_CREDENTIAL_PATTERN = /(https?:\/\/)[^@\s/]+(@[^/\s]+)/gi;
|
|
35
|
-
const SENSITIVE_QUERY_PATTERN = /([?&](?:access_token|api_key|auth|authorization|dsn|password|secret|token)=)[^&#\s]+/gi;
|
|
35
|
+
const SENSITIVE_QUERY_PATTERN = /([?&](?:access_token|api_key|(?:k|%6b|%4b)(?:e|%65|%45)(?:y|%79|%59)|auth|authorization|dsn|password|secret|token)=)[^&#\s]+/gi;
|
|
36
36
|
const SENSITIVE_ATTRIBUTE_KEY_PATTERN = /(?:^|[_\-.])(?:api[_\-.]?key|auth|authorization|cookie|credentials?|dsn|jwt|password|secret|session|signature|token)(?:$|[_\-.])/i;
|
|
37
37
|
export function captureWithSentryPolicy(sdk, serviceName, error, context) {
|
|
38
38
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veryfront/ext-observability-sentry-node",
|
|
3
|
-
"version": "0.1.1267-rc.
|
|
3
|
+
"version": "0.1.1267-rc.20640",
|
|
4
4
|
"description": "Veryfront first-party extension package for ext-observability-sentry-node",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"veryfront",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"NOTICE",
|
|
44
44
|
"README.md"
|
|
45
45
|
],
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "d53172a239861f195d23225dc7fba3fdd961b008"
|
|
47
47
|
}
|