-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3132837
commit 690d483
Showing
11 changed files
with
165 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Active Directory | ||
|
||
## Example ENV | ||
|
||
```env | ||
##################### | ||
## GitHub Settings ## | ||
##################### | ||
WEBHOOK_SECRET=development | ||
APP_ID=12345 | ||
PRIVATE_KEY_PATH=.ssh/team-sync.pem | ||
#GHE_HOST=github.example.comEnterprise. | ||
################## | ||
## App Settings ## | ||
################## | ||
#VERIFY_SSL=False | ||
USER_DIRECTORY=LDAP | ||
USER_SYNC_ATTRIBUTE=username | ||
#CHANGE_THRESHOLD=25 | ||
#OPEN_ISSUE_ON_FAILURE=true | ||
#REPO_FOR_ISSUES=github-demo/demo-repo | ||
#ISSUE_ASSIGNEE=githubber | ||
SYNC_SCHEDULE=0 * * * * | ||
TEST_MODE=false | ||
ADD_MEMBER=falsepart of a team | ||
REMOVE_ORG_MEMBERS_WITHOUT_TEAM=false | ||
############################### | ||
## Active Directory Settings ## | ||
############################### | ||
LDAP_SERVER_HOST=dc1.example.com | ||
LDAP_SERVER_PORT=389 | ||
LDAP_BASE_DN="dc=example,dc=com" | ||
LDAP_USER_BASE_DN="ou=People,dc=example,dc=com" | ||
LDAP_GROUP_BASE_DN="ou=Groups,dc=example,dc=com" | ||
LDAP_USER_FILTER="(&(objectClass=person)({ldap_user_attribute}={username}))" | ||
LDAP_USER_ATTRIBUTE=uid | ||
LDAP_USER_MAIL_ATTRIBUTE=mail | ||
LDAP_GROUP_FILTER="(&(objectClass=posixGroup)(cn={group_name}))" | ||
LDAP_GROUP_MEMBER_ATTRIBUTE=memberUid | ||
LDAP_BIND_USER="cn=admin,dc=example,dc=com" | ||
LDAP_BIND_PASSWORD="p4$$w0rd" | ||
LDAP_SEARCH_PAGE_SIZE=1000 | ||
LDAP_USE_SSL=true | ||
LDAP_SSL_PRIVATE_KEY=private.key | ||
LDAP_SSL_CERTIFICATE=cert.pem | ||
LDAP_SSL_VALIDATE=CERT_REQUIRED | ||
LDAP_SSL_VERSION=PROTOCOL_TLS | ||
LDAP_SSL_CA_CERTS=cacert.b64 | ||
#################### | ||
## Flask Settings ## | ||
#################### | ||
FLASK_APP=app | ||
FLASK_ENV=development | ||
FLASK_RUN_PORT=5000 | ||
FLASK_RUN_HOST=0.0.0.0 | ||
``` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Azure AD | ||
|
||
## Example ENV | ||
|
||
```env | ||
##################### | ||
## GitHub Settings ## | ||
##################### | ||
WEBHOOK_SECRET=development | ||
APP_ID=12345 | ||
PRIVATE_KEY_PATH=.ssh/team-sync.pem | ||
#GHE_HOST=github.example.comEnterprise. | ||
################## | ||
## App Settings ## | ||
################## | ||
#VERIFY_SSL=False | ||
USER_DIRECTORY=AAD | ||
USER_SYNC_ATTRIBUTE=username | ||
#CHANGE_THRESHOLD=25 | ||
#OPEN_ISSUE_ON_FAILURE=true | ||
#REPO_FOR_ISSUES=github-demo/demo-repo | ||
#ISSUE_ASSIGNEE=githubber | ||
SYNC_SCHEDULE=0 * * * * | ||
TEST_MODE=false | ||
ADD_MEMBER=falsepart of a team | ||
REMOVE_ORG_MEMBERS_WITHOUT_TEAM=false | ||
####################### | ||
## Azure AD Settings ## | ||
####################### | ||
AZURE_TENANT_ID="<tenant_id>" | ||
AZURE_CLIENT_ID="<client_id>" | ||
AZURE_CLIENT_SECRET="<client_secret>" | ||
AZURE_APP_SCOPE=".default" | ||
AZURE_API_ENDPOINT="https://graph.microsoft.com/v1.0" | ||
AZURE_USERNAME_ATTRIBUTE=userPrincipalName | ||
#AZURE_USE_TRANSITIVE_GROUP_MEMBERS=true | ||
#################### | ||
## Flask Settings ## | ||
#################### | ||
FLASK_APP=app | ||
FLASK_ENV=development | ||
FLASK_RUN_PORT=5000 | ||
FLASK_RUN_HOST=0.0.0.0 | ||
``` |
Empty file.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# LDAP | ||
|
||
## Example ENV | ||
|
||
```env | ||
##################### | ||
## GitHub Settings ## | ||
##################### | ||
WEBHOOK_SECRET=development | ||
APP_ID=12345 | ||
PRIVATE_KEY_PATH=.ssh/team-sync.pem | ||
#GHE_HOST=github.example.comEnterprise. | ||
################## | ||
## App Settings ## | ||
################## | ||
#VERIFY_SSL=False | ||
USER_DIRECTORY=LDAP | ||
USER_SYNC_ATTRIBUTE=username | ||
#CHANGE_THRESHOLD=25 | ||
#OPEN_ISSUE_ON_FAILURE=true | ||
#REPO_FOR_ISSUES=github-demo/demo-repo | ||
#ISSUE_ASSIGNEE=githubber | ||
SYNC_SCHEDULE=0 * * * * | ||
TEST_MODE=false | ||
ADD_MEMBER=falsepart of a team | ||
REMOVE_ORG_MEMBERS_WITHOUT_TEAM=false | ||
################### | ||
## LDAP Settings ## | ||
################### | ||
LDAP_SERVER_HOST=dc1.example.com | ||
LDAP_SERVER_PORT=389 | ||
LDAP_BASE_DN="DC=example,DC=com" | ||
LDAP_USER_BASE_DN="CN=Users,DC=example,DC=example" | ||
LDAP_GROUP_BASE_DN="OU=Groups,DC=example,DC=example" | ||
LDAP_USER_FILTER="(objectClass=person)" | ||
LDAP_USER_ATTRIBUTE=sAMAccountName | ||
LDAP_USER_MAIL_ATTRIBUTE=mail | ||
LDAP_GROUP_FILTER="(&(objectClass=group)(cn={group_name}))" | ||
LDAP_GROUP_MEMBER_ATTRIBUTE=member | ||
LDAP_BIND_USER="[email protected]" | ||
LDAP_BIND_PASSWORD="p4$$w0rd" | ||
LDAP_SEARCH_PAGE_SIZE=1000 | ||
LDAP_USE_SSL=true | ||
LDAP_SSL_PRIVATE_KEY=private.key | ||
LDAP_SSL_CERTIFICATE=cert.pem | ||
LDAP_SSL_VALIDATE=CERT_REQUIRED | ||
LDAP_SSL_VERSION=PROTOCOL_TLS | ||
LDAP_SSL_CA_CERTS=cacert.b64 | ||
#################### | ||
## Flask Settings ## | ||
#################### | ||
FLASK_APP=app | ||
FLASK_ENV=development | ||
FLASK_RUN_PORT=5000 | ||
FLASK_RUN_HOST=0.0.0.0 | ||
``` |
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.