Skip to content

Commit ef0bdaa

Browse files
committed
fix: typo
1 parent b26ce2f commit ef0bdaa

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,11 @@ After completing the export , edit the `sg-payload.json` file to provide tune ea
8383
### Bulk import workflows to StackGuardian Platform
8484

8585
- Fetch [sg-cli](https://github.com/StackGuardian/sg-cli.git) and set it up locally (documentation present in repo)
86-
- Run the following commands and pass the `sg-payload.json` as payload (represented belkkkkkkkkkkow)
87-
- Get your SG API Key here: https://app.stackguardian.io/orchestrator/orgs/<ORG_ID>/settings?tab=api_key
86+
- Run the following commands and pass the `sg-payload.json` as payload (represented below)
87+
- Get your SG API Key here:
88+
- Login to Stackguardian.
89+
- Go to profile at the bottom left. Click on the eamil or the username.
90+
- Click API key and click on view.
8891

8992
```shell
9093
cd ../../export

convert_hcl_to_json.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ length=$($JQ_BIN length <<<"$json_data")
6060
# Create a temporary file to store updated objects
6161
tmpfile=$(mktemp)
6262

63-
> "$tmpfile"
64-
6563
for ((i=0; i<length; i++)); do
6664
# Extract ith object
6765
obj=$($JQ_BIN ".[$i]" <<<"$json_data")

0 commit comments

Comments
 (0)