You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/codacy-api/examples/triggering-dast-scans.md
+3-13Lines changed: 3 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ Replace the placeholders with your own values:
45
45
46
46
-**ORGANIZATION:** Name of the organization on the Git provider. For example, `codacy`. You must have admin permissions over the organization on the Git provider.
47
47
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.
49
49
50
50
## Trigger DAST analysis scans
51
51
@@ -60,18 +60,8 @@ curl -X POST https://app.codacy.com/api/v3/organizations/{GIT_PROVIDER}/{ORGANIZ
60
60
Replace the placeholders with your own values:
61
61
62
62
-**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.
74
64
-**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.
76
66
77
67
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