Skip to content

Commit b3c2816

Browse files
authored
Merge pull request #157 from SumoLogic/security-fix1
removing sensitive logging statements
2 parents 52e8db6 + e07b5d5 commit b3c2816

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

sumologic-app-utils/deploy.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ if [ ! -f sumo_app_utils.zip ]; then
1717
echo "creating zip file"
1818
mkdir python
1919
cd python
20-
pip install crhelper -t .
21-
pip install requests -t .
22-
pip install retrying -t .
20+
pip3 install crhelper -t .
21+
pip3 install requests -t .
22+
pip3 install retrying -t .
2323
cp -v ../src/*.py .
2424
zip -r ../sumo_app_utils.zip .
2525
cd ..
2626
rm -r python
2727
fi
2828

29-
version="2.0.9"
29+
version="2.0.15"
3030

3131
aws s3 cp sumo_app_utils.zip s3://$SAM_S3_BUCKET/sumo_app_utils/v"$version"/sumo_app_utils.zip --region $AWS_REGION --acl public-read
3232

sumologic-app-utils/src/main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def create(event, context):
3030
data, resource_id = resource.create(**params)
3131
except Exception as e:
3232
raise e
33-
print(data)
33+
#print(data)
3434
print(resource_id)
3535
helper.Data.update(data)
3636
helper.Status = "SUCCESS"
@@ -42,7 +42,7 @@ def create(event, context):
4242
def update(event, context):
4343
resource, resource_type, params = get_resource(event)
4444
data, resource_id = resource.update(**params)
45-
print(data)
45+
#print(data)
4646
print(resource_id)
4747
helper.Data.update(data)
4848
helper.Status = "SUCCESS"
24.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)