securewithtrace 0.48.0 → 0.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/index.js +10122 -2654
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -128,7 +128,7 @@ tracecli repo clone securewithtrace/trace --branch main --depth 1
|
|
|
128
128
|
|
|
129
129
|
### Source uploads
|
|
130
130
|
|
|
131
|
-
`upload create` is a source ZIP (a code upload). `upload build --app` attaches an APK or IPA to an existing application.
|
|
131
|
+
`upload create` is a source ZIP (a code upload). `upload build --app` attaches an APK or IPA to an existing application. Both need a pentest-enabled organization. Source ZIPs, `link`, `download`, and `delete` require `tracecli auth login`; `upload build` also works with a Trace API key (`TRACE_API_KEY`), so CI can push each release build.
|
|
132
132
|
|
|
133
133
|
```bash
|
|
134
134
|
# Upload a source archive and wait until it is ready
|
|
@@ -145,6 +145,9 @@ tracecli upload link --app <applicationId> --upload <codeUploadId>
|
|
|
145
145
|
|
|
146
146
|
# Attach an Android build to an existing application
|
|
147
147
|
tracecli upload build ./app-release.apk --app <applicationId>
|
|
148
|
+
|
|
149
|
+
# From CI, with an API key, failing the job if malware scanning rejects the build
|
|
150
|
+
TRACE_API_KEY=trace_sk_... tracecli upload build ./export/App.ipa --app <applicationId> --wait
|
|
148
151
|
```
|
|
149
152
|
|
|
150
153
|
Flags for `upload create`:
|