diff options
| author | doufenghu <[email protected]> | 2024-10-18 21:13:01 +0800 |
|---|---|---|
| committer | doufenghu <[email protected]> | 2024-10-18 21:13:01 +0800 |
| commit | 9f51ce8d96879aa5c383ac34bac543ad6fe3ed44 (patch) | |
| tree | d4a0a9f709762fbc3820d9dcec30eb9f20f6de8b /docs | |
| parent | 688018ae7d6aa080fdfb2b99db52112663987651 (diff) | |
[Improve][docs] Describe Encrypt UDF reference URI base job properties
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/grootstream-design-cn.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/grootstream-design-cn.md b/docs/grootstream-design-cn.md index c38ef53..28121a3 100644 --- a/docs/grootstream-design-cn.md +++ b/docs/grootstream-design-cn.md @@ -1313,6 +1313,8 @@ application: hos.bucket.name.http_file: traffic_http_file_bucket hos.bucket.name.eml_file: traffic_eml_file_bucket hos.bucket.name.policy_capture_file: traffic_policy_capture_file_bucket + # RestfulAPI 取需要加密的字段,返回数据类型为Array + projection.encrypt.schema.registry.uri: 127.0.0.1:9999/v1/schema/session_record?option=encrypt_fields topology: - name: inline_source downstream: [decoded_as_split] @@ -1462,13 +1464,12 @@ Parameters: #### Encrypt -敏感信息进行加密。 +对敏感信息进行加密。支持引用动态规则,获取需要加密的字段,选择是否对当前字段进行加密 Parameters: - identifier = `<string>` 加密算法唯一标识。支持:aes-128-gcm96, aes-256-gcm96, sm4-gcm96 - default_val= `<string>` 加密失败输出该值,默认将输出原值 -- reference_uri = <string> 可选,Restful API 获取需要加密的字段,返回数据类型为Array ``` - function: ENCRYPT @@ -1476,9 +1477,10 @@ Parameters: output_fields: [ phone_number ] parameters: identifier: aes-128-gcm96 - reference_uri: 127.0.0.1:9999/v1/database/session_record/schema?option=encrypt_fields ``` +Note : 读取任务变量`projection.encrypt.schema.registry.uri`,返回加密字段,数据类型为Array。 + #### Eval 通过值表达式,获取符合条件的值,添加到字段中。同时可以选择保留或删除指定的字段。 |
