Commit Graph

606 Commits (deeac5c457e86c6c2bf6db50f00a385ecbf4a360)

Author SHA1 Message Date
Timothy Messier 9d82958c9f
test(sqltest): Shorten prepared statement identifiers
2 years ago
Jeff Mitchell 35cef97bd4
Linter fixes PR 3 (#4415)
2 years ago
Jeff Mitchell 25bce9e8ff Fix linter warnings
2 years ago
Johan Brandhorst-Satzkorn d9c6de4e8b
deps: update runc dependency (#4349)
2 years ago
Jeff Mitchell 18f863514e
Finish sqltests for multi grant scopes (#4320)
2 years ago
Jeff Mitchell 025fce6f95
Change error message and add beginnings of sql tests (#4319)
2 years ago
Johan Brandhorst-Satzkorn 133e928c6d
internal/db/schema: update recording indexes (#4278)
2 years ago
Jeff Mitchell f5dd457b34
Multiple grant scope IDs (#4251)
2 years ago
Louis Ruch fa69ddcb8a
fix(db): Set max storage policy days (#4267)
2 years ago
Jim 6a37c93d77
fix: properly handle rows.Err() (#4261)
2 years ago
Johan Brandhorst-Satzkorn b229ece914
internal/db: use more efficient index for host listing (#4256)
2 years ago
Louis Ruch d620dcbd4f feat(db): Update storage policy override default to false
2 years ago
Louis Ruch 5505833702 chore: reorder db migrations from llb
2 years ago
Danielle Miu e903947bef Create delete_session_recording job and associated infra
2 years ago
Damian Debkowski c27d12c189 fix(db): add target_org_id to session_recording_aggregate table
2 years ago
Johan Brandhorst-Satzkorn dc4ea67d6e internal/db: changes for pagination
2 years ago
Danielle Miu 39b3bb2d1d fix(db): allow session_recording_aggregate to return recordings correctly
2 years ago
Danielle Miu df02651bb5 feat(db): new cols for retain and delete session recordings, update structs, and tests
2 years ago
Hugo 978db86186 feat(internal/db): Storage policies implementation (#767)
2 years ago
Johan Brandhorst-Satzkorn b6fe9824ab internal/db: optimize session list indexes
2 years ago
Johan Brandhorst-Satzkorn 69262c386c internal/db: renumber migrations (#4218)
2 years ago
Johan Brandhorst-Satzkorn 85ca909720 internal/db: add iam_scope indexes
2 years ago
Johan Brandhorst-Satzkorn d4b60241db internal/db: storage bucket pagination migrations (#4213)
2 years ago
Michael Milton 52b1c1b4c7 Managed group list pagination (#4208)
2 years ago
Johan Brandhorst-Satzkorn 44971b3559 internal/db: migrations for accounts pagination
2 years ago
Johan Brandhorst-Satzkorn 0715003945 internal/db: renumber session recording migration
2 years ago
Johan Brandhorst-Satzkorn cce52a16e6 internal/db: db migrations for session recordings (#4200)
2 years ago
Johan Brandhorst-Satzkorn e9b90d9ce1 internal/db: add schema changes for host catalog pagination
2 years ago
Johan Brandhorst-Satzkorn f0dbddb9e3 internal/db: ensure new columns are not null (#4197)
2 years ago
Todd 40d9c3fd1d Paginate iam groups (#4194)
2 years ago
Johan Brandhorst-Satzkorn 8dc431fef5 internal/db: renumber auth methods migration (#4199)
2 years ago
Michael Milton 8d50a0913f Auth Method list pagination (#4165)
2 years ago
Todd 0fad770d8a Paginate iam user (#4185)
2 years ago
Johan Brandhorst-Satzkorn b3207d8e1c internal/host: sort public_id descending
2 years ago
Johan Brandhorst-Satzkorn d94a25bbd2 internal/host: sort public_id descending
2 years ago
Johan Brandhorst-Satzkorn d4f5677858 internal/iam: sort public_id descending
2 years ago
Johan Brandhorst-Satzkorn f9950a7e1c internal/authtoken: sort public_id descending
2 years ago
Johan Brandhorst-Satzkorn d4d1efce93 internal/session: sort public_id descending
2 years ago
Johan Brandhorst-Satzkorn 6238a533b0 internal/credential: sort public_id descending
2 years ago
Johan Brandhorst-Satzkorn fc9b26efa7 internal/target: sort public_id descending
2 years ago
Johan Brandhorst-Satzkorn 27393a8227 internal/db: add host set indexes
2 years ago
Johan Brandhorst-Satzkorn 21c593ab71 internal/db: add host indexes
2 years ago
Todd 5aa560387c Add pagination for iam Roles (#4161)
2 years ago
Johan Brandhorst-Satzkorn 77b76ae685 internal/db: reorder pagination schema files
2 years ago
Johan Brandhorst-Satzkorn 22ce2b4468 internal/db: add cred store pagination schema changes
2 years ago
Johan Brandhorst-Satzkorn 780dfe20ad internal/db: move pagination migrations to same folder (#4142)
2 years ago
Todd 5daef58f54 SQLite allows having 1 set to MaxOpenConnections (#3941)
2 years ago
Jim fba9d1cdf1 Add client daemon repo, server, and cmd
2 years ago
Michael Milton 6ba3676c37 Auth token pagination (#4113)
2 years ago
Johan Brandhorst-Satzkorn fcb47f3772 internal/db: add cred library pagination schema changes
2 years ago
Johan Brandhorst-Satzkorn 497c158b9d internal/db: add migration for static credential table
2 years ago
Michael Milton 9c3eb16046 Sessions list pagination (#4079)
2 years ago
Johan Brandhorst-Satzkorn 6181f34497 internal/db: move new migrations to new folder
2 years ago
Johan Brandhorst-Satzkorn f0f7e635a0 internal/db: add target schema for pagination design
2 years ago
Todd 5bfc8a88b1 Add indexes on update_time (#3974)
2 years ago
Johan Brandhorst-Satzkorn 43cff11865 internal/db: renumber migration
2 years ago
Johan Brandhorst-Satzkorn dd2b373866 internal/db: add Now method (#3887)
2 years ago
Johan Brandhorst-Satzkorn 38536f4eef internal/db: add deleted tables for all resources (#3885)
2 years ago
Damian Debkowski 2f62f65252
fix(db): make bucket_prefix column immutable for storage buckets (#4108)
2 years ago
Elim Tsiagbey 8b8d2822df
feat(oidc): OIDC Prompt (#4053)
2 years ago
Johan Brandhorst-Satzkorn 940eb61282
sqltest: fix typo (#3886)
3 years ago
dani c89777de41
Expose Valid Principals for Vault SSH Signed Certs (#3791)
3 years ago
Jim 1c330543a7
fix (oplog keys): fix issue with migration of oplog keys to new tables (#3868)
3 years ago
Jim 4ed675be16
feat (db): add Writer.IsTx(...) (#3770)
3 years ago
Jim 0d19892e03
fix (events): convert multierror to stdlib error (#3743)
3 years ago
Irena Rindos 9733a250fa
refact(event): move observability/event to event (#3704)
3 years ago
Michael Gaffney 0af36d3d8a
refactor(sql): Consolidate changes to oplog_entry into one migration
3 years ago
Michael Gaffney 3befccffd7
refactor(sql): Reorder and rename oplog kms migrations
3 years ago
Michael Gaffney d8393e5793
style(sql): fix indenting and remove trailing whitespace
3 years ago
Jim a16033b73a
fix (kms): move oplog DEK into its own internal kms (#3665)
3 years ago
Jim dc89ca28a1
feat: add API support for additional LDAP auth method fields. (#3679)
3 years ago
Jim d5411a26f6
chore: update protobuf dep (#3669)
3 years ago
hashicorp-copywrite[bot] 29da0bcb92
[COMPLIANCE] License changes (#3567)
3 years ago
Damian Debkowski e285a8ef6f
refactor: make secrets optional for storage bucket (#3353)
3 years ago
Michael Milton 8527f0305d
Fix issue where snapshot conflicts weren't being handled (#3406)
3 years ago
Michael Milton 23c40a0bc3
Update census to run less frequently (#3346)
3 years ago
Jeff Mitchell 8322916fb4 Remove all deprecated Err/Wrap/E calls (#3286)
3 years ago
Timothy Messier 603642f271
fix(session): List performance with large number of session connections (#3288)
3 years ago
Timothy Messier 876f9bb07f
fix(session): List performance with large number of session connections
3 years ago
Michael Gaffney 99a8777866
fix(db): Add index to session connection table
3 years ago
Johan Brandhorst-Satzkorn 610df9892b
all: propagate more history metadata (#3279)
3 years ago
Michael Gaffney 8159ddb08e
feat(db): Add function to update billing snapshot table
3 years ago
Michael Gaffney 41bdfb4406
fix(db): Fix time zone consistency issues in monthly billing views
3 years ago
Michael Gaffney 47ddd2e40a
fix(db): Fix generated series to yield consistent results
3 years ago
Michael Gaffney 053e74f66c
feat(db): Add table for census upload job status
3 years ago
Michael Gaffney 8bf80e0544
test(db): Conditionally skip monthly billing view tests
3 years ago
Jim d4e537c88d
chore: updgrade pgx direct deps to v5 (#3258)
3 years ago
Jim 536551dc0c
fix: update go-dbw dep and refactor conversion of pgx errors (#3242)
3 years ago
Timothy Messier 61a37ef4a4
fix(schema): Add missing endpoint column to session recording view
3 years ago
Timothy Messier f53d65eacd
refact(sql): Rename migrations to avoid number conflicts
3 years ago
Todd 4063880bbe
Add credential history views
3 years ago
Michael Gaffney a783c91b2d
feat(sql): Add dynamic credential hst tables to session recording
3 years ago
Michael Gaffney 3769f0851c
test(sql): Refactor the colors persona
3 years ago
Michael Gaffney 03b1291b34
feat(sql): Add history tables for dynamic credentials
3 years ago
Todd e1540be9f3
Add host information to session recording view
3 years ago
Michael Gaffney a8224f4f57
feat(sql): Add endpoint from session table to session recording
3 years ago
Michael Gaffney 06e4e46248
feat(sql): Add static credential hst tables to session recording
3 years ago
Michael Gaffney 3a64fb3d58
feat(sql): Add history tables for static credentials
3 years ago
Todd 386eac072c
Add recording_channel_ssh_aggregate view
3 years ago
Johan Brandhorst-Satzkorn 11893a8885
db: add state and error_details to recording
3 years ago