Commit Graph

606 Commits (deeac5c457e86c6c2bf6db50f00a385ecbf4a360)

Author SHA1 Message Date
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
Johan Brandhorst-Satzkorn af8e4d63be
db: add channel summary details
3 years ago
Todd ee6a5f05b5
Add historical target and scope information to session recording
3 years ago
Michael Gaffney 477e6df269
feat(sql): Add target and host history tables to session recording
3 years ago
Michael Gaffney 73b710cd06
refactor(sql): Rename session recording migration
3 years ago
Michael Gaffney 37c6b8e540
feat(sql): Add history tables for hosts
3 years ago
Michael Gaffney b97dc07bb0
feat(sql): Add history tables for host catalogs
3 years ago
Michael Gaffney 7ebe393aee
feat(sql): Add history table for target_ssh
3 years ago
Todd d365123045
add session recording aggregate view
3 years ago
Louis Ruch 7263d08bc5
feat(storage): Add target storage_bucket relation
3 years ago
Timothy Messier 21f6be9ab5
refact(sql): Move migrations to avoid number conflict
3 years ago
Michael Gaffney 882b7eca2f
feat(sql): Add IAM history table references to session recording
3 years ago
Michael Gaffney 9fd01a79f0
refactor(sql): Move and rename session recording migration
3 years ago
Michael Gaffney 4488f5f8cd
refactor(sql): Move and rename history table migrations
3 years ago
Michael Gaffney 463f1e36af
feat(sql): Add history table for iam_user
3 years ago
Michael Gaffney 8ae658a570
feat(sql): Add history table and triggers for iam_scope
3 years ago
Michael Gaffney 327d950a1e
feat(sql): Add function to generate a URL safe ID
3 years ago
Michael Gaffney 94f77d36b3
feat(sql): Add a domain type for URL safe IDs
3 years ago
Michael Gaffney 647cf0d33d
feat(sql): Add URL safe base64 encoding function
3 years ago
Danielle Miu a4a14fc7fc
merged commit for plugin rework, storage bucket sql and proto, storage bucket secret rewrapping, storage bucket repository
3 years ago
Johan Brandhorst-Satzkorn 7bb44b46f5
internal/db: add session recording tables
3 years ago
Michael Milton ace2def49d
Add daily sessions pending view and accompanying snapshot table (#3217)
3 years ago
Jeff Mitchell bbe9719e19
Add tracking of worker used for injection (#3204)
3 years ago
Haotian 762e0d7d0d
fix(sql): move added file to correct folder (#3197)
3 years ago
Haotian b806297afe
style(db): rename constraint names to follow sql style guide (#2973)
3 years ago
Jeff Mitchell 20391e3503
Add default client port to targets and use in connect command (#2767)
3 years ago
Johan Brandhorst-Satzkorn ecdb77b584
internal/db/sqltest: fix sessions aggregate (#3152)
3 years ago
Hugo Vieira 2ff9b8efac feat(host/plugin): Support External Name field
3 years ago
Johan Brandhorst-Satzkorn bc31892f29
internal/db: add set_once_columns function (#3117)
3 years ago
Jim 63a2b62b85
chore (deps): update GKW and protobuf; and run "make gen" (#3111)
3 years ago
Jim 86192f75eb
feature (auth/ldap): add LDAP auth method along with associated accounts and managed groups (#2912)
3 years ago
Irena Rindos ab0a2ad689
Fix hcp billing test (#3045)
3 years ago
Irena Rindos 860af44556
Fix sql tests failing on the first of the month (#3042)
3 years ago
Hugo 41b1b5b4b7
feat(db): Introduce migrations for ssh targets (#2960)
3 years ago
Timothy Messier 5c19dba3c9
ci(sqltest): Add github action workflow for sql tests (#2977)
3 years ago
Johan Brandhorst-Satzkorn 3c29308673 chore: Add license headers to all files
3 years ago
Timothy Messier 6a41bf1237
feat(wh): Support vault ssh certificate credentials
3 years ago
Danielle 3a78a74571
feat(vault): Support Issuing SSH Cert Credentials
3 years ago
Haotian 823b8cdfc6
feat(vault): Add CRUDL methods for ssh certificate cred library (#2765)
3 years ago
Johan Brandhorst-Satzkorn 55259029f1
Add job run cleaner (#2866)
3 years ago
Irena Rindos 2e3fd041ef Target worker filters migration fix (#2859)
3 years ago
Timothy Messier e2248c1360
fix(wh): Associate session fact with credential dimensions (#2787)
3 years ago
Damian Debkowski a8ee18e177
fix(db): target address relabel migration id (#2769)
3 years ago
Damian Debkowski 0dbe18e453 fix(db): remove migration test 59_01
3 years ago
Damian Debkowski 3dd4b1c63d feat(db): Support a direct address association to a Target
3 years ago
Jim 1c9ca14a8e
fix (db): Improve error handling for commit errors. (#2728)
3 years ago
Danielle 46037cf85a
Add Staticcheck to Build Pipeline (#2421)
3 years ago
Johan Brandhorst-Satzkorn eb113b5c9e
fix(db): Reorder migrations (#2688)
3 years ago
Irena Rindos 834a2a88f7
feat(targets): Addition of egress and ingress worker filters (#2654)
3 years ago
Haotian 96a630905f
formatting consistency for 'create function' statements (#2620)
3 years ago
Johan Brandhorst-Satzkorn 8908dccf6d
Forward port some release fixes (#2631)
3 years ago
Johan Brandhorst-Satzkorn edd323b73a
Key Rotation/Destruction (#2477) (#2607)
3 years ago
Haotian d97d34adc4
refactor(db): applies consistent formatting to 'comment on' statements
3 years ago
Johan Brandhorst-Satzkorn a216c701ee
Silence events from DB errors (#2601) (#2602)
4 years ago
Irena Rindos b26814a3cc
move user variables into globals (#2580)
4 years ago
Michael Gaffney f114e20c6d
docs(db): fix comments on database domain types
4 years ago
Michael Gaffney ed4b00303a
docs(db): fix comments on kms database tables
4 years ago
Michael Gaffney c9cfb0e564
docs(db): fix comments on oidc database tables
4 years ago
Michael Gaffney 3241c9a411
docs(db): fix comments on database functions
4 years ago
Johan Brandhorst-Satzkorn f57454b6b9
Rewrite interface{} to any (#2535)
4 years ago
Todd fa39fe5b0f
Delete the base auth account when a concrete auth account is deleted (#2528)
4 years ago
Irena Rindos 4493dfd527 use prior and current worker auth keys (#2495)
4 years ago
Timothy Messier a2ef14283b
fix(org): Address bug that prevented deleting an org (#2465)
4 years ago
Damian Debkowski 546c5dc5be
feat: static json credentials (#2423)
4 years ago
Irena Rindos 821d8317dc
address op state review feedback (#2453)
4 years ago
Jeff Mitchell 53b5e532d5
Remove deprecated methods/fields on targets (#2393)
4 years ago
Irena Rindos fc0ead73e6
feat(workers): worker operational state (#2427)
4 years ago
Jeff Mitchell 9002930d65 Adapt shared lock skip logic to dbswap branch (#2437)
4 years ago
Hugo Vieira bed6e1a0ff feat(server): Reload database on SIGHUP
4 years ago
Hugo Vieira 621f8a9ff2 fix(schema): Database connection not cleanly closed
4 years ago
Irena Rindos 18dff62b7b
Merge BYOW GA branch to main (#2398)
4 years ago
Timothy Messier 2fbdcf6ce0
feat(session): Use permissions for limiting list results
4 years ago
Louis Ruch d7c4c648ec
bug(vault): Correctly handle credential stores with expired tokens (#2399)
4 years ago
Jeff Mitchell 01fb949d0b
Add controller-led worker auth flow (#2413)
4 years ago
Johan Brandhorst-Satzkorn de2c40fa77
Fork pgtap-docker to support arm64 (#2411)
4 years ago
Damian Debkowski 3f70644978
fix(db): update host_plugin_set to set project_id value (#2410)
4 years ago
Johan Brandhorst-Satzkorn aef9073fa6
Upgrade to Go 1.19 (#2347)
4 years ago
Danielle 07a4082aa1
Add SQL Migration 05 From go-kms-wrapping (#2371)
4 years ago
Johan Brandhorst-Satzkorn d709b97e18
fix(schema): Panic with error rather than function (#2391)
4 years ago
Jim b0bc6bd632
refactor: eliminate gorm references in favor of go-dbw (#2386)
4 years ago
Louis Ruch 929a385fdb fix: move 'drop target_all_subtypes' after whx views
4 years ago
Damian Debkowski 27e9f775be feat: add initial migration hook
4 years ago
Timothy Messier 79866a287f feat(schema): Add support for migration hooks
4 years ago
Michael Gaffney 1fa79e9aa1 test(db): Add tests for inserts into target_host_set
4 years ago
Michael Gaffney 0512ddb060 test(db): Add tests for inserts into target_credential_library
4 years ago
Damian Debkowski c4aa9a0358 test(sql) add tests to validate project scope for target_static_credential
4 years ago
Johan Brandhorst-Satzkorn 222a935223
Update grpc-gateway dependency (#2311)
4 years ago
Louis Ruch d01f374490
bug(db): Fix credential purpose migration (#2351)
4 years ago
Michael Gaffney a6d9c228aa
Merge branch 'mgaffney-greppable-sql'
4 years ago
Jim 7aa7deafa3
chore: update go-dbw dependencies (#2298)
4 years ago
Louis Ruch 7fafadd70b
db: Add credential_sha256 to session_credentials (#2339)
4 years ago
Michael Gaffney ac6f14a37f
style(sql): make migrations more greppable
4 years ago
Jeff Mitchell 02dd28f587
Add support for SSH private key passphrases (#2331)
4 years ago
irenarindos 4908aba546 feat(vault): Add unimplemented worker filter support to OSS
4 years ago
Louis Ruch a17e973712
feat(credentials): Refactor credential purposes (#2260)
4 years ago
Louis Ruch ef5ac07f02
Add ssh_private_key support for Vault libraries and targets (#2263)
4 years ago
Jeff Mitchell 011e2e7425
Add ssh private key type and add type to static store (#2262)
4 years ago
Jim 3da78aa7e4
refactor (kms): Update dependency required a small refactor (#2253)
4 years ago
Jeff Malnick 1f66685864
feat: set default connection limit to unlimited (-1) instead of 1 (#2234)
4 years ago
Timothy Messier fd5d15af27
feat(config): Add database config options for idle connection management (#2176)
4 years ago
Damian Debkowski 3e9c99c217
refactor(user_password) rename all references of user_password to username_password (#2232)
4 years ago