@freshworks/shiftleft-tools 1.1.23 → 1.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@freshworks/shiftleft-tools",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.24",
|
|
4
4
|
"description": "CLI for managing Cursor rules/skills and Postman test infrastructure across Java Spring Boot and Node.js/Express projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -171,7 +171,9 @@ def publish(row):
|
|
|
171
171
|
return
|
|
172
172
|
try:
|
|
173
173
|
import boto3
|
|
174
|
-
|
|
174
|
+
profile = os.environ.get('SHIFTLEFT_AWS_PROFILE') or 'staging'
|
|
175
|
+
session = boto3.Session(profile_name=profile, region_name='us-east-1')
|
|
176
|
+
dynamodb = session.resource('dynamodb')
|
|
175
177
|
table = dynamodb.Table(table_name)
|
|
176
178
|
table.put_item(Item=row)
|
|
177
179
|
print(f'[publish_health] Published health row: {row["Repo"]} @ {row["DateTime"]}')
|