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
-`SOCKET_CLI_GIT_USER_NAME` - The git config user.name used by Socket CLI.<br>
91
+
*Defaults:*`github-actions[bot]`<br>
92
+
*Aliases:*`SOCKET_CLI_GIT_USERNAME`<br>
93
+
-`SOCKET_CLI_GITHUB_TOKEN` - A classic [GitHub personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) with the "repo" scope or a fine-grained access token with at least read/write permissions set for "Contents" and "Pull Request".<br>
94
+
*Aliases:*`SOCKET_SECURITY_GITHUB_PAT` and `GITHUB_TOKEN`<br>
95
+
-`SOCKET_CLI_NO_API_TOKEN` - Make the default API token `undefined`.
96
+
-`SOCKET_CLI_NPM_PATH` - The absolute location of the npm directory.
97
+
-`SOCKET_CLI_ORG_SLUG` - Specify the Socket organization slug.<br>
98
+
*Aliases:*`SOCKET_ORG_SLUG`<br>
99
+
-`SOCKET_CLI_VIEW_ALL_RISKS` - View all risks of a safe-npm and safe-npx run.
86
100
87
101
## Contributing
88
102
@@ -101,21 +115,24 @@ That should invoke it from local sources. If you make changes you run
101
115
102
116
### Environment variables for development
103
117
104
-
-`SOCKET_CLI_API_BASE_URL` - if set, this will be the base for all
105
-
API-calls. Defaults to `https://api.socket.dev/v0/`
106
-
-`SOCKET_CLI_API_PROXY` - if set to something like
then all request will be proxied through that proxy
118
+
-`DEBUG` - Enable debug logging based on the [`debug`](https://socket.dev/npm/package/debug) package.
119
+
-`SOCKET_CLI_API_BASE_URL` - Change the base URL for all API-calls.<br>
120
+
*Defaults:* The "apiBaseUrl" value of socket/settings local app data if present, else `https://api.socket.dev/v0/`.<br>
121
+
*Aliases:*`SOCKET_SECURITY_API_BASE_URL`<br>
122
+
-`SOCKET_CLI_API_PROXY` - Set the proxy that all requests are routed through.<br>
123
+
For example, if set to [`http://127.0.0.1:9090`](https://docs.proxyman.io/troubleshooting/couldnt-see-any-requests-from-3rd-party-network-libraries), then all request are proxied through that proxy.<br>
124
+
*Aliases:*`HTTPS_PROXY`, `https_proxy`, `HTTP_PROXY`, and `http_proxy`<br>
125
+
-`SOCKET_CLI_DEBUG` - Enable debug logging in Socket CLI.<br>
126
+
:bulb: Not needed if `DEBUG` is specified.
109
127
110
128
## Similar projects
111
129
112
-
-[`@socketsecurity/sdk`](https://github.com/SocketDev/socket-sdk-js) - the SDK
113
-
used in this CLI
130
+
-[`@socketsecurity/sdk`](https://github.com/SocketDev/socket-sdk-js) - The SDK used by Socket CLI
114
131
115
132
## See also
116
133
117
134
-[Announcement blog post](https://socket.dev/blog/announcing-socket-cli-preview)
118
-
-[Socket API Reference](https://docs.socket.dev/reference) - the API used in
119
-
this CLI
120
-
-[Socket GitHub App](https://github.com/apps/socket-security) - the
121
-
plug-and-play GitHub App
135
+
-[Socket API Reference](https://docs.socket.dev/reference) - The API used by Socket CLI
136
+
-[Socket GitHub App](https://github.com/apps/socket-security) - The plug-and-play GitHub App
0 commit comments