-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.example.json
97 lines (97 loc) · 2.65 KB
/
config.example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"Runtime": {
"DryRunMode": false,
"Verbosity": 1
},
"Source": {
"Type": "RestAPI",
"ExtraJSON": {
"BaseURL": "https://domain.com",
"ListMethod": "GET",
"Username": "testuser",
"Password": "testpass",
"ClientID": "UsedForSalesforceOauth",
"ClientSecret": "UsedForSalesforceOauth",
"ResultsJSONContainer": "ReportEntry",
"IDAttribute": "Email",
"HttpTimeoutSeconds": 60
}
},
"Destination": {
"Type": "GoogleGroups",
"ExtraJSON": {
"BatchSize": 10,
"BatchDelaySeconds": 3,
"DelegatedAdminEmail": "[email protected]",
"GoogleAuth": {
"type": "service_account",
"project_id": "abc-theme-123456",
"private_key_id": "abc123",
"private_key": "-----BEGIN PRIVATE KEY-----\nMIIabc...\nabc...\n...xyz\n-----END PRIVATE KEY-----\n",
"client_email": "[email protected]",
"client_id": "123456789012345678901",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/my-sync-bot%40abc-theme-123456.iam.gserviceaccount.com"
}
}
},
"Alert": {
"AWSRegion": "us-east-1",
"CharSet": "UTF-8",
"ReturnToAddr": "[email protected]",
"SubjectText": "personnel-sync alert",
"RecipientEmails": ["[email protected]"],
"AWSAccessKeyID": "ABCD1234",
"AWSSecretAccessKey": "abcd1234!@#$"
},
"AttributeMap": [
{
"Source": "First_Name",
"Destination": "givenName",
"required": true
},
{
"Source": "Last_Name",
"Destination": "sn",
"required": true
},
{
"Source": "Email",
"Destination": "mail",
"required": true
}
],
"SyncSets": [
{
"Name": "Sync from personnel to Google Groups",
"Source": {
"Paths": ["/user-report"]
},
"Destination": {
"GroupEmail": "[email protected]",
"Owners": [
],
"ExtraOwners": [
],
"Managers": [
],
"ExtraManagers": [
],
"ExtraMembers": [
],
"DisableAdd": false,
"DisableUpdate": false,
"DisableDelete": false
}
}
]
}