在此页:
目标用户:
CAST AI 管理员
摘要: 本页面解释了如何在使用Education选项卡中的“分享和推广”功能时更改新电子邮件中的文本。
简介
当使用Education选项卡中的“分享和推广”功能时,将在本地机器上的默认电子邮件客户机中创建一个带有预填充文本的新电子邮件(如下所示)。
更改文本
要更改新电子邮件中显示的文本,首先在文本编辑器中找到并打开以下文件:
%CATALINA_HOME%\webapps\CAST-Engineering\engineering\resources\urls.json
- 在文件中找到以下部分:
{ "id": "share-rule-details", "url": "mailto:", "params": { "subject": "CAST Education: $ruleName", "body": "Hi,\n\nIn order to communicate around good practices based on CAST rule Education feature, I am pleased to share with you Documentation and sample of violations regarding the $ruleName Rule on your Application. \n\nWe would like to inform you that all new violations will be automatically added to the action plan for the next scan done with CAST.\n\nDo not hesitate to come back to me if you have any question.\n\n Documentation Section \n You can directly access it to: $ruleDocumentationUrl \n\n List of Violations \n You can directly access it to: $violationsUrl \n\n Regards,\n" }
- 现在编辑要更改的“消息”并添加到消息中。
- 在进行任何更改之后,保存urls.json文件,然后重新启动应用服务器以便更改生效。
不要修改任何使用特殊变量的文本,例如$ruleName。