Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 41 additions & 1 deletion baton_capabilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,42 @@
],
"permissions": {}
},
{
"resourceType": {
"id": "app",
"displayName": "GitHub App",
"traits": [
"TRAIT_APP"
],
"annotations": [
{
"@type": "type.googleapis.com/c1.connector.v2.V1Identifier",
"id": "app"
},
{
"@type": "type.googleapis.com/c1.connector.v2.CapabilityPermissions",
"permissions": [
{
"permission": "organization_administration:read"
}
]
},
{
"@type": "type.googleapis.com/c1.connector.v2.SkipEntitlementsAndGrants"
}
]
},
"capabilities": [
"CAPABILITY_SYNC"
],
"permissions": {
"permissions": [
{
"permission": "organization_administration:read"
}
]
}
},
{
"resourceType": {
"id": "enterprise_role",
Expand Down Expand Up @@ -52,6 +88,9 @@
{
"@type": "type.googleapis.com/c1.connector.v2.V1Identifier",
"id": "invitation"
},
{
"@type": "type.googleapis.com/c1.connector.v2.SkipSyncAnomalyDetection"
}
]
},
Expand All @@ -60,7 +99,8 @@
"CAPABILITY_ACCOUNT_PROVISIONING",
"CAPABILITY_RESOURCE_DELETE"
],
"permissions": {}
"permissions": {},
"skipSyncAnomalyDetection": true
},
{
"resourceType": {
Expand Down
1 change: 1 addition & 0 deletions docs/connector.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ If you access GitHub at `github.com`, go to the [GitHub](/baton/github) integrat
| Enterprise roles | <Icon icon="square-check" iconType="solid" color="#c937ae"/> | |
| Licenses | <Icon icon="square-check" iconType="solid" color="#c937ae"/> | |
| Secrets - API keys | <Icon icon="square-check" iconType="solid" color="#c937ae"/> | |
| GitHub App | <Icon icon="square-check" iconType="solid" color="#c937ae"/> | |

The GitHub Enterprise connector supports [automatic account provisioning and deprovisioning](/product/admin/account-provisioning). New accounts will send an invitation to the account owner; if an invitation is pending, the account status will be shown as **Unspecified**.

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/conductorone/baton-github-enterprise
go 1.25.2

require (
github.com/conductorone/baton-github v0.3.7
github.com/conductorone/baton-github v0.3.10
github.com/conductorone/baton-sdk v0.13.0
github.com/ennyjfrick/ruleguard-logfatal v0.0.2
github.com/quasilyte/go-ruleguard/dsl v0.3.23
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ github.com/cockroachdb/swiss v0.0.0-20251224182025-b0f6560f979b h1:VXvSNzmr8hMj8
github.com/cockroachdb/swiss v0.0.0-20251224182025-b0f6560f979b/go.mod h1:yBRu/cnL4ks9bgy4vAASdjIW+/xMlFwuHKqtmh3GZQg=
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAKVxetITBuuhv3BI9cMrmStnpT18zmgmTxunpo=
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06/go.mod h1:7nc4anLGjupUW/PeY5qiNYsdNXj7zopG+eqsS7To5IQ=
github.com/conductorone/baton-github v0.3.7 h1:wK65opd70uLjaSeuUfl5ZkK4h5nB4kZUQBWBK2fER7E=
github.com/conductorone/baton-github v0.3.7/go.mod h1:nnCvY6EzW768V5qbO95yEuLlMa97J2aWZ5qyirwYW/A=
github.com/conductorone/baton-github v0.3.10 h1:R/eEwIiuyU2jJ3no6vFEb/rFv/dypdVGhfjEffwEgGU=
github.com/conductorone/baton-github v0.3.10/go.mod h1:uMdYU1bf9pJMYysXUwVrNzhRD4XtlJSo7CxEPTd1uqI=
github.com/conductorone/baton-sdk v0.13.0 h1:Z73ZX2zhEhIe47e0tPqvGsTQJkLauv/XAqOYs0t2qvE=
github.com/conductorone/baton-sdk v0.13.0/go.mod h1:hNdQlCu0prYFQj8ysF/J+0zjUxdqjPPVBlZJVwMIb6o=
github.com/conductorone/dpop v0.2.6 h1:fakwai/Xm2b/fcDUwJN41WtcSI/2UhQOyRIVvnnrrNA=
Expand Down
1 change: 1 addition & 0 deletions pkg/connector/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ func (d *defaultCapabilitiesBuilder) ResourceSyncers(_ context.Context) []connec
connector.APITokenBuilder(nil, nil),
connector.EnterpriseRoleBuilder(nil, nil, nil, nil),
connector.LicenseBuilder(nil, nil),
connector.AppBuilder(nil, nil),
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

133 changes: 133 additions & 0 deletions vendor/github.com/conductorone/baton-github/pkg/connector/app.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading