-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhancement: Add audit log filtering to Hub backend (#2073)
Add support to specify filters for certain Audit Log fields. The values are removed prior to exporting to the Hub backend. The following fields are included: * metadata * peer * method: `input(s)` and `output(s)` (Decision Logs only) We support a subset of JSONPath operations, as follows: - dot notation: `foo.bar.baz` - or bracket-notation: `['foo']['bar']['baz]` - or combinations thereof `bar` or `baz` above can be map keys, nested messages or structs. We support list indexing with Ints or wildcards: - foo.bar[0] - foo.bar[*] Wildcards can also operate on member names as a match-all. E.g `foo[*].baz` will match both `baz` values in the pseudo-object below: ``` { 'foo': { 'pow': { 'baz', }, 'bosh': { 'baz', }, } } ``` --------- Signed-off-by: Sam Lock <sam@swlock.co.uk> Co-authored-by: Charith Ellawala <charithe@users.noreply.github.com>
- Loading branch information
1 parent
e98d5f1
commit cdf2589
Showing
8 changed files
with
1,073 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.