@@ -127,44 +127,6 @@ OPTIONS
127
127
Always include ANSI color in the output, even if not writing to a
128
128
TTY; defaults to using the TTY status
129
129
130
- --gh-token=VAL (absent GH_TOKEN env)
131
- The GitHub token.
132
-
133
- --github-api-url=VAL (absent GITHUB_API_URL env)
134
- The GitHub API URL.
135
-
136
- --github-event-name=VAL (absent GITHUB_EVENT_NAME env)
137
- The GitHub event name.
138
-
139
- --github-event-path=VAL (absent GITHUB_EVENT_PATH env)
140
- The GitHub event path.
141
-
142
- --github-head-ref=VAL (absent GITHUB_HEAD_REF env)
143
- The GitHub HEAD ref.
144
-
145
- --github-ref=VAL (absent GITHUB_REF env)
146
- The GitHub ref.
147
-
148
- --github-repository=VAL (absent GITHUB_REPOSITORY env)
149
- The GitHub repository.
150
-
151
- --github-repository-id=VAL (absent GITHUB_REPOSITORY_ID env)
152
- The ID of the repository.
153
-
154
- --github-repository-owner-id=VAL (absent GITHUB_REPOSITORY_OWNER_ID
155
- env)
156
- The repository owner's account ID.
157
-
158
- --github-run-id=VAL (absent GITHUB_RUN_ID env)
159
- The GitHub run ID.
160
-
161
- --github-server-url=VAL (absent=https://github.com or
162
- GITHUB_SERVER_URL env)
163
- The GitHub server URL.
164
-
165
- --github-sha=VAL (absent GITHUB_SHA env)
166
- The GitHub commit.
167
-
168
130
--gitlab-sast
169
131
Output results in GitLab SAST format.
170
132
@@ -208,7 +170,7 @@ OPTIONS
208
170
it defaults to 3 hours.
209
171
210
172
--internal-ci-scan-results
211
- <internal, do not use>
173
+ Internal flag.
212
174
213
175
-j VAL, --jobs=VAL (absent=4)
214
176
Number of subprocesses to use to run checks in parallel. Defaults
@@ -355,32 +317,6 @@ OPTIONS
355
317
validation. Requires access to Secrets, contact
356
318
[email protected] for more information.
357
319
358
- --semgrep-branch=VAL (absent SEMGREP_BRANCH env)
359
- The Git branch.
360
-
361
- --semgrep-commit=VAL (absent SEMGREP_COMMIT env)
362
- The commit of the Git repository.
363
-
364
- --semgrep-job-url=VAL (absent SEMGREP_JOB_URL env)
365
- The job URL.
366
-
367
- --semgrep-pr-id=VAL (absent SEMGREP_PR_ID env)
368
- The PR/MR ID.
369
-
370
- --semgrep-pr-title=VAL (absent SEMGREP_PR_TITLE env)
371
- The PR/MR title.
372
-
373
- --semgrep-repo-display-name=VAL (absent SEMGREP_REPO_DISPLAY_NAME env)
374
- The name the repository should be displayed as for this scan.
375
- Setting it allows users to scan individual repos in one monorepo
376
- separately.
377
-
378
- --semgrep-repo-name=VAL (absent SEMGREP_REPO_NAME env)
379
- The name of the Git repository.
380
-
381
- --semgrep-repo-url=VAL (absent SEMGREP_REPO_URL env)
382
- The URL of the Git repository.
383
-
384
320
--skip-unknown-extensions
385
321
negates --scan-unknown-extensions
386
322
@@ -467,6 +403,12 @@ OPTIONS
467
403
--x-partial-output=VAL
468
404
Internal flag.
469
405
406
+ --x-upload-partial-results=VAL
407
+ Internal flag.
408
+
409
+ --x-upload-partial-results-scan-id=VAL
410
+ Internal flag.
411
+
470
412
--x-validate-partial-results-actual=VAL
471
413
Internal flag.
472
414
@@ -493,81 +435,21 @@ EXIT STATUS
493
435
ENVIRONMENT
494
436
These environment variables affect the execution of semgrep ci:
495
437
496
- GH_TOKEN
497
- See option --gh-token.
498
-
499
- GITHUB_API_URL
500
- See option --github-api-url.
501
-
502
- GITHUB_EVENT_NAME
503
- See option --github-event-name.
504
-
505
- GITHUB_EVENT_PATH
506
- See option --github-event-path.
507
-
508
- GITHUB_HEAD_REF
509
- See option --github-head-ref.
510
-
511
- GITHUB_REF
512
- See option --github-ref.
513
-
514
- GITHUB_REPOSITORY
515
- See option --github-repository.
516
-
517
- GITHUB_REPOSITORY_ID
518
- See option --github-repository-id.
519
-
520
- GITHUB_REPOSITORY_OWNER_ID
521
- See option --github-repository-owner-id.
522
-
523
- GITHUB_RUN_ID
524
- See option --github-run-id.
525
-
526
- GITHUB_SERVER_URL
527
- See option --github-server-url.
528
-
529
- GITHUB_SHA
530
- See option --github-sha.
531
-
532
438
SEMGREP_AUDIT_ON
533
439
See option --audit-on.
534
440
535
441
SEMGREP_BASELINE_COMMIT
536
442
See option --baseline-commit.
537
443
538
- SEMGREP_BRANCH
539
- See option --semgrep-branch.
540
-
541
- SEMGREP_COMMIT
542
- See option --semgrep-commit.
543
-
544
444
SEMGREP_ENABLE_VERSION_CHECK
545
445
See option --enable-version-check.
546
446
547
447
SEMGREP_FORCE_COLOR
548
448
See option --force-color.
549
449
550
- SEMGREP_JOB_URL
551
- See option --semgrep-job-url.
552
-
553
450
SEMGREP_OTEL_ENDPOINT
554
451
See option --trace-endpoint.
555
452
556
- SEMGREP_PR_ID
557
- See option --semgrep-pr-id.
558
-
559
- SEMGREP_PR_TITLE
560
- See option --semgrep-pr-title.
561
-
562
- SEMGREP_REPO_DISPLAY_NAME
563
- See option --semgrep-repo-display-name.
564
-
565
- SEMGREP_REPO_NAME
566
- See option --semgrep-repo-name.
567
-
568
- SEMGREP_REPO_URL
569
- See option --semgrep-repo-url.
570
-
571
453
SEMGREP_SEND_METRICS
572
454
See option --metrics.
573
455
0 commit comments