Skip to content

Commit

Permalink
chore(docs): add mapping of CSV headers with providers (#4118)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCloudSec authored May 28, 2024
1 parent f4a1130 commit 533f7cb
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions docs/tutorials/reporting.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,25 @@ The CSV format has a common format for all the providers. The following are the
- NOTES
- PROWLER_VERSION

???+ note
Since Prowler v3 the CSV column delimiter is the semicolon (`;`)
#### CSV Headers Mapping

The following table shows the mapping between the CSV headers and the the providers fields:

| Open Source Consolidated | AWS | GCP | AZURE | KUBERNETES |
|-----------------------------|-----------------------------|------------------------------|-----------------------------|----------------------------|
| auth_method | profile | principal | identity_type : identity_id | in-cluster/kube-config |
| provider | provider | provider | provider | provider |
| account_uid | account_id / account_arn | project_id | subscription_id | cluster |
| account_name | account_name | project_name | subscription_name | context:context |
| account_email | account_email | N/A | N/A | N/A |
| account_organization_uid | account_organizations_arn | project_organization_id | tenant_id | N/A |
| account_organization_name | account_org | project_organization_display_name | tenant_domain | N/A |
| account_tags | account_tags | project_labels | subscription_tags | N/A |
| partition | partition | N/A | region_config.name | N/A |
| region | region | location | location | namespace:namespace |
| resource_name | resource_id | resource_name | resource_name | resource_name |
| resource_uid | resource_arn | resource_id | resource_id | resource_id |
| finding_uid | finding_unique_id | finding_unique_id | finding_unique_id | finding_unique_id |


### JSON-OCSF
Expand Down

0 comments on commit 533f7cb

Please sign in to comment.