Skip to content

Commit 1d575ed

Browse files
committed
use scan_request_id explicitly
1 parent 2fa556d commit 1d575ed

8 files changed

+9
-9
lines changed

semgrep_output_v1.atd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,7 +1600,7 @@ type killing_parent
16001600
The sequence of HTTP requests for 'semgrep ci' is:
16011601
- /api/cli/v2/scans when starting a scan, with information about the project
16021602
and response with scan_id
1603-
- /api/cli/v2/scans/<scan_id>/config when getting the config (e.g. rules) to use for a
1603+
- /api/cli/v2/scans/<scan_request_id>/config when getting the config (e.g. rules) to use for a
16041604
particular scan
16051605
- /api/agent/scans/<scan_id>/results to send the findings to the backend
16061606
and response with errors and task_id
@@ -1686,7 +1686,7 @@ type create_scan_response_v2
16861686

16871687
type get_config_response_v2
16881688
<doc text="
1689-
Response from the backend to the CLI for GET /api/cli/v2/scans/<scan_id>/config
1689+
Response from the backend to the CLI for GET /api/cli/v2/scans/<scan_request_id>/config
16901690
">
16911691
= {
16921692
config: scan_configuration;

semgrep_output_v1.jsonschema

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

semgrep_output_v1.proto

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

semgrep_output_v1.py

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

semgrep_output_v1_j.ml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

semgrep_output_v1_j.mli

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

semgrep_output_v1_t.ml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

semgrep_output_v1_t.mli

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)