@zuplo/runtime 6.73.16 → 6.73.18

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.
@@ -13961,6 +13961,12 @@ export declare const SchemaBasedRequestValidation: InboundPolicyHandler<RequestV
13961
13961
  * @title Secret Masking
13962
13962
  * @product api-gateway
13963
13963
  * @public
13964
+ * @deprecated Use the {@link https://zuplo.com/docs/policies/data-loss-prevention-outbound|Data Loss Prevention}
13965
+ * policy instead. It detects the same Zuplo API keys, GitHub tokens, and private
13966
+ * key blocks via its `secret-zuplo`, `secret-github`, and `secret-private-key`
13967
+ * recognizers, plus 60+ more built-in entities, and can block or log a response
13968
+ * rather than only masking it. This policy will continue to work but will be
13969
+ * removed in a future version of Zuplo.
13964
13970
  * @param request - The ZuploRequest
13965
13971
  * @param context - The ZuploContext
13966
13972
  * @param options - The policy options set in policies.json
@@ -13970,16 +13976,17 @@ export declare const SchemaBasedRequestValidation: InboundPolicyHandler<RequestV
13970
13976
  export declare const SecretMaskingOutboundPolicy: OutboundPolicyHandler<SecretMaskingOutboundPolicyOptions>;
13971
13977
 
13972
13978
  /**
13973
- * The options for the secret masking policy.
13979
+ * @deprecated
13980
+ * The options for the secret masking policy. Deprecated - use the Data Loss Prevention outbound policy instead.
13974
13981
  * @public
13975
13982
  */
13976
13983
  export declare interface SecretMaskingOutboundPolicyOptions {
13977
13984
  /**
13978
- * The string to replace detected secrets with.
13985
+ * The string to replace detected secrets with. Equivalent to the Data Loss Prevention policy's `mask` option.
13979
13986
  */
13980
13987
  mask?: string;
13981
13988
  /**
13982
- * Extra regex patterns for secrets to mask.
13989
+ * Extra regex patterns for secrets to mask. Replaced by the Data Loss Prevention policy's `customPatterns` option, which also accepts a name, confidence, and context words per pattern.
13983
13990
  */
13984
13991
  additionalPatterns?: string[];
13985
13992
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zuplo/runtime",
3
3
  "type": "module",
4
- "version": "6.73.16",
4
+ "version": "6.73.18",
5
5
  "repository": "https://github.com/zuplo/zuplo",
6
6
  "author": "Zuplo, Inc.",
7
7
  "exports": {