Skip to content

Commit

Permalink
Automated commit 'Merge pull request #55 from sailpoint/NEROCKET-1977
Browse files Browse the repository at this point in the history
NEROCKET-1970 adding documentation for pagination fix and for created…' by github action: 11743476065
  • Loading branch information
developer-relations-sp committed Nov 8, 2024
1 parent 3799aa2 commit 0910080
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 4 deletions.
10 changes: 9 additions & 1 deletion nerm/paths/audit_events.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
post:
summary: Query for Audit events
description: This endpoint provides a search engine for Audit Events by optionally combining subject_type, type, and subject_id to narrow down the audit events. A Subject Type of Profile links up to the AuditableProfile types. An Subject Type of WorkflowSession links up to the AuditableWorkflow types. An Subject Type of Get/Post/Patch/Delete links up to the AuditableApi types. The remaining Subject Types link up to the ActiveRecord types (configuration changes). Any workflow audit event created as of 10/11/2024 will be able to be queried by workflow name, workflow uid, or workflow profile type. Any profile audit event created as of 10/11/2024 will be able to be queried by profile type. The entity_type parameter has been updated to subject_type, which now matches what is in the response object. With the additional query filters added, there is a max of 5 filter parameters at one time (aside from pagination parameters). To accommodate these changes, an API contract change was required. Please read the updated API documentation for the new request syntax.
description: |-
This endpoint provides a search engine for Audit Events by optionally combining subject_type, type, and subject_id to narrow down the audit events. A Subject Type of Profile links up to the AuditableProfile types. An Subject Type of WorkflowSession links up to the AuditableWorkflow types. An Subject Type of Get/Post/Patch/Delete links up to the AuditableApi types. The remaining Subject Types link up to the ActiveRecord types (configuration changes).
- Any workflow audit event created as of 10/11/2024 will be able to be queried by workflow name, workflow uid, or workflow profile type.
- Any profile audit event created as of 10/11/2024 will be able to be queried by profile type.
- The entity_type parameter has been updated to subject_type, which now matches what is in the response object.
- With the additional query filters added, there is a max of 5 filter parameters at one time (aside from pagination parameters)
To accommodate these changes, an API contract change was required. Please read the updated API documentation for the new request syntax.
operationId: search
tags:
- audits
Expand Down
7 changes: 4 additions & 3 deletions nerm/requestBodies/POST/AuditEvents.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,20 @@ content:
type: object
properties:
offset:
description: The page of pagination for these events.
description: How many records to skip before pulling records to return.
type: integer
format: int32
example: 1
example: 100
sort_by:
description: A column that we are sorting these records from.
type: string
example: created_at
limit:
description: The limiting count for the amount of records returned.
type: integer
example: 1
example: 10
format: int32
maximum: 100
order:
description: Which direction the list should be sorted by
type: string
Expand Down
19 changes: 19 additions & 0 deletions nerm/schemas/POST/AuditEvent.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
type: object
properties:
created_at:
description: Search for record based on the created_at date
type: object
properties:
gt:
description: Greater Than - search for events with a date greater than the value
type: string
format: date
example: 2024-10-18T16:41:23.232+00:00 | 10/18/2024
lt:
description: Less Than - search for events with a date less than the value
type: string
format: date
example: 2024-10-18T16:41:23.232+00:00 | 10/18/2024
eq:
description: Equal - search for events with a date equal to the value
type: string
format: date
example: 2024-10-18T16:41:23.232+00:00 | 10/18/2024
subject_type:
description: Categorization of audit event.
type: string
Expand Down

0 comments on commit 0910080

Please sign in to comment.