Repository navigation
Activity says how the call was made, and never reads an unrecorded start as a person - #2858
Closed
davidmckayv wants to merge 3 commits into
Closed
davidmckayv wants to merge 3 commits into
davidmckayv wants to merge 3 commits into
Conversation
…art as a person Audit events gain credentialKind and credentialId: whether a person's sign-in, an API key or one of OpenBot's apps made the call, and which key or app. Activity shows "with an API key" or "in OpenBot Desktop" after who started a row, the CSV export adds both as its last two columns, and the search box finds rows by them. initiatorKind gains unknown (nothing recorded what started it, shown as Not recorded) and directory (a company's directory, by SCIM), each in the Started by filter. Words for the new events: API keys created and deleted, OpenBot apps let in, turned down, signed in and signed out, sessions ended, ways to sign in added and removed, identity providers changed, and a person's groups changed by the directory.
The audit list and export take credentialKind (session, api-key, app-token), the filters Ask the trail answers with carry it, and Activity has a Signed in with filter.
2 tasks done
Contributor
Author
|
Landed in #2869, which fused every G1 slice. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Activity and the audit API say how a person reached OpenBot to do each thing, and a row nothing recorded a start for no longer reads as a person.
credentialKindandcredentialIdon every audit event (optional, nullable):session,api-keyorapp-token, and which key (its id) or which app (its client id). Never a key or a token. The CSV export adds both as its last two columns, so a reader taking the existing columns by position reads them as before.initiatorKindgainsunknownanddirectory.unknownis a row whose writer named no initiator outside any request a person signed in: shown as "Not recorded", never "A person".directoryis a company's directory (SCIM). Both are in the Started by filter.credentialKindfilter on listing and exporting audit events, in the filters Ask the trail answers with, and a Signed in with chip on Activity.docs/architecture.md("What started a run", "How the call was made").API
Additive only.
oasdiff breakingagainst main: no breaking changes.api:lintclean,api:generatecommitted with the sources.Changelog
Activity.
API.
credentialKindandcredentialId, and the CSV export adds them as its last two columns.initiatorKindmay now beunknownordirectory.credentialKindfilter, andAuditFilterscarries it.Checks
format,lint,api:lint, apptypecheck,api/openapi-audit.test.ts. The server side and its regression tests are in the matching backend PR.