chore(quick inventory): add warning message (#2460)

This commit is contained in:
Sergio Garcia
2023-06-07 15:16:52 +02:00
committed by GitHub
parent 2a6f808bca
commit 414a45bfb0
2 changed files with 5 additions and 2 deletions

View File

@@ -16,4 +16,5 @@ prowler <provider> -i
![Quick Inventory Example](../img/quick-inventory.jpg)
> The inventorying process is done with `resourcegroupstaggingapi` calls (except for the IAM resources which are done with Boto3 API calls.)
## Objections
The inventorying process is done with `resourcegroupstaggingapi` calls which means that only resources they have or have had tags will appear (except for the IAM and S3 resources which are done with Boto3 API calls).

View File

@@ -271,7 +271,9 @@ def create_output(resources: list, audit_info: AWS_Audit_Info, args):
csv_writer.writerow(data.values())
csv_file.close()
print(
f"\n{Fore.YELLOW}WARNING: Only resources that have or have had tags will appear (except for IAM and S3).\nSee more in https://docs.prowler.cloud/en/latest/tutorials/quick-inventory/#objections{Style.RESET_ALL}"
)
print("\nMore details in files:")
print(f" - CSV: {args.output_directory}/{output_file+csv_file_suffix}")
print(f" - JSON: {args.output_directory}/{output_file+json_file_suffix}")