Posted on 01-16-2025 02:48 AM
In the release notes from December 10, 2024, I noticed the following update:
Changes and Improvements
You can now download audit logs in CSV file format by clicking Export on the Organization > Audit log page or by using the GET <domain>/audit-logs/v1 endpoint.
The endpoint mentioned here (GET <domain>/audit-logs/v1) seems to follow a different structure compared to the existing APIs:
• API v1 uses: https://{yourDomain}.jamfcloud.com/endpoint
• API v2 uses: {yourDomain}:443/apiv2/v1/endpoint
I couldn’t find any reference to this new endpoint in the API documentation, except for the release notes and a brief mention in the Audit Log documentation about the new Export button.
My questions are:
1.Which API version does this new endpoint belong to?
2.How should this endpoint be addressed (full URL structure)?
3.Are there any additional details or headers required to access it? Some changes in the Access Right Role?
Any clarification would be greatly appreciated!
01-22-2025 01:12 AM - edited 01-27-2025 02:53 AM
1. Seems to be on the API v1 framework based on url
2. Audit logs is one file/historical list of commands. As such, it does not seem to have sorting/structure beyond timestamps.
3. New access right has been added in roles: Organization - Audit logs - Read (only option available, Edit, Add, Delete is greyed out/no tick box)