From 04da18346325d15edbb6b09bc54884fd049639ad Mon Sep 17 00:00:00 2001 From: Karan Shah <94186001+awskaran@users.noreply.github.com> Date: Mon, 18 Sep 2023 13:33:01 +0100 Subject: [PATCH] Update appstream-sc-service.js reducing appstream session url validity to reduce risk of sharing the url --- .../lib/appstream/appstream-sc-service.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/addons/addon-base-raas-appstream/packages/base-raas-appstream-services/lib/appstream/appstream-sc-service.js b/src/addons/addon-base-raas-appstream/packages/base-raas-appstream-services/lib/appstream/appstream-sc-service.js index ab6d65c..df70b79 100644 --- a/src/addons/addon-base-raas-appstream/packages/base-raas-appstream-services/lib/appstream/appstream-sc-service.js +++ b/src/addons/addon-base-raas-appstream/packages/base-raas-appstream-services/lib/appstream/appstream-sc-service.js @@ -141,6 +141,7 @@ class AppStreamScService extends Service { UserId: this.generateUserId(requestContext, environment), ApplicationId: applicationId, SessionContext: sessionContext, + Validity: 30, }) .promise(); } catch (err) {