securewithtrace 0.47.0 → 0.49.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.
Files changed (3) hide show
  1. package/README.md +4 -1
  2. package/dist/index.js +10385 -2878
  3. 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. Requires `tracecli auth login` on a pentest-enabled organization; API keys are rejected.
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`: