Skip to content

Commit bc2eb4a

Browse files
committed
listing dast target id
1 parent 5265048 commit bc2eb4a

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

docs/codacy-api/examples/triggering-dast-scans.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Replace the placeholders with your own values:
4545

4646
- **ORGANIZATION:** Name of the organization on the Git provider. For example, `codacy`. You must have admin permissions over the organization on the Git provider.
4747

48-
Once you create the target you'll get the 'Target Id' as a response. That id will be used to trigger DAST scans in the next section.
48+
Once you create the target you'll get the target `id` as a response. You will use it to trigger DAST scans in the next section.
4949

5050
## Trigger DAST analysis scans
5151

@@ -60,18 +60,8 @@ curl -X POST https://app.codacy.com/api/v3/organizations/{GIT_PROVIDER}/{ORGANIZ
6060
Replace the placeholders with your own values:
6161

6262
- **API_KEY:** [Account API token](../api-tokens.md#account-api-tokens) used to authenticate on the Codacy API.
63-
- **GIT_PROVIDER:** Git provider hosting of the organization, using one of the values in the table below. For example, `gh` for GitHub Cloud.
64-
65-
| Value | Git provider |
66-
|-------|-------------------|
67-
| `gh` | GitHub Cloud |
68-
| `ghe` | GitHub Enterprise |
69-
| `gl` | GitLab Cloud |
70-
| `gle` | GitLab Enterprise |
71-
| `bb` | Bitbucket Cloud |
72-
| `bbe` | Bitbucket Server |
73-
63+
- **GIT_PROVIDER:** Git provider hosting of the organization (check the table on the example above). For example, `gh` for GitHub Cloud.
7464
- **ORGANIZATION:** Name of the organization on the Git provider. For example, `codacy`. You must have admin permissions over the organization on the Git provider.
75-
**DAST_TARGET_ID:** Identifier of a DAST target to analyze (obtained in the [previous section](./triggering-dast-scans.md#creating-targets). For example, `457`. You must have admin permissions over the organization on the Git provider.
65+
- **DAST_TARGET_ID:** Identifier of a DAST target to analyze (obtained in the [previous section](./triggering-dast-scans.md#creating-targets). For example, `457`. You must have admin permissions over the organization on the Git provider.
7666

7767
Scans occur asynchronously. To monitor an ongoing scan you can use the [target management page in Codacy](../../organizations/managing-security-and-risk.md#app-scanning). Once completed, you can access all scan results by navigating to the **Security dashboard**, selecting the **Findings tab** and filtering by **Scan types > DAST/App scanning**.

0 commit comments

Comments
 (0)