This step is achieved using the Desktop Studio and Cloud Studio under the developer's identity.
Developers may include any JavaScript in their projects, and the Cloud Factory cannot detect whether a part of that code could cause confidentiality, integrity or availability issues on the agents on which a project would be deployed. It is thus very important to review the project's code carefully before uploading it. After the upload, SAP Intelligent Robotic Process Automation Desktop Agent makes sure that the code of the project being executed has not been modified locally.
When executing Desktop Projects, or Cloud Projects using the core SDK 1.10 or older, explicit calls to the logging function ctx.log in the Desktop Studio and the Log activity in the Cloud Studio should be carefully reviewed to make sure that no sensitive or personal information can be disclosed in the logs. For other projects, the risk is mitigated by the local encryption of logs, and the access control mechanisms to view these logs, although personal information still needs to be properly managed if it is present in the logs.
Caution
Criteria to recognize applications, screens or fields (in applications or PDF files) may be based on regular expressions . Regular expressions may be misused and lead to an exponential usage of computing resources (for more information, see the OWASP site ).
SAP Intelligent RPA will warn you about some dangerous regular expression patterns, but we cannot guarantee that the detection is complete. Always double-check the regular expressions that are used within projects.
Caution
The review process of automation projects should pay particular attention to four topics: presence of sensitive or personal data, logging, usage of local agent variables or credentials and code correctness.
Local agent variables are stored in the Windows registry and completely handled by the automation code. It is important to note that misusing these variables can lead to an instability of the operating system. Also, note that these variables and their values will not be removed if the agent is uninstalled. Therefore, it is important not to store personal or sensitive information.
Similarly, local agent credentials must be used with care. By removing the default prefix, existing credentials can be erased, which can cause issues on the computer.
Project files should not contain any kind of sensitive or personal information, like credentials to connect to an external application. SAP cannot provide Data Protection Regulations compliance mechanisms for sensitive or personal data contained within a project. Other mechanisms are provided to securely use credentials to connect to applications ("credential variables").
Explicit calls to the logging function ctx.log(…) in the Desktop Studio and the log activity in the Cloud Studio should be carefully reviewed to make sure that no sensitive or personal information can be disclosed in the logs.
Project files essentially consist of JavaScript code but there are no enforced restrictions on language:
Follow secure coding best practices while coding your project such as input validation.
Pay attention to information written to files, or more generally output using some communication channel. This information may be visible to the user that runs the agent or disclosed to a third party.
Javascript may be used to dynamically evaluate user input. Allowing the usage of functions such as eval() is a risk that needs to be evaluated for fix or acceptance.
It is possible to build a project in such a way that user input is used in launching OS commands. This needs to be properly reviewed.
Caution
The Cloud Studio 2.0 release provides the ability to create automations, and to capture applications. Until now, this was only possible using the Desktop Studio . Application captures include screenshots and the detailed structure of the captured screens (which is required to declare the page elements), and these captures might contain confidential information. Although these captures are treated as confidential information, our recommendation is not to use production systems for the capture, but development or test systems, so that sensitive data don't end up in the cloud.
Note
Screenshots and captures are encrypted in the cloud using a customer specific AES-256 key. When projects or packages are exported, screenshots and captures are decrypted before being stored in the zip file that will be downloaded. When the project or package is imported, screenshots are encrypted in the target customer space.