Skip to content

Commit 5aae4f7

Browse files
Updating baton config schema and capabilities.
1 parent cfe0e5d commit 5aae4f7

File tree

2 files changed

+82
-56
lines changed

2 files changed

+82
-56
lines changed

baton_capabilities.json

Lines changed: 35 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,69 @@
11
{
2-
"@type": "type.googleapis.com/c1.connector.v2.ConnectorCapabilities",
3-
"resourceTypeCapabilities": [
2+
"@type": "type.googleapis.com/c1.connector.v2.ConnectorCapabilities",
3+
"resourceTypeCapabilities": [
44
{
5-
"resourceType": {
6-
"id": "app",
7-
"displayName": "App",
8-
"traits": [
5+
"resourceType": {
6+
"id": "app",
7+
"displayName": "App",
8+
"traits": [
99
"TRAIT_APP"
1010
]
1111
},
12-
"capabilities": [
12+
"capabilities": [
1313
"CAPABILITY_SYNC"
14-
]
14+
],
15+
"permissions": {}
1516
},
1617
{
17-
"resourceType": {
18-
"id": "group",
19-
"displayName": "Group",
20-
"traits": [
18+
"resourceType": {
19+
"id": "group",
20+
"displayName": "Group",
21+
"traits": [
2122
"TRAIT_GROUP"
2223
]
2324
},
24-
"capabilities": [
25+
"capabilities": [
2526
"CAPABILITY_SYNC",
2627
"CAPABILITY_PROVISION"
27-
]
28+
],
29+
"permissions": {}
2830
},
2931
{
30-
"resourceType": {
31-
"id": "role",
32-
"displayName": "Role",
33-
"traits": [
32+
"resourceType": {
33+
"id": "role",
34+
"displayName": "Role",
35+
"traits": [
3436
"TRAIT_ROLE"
3537
],
36-
"annotations": [
38+
"annotations": [
3739
{
38-
"@type": "type.googleapis.com/c1.connector.v2.SkipGrants"
40+
"@type": "type.googleapis.com/c1.connector.v2.SkipGrants"
3941
}
4042
]
4143
},
42-
"capabilities": [
44+
"capabilities": [
4345
"CAPABILITY_SYNC"
44-
]
46+
],
47+
"permissions": {}
4548
},
4649
{
47-
"resourceType": {
48-
"id": "user",
49-
"displayName": "User",
50-
"traits": [
50+
"resourceType": {
51+
"id": "user",
52+
"displayName": "User",
53+
"traits": [
5154
"TRAIT_USER"
5255
],
53-
"description": "JumpCloud User: The User account is the core identity for your employees, and is the account type that is used to authenticate against resources"
56+
"description": "JumpCloud User: The User account is the core identity for your employees, and is the account type that is used to authenticate against resources"
5457
},
55-
"capabilities": [
58+
"capabilities": [
5659
"CAPABILITY_SYNC"
57-
]
60+
],
61+
"permissions": {}
5862
}
5963
],
60-
"connectorCapabilities": [
64+
"connectorCapabilities": [
6165
"CAPABILITY_PROVISION",
6266
"CAPABILITY_SYNC"
6367
],
64-
"credentialDetails": {}
68+
"credentialDetails": {}
6569
}

config_schema.json

Lines changed: 47 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
{
22
"fields": [
3-
{
4-
"name": "api-key",
5-
"displayName": "API Key",
6-
"description": "The API key for the JumpCloud account.",
7-
"isRequired": true,
8-
"isSecret": true,
9-
"stringField": {
10-
"rules": {
11-
"isRequired": true
12-
}
13-
}
14-
},
153
{
164
"name": "log-level",
175
"description": "The log level: debug, info, warn, error",
@@ -27,10 +15,12 @@
2715
"stringField": {}
2816
},
2917
{
30-
"name": "org-id",
31-
"displayName": "Organization ID",
32-
"description": "The Org ID for the JumpCloud account (optional, only needed by API keys linked to multi-tenant admins).",
33-
"stringField": {}
18+
"name": "session-store-maximum-size",
19+
"description": "The maximum size of the local in-memory session store cache in bytes.",
20+
"isOps": true,
21+
"intField": {
22+
"defaultValue": "15728640"
23+
}
3424
},
3525
{
3626
"name": "otel-collector-endpoint",
@@ -39,14 +29,14 @@
3929
"stringField": {}
4030
},
4131
{
42-
"name": "otel-collector-endpoint-tls-cert",
43-
"description": "A PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
32+
"name": "otel-collector-endpoint-tls-cert-path",
33+
"description": "Path to a file containing a PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
4434
"isOps": true,
4535
"stringField": {}
4636
},
4737
{
48-
"name": "otel-collector-endpoint-tls-cert-path",
49-
"description": "Path to a file containing a PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
38+
"name": "otel-collector-endpoint-tls-cert",
39+
"description": "A PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
5040
"isOps": true,
5141
"stringField": {}
5242
},
@@ -56,25 +46,57 @@
5646
"isOps": true,
5747
"boolField": {}
5848
},
49+
{
50+
"name": "otel-tracing-disabled",
51+
"description": "Disable OpenTelemetry tracing",
52+
"isOps": true,
53+
"boolField": {}
54+
},
5955
{
6056
"name": "otel-logging-disabled",
6157
"description": "Disable OpenTelemetry logging",
6258
"isOps": true,
6359
"boolField": {}
6460
},
6561
{
66-
"name": "otel-tracing-disabled",
67-
"description": "Disable OpenTelemetry tracing",
62+
"name": "health-check",
63+
"description": "Enable the HTTP health check endpoint",
6864
"isOps": true,
6965
"boolField": {}
7066
},
7167
{
72-
"name": "session-store-maximum-size",
73-
"description": "The maximum size of the local in-memory session store cache in bytes.",
68+
"name": "health-check-port",
69+
"description": "Port for the HTTP health check endpoint",
7470
"isOps": true,
7571
"intField": {
76-
"defaultValue": "15728640"
72+
"defaultValue": "8081"
73+
}
74+
},
75+
{
76+
"name": "health-check-bind-address",
77+
"description": "Bind address for health check server (127.0.0.1 for localhost-only)",
78+
"isOps": true,
79+
"stringField": {
80+
"defaultValue": "127.0.0.1"
81+
}
82+
},
83+
{
84+
"name": "api-key",
85+
"displayName": "API Key",
86+
"description": "The API key for the JumpCloud account.",
87+
"isRequired": true,
88+
"isSecret": true,
89+
"stringField": {
90+
"rules": {
91+
"isRequired": true
92+
}
7793
}
94+
},
95+
{
96+
"name": "org-id",
97+
"displayName": "Organization ID",
98+
"description": "The Org ID for the JumpCloud account (optional, only needed by API keys linked to multi-tenant admins).",
99+
"stringField": {}
78100
}
79101
],
80102
"displayName": "JumpCloud",

0 commit comments

Comments
 (0)