Skip to content

Commit 800e570

Browse files
Updating baton config schema and capabilities.
1 parent e0564c7 commit 800e570

File tree

2 files changed

+143
-1
lines changed

2 files changed

+143
-1
lines changed

baton_capabilities.json

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,60 @@
1-
{"resourceTypeCapabilities":[{"resourceType":{"id":"user", "displayName":"User", "traits":["TRAIT_USER"], "description":"JumpCloud User: The User account is the core identity for your employees, and is the account type that is used to authenticate resources agains"}, "capabilities":["CAPABILITY_SYNC"]}, {"resourceType":{"id":"group", "displayName":"Group", "traits":["TRAIT_GROUP"]}, "capabilities":["CAPABILITY_SYNC", "CAPABILITY_PROVISION"]}, {"resourceType":{"id":"role", "displayName":"Role", "traits":["TRAIT_ROLE"]}, "capabilities":["CAPABILITY_SYNC"]}, {"resourceType":{"id":"app", "displayName":"App", "traits":["TRAIT_APP"]}, "capabilities":["CAPABILITY_SYNC"]}]}
1+
{
2+
"@type": "type.googleapis.com/c1.connector.v2.ConnectorCapabilities",
3+
"resourceTypeCapabilities": [
4+
{
5+
"resourceType": {
6+
"id": "app",
7+
"displayName": "App",
8+
"traits": [
9+
"TRAIT_APP"
10+
]
11+
},
12+
"capabilities": [
13+
"CAPABILITY_SYNC"
14+
]
15+
},
16+
{
17+
"resourceType": {
18+
"id": "group",
19+
"displayName": "Group",
20+
"traits": [
21+
"TRAIT_GROUP"
22+
]
23+
},
24+
"capabilities": [
25+
"CAPABILITY_SYNC",
26+
"CAPABILITY_PROVISION"
27+
]
28+
},
29+
{
30+
"resourceType": {
31+
"id": "role",
32+
"displayName": "Role",
33+
"traits": [
34+
"TRAIT_ROLE"
35+
]
36+
},
37+
"capabilities": [
38+
"CAPABILITY_SYNC"
39+
]
40+
},
41+
{
42+
"resourceType": {
43+
"id": "user",
44+
"displayName": "User",
45+
"traits": [
46+
"TRAIT_USER"
47+
],
48+
"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"
49+
},
50+
"capabilities": [
51+
"CAPABILITY_SYNC"
52+
]
53+
}
54+
],
55+
"connectorCapabilities": [
56+
"CAPABILITY_PROVISION",
57+
"CAPABILITY_SYNC"
58+
],
59+
"credentialDetails": {}
60+
}

config_schema.json

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
"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+
},
15+
{
16+
"name": "log-level",
17+
"description": "The log level: debug, info, warn, error",
18+
"isOps": true,
19+
"stringField": {
20+
"defaultValue": "info"
21+
}
22+
},
23+
{
24+
"name": "log-level-debug-expires-at",
25+
"description": "The timestamp indicating when debug-level logging should expire",
26+
"isOps": true,
27+
"stringField": {}
28+
},
29+
{
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": {}
34+
},
35+
{
36+
"name": "otel-collector-endpoint",
37+
"description": "The endpoint of the OpenTelemetry collector to send observability data to (used for both tracing and logging if specific endpoints are not provided)",
38+
"isOps": true,
39+
"stringField": {}
40+
},
41+
{
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",
44+
"isOps": true,
45+
"stringField": {}
46+
},
47+
{
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",
50+
"isOps": true,
51+
"stringField": {}
52+
},
53+
{
54+
"name": "otel-collector-endpoint-tls-insecure",
55+
"description": "Allow insecure connections to the OpenTelemetry collector",
56+
"isOps": true,
57+
"boolField": {}
58+
},
59+
{
60+
"name": "otel-logging-disabled",
61+
"description": "Disable OpenTelemetry logging",
62+
"isOps": true,
63+
"boolField": {}
64+
},
65+
{
66+
"name": "otel-tracing-disabled",
67+
"description": "Disable OpenTelemetry tracing",
68+
"isOps": true,
69+
"boolField": {}
70+
},
71+
{
72+
"name": "session-store-maximum-size",
73+
"description": "The maximum size of the local in-memory session store cache in bytes.",
74+
"isOps": true,
75+
"intField": {
76+
"defaultValue": "15728640"
77+
}
78+
}
79+
],
80+
"displayName": "JumpCloud",
81+
"helpUrl": "/docs/baton/jumpcloud",
82+
"iconUrl": "/static/app-icons/jumpcloud.svg"
83+
}

0 commit comments

Comments
 (0)