@zuplo/runtime 6.51.70 → 6.51.71
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/out/esm/index.js +5 -5
- package/out/types/index.d.ts +28 -0
- package/package.json +1 -1
package/out/types/index.d.ts
CHANGED
|
@@ -5060,6 +5060,34 @@ export declare function sanitizedIdentifierName(name: string): string;
|
|
|
5060
5060
|
*/
|
|
5061
5061
|
export declare const SchemaBasedRequestValidation: InboundPolicyHandler<RequestValidationInboundPolicyOptions>;
|
|
5062
5062
|
|
|
5063
|
+
/**
|
|
5064
|
+
* Masks common secrets like Zuplo API keys, GitHub tokens, or SSH private key
|
|
5065
|
+
* in the response body.
|
|
5066
|
+
*
|
|
5067
|
+
* @title Secret Masking
|
|
5068
|
+
* @public
|
|
5069
|
+
* @param request - The ZuploRequest
|
|
5070
|
+
* @param context - The ZuploContext
|
|
5071
|
+
* @param options - The policy options set in policies.json
|
|
5072
|
+
* @param policyName - The name of the policy as set in policies.json
|
|
5073
|
+
* @returns A Response
|
|
5074
|
+
*/
|
|
5075
|
+
export declare const SecretMaskingOutboundPolicy: OutboundPolicyHandler<SecretMaskingOutboundPolicyOptions>;
|
|
5076
|
+
|
|
5077
|
+
/**
|
|
5078
|
+
* The options for the secret masking policy.
|
|
5079
|
+
*/
|
|
5080
|
+
export declare interface SecretMaskingOutboundPolicyOptions {
|
|
5081
|
+
/**
|
|
5082
|
+
* The string to replace detected secrets with.
|
|
5083
|
+
*/
|
|
5084
|
+
mask?: string;
|
|
5085
|
+
/**
|
|
5086
|
+
* Extra regex patterns for secrets to mask.
|
|
5087
|
+
*/
|
|
5088
|
+
additionalPatterns?: string[];
|
|
5089
|
+
}
|
|
5090
|
+
|
|
5063
5091
|
/* Excluded from this release type: SemanticAttributes */
|
|
5064
5092
|
|
|
5065
5093
|
/**
|