From 983a175a78ab419d2fcd6afc361743585c4c4746 Mon Sep 17 00:00:00 2001 From: Ashish Jain Date: Fri, 23 May 2025 07:23:25 +0000 Subject: [PATCH] Fixing Credential-Exposure by Masking the Creds Issue-id: AIMLFW-207 Change-Id: I0346ceb8c095737645995e46e7b5c904e2db3cf1 Signed-off-by: ashishj1729 --- API_docs/postman/aimlfw.postman_collection.json | 4 ++-- request.http | 2 +- tests/test_trainingmgr_ps_db.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/API_docs/postman/aimlfw.postman_collection.json b/API_docs/postman/aimlfw.postman_collection.json index ada3008..f9c31fe 100644 --- a/API_docs/postman/aimlfw.postman_collection.json +++ b/API_docs/postman/aimlfw.postman_collection.json @@ -36,7 +36,7 @@ "header": [], "body": { "mode": "raw", - "raw": "{\"featuregroup_name\":\"testing_influxdb_03\",\"feature_list\":\"pdcpBytesDl,pdcpBytesUl\",\"datalake_source\":\"InfluxSource\",\"enable_dme\":false,\"host\":\"my-release-influxdb.default\",\"port\":\"8086\",\"dme_port\":\"\",\"bucket\":\"UEData\",\"token\":\"mXBhJ6Sw5nytq9PmzPKi\",\"source_name\":\"\",\"measured_obj_class\":\"\",\"measurement\":\"liveCell\",\"db_org\":\"primary\"}", + "raw": "{\"featuregroup_name\":\"testing_influxdb_03\",\"feature_list\":\"pdcpBytesDl,pdcpBytesUl\",\"datalake_source\":\"InfluxSource\",\"enable_dme\":false,\"host\":\"my-release-influxdb.default\",\"port\":\"8086\",\"dme_port\":\"\",\"bucket\":\"UEData\",\"token\":\"xxxx\",\"source_name\":\"\",\"measured_obj_class\":\"\",\"measurement\":\"liveCell\",\"db_org\":\"primary\"}", "options": { "raw": { "language": "json" @@ -171,7 +171,7 @@ "header": [], "body": { "mode": "raw", - "raw": "{\"featuregroup_name\":\"testing_influxdb_02\",\"feature_list\":\"pdcpBytesDl\",\"datalake_source\":\"InfluxSource\",\"enable_dme\":false,\"host\":\"my-release-influxdb.default\",\"port\":\"8086\",\"dme_port\":\"\",\"bucket\":\"pm-bucket\",\"token\":\"asjkahsjdhaksdhaksdha\",\"source_name\":\"\",\"measured_obj_class\":\"\",\"measurement\":\"liveCell\",\"db_org\":\"primary\"}", + "raw": "{\"featuregroup_name\":\"testing_influxdb_02\",\"feature_list\":\"pdcpBytesDl\",\"datalake_source\":\"InfluxSource\",\"enable_dme\":false,\"host\":\"my-release-influxdb.default\",\"port\":\"8086\",\"dme_port\":\"\",\"bucket\":\"pm-bucket\",\"token\":\"xxxx\",\"source_name\":\"\",\"measured_obj_class\":\"\",\"measurement\":\"liveCell\",\"db_org\":\"primary\"}", "options": { "raw": { "language": "json" diff --git a/request.http b/request.http index 48242c9..af56ad6 100644 --- a/request.http +++ b/request.http @@ -63,7 +63,7 @@ Content-Type: application/json "port": "8086", "dme_port": "", "bucket": "UEData", - "token": "G4xTett9YjSD9m8ShuAF", + "token": "xxxx", "source_name": "", "measured_obj_class": "", "measurement": "liveCell", diff --git a/tests/test_trainingmgr_ps_db.py b/tests/test_trainingmgr_ps_db.py index 2355829..d4be40f 100644 --- a/tests/test_trainingmgr_ps_db.py +++ b/tests/test_trainingmgr_ps_db.py @@ -25,7 +25,7 @@ from dotenv import load_dotenv class cred_handle: def __init__(self): self.ps_user = "gdgdgd" - self.ps_password = "hdhd" + self.ps_password = "xxxx" self.ps_ip = 12345 self.ps_port = 1000 -- 2.16.6