chore(outputs): raise an error when using -M asff for a provider other than aws (#9225)

This commit is contained in:
Hugo Pereira Brito
2025-11-13 16:53:22 +01:00
committed by GitHub
parent d1380fc19d
commit 866edfb167
6 changed files with 45 additions and 4 deletions

View File

@@ -59,7 +59,7 @@ Prowler natively supports the following reporting output formats:
- CSV
- JSON-OCSF
- JSON-ASFF
- JSON-ASFF (AWS only)
- HTML
Hereunder is the structure for each of the supported report formats by Prowler:
@@ -285,10 +285,10 @@ The JSON-OCSF output format implements the [Detection Finding](https://schema.oc
Each finding is a `json` object within a list.
</Note>
### JSON-ASFF
### JSON-ASFF (AWS Only)
<Note>
Only available when using `--security-hub` or `--output-formats json-asff`
Only available when using `--security-hub` or `--output-formats json-asff` with the AWS provider.
</Note>
The following code is an example output of the [JSON-ASFF](https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-findings-format-syntax.html) format: