Yes, using the Swagger UI, you can retrieve an example of a JSON schema for both activity and entitlement reports.
Activity reports can be retrieve from the AuditLog API.
1. Open a Browser and navigate to the Core API (Swagger UI)
https://<Appliance IP>/service/core/swagger
2. Click the Authorize at the top. Login with an account that has PolicyAdmin or Auditor permissions.
3. Scroll down until you reach the AuditLog section. Click Show/Hide.
This will display a list of operations and endpoints(paths).
4. Click to expand the endpoint, example (GET /v4/AuditLog/AccessRequests/Activities ).
Underneath "Response Class (status 200)", you can find both the JSON schema and model.
5. Copy the contents from the "Example Value" textbox and use this as the JSON schema.
Entitlement reports can be retrieved from the Reports API.
1. Open a Browser and navigate to the Core API (Swagger UI)
https://<Appliance IP>/service/core/swagger
2. Click the Authorize at the top. Login with an account that has PolicyAdmin or Auditor permissions.
3. Scroll down until you reach the Reports section. Click Show/Hide.
This will display a list of operations and endpoints(paths).
4. Click to expand the endpoint, example (POST /v4/Reports/Entitlements/AccountEntitlement).
Underneath "Response Class (status 200)", you can find both the JSON schema and model.
5. Copy the contents from the "Example Value" textbox and use this as the JSON schema.
© 2024 One Identity LLC. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center