You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 2, 2021. It is now read-only.
Users can filter audit events with several timestamps, e.g.
`GET /v3/audit_events?created_ats=2020-06-30T12:01:05Z,2020-07-02T12:00:00Z`
- We feel comfortable extending the `to_array!` of the base class to
return nil when passed a hash (which means, "don't change this!"). Prior
to the recent addition of inequality filters, we did not pass hashes,
and now we do, and it's appropriate to accommodate that.
- For our newer methods, we add another `9` to our timespan (i.e.
`0.99999` (five nines) is increased to `0.999999` (six nines).
PostgreSQL stores timestamps in microseconds, and there is an obscure
corner case where the query will unexpected fail if the timestamp is
barely just before the second begins. We should probably backfill
this.
[finishes #173575312]
Co-authored-by: Reid Mitchell <rmitchell@pivotal.io>
Co-authored-by: Brian Cunnie <bcunnie@pivotal.io>
Copy file name to clipboardExpand all lines: docs/v3/source/includes/resources/audit_events/_list.md.erb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ Retrieve all audit events the user has access to.
30
30
31
31
Name | Type | Description
32
32
---- | ---- | ------------
33
-
**created_ats** (*experimental*)| _[timestamp](#timestamps)_ | Timestamp to filter by. Only supports relational operators, see [relational operators](#relational-operators-experimental)
33
+
**created_ats** (*experimental*)| _[timestamp](#timestamps)_ | Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with [relational operators](#relational-operators-experimental)
34
34
**types** | _list of strings_ | Comma-delimited list of event types to filter by
35
35
**target_guids** | _list of strings_ | Comma-delimited list of target guids to filter by
36
36
**space_guids** | _list of strings_ | Comma-delimited list of space guids to filter by
0 commit comments