Skip to content

Commit 65dbcf5

Browse files
fix internal scan api keys
1 parent 12dd12a commit 65dbcf5

File tree

1 file changed

+26
-5
lines changed

1 file changed

+26
-5
lines changed

cloud/scanning/internal-scan.mdx

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,33 @@ Naabu will soon be integrated directly into ProjectDiscovery's internal vulnerab
4747

4848
This approach lets you run Nuclei locally and upload results to ProjectDiscovery Cloud Platform (ProjectDiscovery).
4949

50-
### Setup
50+
### Set up your API Key
5151

52-
1. Configure API authentication:
53-
```bash
54-
nuclei -auth
55-
```
52+
To connect your existing Nuclei results to PDCP you will need to create a free API Key:
53+
54+
1. Visit https://cloud.projectdiscovery.io
55+
2. Open the setting menu from the top right and select "API Key" to create your API Key
56+
<img class="block" src="/images/pdcp-api-key.png" alt="PDCP API Key" />
57+
3. Use the `nuclei -auth` command, and enter your API key when prompted.
58+
59+
### Configure Team (Optional)
60+
61+
If you want to upload the scan results to a team workspace instead of your personal workspace, you can configure the Team ID using either method:
62+
63+
- **Obtain Team ID:**
64+
- Navigate to [https://cloud.projectdiscovery.io/settings/team](https://cloud.projectdiscovery.io/settings/team)
65+
- Copy the Team ID from the top right section
66+
![image](https://github.com/user-attachments/assets/76a9f102-1626-4c87-8d9e-37c30417f19e)
67+
68+
- **CLI Option:**
69+
```bash
70+
nuclei -tid XXXXXX -cloud-upload
71+
```
72+
73+
- **ENV Variable:**
74+
```bash
75+
export PDCP_TEAM_ID=XXXXX
76+
```
5677

5778
2. Run your scan with the upload flag:
5879
```bash

0 commit comments

Comments
 (0)