-
Notifications
You must be signed in to change notification settings - Fork 0
containerize connector #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughAdds a new Confluence connector configuration (generated struct + declarative schema) and upgrades Go and many dependencies, including Go 1.25.2 and multiple direct/indirect module version bumps. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20–30 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (218)
📒 Files selected for processing (1)
🔇 Additional comments (4)
Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR containerizes the Confluence connector by adopting a new configuration system that leverages the baton-sdk's code generation capabilities. The changes centralize configuration management, remove obsolete Docker/release infrastructure, and update dependencies to support lambda deployment.
Key Changes:
- Introduced configuration code generation with
pkg/configpackage and generated structs - Migrated from Viper-based configuration to strongly-typed structs
- Updated dependencies including Go version to 1.25.2 and baton-sdk to 0.6.0
- Replaced manual release workflows with reusable workflow from ConductorOne organization
Reviewed changes
Copilot reviewed 15 out of 2243 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pkg/config/gen/gen.go | Adds code generator entry point for configuration schema |
| pkg/config/config.go | Centralizes field definitions with enhanced metadata (DisplayName, Placeholder, etc.) |
| pkg/config/conf.gen.go | Generated configuration struct with reflection-based field accessors |
| go.mod | Updates Go version and major dependency versions for containerization support |
| cmd/baton-confluence/main.go | Refactors to use generated config struct instead of Viper |
| cmd/baton-confluence/config.go | Removed; configuration moved to pkg/config |
| Makefile | Adds config generation target and lambda build tag support |
| Dockerfile | Removed; Docker build now handled by reusable workflow |
| .goreleaser.yaml | Removed; release process centralized in reusable workflow |
| .goreleaser.docker.yaml | Removed; Docker release handled by reusable workflow |
| .gon-arm64.json | Removed; macOS signing handled by reusable workflow |
| .gon-amd64.json | Removed; macOS signing handled by reusable workflow |
| .github/workflows/release.yaml | Simplified to use reusable workflow with lambda support |
| .github/workflows/capabilities_and_config.yaml | New workflow to generate both config schema and capabilities |
| .github/workflows/capabilities.yaml | Removed; merged into capabilities_and_config.yaml |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (297)
.github/workflows/capabilities.yamlis excluded by none and included by none.github/workflows/capabilities_and_config.yamlis excluded by none and included by none.github/workflows/release.yamlis excluded by none and included by none.gon-amd64.jsonis excluded by none and included by none.gon-arm64.jsonis excluded by none and included by none.goreleaser.docker.yamlis excluded by none and included by none.goreleaser.yamlis excluded by none and included by noneDockerfileis excluded by none and included by noneMakefileis excluded by none and included by nonecmd/baton-confluence/config.gois excluded by none and included by nonecmd/baton-confluence/main.gois excluded by none and included by nonego.sumis excluded by!**/*.sumand included by nonepkg/config/gen/gen.gois excluded by!**/gen/**and included bypkg/**vendor/filippo.io/age/README.mdis excluded by!vendor/**and included by nonevendor/filippo.io/age/age.gois excluded by!vendor/**and included by nonevendor/filippo.io/age/internal/format/format.gois excluded by!vendor/**and included by nonevendor/filippo.io/age/internal/stream/stream.gois excluded by!vendor/**and included by nonevendor/filippo.io/age/scrypt.gois excluded by!vendor/**and included by nonevendor/github.com/Masterminds/semver/v3/.gitignoreis excluded by!vendor/**and included by nonevendor/github.com/Masterminds/semver/v3/.golangci.ymlis excluded by!vendor/**and included by nonevendor/github.com/Masterminds/semver/v3/CHANGELOG.mdis excluded by!vendor/**and included by nonevendor/github.com/Masterminds/semver/v3/LICENSE.txtis excluded by!vendor/**and included by nonevendor/github.com/Masterminds/semver/v3/Makefileis excluded by!vendor/**and included by nonevendor/github.com/Masterminds/semver/v3/README.mdis excluded by!vendor/**and included by nonevendor/github.com/Masterminds/semver/v3/SECURITY.mdis excluded by!vendor/**and included by nonevendor/github.com/Masterminds/semver/v3/collection.gois excluded by!vendor/**and included by nonevendor/github.com/Masterminds/semver/v3/constraints.gois excluded by!vendor/**and included by nonevendor/github.com/Masterminds/semver/v3/doc.gois excluded by!vendor/**and included by nonevendor/github.com/Masterminds/semver/v3/version.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-lambda-go/LICENSEis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-lambda-go/LICENSE-LAMBDACODEis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-lambda-go/LICENSE-SUMMARYis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-lambda-go/lambda/README.mdis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-lambda-go/lambda/entry.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-lambda-go/lambda/entry_generic.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-lambda-go/lambda/errors.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-lambda-go/lambda/extensions_api_client.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-lambda-go/lambda/handler.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-lambda-go/lambda/handlertrace/trace.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-lambda-go/lambda/invoke_loop.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-lambda-go/lambda/messages/README.mdis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-lambda-go/lambda/messages/messages.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-lambda-go/lambda/panic.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-lambda-go/lambda/rpc_function.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-lambda-go/lambda/runtime_api_client.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-lambda-go/lambda/sigterm.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-lambda-go/lambdacontext/README.mdis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-lambda-go/lambdacontext/context.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/accountid_endpoint_mode.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/checksum.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/config.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/credential_cache.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/credentials.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/endpoints.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/middleware/private/metrics/metrics.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/middleware/request_id_retriever.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/middleware/user_agent.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/CHANGELOG.mdis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/go_module_metadata.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/message.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/protocol/query/array.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/protocol/query/object.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/protocol/query/value.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/retry/attempt_metrics.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/retry/middleware.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/retry/retryable_error.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/signer/internal/v4/headers.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/signer/v4/middleware.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/signer/v4/v4.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/aws/transport/http/client.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/config/CHANGELOG.mdis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/config/config.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/config/env_config.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/config/go_module_metadata.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/config/load_options.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/config/provider.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/config/resolve.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/config/resolve_credentials.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/config/shared_config.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/credentials/CHANGELOG.mdis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/credentials/endpointcreds/internal/client/client.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/credentials/endpointcreds/provider.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/credentials/go_module_metadata.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/credentials/processcreds/provider.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/credentials/ssocreds/sso_cached_token.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/credentials/ssocreds/sso_credentials_provider.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/credentials/stscreds/assume_role_provider.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/credentials/stscreds/web_identity_provider.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/CHANGELOG.mdis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/go_module_metadata.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/CHANGELOG.mdis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/bucket_region.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/download.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/go_module_metadata.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/types.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/feature/s3/manager/upload.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/internal/auth/smithy/v4signer_adapter.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/internal/awsutil/path_value.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/internal/configsources/CHANGELOG.mdis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/internal/configsources/go_module_metadata.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/internal/context/context.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/awsrulesfn/partition.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/awsrulesfn/partitions.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/awsrulesfn/partitions.jsonis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/CHANGELOG.mdis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/go_module_metadata.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/internal/ini/CHANGELOG.mdis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/internal/ini/go_module_metadata.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/internal/middleware/middleware.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/internal/v4a/CHANGELOG.mdis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/internal/v4a/go_module_metadata.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/internal/v4a/smithy.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/CHANGELOG.mdis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/go_module_metadata.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/CHANGELOG.mdis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/algorithms.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/go_module_metadata.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/middleware_add.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/middleware_checksum_metrics_tracking.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/middleware_compute_input_checksum.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/middleware_setup_context.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/internal/checksum/middleware_validate_output.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/CHANGELOG.mdis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/go_module_metadata.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/CHANGELOG.mdis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/go_module_metadata.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/internal/s3shared/metadata_retriever.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/CHANGELOG.mdis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/LICENSE.txtis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_client.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_AddLayerVersionPermission.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_AddPermission.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_CreateAlias.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_CreateCodeSigningConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_CreateEventSourceMapping.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_CreateFunction.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_CreateFunctionUrlConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_DeleteAlias.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_DeleteCodeSigningConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_DeleteEventSourceMapping.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_DeleteFunction.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_DeleteFunctionCodeSigningConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_DeleteFunctionConcurrency.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_DeleteFunctionEventInvokeConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_DeleteFunctionUrlConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_DeleteLayerVersion.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_DeleteProvisionedConcurrencyConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_GetAccountSettings.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_GetAlias.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_GetCodeSigningConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_GetEventSourceMapping.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_GetFunction.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_GetFunctionCodeSigningConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_GetFunctionConcurrency.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_GetFunctionConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_GetFunctionEventInvokeConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_GetFunctionRecursionConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_GetFunctionUrlConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_GetLayerVersion.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_GetLayerVersionByArn.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_GetLayerVersionPolicy.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_GetPolicy.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_GetProvisionedConcurrencyConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_GetRuntimeManagementConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_Invoke.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_InvokeAsync.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_InvokeWithResponseStream.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_ListAliases.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_ListCodeSigningConfigs.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_ListEventSourceMappings.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_ListFunctionEventInvokeConfigs.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_ListFunctionUrlConfigs.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_ListFunctions.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_ListFunctionsByCodeSigningConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_ListLayerVersions.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_ListLayers.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_ListProvisionedConcurrencyConfigs.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_ListTags.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_ListVersionsByFunction.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_PublishLayerVersion.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_PublishVersion.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_PutFunctionCodeSigningConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_PutFunctionConcurrency.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_PutFunctionEventInvokeConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_PutFunctionRecursionConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_PutProvisionedConcurrencyConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_PutRuntimeManagementConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_RemoveLayerVersionPermission.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_RemovePermission.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_TagResource.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_UntagResource.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_UpdateAlias.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_UpdateCodeSigningConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_UpdateEventSourceMapping.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_UpdateFunctionCode.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_UpdateFunctionConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_UpdateFunctionEventInvokeConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/api_op_UpdateFunctionUrlConfig.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/auth.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/deserializers.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/doc.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/endpoints.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/eventstream.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/generated.jsonis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/go_module_metadata.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/internal/endpoints/endpoints.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/options.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/serializers.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/types/enums.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/types/errors.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/types/types.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/lambda/validators.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/CHANGELOG.mdis excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_client.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_AbortMultipartUpload.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CompleteMultipartUpload.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CopyObject.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucket.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateBucketMetadataTableConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateMultipartUpload.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_CreateSession.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucket.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketAnalyticsConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketCors.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketEncryption.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketInventoryConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketLifecycle.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetadataTableConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketMetricsConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketOwnershipControls.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketPolicy.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketReplication.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketTagging.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteBucketWebsite.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObject.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjectTagging.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeleteObjects.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_DeletePublicAccessBlock.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAccelerateConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAcl.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketAnalyticsConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketCors.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketEncryption.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketIntelligentTieringConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketInventoryConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLifecycleConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLocation.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketLogging.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetadataTableConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketMetricsConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketNotificationConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketOwnershipControls.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicy.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketPolicyStatus.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketReplication.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketRequestPayment.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketTagging.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketVersioning.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetBucketWebsite.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObject.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAcl.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectAttributes.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLegalHold.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectLockConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectRetention.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTagging.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetObjectTorrent.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_GetPublicAccessBlock.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadBucket.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_HeadObject.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketAnalyticsConfigurations.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketIntelligentTieringConfigurations.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketInventoryConfigurations.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBucketMetricsConfigurations.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListBuckets.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListDirectoryBuckets.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListMultipartUploads.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectVersions.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjects.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListObjectsV2.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_ListParts.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAccelerateConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAcl.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketAnalyticsConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketCors.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketEncryption.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketIntelligentTieringConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketInventoryConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketLifecycleConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketLogging.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketMetricsConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketNotificationConfiguration.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketOwnershipControls.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketPolicy.gois excluded by!vendor/**and included by nonevendor/github.com/aws/aws-sdk-go-v2/service/s3/api_op_PutBucketReplication.gois excluded by!vendor/**and included by none
📒 Files selected for processing (3)
go.mod(1 hunks)pkg/config/conf.gen.go(1 hunks)pkg/config/config.go(1 hunks)
🧰 Additional context used
🪛 OSV Scanner (2.3.0)
go.mod
[HIGH] 106-106: golang.org/x/crypto 0.34.0: Potential denial of service in golang.org/x/crypto
(GO-2025-3487)
[HIGH] 106-106: golang.org/x/crypto 0.34.0: Potential denial of service in golang.org/x/crypto/ssh/agent
(GO-2025-4116)
[HIGH] 106-106: golang.org/x/crypto 0.34.0: Unbounded memory consumption in golang.org/x/crypto/ssh
(GO-2025-4134)
[HIGH] 106-106: golang.org/x/crypto 0.34.0: Malformed constraint may cause denial of service in golang.org/x/crypto/ssh/agent
(GO-2025-4135)
[HIGH] 106-106: golang.org/x/crypto 0.34.0: golang.org/x/crypto/ssh/agent vulnerable to panic if message is malformed due to out of bounds read
[HIGH] 106-106: golang.org/x/crypto 0.34.0: golang.org/x/crypto Vulnerable to Denial of Service (DoS) via Slow or Incomplete Key Exchange
[HIGH] 106-106: golang.org/x/crypto 0.34.0: golang.org/x/crypto/ssh allows an attacker to cause unbounded memory consumption
[HIGH] 109-109: golang.org/x/oauth2 0.26.0: Unexpected memory consumption during token parsing in golang.org/x/oauth2
(GO-2025-3488)
[HIGH] 109-109: golang.org/x/oauth2 0.26.0: golang.org/x/oauth2 Improper Validation of Syntactic Correctness of Input vulnerability
🔇 Additional comments (5)
pkg/config/config.go (1)
1-64: LGTM! Well-structured configuration schema.The configuration fields are properly defined with appropriate metadata, required flags, and the API key is correctly marked as secret. The declarative approach using baton-sdk field helpers is clean and maintainable.
pkg/config/conf.gen.go (2)
6-13: LGTM! Struct definition matches configuration schema.The Confluence struct fields and mapstructure tags correctly align with the configuration fields defined in config.go.
15-28: This code is generated by the baton-sdk package and cannot be modified locally (see "DO NOT EDIT" header). Whilereflect.ValueOf(c).Elem()would panic if the receiver were nil, theConfluenceconfig is always initialized as&Confluence{}in the connector code, making this a theoretical rather than practical risk. If nil safety is desired, the fix must be submitted to the baton-sdk generator, not this repository.Likely an incorrect or invalid review comment.
go.mod (2)
3-3: No action needed. Go 1.25.2 is a valid stable release (published October 7, 2025) with security patches and bug fixes across multiple packages.
6-6: The baton-sdk upgrade to v0.6.0 appears to have been properly completed. All SDK imports resolve correctly (connectorbuilder, pagination, annotations, types, uhttp, ratelimit), and no deprecated APIs or incompatible function calls are present in the codebase. The generated config file and resource type definitions confirm the code is compatible with this version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 19 out of 2247 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
btipling
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approved but I wonder why we have out of date pinned vulnerable versions in the go mod? What happens if you go get a more recent version of these?
golang.org/x/oauth2 v0.32.0
golang.org/x/crypto v0.42.0
is what we have in c1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 19 out of 2671 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
updated dependencies |
Summary by CodeRabbit
New Features
Chores
✏️ Tip: You can customize this high-level summary in your review settings.