Commit Graph
13 Commits
Author SHA1 Message Date
Krzysztof Skrzętnicki d8fe3a6d8f Extract Kerberos functionality from SQL Server engine (#51352)
* Extract Kerberos functionality from SQL Server engine

* fix typo, add missing trace.Wrap()
2025-02-12 11:11:16 +00:00
Krzysztof SkrzętnickiandSTeve Huang 18fe621bab convert db lib to use slog, part 2 (#43849)
* Switch Engine, EngineConfig and SessionContext to slog.

* Apply suggestions from code review

Co-authored-by: STeve (Xin) Huang <xin.huang@goteleport.com>

* fix some lint issues, restore trace logs,

* fix tests

* fix some more lint issues

---------

Co-authored-by: STeve (Xin) Huang <xin.huang@goteleport.com>
2024-07-04 15:22:30 +00:00
fheinecke b178b8b732 Updated Teleport codebase to AGPL3 license (#35259)
Signed-off-by: Fred Heinecke <fred.heinecke@goteleport.com>
2023-12-01 17:48:14 +00:00
Gabriel Corado 86358c14e4 Support auditing chunked SQL Server packets (#29228)
* feat(sqlserver): parse chunked packets

* chore(sqlserver): fix typo

* fix(sqlserver): assert final packet on flag bit

* refactor(sqlserver): return chunks data using Bytes()

* chore(sqlserver): update comparision logic

* chore(sqlserver): typo
2023-08-09 03:18:52 +00:00
Krzysztof Skrzętnicki 32ccd98af0 Add metrics for database service (#28150)
* Add DB metrics

* Address PR feedback.

- rename functions to better indicate their intent
- drop unused clock field
- cache labels
- add godoc

* Refactoring to return concrete types instead of interfaces.
2023-08-07 08:25:40 +00:00
STeve (Xin) Huang 704a514742 AWS IAM role matching for database users (#20610)
* Add database user matching logic for databases require AWS IAM role

* Fix UT

* fix lint/typo

* fix typo in error message

* reduce bool return
2023-02-03 18:33:56 +00:00
Alan Parra 11d58e25c7 Refactor AccessMFAParams and MFAParams to allow additional data (#20300)
Refactor `services.AccessMFAParams` and the accompanying `MFAParams` methods so
they may be extended to carry additional data (eg, information required to
perform device trust checks).

This PR refactors existing code without adding any new functionality, so it may
be backported to older branches to alleviate eventual conflicts. Follow up
changes will take advantage of it to add support for device trust.

Related to gravitational/teleport.e#514.
2023-01-17 20:02:38 +00:00
STeve (Xin) Huang 6c858c09ee Register database engines directly from db lib (#19279) 2022-12-18 05:59:47 +00:00
Christopher Cooper 9c2192ebb6 Prepare sql server kinit authorization (#18299) 2022-12-06 22:55:20 +00:00
Jakub Nyckowski 0ee91f6c37 Enable GCI linter (#17894) 2022-10-28 20:20:28 +00:00
Brian Joerger 2654add770 RequireMFAType (#16034)
Replace role/authPref RequireSessionMFA (bool) with RequireMFAType
(string).

  - Add new RequireMFAType constant values with custom boolean marshalling.

  - Add RequireMFAType to role and auth preference and deprecate
RequireSessionMFA.

  - Add session-mfa override login when hardware_key_touch is enforced.

  - Add protobuf enum for RequireMFAType.

  - Add support for proto enums in protoc-gen-crd and update Kubernetes
Operator manifests.
2022-09-22 20:30:32 +00:00
Marek Smoliński 4602b485ef SQLServer audit events (#12521) 2022-05-31 14:43:40 +02:00
Roman Tkachenko 41899806fd Add SQL Server support for database access (#10097) 2022-02-17 02:20:33 +00:00