Skip to content

Commit e0fe567

Browse files
github-actions[bot]github-actionss-santillan
authored
Update help command output for Semgrep 1.106.0 (#1939)
* Updated help command output based on latest Semgrep release * remove artifacts --------- Co-authored-by: github-actions <[email protected]> Co-authored-by: s-santillan <[email protected]>
1 parent bd0089f commit e0fe567

File tree

1 file changed

+7
-125
lines changed

1 file changed

+7
-125
lines changed

src/components/reference/_cli-help-ci-output.md

+7-125
Original file line numberDiff line numberDiff line change
@@ -127,44 +127,6 @@ OPTIONS
127127
Always include ANSI color in the output, even if not writing to a
128128
TTY; defaults to using the TTY status
129129
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-
168130
--gitlab-sast
169131
Output results in GitLab SAST format.
170132
@@ -208,7 +170,7 @@ OPTIONS
208170
it defaults to 3 hours.
209171
210172
--internal-ci-scan-results
211-
<internal, do not use>
173+
Internal flag.
212174
213175
-j VAL, --jobs=VAL (absent=4)
214176
Number of subprocesses to use to run checks in parallel. Defaults
@@ -355,32 +317,6 @@ OPTIONS
355317
validation. Requires access to Secrets, contact
356318
[email protected] for more information.
357319
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-
384320
--skip-unknown-extensions
385321
negates --scan-unknown-extensions
386322
@@ -467,6 +403,12 @@ OPTIONS
467403
--x-partial-output=VAL
468404
Internal flag.
469405
406+
--x-upload-partial-results=VAL
407+
Internal flag.
408+
409+
--x-upload-partial-results-scan-id=VAL
410+
Internal flag.
411+
470412
--x-validate-partial-results-actual=VAL
471413
Internal flag.
472414
@@ -493,81 +435,21 @@ EXIT STATUS
493435
ENVIRONMENT
494436
These environment variables affect the execution of semgrep ci:
495437
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-
532438
SEMGREP_AUDIT_ON
533439
See option --audit-on.
534440
535441
SEMGREP_BASELINE_COMMIT
536442
See option --baseline-commit.
537443
538-
SEMGREP_BRANCH
539-
See option --semgrep-branch.
540-
541-
SEMGREP_COMMIT
542-
See option --semgrep-commit.
543-
544444
SEMGREP_ENABLE_VERSION_CHECK
545445
See option --enable-version-check.
546446
547447
SEMGREP_FORCE_COLOR
548448
See option --force-color.
549449
550-
SEMGREP_JOB_URL
551-
See option --semgrep-job-url.
552-
553450
SEMGREP_OTEL_ENDPOINT
554451
See option --trace-endpoint.
555452
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-
571453
SEMGREP_SEND_METRICS
572454
See option --metrics.
573455

0 commit comments

Comments
 (0)