You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add development section to readme
* If server principal's name looks like an email address, store it as an email address on the user trait
* Add blurb to readme about required permissions and which tables are accessed.
Copy file name to clipboardExpand all lines: README.md
+27-3Lines changed: 27 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,19 +6,33 @@ It uses [go-mssqldb](https://github.com/microsoft/go-mssqldb) to connect to SQL
6
6
Check out [Baton](https://github.com/conductorone/baton) to learn more the project in general.
7
7
8
8
# Getting Started
9
+
This connector requires that you connect to your SQL Server instance with a user with the proper access to read the system tables. The following permissions are required:
10
+
- `VIEW ANY DEFINITION` on the server
11
+
- `VIEW ANY DATABASE` on the server
12
+
- `VIEW ANY DEFINITION` on each database
13
+
- `VIEW SERVER STATE` on the server
14
+
- `VIEW DATABASE STATE` on each database
15
+
16
+
The following tables are read while syncing data with this connector:
When fetching database permissions, the server principal backing the database principal will the resource that is granted entitlements.
44
58
59
+
# Development
60
+
61
+
A docker compose file is included to easily spin up a SQL Server instance for development. To start the instance, run:
62
+
63
+
```
64
+
docker-compose up -d
65
+
```
66
+
67
+
The instance will be available at `localhost:1433`. The default username is `sa` and the default password is `devP@ssw0rd`.
68
+
45
69
# Contributing, Support, and Issues
46
70
47
71
We started Baton because we were tired of taking screenshots and manually building spreadsheets. We welcome contributions, and ideas, no matter how small -- our goal is to make identity and permissions sprawl less painful for everyone. If you have questions, problems, or ideas: Please open a Github Issue!
0 commit comments