我们切换到了cloud-s4-sdk-pipeline的最新版本(21)。新功能可以正常工作,但是除了最新的依赖版本之外,我们还会收到npm依赖审核错误。
调查结果摘要
• High Arbitrary File Overwrite vulnerability found in dependency "tar", see https://npmjs.com/advisories/803 for details.
• High Code Injection vulnerability found in dependency "js-yaml", see https://npmjs.com/advisories/813 for details.
• Moderate Regular Expression Denial of Service vulnerability found in dependency "mime", see https://npmjs.com/advisories/535 for details.
• Moderate Regular Expression Denial of Service vulnerability found in dependency "underscore.string", see https://npmjs.com/advisories/745 for details.
• Moderate Prototype Pollution vulnerability found in dependency "lodash", see https://npmjs.com/advisories/782 for details.
• Moderate …Run Code Online (Sandbox Code Playgroud) 我想知道如何远程调试部署在 SAP Cloud Foundry 中的 S4SDK/Spring 2.0.6 Java 应用程序。
我正在使用 Eclipse(Spring Tool Suite)并在调试模式下启动应用程序。应用程序将使用以下环境变量重新启动: -Dspring.devtools.remote.secret=secret -Xdebug -Xrunjdwp:server=y,transport=dt_socket,suspend=n,address=47822
控制台输出显示,启动后 SSH 隧道已自动创建成功(作为先决条件,我已使用 cf enable-ssh 启用了 SSH)。和“10.0.136.5:34858 的成功远程访问”。
几秒钟后,eclipse 显示消息“无法连接到远程 VM”。
如何启用远程调试?
用于执行呼叫的目的地被配置为认证类型为oAuth2SAMLBearerAssertion,业务用户已经在系统中具有用户ID,电子邮件和其他基本详细信息.从SDK调用execute方法我得到以下错误:
Caused by: com.sap.cloud.sdk.cloudplatform.connectivity.exception.DestinationAccessException: Failed to get authentication headers. Destination service returned error: Provided authorization grant is invalid. Exception was No user found with alias 'name@domain.com' (format: unspecified). For more information, consult the kernel traces or the OAuth 2.0 troubleshooting SAP note 1688545.
Run Code Online (Sandbox Code Playgroud)