In the VMware Cloud Foundation (VCF) Automation portal (Administer > Activity > Audit Log), clicking Export successfully generates the audit log CSV file on the appliance. However, clicking Download Exported logs fails to open the Audit Log Exports pop-up window, preventing you from downloading the CSV file through the browser.
VMware Cloud Foundation Automation 9.1.0
VMware Cloud Foundation Automation 9.1.1
This issue occurs due to a user interface (UI) issue where the Download Exported logs action fails to trigger the Audit Log Exports pop-up dialog.
This issue is under review with Broadcom Engineering. Subscribe to this article to receive updates on this issue.
You can retrieve the generated audit log CSV file using the VCF Automation API or by copying the file directly from the appliance.
Replace <vcfa-fqdn>, <org-name>, <API_TOKEN>, <ACCESS_TOKEN>, and <EXPORT_ID> with your environment values.
Part 1: Generate an API token
https://<vcfa-fqdn>/tenant/<org-name>/automation/).Part 2: Trigger the audit log export in the UI
Part 3: Retrieve and download the report via Postman
POST.https://<vcfa-fqdn>/oauth/tenant/<org-name>/tokenAccept:application/json
Content-Type:application/x-www-form-urlencodedgrant_type:refresh_token
refresh_token:<API_TOKEN>access_token value from the 200 OK JSON response.GET.https://<vcfa-fqdn>/event-broker/api/audit/downloadAccept:application/json
Authorization:Bearer <ACCESS_TOKEN>"fileStatus": "COMPLETED" (or "status": "COMPLETED") and copy its id value.GET.https://<vcfa-fqdn>/event-broker/api/audit/download/<EXPORT_ID>Authorization:Bearer <ACCESS_TOKEN>.csv file to your local machine.If you prefer not to use the API, connect to the VCF Automation appliance node via SSH or SCP and copy the generated CSV file directly from the file system:
/var/log/services-logs/prelude/ebs-app/file-logs/audit-log-<orgId>-<timestamp>.csv