Skip to content

Commit 1158b2e

Browse files
updating port scan script
1 parent a3827ee commit 1158b2e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

jobs/account-port-scan/README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ This python script will scan all the Floating IPs associated with your IBM Cloud
99
The first step is to clone the respository and change in to our port scan directory:
1010

1111
```shell
12-
git clone https://github.com/cloud-design-dev/dts-ce-demo.git
13-
cd dts-ce-demo/jobs/account-port-scan
12+
git clone https://github.com/cloud-design-dev/ibmcloud-code-engine-demos.git
13+
cd ibmcloud-code-engine-demos/jobs/account-port-scan
1414
```
1515

1616
### Set your IBM Cloud API key
@@ -24,13 +24,17 @@ export IBMCLOUD_API_KEY="YOUR_IBMCLOUD_API_KEY"
2424
Install the required python SDKs to interact with the classic and vpc resources.
2525

2626
```shell
27+
python3 -m venv .venv
28+
29+
source .venv/bin/activate
30+
2731
pip install -r requirements
2832
```
2933

3034
### Run script
3135

3236
With the variables set and modules installed, you can run the script:
3337

34-
```
35-
python app.py
38+
```shell
39+
python port-scan-report.py
3640
```

0 commit comments

Comments
 (0)