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
@@ -170,52 +171,59 @@ AppCAT provides two subcommands for usage:
170
171
-**transform**: Convert XML rules from previous versions (6 and older) to YAML format used by this version.
171
172
172
173
**Note - macOS users:** If you encounter an error stating "Apple could not verify" when trying to run the app, you can resolve this by executing the following command:
The **--input** flag must point to a source code directory or a binary file, and **--output** must point to a directory to store the analysis results.
197
200
198
201
For more information on the analyze flags, run the following command:
199
-
- **Linux / macOS:**
200
-
```sh
201
-
./appcat analyze --help
202
-
```
203
-
- **Windows:**
204
-
```sh
205
-
.\appcat.exe analyze --help
206
-
```
202
+
203
+
# [Linux / macOS](#tab/linux)
204
+
```bash
205
+
./appcat analyze --help
206
+
```
207
+
208
+
# [Windows](#tab/windows)
209
+
```cmd
210
+
.\appcat.exe analyze --help
211
+
```
207
212
208
213
To check the available targets for AppCAT, run the following command:
209
-
- **Linux / macOS:**
210
-
```sh
211
-
./appcat analyze --list-targets
212
-
```
213
-
- **Windows:**
214
-
```sh
215
-
.\appcat.exe analyze --list-targets
216
-
```
214
+
215
+
# [Linux / macOS](#tab/linux)
216
+
```bash
217
+
./appcat analyze --list-targets
218
+
```
219
+
220
+
# [Windows](#tab/windows)
221
+
```cmd
222
+
.\appcat.exe analyze --list-targets
223
+
```
217
224
218
225
With the above command, you should see the following output:
226
+
219
227
```
220
228
available target technologies:
221
229
azure-aks
@@ -233,32 +241,37 @@ openjdk21
233
241
AppCAT is designed to analyze a single application per command execution, but if you use the **--bulk** option, you can analyze multiple applications in a single execution. This generates a single static report in the output directory that includes the results for all applications.
234
242
235
243
To analyze multiple applications, run the following command:
The **transform** subcommand allows you to convert the previous `appcat` XML rules used in the 6.x version into the new YAML format used by this version 7.x.
The **--input** flag should point to a file or directory containing XML rules, and the **--output** flag should point to the output directory for the converted YAML rules.
264
277
@@ -276,21 +289,25 @@ In the **samples** directory, you will find several scripts to run different typ
276
289
-**run-assessment-package-only**: Produces a report by assessing specific packages.
277
290
278
291
Depending on your operating system, run the appropriate script. For example,
279
-
- **Linux / macOS:**
280
-
```sh
281
-
./samples/run-assessment
282
-
```
283
-
- **Windows:**
284
-
```sh
285
-
.\samples\run-assessment.bat
286
-
```
292
+
293
+
# [Linux / macOS](#tab/linux)
294
+
```sh
295
+
./samples/run-assessment
296
+
```
297
+
298
+
# [Windows](#tab/windows)
299
+
```cmd
300
+
.\samples\run-assessment.bat
301
+
```
287
302
288
303
The reports will be automatically generated and launched. You can find the reports under:
0 commit comments