Versions in this module Expand all Collapse all v2 v2.3.0 Aug 28, 2026 Changes in this version + var DefinitionID = types.NewDefinitionRef("def_01K0GHAPP000000000000000001") + var ErrAPIRequest = errors.New("githubapp: api request failed") + var ErrAccessTokenMissing = errors.New("githubapp: access token missing") + var ErrAppIDMissing = errors.New("githubapp: app id missing") + var ErrAppSlugMissing = errors.New("githubapp: app slug missing") + var ErrAuthCompleteInputInvalid = errors.New("githubapp: auth complete input invalid") + var ErrAuthStartInputInvalid = errors.New("githubapp: auth start input invalid") + var ErrAuthStateDecode = errors.New("githubapp: auth state decode failed") + var ErrAuthStateEncode = errors.New("githubapp: auth state encode failed") + var ErrAuthStateGenerate = errors.New("githubapp: auth state generate failed") + var ErrAuthStateMismatch = errors.New("githubapp: auth state mismatch") + var ErrClientNil = errors.New("githubapp: unexpected nil client") + var ErrClientType = errors.New("githubapp: unexpected client type") + var ErrCredentialDecode = errors.New("githubapp: credential decode failed") + var ErrCredentialEncode = errors.New("githubapp: credential encode failed") + var ErrIngestPayloadEncode = errors.New("githubapp: ingest payload encode failed") + var ErrInstallationIDMissing = errors.New("githubapp: installation id missing") + var ErrInstallationMetadataDecode = errors.New("githubapp: installation metadata decode failed") + var ErrInstallationMetadataEncode = errors.New("githubapp: installation metadata encode failed") + var ErrInstallationTokenEmpty = errors.New("githubapp: installation token empty") + var ErrInstallationTokenRequestFailed = errors.New("githubapp: installation token request failed") + var ErrJWTSigningFailed = errors.New("githubapp: jwt signing failed") + var ErrOperationConfigInvalid = errors.New("githubapp: operation config invalid") + var ErrPrivateKeyInvalid = errors.New("githubapp: private key invalid") + var ErrPrivateKeyMissing = errors.New("githubapp: private key missing") + var ErrResultEncode = errors.New("githubapp: result encode failed") + var ErrWebhookEventMissing = errors.New("githubapp: webhook event missing") + var ErrWebhookIngestFailed = errors.New("githubapp: webhook ingest failed") + var ErrWebhookMetadataEncode = errors.New("githubapp: webhook metadata encode failed") + var ErrWebhookPayloadInvalid = errors.New("githubapp: webhook payload invalid") + var ErrWebhookPersistFailed = errors.New("githubapp: webhook persist failed") + var ErrWebhookSecretMissing = errors.New("githubapp: webhook secret missing") + var ErrWebhookSignatureMismatch = errors.New("githubapp: webhook signature mismatch") + var ErrWebhookSignatureMissing = errors.New("githubapp: webhook signature missing") + var InstallationEventsWebhook = types.NewWebhookRef("installation.events") + func Builder(cfg Config) registry.Builder + func ResolveWebhookIntegration(ctx context.Context, db *ent.Client, req types.WebhookInboundRequest) (*ent.Integration, error) + type App struct + Config Config + func (App) Event(request types.WebhookInboundRequest) (types.WebhookReceivedEvent, error) + func (a App) Verify(request types.WebhookInboundRequest) error + type Client struct + AppConfig Config + func (c Client) Build(ctx context.Context, req types.ClientBuildRequest) (any, error) + type CodeScanningAlertWebhook struct + func (CodeScanningAlertWebhook) Handle(ctx context.Context, request types.WebhookHandleRequest) error + type Config struct + APIURL string + AppID string + AppSlug string + PrivateKey string + WebhookSecret string + type DependabotAlertWebhook struct + func (DependabotAlertWebhook) Handle(ctx context.Context, request types.WebhookHandleRequest) error + type DirectorySync struct + Disable bool + DisableGroupSync bool + FilterExpr string + func (DirectorySync) IngestHandle() types.IngestHandler + func (d DirectorySync) Run(ctx context.Context, client GraphQLClient) ([]types.IngestPayloadSet, error) + type GraphQLClient interface + Query func(ctx context.Context, q any, variables map[string]any) error + type HealthCheck struct + func (HealthCheck) Run(ctx context.Context, client GraphQLClient) (json.RawMessage, error) + func (h HealthCheck) Handle() types.OperationHandler + type InstallationCreatedWebhook struct + func (InstallationCreatedWebhook) Handle(_ context.Context, _ types.WebhookHandleRequest) error + type InstallationDeletedWebhook struct + func (InstallationDeletedWebhook) Handle(ctx context.Context, request types.WebhookHandleRequest) error + type InstallationMetadata struct + InstallationID string + OrganizationName string + func (m InstallationMetadata) InstallationIdentity() types.IntegrationInstallationIdentity + type PingWebhook struct + func (PingWebhook) Handle(ctx context.Context, request types.WebhookHandleRequest) error + type RepositorySync struct + Disable bool + FilterExpr string + func (RepositorySync) Run(ctx context.Context, client GraphQLClient, lastRunAt *time.Time) ([]types.IngestPayloadSet, error) + func (r RepositorySync) IngestHandle() types.IngestHandler + type SecretScanningAlertWebhook struct + func (SecretScanningAlertWebhook) Handle(ctx context.Context, request types.WebhookHandleRequest) error + type UserInput struct + DirectorySync DirectorySync + RepositorySync RepositorySync + VulnerabilitySync VulnerabilitySyncConfig + type VulnerabilityCollect struct + func (VulnerabilityCollect) Run(ctx context.Context, client GraphQLClient, config VulnerabilitySync, ...) ([]types.IngestPayloadSet, error) + func (v VulnerabilityCollect) IngestHandle() types.IngestHandler + type VulnerabilitySync struct + MaxRepos int + type VulnerabilitySyncConfig struct + Disable bool + FilterExpr string Other modules containing this package github.com/theopenlane/core