From 75bec06c4c6bab0c30c3ff39c706df57b0669368 Mon Sep 17 00:00:00 2001 From: Radoslav Dimitrov Date: Mon, 14 Oct 2024 13:06:10 +0200 Subject: [PATCH] Replace stacklok/minder with mindersec/minder (#4742) Signed-off-by: Radoslav Dimitrov --- .clusterfuzzlite/build.sh | 14 +- .github/CODEOWNERS | 2 +- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- .github/workflows/chart-publish.yml | 2 +- .github/workflows/generation.yml | 2 +- .github/workflows/image-build.yml | 2 +- .golangci.yml | 2 +- .goreleaser.yaml | 10 +- .mk/build.mk | 2 +- .mk/develop.mk | 4 +- .mk/gen.mk | 2 +- CONTRIBUTING.md | 12 +- README.md | 20 +- SECURITY.md | 2 +- buf.gen.yaml | 6 +- cmd/cli/app/artifact/artifact.go | 2 +- cmd/cli/app/artifact/artifact_get.go | 14 +- cmd/cli/app/artifact/artifact_list.go | 12 +- cmd/cli/app/auth/auth.go | 2 +- cmd/cli/app/auth/auth_delete.go | 6 +- cmd/cli/app/auth/auth_login.go | 8 +- cmd/cli/app/auth/auth_logout.go | 8 +- cmd/cli/app/auth/auth_test.go | 4 +- cmd/cli/app/auth/auth_token.go | 8 +- cmd/cli/app/auth/auth_whoami.go | 6 +- cmd/cli/app/auth/common.go | 12 +- cmd/cli/app/auth/invite/invite.go | 2 +- cmd/cli/app/auth/invite/invite_accept.go | 4 +- cmd/cli/app/auth/invite/invite_decline.go | 4 +- cmd/cli/app/auth/invite/invite_get.go | 12 +- cmd/cli/app/auth/invite/invite_list.go | 12 +- cmd/cli/app/auth/offline_token/offline.go | 2 +- cmd/cli/app/auth/offline_token/offline_get.go | 6 +- .../app/auth/offline_token/offline_revoke.go | 8 +- cmd/cli/app/auth/offline_token/offline_use.go | 8 +- cmd/cli/app/common/table_render.go | 2 +- cmd/cli/app/docs/docs.go | 4 +- cmd/cli/app/history/history.go | 2 +- cmd/cli/app/history/history_list.go | 16 +- cmd/cli/app/profile/apply.go | 4 +- cmd/cli/app/profile/common.go | 10 +- cmd/cli/app/profile/create.go | 4 +- cmd/cli/app/profile/delete.go | 4 +- cmd/cli/app/profile/get.go | 8 +- cmd/cli/app/profile/list.go | 8 +- cmd/cli/app/profile/profile.go | 2 +- cmd/cli/app/profile/status/status.go | 4 +- cmd/cli/app/profile/status/status_get.go | 12 +- cmd/cli/app/profile/status/status_list.go | 10 +- cmd/cli/app/profile/table_render.go | 8 +- cmd/cli/app/project/project.go | 2 +- cmd/cli/app/project/project_create.go | 12 +- cmd/cli/app/project/project_delete.go | 4 +- cmd/cli/app/project/project_list.go | 12 +- cmd/cli/app/project/role/role.go | 2 +- cmd/cli/app/project/role/role_deny.go | 4 +- cmd/cli/app/project/role/role_grant.go | 8 +- cmd/cli/app/project/role/role_grant_list.go | 12 +- cmd/cli/app/project/role/role_list.go | 12 +- cmd/cli/app/project/role/role_update.go | 8 +- cmd/cli/app/provider/provider.go | 4 +- cmd/cli/app/provider/provider_delete.go | 4 +- cmd/cli/app/provider/provider_enroll.go | 12 +- cmd/cli/app/provider/provider_get.go | 12 +- cmd/cli/app/provider/provider_list.go | 12 +- cmd/cli/app/provider/provider_update.go | 4 +- cmd/cli/app/quickstart/quickstart.go | 22 +- cmd/cli/app/repo/repo.go | 2 +- cmd/cli/app/repo/repo_delete.go | 4 +- cmd/cli/app/repo/repo_get.go | 8 +- cmd/cli/app/repo/repo_list.go | 12 +- cmd/cli/app/repo/repo_reconcile.go | 4 +- cmd/cli/app/repo/repo_register.go | 10 +- cmd/cli/app/repo/repo_register_test.go | 2 +- cmd/cli/app/root.go | 8 +- cmd/cli/app/ruletype/common.go | 10 +- cmd/cli/app/ruletype/ruletype.go | 2 +- cmd/cli/app/ruletype/ruletype_apply.go | 6 +- cmd/cli/app/ruletype/ruletype_create.go | 6 +- cmd/cli/app/ruletype/ruletype_delete.go | 4 +- cmd/cli/app/ruletype/ruletype_get.go | 8 +- cmd/cli/app/ruletype/ruletype_list.go | 8 +- cmd/cli/app/set_project/set_project.go | 8 +- cmd/cli/app/version/version.go | 6 +- cmd/cli/main.go | 34 +- cmd/cli/main_test.go | 2 +- cmd/dev/app/bundles/build.go | 4 +- cmd/dev/app/image/cmd_verify.go | 22 +- cmd/dev/app/image/list.go | 10 +- cmd/dev/app/image/list_tags.go | 4 +- cmd/dev/app/root.go | 10 +- cmd/dev/app/rule_type/lint.go | 4 +- cmd/dev/app/rule_type/rttst.go | 50 +-- cmd/dev/app/testserver/testserver.go | 24 +- cmd/dev/main.go | 4 +- cmd/reminder/app/root.go | 6 +- cmd/reminder/app/start.go | 10 +- cmd/reminder/main.go | 2 +- cmd/server/app/common.go | 4 +- cmd/server/app/encryption_purge_sessions.go | 8 +- cmd/server/app/encryption_rotate.go | 10 +- cmd/server/app/history_purge.go | 8 +- cmd/server/app/history_purge_test.go | 4 +- cmd/server/app/migrate_down.go | 8 +- cmd/server/app/migrate_up.go | 10 +- cmd/server/app/migrate_version.go | 8 +- cmd/server/app/root.go | 6 +- cmd/server/app/serve.go | 26 +- cmd/server/app/webhook_update.go | 28 +- cmd/server/main.go | 2 +- cmd/server/main_test.go | 2 +- database/mock/fixtures/store.go | 4 +- database/mock/store.go | 6 +- deployment/helm/README.md | 8 +- deployment/helm/values.yaml | 8 +- docs/docs/about/changelog.md | 4 +- docs/docs/about/contributing.md | 8 +- docs/docs/about/roadmap.md | 2 +- docs/docs/developer_guide/feature_flags.md | 10 +- docs/docs/developer_guide/get-hacking.md | 4 +- docs/docs/getting_started/first_profile.md | 8 +- docs/docs/getting_started/install_cli.md | 8 +- docs/docs/getting_started/quickstart.md | 6 +- docs/docs/how-to/artifact_signatures.md | 4 +- docs/docs/how-to/create_profile.md | 6 +- docs/docs/how-to/custom-rules.md | 4 +- docs/docs/how-to/manage_profiles.md | 4 +- docs/docs/how-to/mindev.md | 8 +- docs/docs/how-to/pr_reviews.md | 4 +- docs/docs/how-to/profile_selectors.md | 8 +- docs/docs/how-to/remediate-pullrequest.md | 4 +- docs/docs/how-to/setup-alerts.md | 4 +- docs/docs/how-to/setup-autoremediation.md | 4 +- docs/docs/how-to/writing-rules-in-rego.md | 4 +- docs/docs/integrations/trusty.md | 4 +- .../run_minder_server/installing_minder.md | 8 +- docs/docs/run_minder_server/run_the_server.md | 6 +- docs/docs/understand/profiles.md | 4 +- docs/docusaurus.config.js | 4 +- examples/Makefile | 2 +- examples/README.md | 2 +- go.mod | 2 +- internal/auth/github.go | 2 +- internal/auth/jwt/fuzz_test.go | 2 +- internal/auth/jwt/jwauth_test.go | 2 +- internal/auth/jwt/noop/jwtauth.go | 2 +- internal/auth/keycloak/keycloak.go | 8 +- internal/auth/keycloak/keycloak_test.go | 6 +- internal/auth/mock/interface.go | 2 +- internal/authz/authz.go | 6 +- internal/authz/authz_test.go | 6 +- internal/authz/fuzz_test.go | 4 +- internal/authz/interface.go | 2 +- internal/authz/mock/noop_authz.go | 4 +- internal/authz/mock/simple_authz.go | 4 +- internal/config/client/config.go | 4 +- internal/config/client/config_test.go | 4 +- internal/config/common.go | 2 +- internal/config/reminder/config.go | 2 +- internal/config/reminder/config_test.go | 4 +- internal/config/reminder/events.go | 2 +- internal/config/reminder/recurrence.go | 2 +- internal/config/server/config.go | 2 +- internal/config/server/config_test.go | 4 +- internal/config/server/events.go | 2 +- internal/config/server/github_app.go | 2 +- internal/config/server/identity.go | 2 +- internal/config/server/server.go | 2 +- internal/controlplane/common.go | 8 +- internal/controlplane/common_test.go | 4 +- internal/controlplane/fuzz_test.go | 8 +- internal/controlplane/handlers.go | 2 +- internal/controlplane/handlers_artifacts.go | 12 +- internal/controlplane/handlers_authz.go | 16 +- internal/controlplane/handlers_authz_test.go | 30 +- internal/controlplane/handlers_entities.go | 18 +- .../controlplane/handlers_entities_test.go | 16 +- internal/controlplane/handlers_evalstatus.go | 20 +- .../controlplane/handlers_evalstatus_test.go | 16 +- .../controlplane/handlers_githubwebhooks.go | 26 +- .../handlers_githubwebhooks_test.go | 358 +++++++++--------- internal/controlplane/handlers_invites.go | 8 +- .../controlplane/handlers_invites_test.go | 12 +- internal/controlplane/handlers_oauth.go | 26 +- internal/controlplane/handlers_oauth_test.go | 44 +-- internal/controlplane/handlers_profile.go | 24 +- .../controlplane/handlers_profile_test.go | 18 +- internal/controlplane/handlers_projects.go | 14 +- .../controlplane/handlers_projects_test.go | 10 +- internal/controlplane/handlers_providers.go | 16 +- .../controlplane/handlers_providers_test.go | 40 +- .../handlers_reconciliationtasks.go | 12 +- .../handlers_reconciliationtasks_test.go | 12 +- .../controlplane/handlers_repositories.go | 26 +- .../handlers_repositories_test.go | 36 +- internal/controlplane/handlers_ruletype.go | 12 +- .../controlplane/handlers_ruletype_test.go | 10 +- internal/controlplane/handlers_test.go | 4 +- internal/controlplane/handlers_token.go | 8 +- internal/controlplane/handlers_user.go | 20 +- internal/controlplane/handlers_user_test.go | 32 +- internal/controlplane/identity_events.go | 8 +- internal/controlplane/identity_events_test.go | 18 +- internal/controlplane/metrics/metrics.go | 2 +- internal/controlplane/metrics/noop.go | 2 +- internal/controlplane/register_handlers.go | 2 +- internal/controlplane/server.go | 50 +-- internal/controlplane/server_test.go | 28 +- .../test-payloads/installation-deleted.json | 2 +- internal/crypto/algorithms/aes256cfb_test.go | 2 +- internal/crypto/algorithms/aes256gcm_test.go | 2 +- internal/crypto/engine.go | 6 +- internal/crypto/engine_test.go | 4 +- internal/crypto/fuzz_test.go | 2 +- internal/crypto/keystores/keystore.go | 2 +- internal/crypto/keystores/keystore_test.go | 4 +- internal/crypto/mock/engine.go | 2 +- internal/crypto/models.go | 2 +- internal/crypto/nonce_test.go | 2 +- internal/db/embedded/testdb.go | 4 +- internal/db/entities_test.go | 2 +- internal/db/eval_history_test.go | 16 +- internal/db/fixtures/db.go | 2 +- internal/db/organizations_test.go | 2 +- internal/db/profiles_test.go | 2 +- internal/db/projects_test.go | 2 +- internal/db/provider_access_tokens_test.go | 4 +- internal/db/providers_test.go | 2 +- internal/db/repositories_test.go | 2 +- internal/db/users_test.go | 2 +- internal/eea/eea.go | 14 +- internal/eea/eea_test.go | 26 +- internal/email/awsses/awsses.go | 4 +- internal/email/email.go | 2 +- internal/email/noop/noop.go | 4 +- internal/engine/actions/actions.go | 18 +- internal/engine/actions/alert/alert.go | 10 +- internal/engine/actions/alert/noop/noop.go | 6 +- .../security_advisory/security_advisory.go | 16 +- .../gh_branch_protect/gh_branch_protect.go | 14 +- .../gh_branch_protect_test.go | 20 +- .../engine/actions/remediate/noop/noop.go | 6 +- .../remediate/pull_request/pull_request.go | 14 +- .../pull_request/pull_request_test.go | 22 +- .../types_actions_replace_tags.go | 4 +- .../remediate/pull_request/types_content.go | 6 +- .../remediate/pull_request/types_registry.go | 6 +- .../remediate/pull_request/write_helpers.go | 2 +- .../engine/actions/remediate/remediate.go | 14 +- .../actions/remediate/remediate_test.go | 18 +- .../engine/actions/remediate/rest/rest.go | 12 +- .../actions/remediate/rest/rest_test.go | 20 +- internal/engine/engcontext/context.go | 4 +- internal/engine/entities/entities.go | 4 +- internal/engine/entities/entity_event.go | 4 +- internal/engine/entities/entity_event_test.go | 2 +- internal/engine/errors/errors.go | 2 +- internal/engine/eval/eval.go | 18 +- internal/engine/eval/eval_test.go | 6 +- .../application/homoglyphs_service.go | 14 +- .../application/invisible_characters_eval.go | 14 +- .../invisible_characters_eval_test.go | 6 +- .../application/mixed_scripts_eval.go | 14 +- .../application/mixed_scripts_eval_test.go | 6 +- .../eval/homoglyphs/communication/reviewer.go | 6 +- .../homoglyphs/domain/invisible_characters.go | 4 +- .../domain/invisible_characters_test.go | 2 +- .../eval/homoglyphs/domain/mixed_scripts.go | 2 +- internal/engine/eval/jq/fuzz_test.go | 6 +- internal/engine/eval/jq/jq.go | 10 +- internal/engine/eval/jq/jq_test.go | 8 +- internal/engine/eval/rego/config.go | 2 +- internal/engine/eval/rego/eval.go | 6 +- internal/engine/eval/rego/fuzz_test.go | 4 +- internal/engine/eval/rego/lib.go | 2 +- internal/engine/eval/rego/lib_test.go | 8 +- internal/engine/eval/rego/rego_test.go | 8 +- internal/engine/eval/rego/result.go | 6 +- internal/engine/eval/rego/result_test.go | 4 +- internal/engine/eval/trusty/actions.go | 10 +- internal/engine/eval/trusty/actions_test.go | 2 +- internal/engine/eval/trusty/config.go | 4 +- internal/engine/eval/trusty/trusty.go | 14 +- internal/engine/eval/trusty/trusty_test.go | 14 +- internal/engine/eval/vulncheck/actions.go | 8 +- internal/engine/eval/vulncheck/config.go | 4 +- internal/engine/eval/vulncheck/pkgdb.go | 4 +- internal/engine/eval/vulncheck/pkgdb_test.go | 2 +- internal/engine/eval/vulncheck/review.go | 6 +- internal/engine/eval/vulncheck/review_test.go | 6 +- internal/engine/eval/vulncheck/vulncheck.go | 14 +- .../engine/eval/vulncheck/vulncheck_test.go | 4 +- internal/engine/eval/vulncheck/vulndb.go | 2 +- internal/engine/eval/vulncheck/vulndb_test.go | 2 +- internal/engine/eval_status.go | 10 +- internal/engine/executor.go | 40 +- internal/engine/executor_test.go | 54 +-- internal/engine/handler.go | 10 +- internal/engine/handler_test.go | 14 +- internal/engine/ingestcache/cache_test.go | 16 +- internal/engine/ingestcache/ingestcache.go | 2 +- internal/engine/ingestcache/interface.go | 2 +- internal/engine/ingestcache/noop.go | 2 +- internal/engine/ingester/artifact/artifact.go | 18 +- .../engine/ingester/artifact/artifact_test.go | 22 +- internal/engine/ingester/builtin/builtin.go | 12 +- .../engine/ingester/builtin/builtin_test.go | 4 +- internal/engine/ingester/diff/diff.go | 10 +- internal/engine/ingester/diff/diff_test.go | 6 +- internal/engine/ingester/diff/parse.go | 4 +- internal/engine/ingester/diff/parse_test.go | 2 +- internal/engine/ingester/git/git.go | 10 +- internal/engine/ingester/git/git_test.go | 18 +- internal/engine/ingester/ingester.go | 16 +- internal/engine/ingester/ingester_test.go | 20 +- internal/engine/ingester/rest/rest.go | 10 +- internal/engine/ingester/rest/rest_test.go | 18 +- internal/engine/interfaces/interface.go | 8 +- internal/engine/metrics.go | 4 +- internal/engine/mock/executor.go | 2 +- internal/engine/options/options.go | 2 +- internal/engine/rtengine/cache.go | 10 +- internal/engine/rtengine/cache_test.go | 8 +- internal/engine/rtengine/engine.go | 20 +- internal/engine/selectors/mock/selectors.go | 8 +- internal/engine/selectors/selectors.go | 6 +- internal/engine/selectors/selectors_test.go | 6 +- internal/entities/handlers/handler.go | 24 +- internal/entities/handlers/handler_test.go | 36 +- internal/entities/handlers/message/message.go | 4 +- .../entities/handlers/message/message_test.go | 6 +- .../entity/add_originating_entity.go | 18 +- .../handlers/strategies/entity/common.go | 10 +- .../entity/del_originating_entity.go | 12 +- .../entity/get_by_upstream_props.go | 8 +- .../strategies/entity/refresh_by_id.go | 12 +- .../entity/refresh_by_upstream_props.go | 12 +- .../handlers/strategies/message/empty.go | 4 +- .../strategies/message/entity_info_wrapper.go | 12 +- .../strategies/message/minder_entity.go | 6 +- .../handlers/strategies/strategies.go | 4 +- internal/entities/models/models.go | 8 +- .../properties/service/entitycache.go | 2 +- .../entities/properties/service/helpers.go | 12 +- .../service/mock/fixtures/fixtures.go | 10 +- .../properties/service/mock/service.go | 12 +- .../entities/properties/service/options.go | 2 +- .../entities/properties/service/service.go | 12 +- .../properties/service/service_test.go | 20 +- internal/events/eventer.go | 10 +- internal/events/eventer_test.go | 4 +- internal/events/gochannel/gochannel.go | 4 +- internal/events/mock/interfaces.go | 2 +- internal/events/nats/natschannel.go | 4 +- internal/events/nats/natschannel_test.go | 6 +- internal/events/sql/postgres.go | 2 +- internal/events/stubs/eventer.go | 2 +- internal/flags/flags.go | 6 +- internal/flags/flags_test.go | 6 +- internal/history/mock/service.go | 4 +- internal/history/models.go | 4 +- internal/history/service.go | 8 +- internal/history/service_test.go | 12 +- internal/invites/mock/service.go | 12 +- internal/invites/service.go | 20 +- internal/invites/service_test.go | 22 +- internal/logger/logger_setup.go | 4 +- internal/logger/logging_interceptor.go | 2 +- internal/logger/telemetry_store.go | 8 +- internal/logger/telemetry_store_test.go | 12 +- internal/logger/telemetry_store_watermill.go | 6 +- .../logger/telemetry_store_watermill_test.go | 12 +- .../bundles/mock/fixtures/reader.go | 6 +- .../bundles/mock/fixtures/source.go | 8 +- internal/marketplaces/bundles/mock/reader.go | 4 +- internal/marketplaces/bundles/mock/source.go | 4 +- internal/marketplaces/factory.go | 12 +- internal/marketplaces/service.go | 10 +- internal/marketplaces/service_test.go | 16 +- .../mock/fixtures/subscription.go | 2 +- .../subscriptions/mock/service.go | 4 +- .../marketplaces/subscriptions/service.go | 12 +- .../subscriptions/service_test.go | 18 +- internal/profiles/mock/fixtures/service.go | 4 +- internal/profiles/mock/service.go | 4 +- internal/profiles/models/models.go | 6 +- internal/profiles/rule_names.go | 2 +- internal/profiles/rule_validator.go | 2 +- internal/profiles/rule_validator_test.go | 6 +- internal/profiles/service.go | 20 +- internal/profiles/store.go | 4 +- internal/profiles/util.go | 8 +- internal/profiles/util_test.go | 4 +- internal/profiles/validator.go | 10 +- internal/profiles/validator_test.go | 10 +- internal/projects/creator.go | 10 +- internal/projects/creator_test.go | 12 +- internal/projects/deleter.go | 10 +- internal/projects/deleter_test.go | 16 +- internal/projects/features/features.go | 2 +- internal/projects/meta.go | 2 +- internal/proto/internal.pb.go | 18 +- internal/proto/internal.proto | 8 +- internal/providers/artifact/versionsfilter.go | 4 +- .../providers/artifact/versionsfilter_test.go | 2 +- internal/providers/classes.go | 2 +- .../providers/credentials/empty_credential.go | 2 +- .../github_installation_token_credential.go | 2 +- .../credentials/github_token_credential.go | 2 +- .../credentials/gitlab_token_credentials.go | 2 +- internal/providers/dockerhub/dockerhub.go | 10 +- internal/providers/dockerhub/manager.go | 8 +- internal/providers/git/git.go | 6 +- internal/providers/github/clients/app.go | 16 +- internal/providers/github/clients/app_test.go | 16 +- internal/providers/github/clients/factory.go | 8 +- .../providers/github/clients/mock/factory.go | 4 +- internal/providers/github/clients/oauth.go | 16 +- .../providers/github/clients/oauth_test.go | 14 +- internal/providers/github/common.go | 18 +- internal/providers/github/common/common.go | 4 +- .../providers/github/common/common_test.go | 30 +- internal/providers/github/entities.go | 8 +- internal/providers/github/ghcr/ghcr.go | 8 +- .../github/installations/installations.go | 6 +- .../installations/installations_test.go | 4 +- internal/providers/github/manager/manager.go | 24 +- internal/providers/github/mock/common.go | 4 +- .../providers/github/mock/fixtures/github.go | 2 +- internal/providers/github/mock/github.go | 6 +- internal/providers/github/properties.go | 6 +- .../providers/github/properties/artifact.go | 8 +- .../github/properties/artifact_test.go | 2 +- .../providers/github/properties/fetcher.go | 4 +- .../github/properties/pull_request.go | 6 +- .../providers/github/properties/repository.go | 6 +- .../providers/github/service/mock/service.go | 2 +- internal/providers/github/service/service.go | 16 +- .../providers/github/service/service_test.go | 24 +- internal/providers/gitlab/gitlab.go | 8 +- internal/providers/gitlab/gitlab_git.go | 2 +- internal/providers/gitlab/gitlab_rest.go | 2 +- internal/providers/gitlab/gitlab_rest_test.go | 6 +- internal/providers/gitlab/manager/auth.go | 6 +- internal/providers/gitlab/manager/manager.go | 14 +- internal/providers/gitlab/manager/webhook.go | 2 +- .../webhook_handlers_merge_requests.go | 10 +- .../manager/webhook_handlers_releases.go | 10 +- .../gitlab/manager/webhook_handlers_repos.go | 10 +- internal/providers/gitlab/properties.go | 4 +- internal/providers/gitlab/properties_test.go | 6 +- .../gitlab/pull_request_properties.go | 6 +- internal/providers/gitlab/registration.go | 8 +- .../providers/gitlab/registration_test.go | 6 +- .../providers/gitlab/release_properties.go | 4 +- internal/providers/gitlab/repo_lister.go | 2 +- .../providers/gitlab/repository_properties.go | 6 +- internal/providers/http/http.go | 8 +- internal/providers/manager/auth_manager.go | 4 +- .../providers/manager/auth_manager_test.go | 8 +- internal/providers/manager/manager.go | 8 +- internal/providers/manager/manager_test.go | 10 +- .../providers/manager/mock/auth_manager.go | 6 +- .../manager/mock/fixtures/manager.go | 4 +- internal/providers/manager/mock/manager.go | 6 +- internal/providers/mock/fixtures/store.go | 4 +- internal/providers/mock/store.go | 2 +- internal/providers/noop/noop.go | 4 +- internal/providers/oci/oci.go | 6 +- internal/providers/provider_definitions.go | 8 +- internal/providers/providers.go | 14 +- internal/providers/ratecache/cache.go | 6 +- internal/providers/ratecache/mock/cache.go | 4 +- .../providers/selectors/selector_entity.go | 12 +- .../selectors/selector_entity_test.go | 14 +- internal/providers/session/mock/service.go | 4 +- internal/providers/session/service.go | 8 +- internal/providers/store.go | 4 +- internal/providers/telemetry/interface.go | 2 +- internal/providers/telemetry/noop.go | 2 +- internal/providers/telemetry/telemetry.go | 2 +- internal/providers/testproviders/git.go | 8 +- internal/providers/testproviders/rest.go | 12 +- internal/reconcilers/entity_add.go | 8 +- internal/reconcilers/entity_add_test.go | 14 +- internal/reconcilers/entity_delete.go | 8 +- internal/reconcilers/entity_delete_test.go | 18 +- internal/reconcilers/messages/messages.go | 4 +- internal/reconcilers/reconcilers.go | 10 +- internal/reconcilers/repository.go | 6 +- internal/reconcilers/repository_test.go | 6 +- internal/reconcilers/run_profile.go | 4 +- internal/reconcilers/run_profile_test.go | 8 +- internal/reminder/logger/logger_setup.go | 4 +- internal/reminder/reminder.go | 10 +- internal/reminder/reminder_test.go | 6 +- internal/reminder/sql_publisher.go | 2 +- .../reminderprocessor/reminder_processor.go | 6 +- internal/repositories/db.go | 6 +- .../repositories/mock/fixtures/service.go | 6 +- internal/repositories/mock/service.go | 8 +- internal/repositories/service.go | 26 +- internal/repositories/service_test.go | 28 +- internal/roles/mock/service.go | 8 +- internal/roles/service.go | 10 +- internal/roles/service_test.go | 14 +- internal/ruletypes/mock/fixtures/service.go | 2 +- internal/ruletypes/mock/service.go | 4 +- internal/ruletypes/service.go | 12 +- internal/ruletypes/service_test.go | 10 +- internal/ruletypes/util.go | 4 +- internal/service/service.go | 80 ++-- internal/util/cli/cli.go | 4 +- internal/util/cli/providerconfig.go | 2 +- internal/util/cli/rpc_client.go | 12 +- internal/util/cli/table/simple/simple.go | 2 +- internal/util/cli/table/table.go | 4 +- internal/util/cli/useragent/useragent.go | 2 +- internal/util/helpers.go | 2 +- internal/util/helpers_test.go | 2 +- internal/util/jq_test.go | 2 +- internal/util/jsonyaml/jsonyamlutils_test.go | 2 +- internal/util/rand/random_test.go | 2 +- internal/util/rest_test.go | 2 +- internal/util/safe_template_test.go | 2 +- .../util/schemaupdate/schemaupdate_test.go | 2 +- internal/util/statuses_test.go | 2 +- .../verifier/sigstore/container/container.go | 4 +- internal/verifier/sigstore/sigstore.go | 4 +- internal/verifier/verifier.go | 6 +- internal/verifier/verifyif/mock/verifyif.go | 2 +- pkg/api/protobuf/go/minder/v1/minder.pb.go | 10 +- pkg/api/protobuf/go/minder/v1/rule_types.go | 2 +- .../protobuf/go/minder/v1/rule_types_test.go | 2 +- pkg/mindpak/build/packer.go | 2 +- pkg/mindpak/build/packer_test.go | 2 +- pkg/mindpak/reader/reader.go | 6 +- pkg/mindpak/reader/reader_test.go | 6 +- pkg/mindpak/sources/source.go | 4 +- pkg/mindpak/sources/source_test.go | 4 +- pkg/providers/v1/providers.go | 4 +- proto/buf.yaml | 2 +- proto/minder/v1/minder.proto | 2 +- tools/go.mod | 4 +- 544 files changed, 2424 insertions(+), 2424 deletions(-) diff --git a/.clusterfuzzlite/build.sh b/.clusterfuzzlite/build.sh index 2ccc235aff..1891c94811 100755 --- a/.clusterfuzzlite/build.sh +++ b/.clusterfuzzlite/build.sh @@ -24,10 +24,10 @@ go mod tidy # We create a jq_test directory and move the tests there to make it work. mkdir internal/engine/eval/jq/jq_test mv internal/engine/eval/jq/fuzz_test.go internal/engine/eval/jq/jq_test/ -compile_native_go_fuzzer github.com/stacklok/minder/internal/engine/eval/jq/jq_test FuzzJqEval FuzzJqEval -compile_native_go_fuzzer github.com/stacklok/minder/internal/engine/eval/rego FuzzRegoEval FuzzRegoEval -compile_native_go_fuzzer github.com/stacklok/minder/internal/controlplane FuzzGitHubEventParsers FuzzGitHubEventParsers -compile_native_go_fuzzer github.com/stacklok/minder/internal/engine/ingester/diff FuzzDiffParse FuzzDiffParse -compile_native_go_fuzzer github.com/stacklok/minder/internal/crypto FuzzEncryptDecrypt FuzzEncryptDecrypt -compile_native_go_fuzzer github.com/stacklok/minder/internal/auth/jwt FuzzParseAndValidate FuzzParseAndValidate -compile_native_go_fuzzer github.com/stacklok/minder/internal/util/cli FuzzRenderMarkdown FuzzRenderMarkdown +compile_native_go_fuzzer github.com/mindersec/minder/internal/engine/eval/jq/jq_test FuzzJqEval FuzzJqEval +compile_native_go_fuzzer github.com/mindersec/minder/internal/engine/eval/rego FuzzRegoEval FuzzRegoEval +compile_native_go_fuzzer github.com/mindersec/minder/internal/controlplane FuzzGitHubEventParsers FuzzGitHubEventParsers +compile_native_go_fuzzer github.com/mindersec/minder/internal/engine/ingester/diff FuzzDiffParse FuzzDiffParse +compile_native_go_fuzzer github.com/mindersec/minder/internal/crypto FuzzEncryptDecrypt FuzzEncryptDecrypt +compile_native_go_fuzzer github.com/mindersec/minder/internal/auth/jwt FuzzParseAndValidate FuzzParseAndValidate +compile_native_go_fuzzer github.com/mindersec/minder/internal/util/cli FuzzRenderMarkdown FuzzRenderMarkdown diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 781edc24f4..580285bc53 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @stacklok/minder-maintainers \ No newline at end of file +* @mindersec/maintainers \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 73762a5213..b44fe62a6f 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -6,7 +6,7 @@ assignees: "-" body: - type: markdown attributes: - value: "To expedite our maintainers' efforts, please search for [duplicate or closed issues](https://github.com/stacklok/minder/issues?q=is%3Aissue+) and familiarize yourself with our [contributing guidelines](https://github.com/stacklok/minder/blob/main/CONTRIBUTING.md)." + value: "To expedite our maintainers' efforts, please search for [duplicate or closed issues](https://github.com/mindersec/minder/issues?q=is%3Aissue+) and familiarize yourself with our [contributing guidelines](https://github.com/mindersec/minder/blob/main/CONTRIBUTING.md)." - type: textarea id: what-happened attributes: diff --git a/.github/workflows/chart-publish.yml b/.github/workflows/chart-publish.yml index b48fb5acfe..3c09a846c2 100644 --- a/.github/workflows/chart-publish.yml +++ b/.github/workflows/chart-publish.yml @@ -19,7 +19,7 @@ jobs: packages: write id-token: write # To sign the provenance. env: - BASE_REPO: "ghcr.io/stacklok/minder" + BASE_REPO: "ghcr.io/mindersec/minder" steps: - name: Install Cosign uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da # v3.7.0 diff --git a/.github/workflows/generation.yml b/.github/workflows/generation.yml index 4eb69d02c9..6fb6fabe72 100644 --- a/.github/workflows/generation.yml +++ b/.github/workflows/generation.yml @@ -48,7 +48,7 @@ jobs: format: false breaking: true input: 'proto' - breaking_against: "https://github.com/stacklok/minder.git#branch=main,subdir=proto" + breaking_against: "https://github.com/mindersec/minder.git#branch=main,subdir=proto" sqlc-generation: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/image-build.yml b/.github/workflows/image-build.yml index e7961fb938..9baf4c2eab 100644 --- a/.github/workflows/image-build.yml +++ b/.github/workflows/image-build.yml @@ -14,7 +14,7 @@ jobs: - uses: ko-build/setup-ko@3aebd0597dc1e9d1a26bcfdb7cbeb19c131d3037 # v0.7 - run: | ko build --platform=linux/amd64,linux/arm64 --push=false ./cmd/server \ - --image-label=org.opencontainers.image.source=https://github.com/stacklok/minder,org.opencontainers.image.title="Stacklok Minder",org.opencontainers.image.licenses=Apache-2.0,org.opencontainers.image.vendor=Stacklok + --image-label=org.opencontainers.image.source=https://github.com/mindersec/minder,org.opencontainers.image.title="Stacklok Minder",org.opencontainers.image.licenses=Apache-2.0,org.opencontainers.image.vendor=Stacklok env: KO_DOCKER_REPO: "ko.local" check-helm: diff --git a/.golangci.yml b/.golangci.yml index e505d41db0..89af554653 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -11,7 +11,7 @@ linters-settings: sections: - standard - default - - prefix(github.com/stacklok/minder) + - prefix(github.com/mindersec/minder) revive: # see https://github.com/mgechev/revive#available-rules for details. ignore-generated-header: true diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 5b429ac4eb..0bd229b93c 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -25,7 +25,7 @@ builds: - "-X main.Commit={{ .Env.COMMIT }}" - "-X main.CommitDate={{ .Env.COMMIT_DATE }}" - "-X main.TreeState={{ .Env.TREE_STATE }}" - - "-X github.com/stacklok/minder/internal/constants.CLIVersion={{ .Env.VERSION }}" + - "-X github.com/mindersec/minder/internal/constants.CLIVersion={{ .Env.VERSION }}" goos: - linux - windows @@ -43,7 +43,7 @@ archives: format: zip # This section defines how to release to homebrew. brews: - - homepage: 'https://github.com/stacklok/minder' + - homepage: 'https://github.com/mindersec/minder' description: 'minder is the client CLI for interacting with Minder by Stacklok.' directory: Formula commit_author: @@ -60,13 +60,13 @@ winget: - name: minder publisher: stacklok license: Apache-2.0 - license_url: "https://github.com/stacklok/minder/blob/main/LICENSE" + license_url: "https://github.com/mindersec/minder/blob/main/LICENSE" copyright: Stacklok, Inc. homepage: https://stacklok.com short_description: 'minder is the client CLI for interacting with Minder by Stacklok.' - publisher_support_url: "https://github.com/stacklok/minder/issues/new/choose" + publisher_support_url: "https://github.com/mindersec/minder/issues/new/choose" package_identifier: "stacklok.minder" - url_template: "https://github.com/stacklok/minder/releases/download/{{ .Tag }}/{{ .ArtifactName }}" + url_template: "https://github.com/mindersec/minder/releases/download/{{ .Tag }}/{{ .ArtifactName }}" skip_upload: auto release_notes: "{{.Changelog}}" tags: diff --git a/.mk/build.mk b/.mk/build.mk index 8fbc8a3b94..b7a941b8a8 100644 --- a/.mk/build.mk +++ b/.mk/build.mk @@ -28,7 +28,7 @@ build-minder-cli: ## build minder cli @CGO_ENABLED=0 go build \ -trimpath \ -tags '$(BUILDTAGS)' \ - -ldflags "-X github.com/stacklok/minder/internal/constants.CLIVersion=$(shell git describe --abbrev=0 --tags)+ref.$(shell git rev-parse --short HEAD)" \ + -ldflags "-X github.com/mindersec/minder/internal/constants.CLIVersion=$(shell git describe --abbrev=0 --tags)+ref.$(shell git rev-parse --short HEAD)" \ -o ./bin/$(projectname) ./cmd/cli .PHONY: build-minder-server diff --git a/.mk/develop.mk b/.mk/develop.mk index cd7232ebf7..a34fab1129 100644 --- a/.mk/develop.mk +++ b/.mk/develop.mk @@ -18,9 +18,9 @@ DOCKERARCH := $(shell uname -m | sed 's/x86_64/amd64/' | sed 's/aarch64/arm64/') RUN_DOCKER_NO_TEARDOWN?=false YQ_BUILD_REPLACE_STRING := 'del(.services.minder.build) | \ -.services.minder.image |= "ko://github.com/stacklok/minder/cmd/server" | \ +.services.minder.image |= "ko://github.com/mindersec/minder/cmd/server" | \ del(.services.migrate.build) | \ -.services.migrate.image |= "ko://github.com/stacklok/minder/cmd/server"' +.services.migrate.image |= "ko://github.com/mindersec/minder/cmd/server"' .PHONY: run-cli run-cli: ## run the CLI, needs additional arguments diff --git a/.mk/gen.mk b/.mk/gen.mk index 6ba670163a..84a9f824eb 100644 --- a/.mk/gen.mk +++ b/.mk/gen.mk @@ -40,7 +40,7 @@ oapi: ## generate openapi files .PHONY: mock mock: ## generate mocks go generate ./... - mockgen -package mockdb -destination database/mock/store.go github.com/stacklok/minder/internal/db Store + mockgen -package mockdb -destination database/mock/store.go github.com/mindersec/minder/internal/db Store mockgen -package mock_github -destination internal/providers/github/mock/github.go -source pkg/providers/v1/providers.go GitHub mockgen -package mockbundle -destination internal/marketplaces/bundles/mock/reader.go -source pkg/mindpak/reader/reader.go mockgen -package mockbundle -destination internal/marketplaces/bundles/mock/source.go -source pkg/mindpak/sources/source.go diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d7a90e4cae..f2bb3eaf3d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing to Minder -First off, thank you for taking the time to contribute to Minder! :+1: :tada: Minder is released under the Apache 2.0 license. If you would like to contribute something or want to hack on the code, this document should help you get started. You can find some hints for starting development in Minder's [README](https://github.com/stacklok/minder/blob/main/README.md). +First off, thank you for taking the time to contribute to Minder! :+1: :tada: Minder is released under the Apache 2.0 license. If you would like to contribute something or want to hack on the code, this document should help you get started. You can find some hints for starting development in Minder's [README](https://github.com/mindersec/minder/blob/main/README.md). ## Table of contents - [Code of Conduct](#code-of-conduct) @@ -14,11 +14,11 @@ First off, thank you for taking the time to contribute to Minder! :+1: :tada: Mi - [Commit Message Guidelines](#commit-message-guidelines) ## Code of Conduct -This project adheres to the [Contributor Covenant](https://github.com/stacklok/minder/blob/main/CODE_OF_CONDUCT.md) code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to code-of-conduct@stacklok.dev. +This project adheres to the [Contributor Covenant](https://github.com/mindersec/minder/blob/main/CODE_OF_CONDUCT.md) code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to code-of-conduct@stacklok.dev. ## Reporting Security Vulnerabilities -If you think you have found a security vulnerability in Minder please DO NOT disclose it publicly until we’ve had a chance to fix it. Please don’t report security vulnerabilities using GitHub issues; instead, please follow this [process](https://github.com/stacklok/minder/blob/main/SECURITY.md) +If you think you have found a security vulnerability in Minder please DO NOT disclose it publicly until we’ve had a chance to fix it. Please don’t report security vulnerabilities using GitHub issues; instead, please follow this [process](https://github.com/mindersec/minder/blob/main/SECURITY.md) ## How to Contribute @@ -28,10 +28,10 @@ We use GitHub issues to track bugs and enhancements. If you have a general usage If you are reporting a bug, please help to speed up problem diagnosis by providing as much information as possible. Ideally, that would include a small sample project that reproduces the problem. ### Sign the Contributor License Agreement -Before we accept a non-trivial patch or pull request, we will need you to sign the [Contributor License Agreement](https://cla-assistant.io/stacklok/minder). Signing the contributor’s agreement does not grant anyone commit rights to the main repository, but it does mean that we can accept your contributions, and you will get an author credit if we do. Active contributors might be asked to join the core team and given the ability to merge pull requests. +Before we accept a non-trivial patch or pull request, we will need you to sign the [Contributor License Agreement](https://cla-assistant.io/mindersec/minder). Signing the contributor’s agreement does not grant anyone commit rights to the main repository, but it does mean that we can accept your contributions, and you will get an author credit if we do. Active contributors might be asked to join the core team and given the ability to merge pull requests. ### Not sure how to start contributing... -PRs to resolve existing issues are greatly appreciated and issues labeled as ["good first issue"](https://github.com/stacklok/minder/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) are a great place to start! +PRs to resolve existing issues are greatly appreciated and issues labeled as ["good first issue"](https://github.com/mindersec/minder/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) are a great place to start! ### Pull Request Process * Create an issue outlining the fix or feature. @@ -44,7 +44,7 @@ PRs to resolve existing issues are greatly appreciated and issues labeled as ["g * Once approved, all of your commits will be squashed into a single commit with your PR title. ### Contributing to docs -Follow [this guide](https://github.com/stacklok/minder/blob/main/docs/README.md) for instructions on building, running, and previewing Minder's documentation. +Follow [this guide](https://github.com/mindersec/minder/blob/main/docs/README.md) for instructions on building, running, and previewing Minder's documentation. ### Commit Message Guidelines We follow the commit formatting recommendations found on [Chris Beams' How to Write a Git Commit Message article](https://chris.beams.io/posts/git-commit/): diff --git a/README.md b/README.md index 98201251c4..dc97ec7903 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ ![minder logo](./docs/docs/images/Minder_darkMode.png) -[![Continuous integration](https://github.com/stacklok/minder/actions/workflows/main.yml/badge.svg)](https://github.com/stacklok/minder/actions/workflows/main.yml) | [![Coverage Status](https://coveralls.io/repos/github/stacklok/minder/badge.svg?branch=main)](https://coveralls.io/github/stacklok/minder?branch=main) | [![License: Apache 2.0](https://img.shields.io/badge/License-Apache2.0-brightgreen.svg)](https://opensource.org/licenses/Apache-2.0) | [![SLSA 3](https://slsa.dev/images/gh-badge-level3.svg)](https://slsa.dev) | [![](https://dcbadge.vercel.app/api/server/RkzVuTp3WK?logo=discord&label=Discord&color=5865&style=flat)](https://discord.gg/RkzVuTp3WK) +[![Continuous integration](https://github.com/mindersec/minder/actions/workflows/main.yml/badge.svg)](https://github.com/mindersec/minder/actions/workflows/main.yml) | [![Coverage Status](https://coveralls.io/repos/github/mindersec/minder/badge.svg?branch=main)](https://coveralls.io/github/mindersec/minder?branch=main) | [![License: Apache 2.0](https://img.shields.io/badge/License-Apache2.0-brightgreen.svg)](https://opensource.org/licenses/Apache-2.0) | [![SLSA 3](https://slsa.dev/images/gh-badge-level3.svg)](https://slsa.dev) | [![](https://dcbadge.vercel.app/api/server/RkzVuTp3WK?logo=discord&label=Discord&color=5865&style=flat)](https://discord.gg/RkzVuTp3WK) --- -[Installation](https://minder-docs.stacklok.dev/getting_started/install_cli) | [Documentation](https://minder-docs.stacklok.dev) | [Releases](https://github.com/stacklok/minder/releases) +[Installation](https://minder-docs.stacklok.dev/getting_started/install_cli) | [Documentation](https://minder-docs.stacklok.dev) | [Releases](https://github.com/mindersec/minder/releases) --- # What is Minder? @@ -43,7 +43,7 @@ Getting up and running with Minder takes under a minute and is as easy as: In just a few seconds, you will register your repositories and enable secret scanning protection for all of them! 🤯 - + ## Installation @@ -67,7 +67,7 @@ winget install stacklok.minder ### Download a release -Download the latest release from [minder/releases](https://github.com/stacklok/minder/releases). +Download the latest release from [minder/releases](https://github.com/mindersec/minder/releases). ### Build it from source @@ -118,7 +118,7 @@ various rules, and much more. There's a lot more to Minder than just secret scan The `secret_scanning` rule is just one of the many rule types that Minder supports. You can see the full list of ready-to-use rules and profiles -maintained by Minder's team here - [stacklok/minder-rules-and-profiles](https://github.com/stacklok/minder-rules-and-profiles). +maintained by Minder's team here - [mindersec/minder-rules-and-profiles](https://github.com/mindersec/minder-rules-and-profiles). In case there's something you don't find there yet, Minder is designed to be extensible. This allows for users to create their own custom rule types and profiles and ensure the specifics of their security @@ -131,7 +131,7 @@ configured consistently and securely. For more information about `minder`, see: * `minder` CLI commands - [Docs](https://minder-docs.stacklok.dev/ref/cli/minder). * `minder` REST API Documentation - [Docs](https://minder-docs.stacklok.dev/ref/api). -* `minder` rules and profiles maintained by Minder's team - [GitHub](https://github.com/stacklok/minder-rules-and-profiles). +* `minder` rules and profiles maintained by Minder's team - [GitHub](https://github.com/mindersec/minder-rules-and-profiles). * Minder documentation - [Docs](https://minder-docs.stacklok.dev). # Roadmap @@ -141,7 +141,7 @@ The Minder community are actively working on new features and improvements for M You can find our roadmap [here](https://minder-docs.stacklok.dev/about/roadmap). Should you wish to request or contribute a feature or improvement, please use the following -[issue template](https://github.com/stacklok/minder/issues/new?template=enhancement.yml) +[issue template](https://github.com/mindersec/minder/issues/new?template=enhancement.yml) # Development @@ -162,7 +162,7 @@ To invoke the `run-docker` make target, you will need [yq](https://github.com/mi ### Clone the repository ```bash -git clone git@github.com:stacklok/minder.git +git clone git@github.com:mindersec/minder.git ``` ## Build @@ -248,9 +248,9 @@ You can find more detailed information about the development process in the [Dev * Proto API documentation - [Link](https://minder-docs.stacklok.dev/ref/proto). -* Protobuf - [Link](https://github.com/stacklok/minder/blob/main/proto/minder/v1/minder.proto). +* Protobuf - [Link](https://github.com/mindersec/minder/blob/main/proto/minder/v1/minder.proto). -* OpenAPI/swagger spec (JSON) - [Link](https://github.com/stacklok/minder/blob/main/pkg/api/openapi/minder/v1/minder.swagger.json). +* OpenAPI/swagger spec (JSON) - [Link](https://github.com/mindersec/minder/blob/main/pkg/api/openapi/minder/v1/minder.swagger.json). ## Contributing diff --git a/SECURITY.md b/SECURITY.md index 27c75adcc9..1710f65c55 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,7 +6,7 @@ The minder community take security seriously! We appreciate your efforts to disc ## Reporting a vulnerability -To report a security issue, please use the GitHub Security Advisory ["Report a Vulnerability"](https://github.com/stacklok/minder/security/advisories/new) tab. +To report a security issue, please use the GitHub Security Advisory ["Report a Vulnerability"](https://github.com/mindersec/minder/security/advisories/new) tab. If you are unable to access GitHub you can also email us at security@stacklok.com. diff --git a/buf.gen.yaml b/buf.gen.yaml index 2295ed02f1..7ca9372cb0 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -18,17 +18,17 @@ plugins: - name: go out: . #out: pkg/api/protobuf/go - opt: module=github.com/stacklok/minder + opt: module=github.com/mindersec/minder - name: go-grpc out: . #out: pkg/api/protobuf/go opt: - - module=github.com/stacklok/minder + - module=github.com/mindersec/minder - name: grpc-gateway out: . #out: pkg/api/protobuf/go opt: - - module=github.com/stacklok/minder + - module=github.com/mindersec/minder - name: openapiv2 out: pkg/api/openapi opt: diff --git a/cmd/cli/app/artifact/artifact.go b/cmd/cli/app/artifact/artifact.go index 44034af403..07c9336a16 100644 --- a/cmd/cli/app/artifact/artifact.go +++ b/cmd/cli/app/artifact/artifact.go @@ -19,7 +19,7 @@ package artifact import ( "github.com/spf13/cobra" - "github.com/stacklok/minder/cmd/cli/app" + "github.com/mindersec/minder/cmd/cli/app" ) // ArtifactCmd is the artifact subcommand diff --git a/cmd/cli/app/artifact/artifact_get.go b/cmd/cli/app/artifact/artifact_get.go index 17630a189a..735432ec02 100644 --- a/cmd/cli/app/artifact/artifact_get.go +++ b/cmd/cli/app/artifact/artifact_get.go @@ -29,13 +29,13 @@ import ( "google.golang.org/grpc" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - "github.com/stacklok/minder/internal/util/cli/table" - "github.com/stacklok/minder/internal/util/cli/table/layouts" - "github.com/stacklok/minder/internal/util/jsonyaml" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + "github.com/mindersec/minder/internal/util/cli/table" + "github.com/mindersec/minder/internal/util/cli/table/layouts" + "github.com/mindersec/minder/internal/util/jsonyaml" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var getCmd = &cobra.Command{ diff --git a/cmd/cli/app/artifact/artifact_list.go b/cmd/cli/app/artifact/artifact_list.go index 6fbbece6b6..a6eda36c48 100644 --- a/cmd/cli/app/artifact/artifact_list.go +++ b/cmd/cli/app/artifact/artifact_list.go @@ -25,12 +25,12 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - "github.com/stacklok/minder/internal/util/cli/table" - "github.com/stacklok/minder/internal/util/cli/table/layouts" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + "github.com/mindersec/minder/internal/util/cli/table" + "github.com/mindersec/minder/internal/util/cli/table/layouts" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var listCmd = &cobra.Command{ diff --git a/cmd/cli/app/auth/auth.go b/cmd/cli/app/auth/auth.go index a0dabd842e..0b5e360c1f 100644 --- a/cmd/cli/app/auth/auth.go +++ b/cmd/cli/app/auth/auth.go @@ -19,7 +19,7 @@ package auth import ( "github.com/spf13/cobra" - "github.com/stacklok/minder/cmd/cli/app" + "github.com/mindersec/minder/cmd/cli/app" ) // AuthCmd represents the account command diff --git a/cmd/cli/app/auth/auth_delete.go b/cmd/cli/app/auth/auth_delete.go index e97b9c0084..ab4d4f52e3 100644 --- a/cmd/cli/app/auth/auth_delete.go +++ b/cmd/cli/app/auth/auth_delete.go @@ -25,9 +25,9 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // deleteCmd represents the account deletion command diff --git a/cmd/cli/app/auth/auth_login.go b/cmd/cli/app/auth/auth_login.go index 6cb3fe2208..ae1f135b82 100644 --- a/cmd/cli/app/auth/auth_login.go +++ b/cmd/cli/app/auth/auth_login.go @@ -21,10 +21,10 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/stacklok/minder/internal/config" - clientconfig "github.com/stacklok/minder/internal/config/client" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/config" + clientconfig "github.com/mindersec/minder/internal/config/client" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // loginCmd represents the login command diff --git a/cmd/cli/app/auth/auth_logout.go b/cmd/cli/app/auth/auth_logout.go index 14b346e7b2..fa347f6df4 100644 --- a/cmd/cli/app/auth/auth_logout.go +++ b/cmd/cli/app/auth/auth_logout.go @@ -21,10 +21,10 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/stacklok/minder/internal/config" - clientconfig "github.com/stacklok/minder/internal/config/client" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" + "github.com/mindersec/minder/internal/config" + clientconfig "github.com/mindersec/minder/internal/config/client" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" ) // logoutCmd represents the logout command diff --git a/cmd/cli/app/auth/auth_test.go b/cmd/cli/app/auth/auth_test.go index eb2595a6fa..107b78d61a 100644 --- a/cmd/cli/app/auth/auth_test.go +++ b/cmd/cli/app/auth/auth_test.go @@ -21,8 +21,8 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/assert" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" ) func TestCobraMain(t *testing.T) { diff --git a/cmd/cli/app/auth/auth_token.go b/cmd/cli/app/auth/auth_token.go index f4c90677d2..6b321dd42c 100644 --- a/cmd/cli/app/auth/auth_token.go +++ b/cmd/cli/app/auth/auth_token.go @@ -23,10 +23,10 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/stacklok/minder/internal/config" - clientconfig "github.com/stacklok/minder/internal/config/client" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" + "github.com/mindersec/minder/internal/config" + clientconfig "github.com/mindersec/minder/internal/config/client" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" ) var tokenCmd = &cobra.Command{ diff --git a/cmd/cli/app/auth/auth_whoami.go b/cmd/cli/app/auth/auth_whoami.go index e911416cd5..f99335e253 100644 --- a/cmd/cli/app/auth/auth_whoami.go +++ b/cmd/cli/app/auth/auth_whoami.go @@ -24,9 +24,9 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // whoamiCmd represents the whoami command diff --git a/cmd/cli/app/auth/common.go b/cmd/cli/app/auth/common.go index 5325db9a4f..5d74a94658 100644 --- a/cmd/cli/app/auth/common.go +++ b/cmd/cli/app/auth/common.go @@ -22,12 +22,12 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - "github.com/stacklok/minder/internal/util/cli/table" - "github.com/stacklok/minder/internal/util/cli/table/layouts" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + "github.com/mindersec/minder/internal/util/cli/table" + "github.com/mindersec/minder/internal/util/cli/table/layouts" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func userRegistered(ctx context.Context, client minderv1.UserServiceClient) (bool, *minderv1.GetUserResponse, error) { diff --git a/cmd/cli/app/auth/invite/invite.go b/cmd/cli/app/auth/invite/invite.go index 85719ce541..446a84c383 100644 --- a/cmd/cli/app/auth/invite/invite.go +++ b/cmd/cli/app/auth/invite/invite.go @@ -19,7 +19,7 @@ package invite import ( "github.com/spf13/cobra" - "github.com/stacklok/minder/cmd/cli/app/auth" + "github.com/mindersec/minder/cmd/cli/app/auth" ) // inviteCmd represents the offline-token set of sub-commands diff --git a/cmd/cli/app/auth/invite/invite_accept.go b/cmd/cli/app/auth/invite/invite_accept.go index 25258ad552..5484c3ee7a 100644 --- a/cmd/cli/app/auth/invite/invite_accept.go +++ b/cmd/cli/app/auth/invite/invite_accept.go @@ -22,8 +22,8 @@ import ( "github.com/spf13/cobra" "google.golang.org/grpc" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // inviteAcceptCmd represents the accept command diff --git a/cmd/cli/app/auth/invite/invite_decline.go b/cmd/cli/app/auth/invite/invite_decline.go index d01a540a99..215319b00c 100644 --- a/cmd/cli/app/auth/invite/invite_decline.go +++ b/cmd/cli/app/auth/invite/invite_decline.go @@ -22,8 +22,8 @@ import ( "github.com/spf13/cobra" "google.golang.org/grpc" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // inviteDeclineCmd represents the decline command diff --git a/cmd/cli/app/auth/invite/invite_get.go b/cmd/cli/app/auth/invite/invite_get.go index 4c0db23d34..2e47ef43ea 100644 --- a/cmd/cli/app/auth/invite/invite_get.go +++ b/cmd/cli/app/auth/invite/invite_get.go @@ -26,12 +26,12 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - "github.com/stacklok/minder/internal/util/cli/table" - "github.com/stacklok/minder/internal/util/cli/table/layouts" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + "github.com/mindersec/minder/internal/util/cli/table" + "github.com/mindersec/minder/internal/util/cli/table/layouts" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // inviteGetCmd represents the list command diff --git a/cmd/cli/app/auth/invite/invite_list.go b/cmd/cli/app/auth/invite/invite_list.go index 13ced94fd6..759996cc56 100644 --- a/cmd/cli/app/auth/invite/invite_list.go +++ b/cmd/cli/app/auth/invite/invite_list.go @@ -26,12 +26,12 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - "github.com/stacklok/minder/internal/util/cli/table" - "github.com/stacklok/minder/internal/util/cli/table/layouts" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + "github.com/mindersec/minder/internal/util/cli/table" + "github.com/mindersec/minder/internal/util/cli/table/layouts" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // inviteListCmd represents the list command diff --git a/cmd/cli/app/auth/offline_token/offline.go b/cmd/cli/app/auth/offline_token/offline.go index ede973c455..d0a5cb8397 100644 --- a/cmd/cli/app/auth/offline_token/offline.go +++ b/cmd/cli/app/auth/offline_token/offline.go @@ -19,7 +19,7 @@ package offline_token import ( "github.com/spf13/cobra" - "github.com/stacklok/minder/cmd/cli/app/auth" + "github.com/mindersec/minder/cmd/cli/app/auth" ) // offlineTokenCmd represents the offline-token set of sub-commands diff --git a/cmd/cli/app/auth/offline_token/offline_get.go b/cmd/cli/app/auth/offline_token/offline_get.go index fee5f3dd6c..2b409db3b1 100644 --- a/cmd/cli/app/auth/offline_token/offline_get.go +++ b/cmd/cli/app/auth/offline_token/offline_get.go @@ -25,9 +25,9 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/internal/config" - clientconfig "github.com/stacklok/minder/internal/config/client" - "github.com/stacklok/minder/internal/util/cli" + "github.com/mindersec/minder/internal/config" + clientconfig "github.com/mindersec/minder/internal/config/client" + "github.com/mindersec/minder/internal/util/cli" ) // offlineTokenGetCmd represents the offline-token get command diff --git a/cmd/cli/app/auth/offline_token/offline_revoke.go b/cmd/cli/app/auth/offline_token/offline_revoke.go index 754da98abf..ad2d3a4609 100644 --- a/cmd/cli/app/auth/offline_token/offline_revoke.go +++ b/cmd/cli/app/auth/offline_token/offline_revoke.go @@ -26,10 +26,10 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/internal/config" - clientconfig "github.com/stacklok/minder/internal/config/client" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" + "github.com/mindersec/minder/internal/config" + clientconfig "github.com/mindersec/minder/internal/config/client" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" ) // offlineTokenRevokeCmd represents the offline-token use command diff --git a/cmd/cli/app/auth/offline_token/offline_use.go b/cmd/cli/app/auth/offline_token/offline_use.go index 1dab2c938c..9897a41cb9 100644 --- a/cmd/cli/app/auth/offline_token/offline_use.go +++ b/cmd/cli/app/auth/offline_token/offline_use.go @@ -26,10 +26,10 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/internal/config" - clientconfig "github.com/stacklok/minder/internal/config/client" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" + "github.com/mindersec/minder/internal/config" + clientconfig "github.com/mindersec/minder/internal/config/client" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" ) // offlineTokenUseCmd represents the offline-token use command diff --git a/cmd/cli/app/common/table_render.go b/cmd/cli/app/common/table_render.go index edeb90594f..539b158483 100644 --- a/cmd/cli/app/common/table_render.go +++ b/cmd/cli/app/common/table_render.go @@ -18,7 +18,7 @@ package common import ( "strings" - "github.com/stacklok/minder/internal/util/cli/table/layouts" + "github.com/mindersec/minder/internal/util/cli/table/layouts" ) const ( diff --git a/cmd/cli/app/docs/docs.go b/cmd/cli/app/docs/docs.go index b4592ca44e..df2ba01207 100644 --- a/cmd/cli/app/docs/docs.go +++ b/cmd/cli/app/docs/docs.go @@ -26,8 +26,8 @@ import ( "github.com/spf13/cobra/doc" "github.com/spf13/viper" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util/cli" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util/cli" ) // DocsCmd generates documentation diff --git a/cmd/cli/app/history/history.go b/cmd/cli/app/history/history.go index b984eecf55..28901503e7 100644 --- a/cmd/cli/app/history/history.go +++ b/cmd/cli/app/history/history.go @@ -21,7 +21,7 @@ import ( "github.com/spf13/cobra" - "github.com/stacklok/minder/cmd/cli/app" + "github.com/mindersec/minder/cmd/cli/app" ) // historyCmd is the root command for the profile_status subcommands diff --git a/cmd/cli/app/history/history_list.go b/cmd/cli/app/history/history_list.go index 42d49422d3..a42966d674 100644 --- a/cmd/cli/app/history/history_list.go +++ b/cmd/cli/app/history/history_list.go @@ -27,14 +27,14 @@ import ( "google.golang.org/grpc" "google.golang.org/protobuf/types/known/timestamppb" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/cmd/cli/app/common" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - "github.com/stacklok/minder/internal/util/cli/table" - "github.com/stacklok/minder/internal/util/cli/table/layouts" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/cmd/cli/app/common" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + "github.com/mindersec/minder/internal/util/cli/table" + "github.com/mindersec/minder/internal/util/cli/table/layouts" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var listCmd = &cobra.Command{ diff --git a/cmd/cli/app/profile/apply.go b/cmd/cli/app/profile/apply.go index 518c4c9c7e..31d6c5ce72 100644 --- a/cmd/cli/app/profile/apply.go +++ b/cmd/cli/app/profile/apply.go @@ -26,8 +26,8 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // applyCmd represents the profile apply command diff --git a/cmd/cli/app/profile/common.go b/cmd/cli/app/profile/common.go index 82eb230672..b58236a141 100644 --- a/cmd/cli/app/profile/common.go +++ b/cmd/cli/app/profile/common.go @@ -21,11 +21,11 @@ import ( "github.com/spf13/viper" - "github.com/stacklok/minder/internal/profiles" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - "github.com/stacklok/minder/internal/util/cli/table" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/profiles" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + "github.com/mindersec/minder/internal/util/cli/table" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // ExecOnOneProfile is a helper function to execute a function on a single profile diff --git a/cmd/cli/app/profile/create.go b/cmd/cli/app/profile/create.go index 1d01fbc95c..55e197d7ed 100644 --- a/cmd/cli/app/profile/create.go +++ b/cmd/cli/app/profile/create.go @@ -24,8 +24,8 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // createCmd represents the profile create command diff --git a/cmd/cli/app/profile/delete.go b/cmd/cli/app/profile/delete.go index ed0356e26e..bb7a07c729 100644 --- a/cmd/cli/app/profile/delete.go +++ b/cmd/cli/app/profile/delete.go @@ -23,8 +23,8 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var deleteCmd = &cobra.Command{ diff --git a/cmd/cli/app/profile/get.go b/cmd/cli/app/profile/get.go index b2006fee0c..2d80440251 100644 --- a/cmd/cli/app/profile/get.go +++ b/cmd/cli/app/profile/get.go @@ -25,10 +25,10 @@ import ( "google.golang.org/grpc" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var getCmd = &cobra.Command{ diff --git a/cmd/cli/app/profile/list.go b/cmd/cli/app/profile/list.go index a061a2ddf2..99b6489644 100644 --- a/cmd/cli/app/profile/list.go +++ b/cmd/cli/app/profile/list.go @@ -25,10 +25,10 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var listCmd = &cobra.Command{ diff --git a/cmd/cli/app/profile/profile.go b/cmd/cli/app/profile/profile.go index 27a75ff55a..6107082089 100644 --- a/cmd/cli/app/profile/profile.go +++ b/cmd/cli/app/profile/profile.go @@ -19,7 +19,7 @@ package profile import ( "github.com/spf13/cobra" - "github.com/stacklok/minder/cmd/cli/app" + "github.com/mindersec/minder/cmd/cli/app" ) // ProfileCmd is the root command for the profile subcommands diff --git a/cmd/cli/app/profile/status/status.go b/cmd/cli/app/profile/status/status.go index fe4dcade78..ca5af96b74 100644 --- a/cmd/cli/app/profile/status/status.go +++ b/cmd/cli/app/profile/status/status.go @@ -23,8 +23,8 @@ import ( "github.com/spf13/cobra" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/cmd/cli/app/profile" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/cmd/cli/app/profile" ) // profileStatusCmd is the root command for the profile_status subcommands diff --git a/cmd/cli/app/profile/status/status_get.go b/cmd/cli/app/profile/status/status_get.go index ccd7e128f5..1313b6e646 100644 --- a/cmd/cli/app/profile/status/status_get.go +++ b/cmd/cli/app/profile/status/status_get.go @@ -24,12 +24,12 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/cmd/cli/app/profile" - "github.com/stacklok/minder/internal/engine/entities" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/cmd/cli/app/profile" + "github.com/mindersec/minder/internal/engine/entities" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var getCmd = &cobra.Command{ diff --git a/cmd/cli/app/profile/status/status_list.go b/cmd/cli/app/profile/status/status_list.go index 4c97f1a6c7..96b8c5d551 100644 --- a/cmd/cli/app/profile/status/status_list.go +++ b/cmd/cli/app/profile/status/status_list.go @@ -23,11 +23,11 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/cmd/cli/app/profile" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/cmd/cli/app/profile" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var listCmd = &cobra.Command{ diff --git a/cmd/cli/app/profile/table_render.go b/cmd/cli/app/profile/table_render.go index 58b56ddb40..e8594a04fd 100644 --- a/cmd/cli/app/profile/table_render.go +++ b/cmd/cli/app/profile/table_render.go @@ -21,10 +21,10 @@ import ( "google.golang.org/protobuf/types/known/structpb" "gopkg.in/yaml.v2" - "github.com/stacklok/minder/cmd/cli/app/common" - "github.com/stacklok/minder/internal/util/cli/table" - "github.com/stacklok/minder/internal/util/cli/table/layouts" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app/common" + "github.com/mindersec/minder/internal/util/cli/table" + "github.com/mindersec/minder/internal/util/cli/table/layouts" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func marshalStructOrEmpty(v *structpb.Struct) string { diff --git a/cmd/cli/app/project/project.go b/cmd/cli/app/project/project.go index 310be921e5..0104ced7aa 100644 --- a/cmd/cli/app/project/project.go +++ b/cmd/cli/app/project/project.go @@ -19,7 +19,7 @@ package project import ( "github.com/spf13/cobra" - "github.com/stacklok/minder/cmd/cli/app" + "github.com/mindersec/minder/cmd/cli/app" ) // ProjectCmd is the root command for the project subcommands diff --git a/cmd/cli/app/project/project_create.go b/cmd/cli/app/project/project_create.go index 81024163bc..e492b01201 100644 --- a/cmd/cli/app/project/project_create.go +++ b/cmd/cli/app/project/project_create.go @@ -24,12 +24,12 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - "github.com/stacklok/minder/internal/util/cli/table" - "github.com/stacklok/minder/internal/util/cli/table/layouts" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + "github.com/mindersec/minder/internal/util/cli/table" + "github.com/mindersec/minder/internal/util/cli/table/layouts" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // projectCreateCmd is the command for creating sub-projects diff --git a/cmd/cli/app/project/project_delete.go b/cmd/cli/app/project/project_delete.go index f72e6a92eb..c1a6dc7d52 100644 --- a/cmd/cli/app/project/project_delete.go +++ b/cmd/cli/app/project/project_delete.go @@ -22,8 +22,8 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // projectDeleteCmd is the command for deleting sub-projects diff --git a/cmd/cli/app/project/project_list.go b/cmd/cli/app/project/project_list.go index 15e095d593..29fab867ac 100644 --- a/cmd/cli/app/project/project_list.go +++ b/cmd/cli/app/project/project_list.go @@ -24,12 +24,12 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - "github.com/stacklok/minder/internal/util/cli/table" - "github.com/stacklok/minder/internal/util/cli/table/layouts" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + "github.com/mindersec/minder/internal/util/cli/table" + "github.com/mindersec/minder/internal/util/cli/table/layouts" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // projectListCmd is the command for listing projects diff --git a/cmd/cli/app/project/role/role.go b/cmd/cli/app/project/role/role.go index d07002820a..c12085102c 100644 --- a/cmd/cli/app/project/role/role.go +++ b/cmd/cli/app/project/role/role.go @@ -19,7 +19,7 @@ package role import ( "github.com/spf13/cobra" - "github.com/stacklok/minder/cmd/cli/app/project" + "github.com/mindersec/minder/cmd/cli/app/project" ) // RoleCmd is the root command for the project subcommands diff --git a/cmd/cli/app/project/role/role_deny.go b/cmd/cli/app/project/role/role_deny.go index 667df1474e..38c26ef072 100644 --- a/cmd/cli/app/project/role/role_deny.go +++ b/cmd/cli/app/project/role/role_deny.go @@ -23,8 +23,8 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var denyCmd = &cobra.Command{ diff --git a/cmd/cli/app/project/role/role_grant.go b/cmd/cli/app/project/role/role_grant.go index b6a64c7bc7..8d5d955667 100644 --- a/cmd/cli/app/project/role/role_grant.go +++ b/cmd/cli/app/project/role/role_grant.go @@ -26,10 +26,10 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var grantCmd = &cobra.Command{ diff --git a/cmd/cli/app/project/role/role_grant_list.go b/cmd/cli/app/project/role/role_grant_list.go index eced9bc6f7..0ad18ccb16 100644 --- a/cmd/cli/app/project/role/role_grant_list.go +++ b/cmd/cli/app/project/role/role_grant_list.go @@ -25,12 +25,12 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - "github.com/stacklok/minder/internal/util/cli/table" - "github.com/stacklok/minder/internal/util/cli/table/layouts" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + "github.com/mindersec/minder/internal/util/cli/table" + "github.com/mindersec/minder/internal/util/cli/table/layouts" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var grantListCmd = &cobra.Command{ diff --git a/cmd/cli/app/project/role/role_list.go b/cmd/cli/app/project/role/role_list.go index 2fa42287f2..f6e989ace0 100644 --- a/cmd/cli/app/project/role/role_list.go +++ b/cmd/cli/app/project/role/role_list.go @@ -24,12 +24,12 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - "github.com/stacklok/minder/internal/util/cli/table" - "github.com/stacklok/minder/internal/util/cli/table/layouts" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + "github.com/mindersec/minder/internal/util/cli/table" + "github.com/mindersec/minder/internal/util/cli/table/layouts" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var listCmd = &cobra.Command{ diff --git a/cmd/cli/app/project/role/role_update.go b/cmd/cli/app/project/role/role_update.go index f906b6021a..4522f03092 100644 --- a/cmd/cli/app/project/role/role_update.go +++ b/cmd/cli/app/project/role/role_update.go @@ -24,10 +24,10 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var updateCmd = &cobra.Command{ diff --git a/cmd/cli/app/provider/provider.go b/cmd/cli/app/provider/provider.go index 9fe92739b7..37c303331d 100644 --- a/cmd/cli/app/provider/provider.go +++ b/cmd/cli/app/provider/provider.go @@ -21,8 +21,8 @@ import ( "github.com/spf13/cobra" - "github.com/stacklok/minder/cmd/cli/app" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // ProviderCmd is the root command for the provider subcommands diff --git a/cmd/cli/app/provider/provider_delete.go b/cmd/cli/app/provider/provider_delete.go index 5a563b1788..cecaec7e4c 100644 --- a/cmd/cli/app/provider/provider_delete.go +++ b/cmd/cli/app/provider/provider_delete.go @@ -22,8 +22,8 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var deleteCmd = &cobra.Command{ diff --git a/cmd/cli/app/provider/provider_enroll.go b/cmd/cli/app/provider/provider_enroll.go index 88efc98fee..0b989d6a23 100644 --- a/cmd/cli/app/provider/provider_enroll.go +++ b/cmd/cli/app/provider/provider_enroll.go @@ -33,12 +33,12 @@ import ( "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/structpb" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/providers" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - "github.com/stacklok/minder/internal/util/rand" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/providers" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + "github.com/mindersec/minder/internal/util/rand" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // Response is the response from the OAuth callback server. diff --git a/cmd/cli/app/provider/provider_get.go b/cmd/cli/app/provider/provider_get.go index fa9a59d7b9..29d78b3fe3 100644 --- a/cmd/cli/app/provider/provider_get.go +++ b/cmd/cli/app/provider/provider_get.go @@ -25,12 +25,12 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - "github.com/stacklok/minder/internal/util/cli/table" - "github.com/stacklok/minder/internal/util/cli/table/layouts" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + "github.com/mindersec/minder/internal/util/cli/table" + "github.com/mindersec/minder/internal/util/cli/table/layouts" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var getCmd = &cobra.Command{ diff --git a/cmd/cli/app/provider/provider_list.go b/cmd/cli/app/provider/provider_list.go index bd1841278d..a33cb7d74f 100644 --- a/cmd/cli/app/provider/provider_list.go +++ b/cmd/cli/app/provider/provider_list.go @@ -24,12 +24,12 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - "github.com/stacklok/minder/internal/util/cli/table" - "github.com/stacklok/minder/internal/util/cli/table/layouts" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + "github.com/mindersec/minder/internal/util/cli/table" + "github.com/mindersec/minder/internal/util/cli/table/layouts" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var listCmd = &cobra.Command{ diff --git a/cmd/cli/app/provider/provider_update.go b/cmd/cli/app/provider/provider_update.go index b8bd042461..ff414d2fde 100644 --- a/cmd/cli/app/provider/provider_update.go +++ b/cmd/cli/app/provider/provider_update.go @@ -28,8 +28,8 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var ( diff --git a/cmd/cli/app/quickstart/quickstart.go b/cmd/cli/app/quickstart/quickstart.go index 47eeb2df7b..ba580fc8e5 100644 --- a/cmd/cli/app/quickstart/quickstart.go +++ b/cmd/cli/app/quickstart/quickstart.go @@ -30,15 +30,15 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/cmd/cli/app/auth" - "github.com/stacklok/minder/cmd/cli/app/profile" - minderprov "github.com/stacklok/minder/cmd/cli/app/provider" - "github.com/stacklok/minder/cmd/cli/app/repo" - "github.com/stacklok/minder/internal/profiles" - ghclient "github.com/stacklok/minder/internal/providers/github/clients" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/cmd/cli/app/auth" + "github.com/mindersec/minder/cmd/cli/app/profile" + minderprov "github.com/mindersec/minder/cmd/cli/app/provider" + "github.com/mindersec/minder/cmd/cli/app/repo" + "github.com/mindersec/minder/internal/profiles" + ghclient "github.com/mindersec/minder/internal/providers/github/clients" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) const ( @@ -116,13 +116,13 @@ You can now continue to explore Minder's features by adding or removing more rep For more information about Minder, see the following resources: GitHub: -* https://github.com/stacklok/minder +* https://github.com/mindersec/minder Official documentation: * https://minder-docs.stacklok.dev CLI commands: * https://minder-docs.stacklok.dev/ref/cli/minder Minder Rules & profiles: -* https://github.com/stacklok/minder-rules-and-profiles +* https://github.com/mindersec/minder-rules-and-profiles Thank you for using Minder! ` diff --git a/cmd/cli/app/repo/repo.go b/cmd/cli/app/repo/repo.go index 1a87398c9f..1d8983e8cb 100644 --- a/cmd/cli/app/repo/repo.go +++ b/cmd/cli/app/repo/repo.go @@ -19,7 +19,7 @@ package repo import ( "github.com/spf13/cobra" - "github.com/stacklok/minder/cmd/cli/app" + "github.com/mindersec/minder/cmd/cli/app" ) // RepoCmd is the root command for the repo subcommands diff --git a/cmd/cli/app/repo/repo_delete.go b/cmd/cli/app/repo/repo_delete.go index 020f9aacfd..dfb97469fd 100644 --- a/cmd/cli/app/repo/repo_delete.go +++ b/cmd/cli/app/repo/repo_delete.go @@ -22,8 +22,8 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var deleteCmd = &cobra.Command{ diff --git a/cmd/cli/app/repo/repo_get.go b/cmd/cli/app/repo/repo_get.go index 2374493ca7..2d5b2d1a97 100644 --- a/cmd/cli/app/repo/repo_get.go +++ b/cmd/cli/app/repo/repo_get.go @@ -24,10 +24,10 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var getCmd = &cobra.Command{ diff --git a/cmd/cli/app/repo/repo_list.go b/cmd/cli/app/repo/repo_list.go index 7e34635ee4..190ba18cc9 100644 --- a/cmd/cli/app/repo/repo_list.go +++ b/cmd/cli/app/repo/repo_list.go @@ -24,12 +24,12 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - "github.com/stacklok/minder/internal/util/cli/table" - "github.com/stacklok/minder/internal/util/cli/table/layouts" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + "github.com/mindersec/minder/internal/util/cli/table" + "github.com/mindersec/minder/internal/util/cli/table/layouts" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var listCmd = &cobra.Command{ diff --git a/cmd/cli/app/repo/repo_reconcile.go b/cmd/cli/app/repo/repo_reconcile.go index b688baa2e6..6b29861452 100644 --- a/cmd/cli/app/repo/repo_reconcile.go +++ b/cmd/cli/app/repo/repo_reconcile.go @@ -22,8 +22,8 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var reconcileCmd = &cobra.Command{ diff --git a/cmd/cli/app/repo/repo_register.go b/cmd/cli/app/repo/repo_register.go index 53e3f5084f..7585511b57 100644 --- a/cmd/cli/app/repo/repo_register.go +++ b/cmd/cli/app/repo/repo_register.go @@ -25,11 +25,11 @@ import ( "google.golang.org/grpc" "google.golang.org/protobuf/proto" - "github.com/stacklok/minder/internal/util/cli" - "github.com/stacklok/minder/internal/util/cli/table" - "github.com/stacklok/minder/internal/util/cli/table/layouts" - "github.com/stacklok/minder/internal/util/ptr" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/util/cli" + "github.com/mindersec/minder/internal/util/cli/table" + "github.com/mindersec/minder/internal/util/cli/table/layouts" + "github.com/mindersec/minder/internal/util/ptr" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var repoRegisterCmd = &cobra.Command{ diff --git a/cmd/cli/app/repo/repo_register_test.go b/cmd/cli/app/repo/repo_register_test.go index 776056f332..e479a5fc4f 100644 --- a/cmd/cli/app/repo/repo_register_test.go +++ b/cmd/cli/app/repo/repo_register_test.go @@ -21,7 +21,7 @@ import ( "github.com/stretchr/testify/assert" "google.golang.org/protobuf/encoding/protojson" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestMessageJsonEncoding(t *testing.T) { diff --git a/cmd/cli/app/root.go b/cmd/cli/app/root.go index 0b5559e66c..ab4c455dea 100644 --- a/cmd/cli/app/root.go +++ b/cmd/cli/app/root.go @@ -24,10 +24,10 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/stacklok/minder/internal/config" - clientconfig "github.com/stacklok/minder/internal/config/client" - "github.com/stacklok/minder/internal/constants" - "github.com/stacklok/minder/internal/util/cli" + "github.com/mindersec/minder/internal/config" + clientconfig "github.com/mindersec/minder/internal/config/client" + "github.com/mindersec/minder/internal/constants" + "github.com/mindersec/minder/internal/util/cli" ) var ( diff --git a/cmd/cli/app/ruletype/common.go b/cmd/cli/app/ruletype/common.go index bab5f4f50d..d989930459 100644 --- a/cmd/cli/app/ruletype/common.go +++ b/cmd/cli/app/ruletype/common.go @@ -26,11 +26,11 @@ import ( "github.com/spf13/viper" "golang.org/x/exp/slices" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - "github.com/stacklok/minder/internal/util/cli/table" - "github.com/stacklok/minder/internal/util/cli/table/layouts" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + "github.com/mindersec/minder/internal/util/cli/table" + "github.com/mindersec/minder/internal/util/cli/table/layouts" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func execOnOneRuleType( diff --git a/cmd/cli/app/ruletype/ruletype.go b/cmd/cli/app/ruletype/ruletype.go index 2244a9c02b..d37077d1c8 100644 --- a/cmd/cli/app/ruletype/ruletype.go +++ b/cmd/cli/app/ruletype/ruletype.go @@ -19,7 +19,7 @@ package ruletype import ( "github.com/spf13/cobra" - "github.com/stacklok/minder/cmd/cli/app" + "github.com/mindersec/minder/cmd/cli/app" ) // ruleTypeCmd is the root command for the rule subcommands diff --git a/cmd/cli/app/ruletype/ruletype_apply.go b/cmd/cli/app/ruletype/ruletype_apply.go index 6c56fec417..a6ad7be608 100644 --- a/cmd/cli/app/ruletype/ruletype_apply.go +++ b/cmd/cli/app/ruletype/ruletype_apply.go @@ -26,9 +26,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var applyCmd = &cobra.Command{ diff --git a/cmd/cli/app/ruletype/ruletype_create.go b/cmd/cli/app/ruletype/ruletype_create.go index 8eded24087..66acf4f9aa 100644 --- a/cmd/cli/app/ruletype/ruletype_create.go +++ b/cmd/cli/app/ruletype/ruletype_create.go @@ -24,9 +24,9 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // createCmd represents the profile create command diff --git a/cmd/cli/app/ruletype/ruletype_delete.go b/cmd/cli/app/ruletype/ruletype_delete.go index 2a64d08c63..1f27ee8ceb 100644 --- a/cmd/cli/app/ruletype/ruletype_delete.go +++ b/cmd/cli/app/ruletype/ruletype_delete.go @@ -22,8 +22,8 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var deleteCmd = &cobra.Command{ diff --git a/cmd/cli/app/ruletype/ruletype_get.go b/cmd/cli/app/ruletype/ruletype_get.go index 378be631ff..666b9b7646 100644 --- a/cmd/cli/app/ruletype/ruletype_get.go +++ b/cmd/cli/app/ruletype/ruletype_get.go @@ -25,10 +25,10 @@ import ( "google.golang.org/grpc" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var getCmd = &cobra.Command{ diff --git a/cmd/cli/app/ruletype/ruletype_list.go b/cmd/cli/app/ruletype/ruletype_list.go index b6c568c8c2..1be7b8087b 100644 --- a/cmd/cli/app/ruletype/ruletype_list.go +++ b/cmd/cli/app/ruletype/ruletype_list.go @@ -24,10 +24,10 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var listCmd = &cobra.Command{ diff --git a/cmd/cli/app/set_project/set_project.go b/cmd/cli/app/set_project/set_project.go index e2f12a09cc..e7176806ca 100644 --- a/cmd/cli/app/set_project/set_project.go +++ b/cmd/cli/app/set_project/set_project.go @@ -27,10 +27,10 @@ import ( "github.com/spf13/viper" "gopkg.in/yaml.v3" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/config" - clientconfig "github.com/stacklok/minder/internal/config/client" - "github.com/stacklok/minder/internal/util/cli" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/config" + clientconfig "github.com/mindersec/minder/internal/config/client" + "github.com/mindersec/minder/internal/util/cli" ) // SetProjectCmd is the cd command diff --git a/cmd/cli/app/version/version.go b/cmd/cli/app/version/version.go index 7652c21001..106790ae7c 100644 --- a/cmd/cli/app/version/version.go +++ b/cmd/cli/app/version/version.go @@ -19,9 +19,9 @@ package version import ( "github.com/spf13/cobra" - "github.com/stacklok/minder/cmd/cli/app" - "github.com/stacklok/minder/internal/constants" - "github.com/stacklok/minder/internal/util/cli/useragent" + "github.com/mindersec/minder/cmd/cli/app" + "github.com/mindersec/minder/internal/constants" + "github.com/mindersec/minder/internal/util/cli/useragent" ) // VersionCmd is the version command diff --git a/cmd/cli/main.go b/cmd/cli/main.go index 1ed2d8938d..b3548645d7 100644 --- a/cmd/cli/main.go +++ b/cmd/cli/main.go @@ -17,23 +17,23 @@ package main import ( - "github.com/stacklok/minder/cmd/cli/app" - _ "github.com/stacklok/minder/cmd/cli/app/artifact" - _ "github.com/stacklok/minder/cmd/cli/app/auth" - _ "github.com/stacklok/minder/cmd/cli/app/auth/invite" - _ "github.com/stacklok/minder/cmd/cli/app/auth/offline_token" - _ "github.com/stacklok/minder/cmd/cli/app/docs" - _ "github.com/stacklok/minder/cmd/cli/app/history" - _ "github.com/stacklok/minder/cmd/cli/app/profile" - _ "github.com/stacklok/minder/cmd/cli/app/profile/status" - _ "github.com/stacklok/minder/cmd/cli/app/project" - _ "github.com/stacklok/minder/cmd/cli/app/project/role" - _ "github.com/stacklok/minder/cmd/cli/app/provider" - _ "github.com/stacklok/minder/cmd/cli/app/quickstart" - _ "github.com/stacklok/minder/cmd/cli/app/repo" - _ "github.com/stacklok/minder/cmd/cli/app/ruletype" - _ "github.com/stacklok/minder/cmd/cli/app/set_project" - _ "github.com/stacklok/minder/cmd/cli/app/version" + "github.com/mindersec/minder/cmd/cli/app" + _ "github.com/mindersec/minder/cmd/cli/app/artifact" + _ "github.com/mindersec/minder/cmd/cli/app/auth" + _ "github.com/mindersec/minder/cmd/cli/app/auth/invite" + _ "github.com/mindersec/minder/cmd/cli/app/auth/offline_token" + _ "github.com/mindersec/minder/cmd/cli/app/docs" + _ "github.com/mindersec/minder/cmd/cli/app/history" + _ "github.com/mindersec/minder/cmd/cli/app/profile" + _ "github.com/mindersec/minder/cmd/cli/app/profile/status" + _ "github.com/mindersec/minder/cmd/cli/app/project" + _ "github.com/mindersec/minder/cmd/cli/app/project/role" + _ "github.com/mindersec/minder/cmd/cli/app/provider" + _ "github.com/mindersec/minder/cmd/cli/app/quickstart" + _ "github.com/mindersec/minder/cmd/cli/app/repo" + _ "github.com/mindersec/minder/cmd/cli/app/ruletype" + _ "github.com/mindersec/minder/cmd/cli/app/set_project" + _ "github.com/mindersec/minder/cmd/cli/app/version" ) func main() { diff --git a/cmd/cli/main_test.go b/cmd/cli/main_test.go index b7d9e60790..494ae20269 100644 --- a/cmd/cli/main_test.go +++ b/cmd/cli/main_test.go @@ -21,7 +21,7 @@ import ( "github.com/spf13/viper" - "github.com/stacklok/minder/cmd/cli/app" + "github.com/mindersec/minder/cmd/cli/app" ) type testWriter struct { diff --git a/cmd/dev/app/bundles/build.go b/cmd/dev/app/bundles/build.go index 4c189b8580..b811b04c94 100644 --- a/cmd/dev/app/bundles/build.go +++ b/cmd/dev/app/bundles/build.go @@ -20,8 +20,8 @@ import ( "github.com/spf13/cobra" - "github.com/stacklok/minder/pkg/mindpak" - "github.com/stacklok/minder/pkg/mindpak/build" + "github.com/mindersec/minder/pkg/mindpak" + "github.com/mindersec/minder/pkg/mindpak/build" ) // CmdBuild is the build command diff --git a/cmd/dev/app/image/cmd_verify.go b/cmd/dev/app/image/cmd_verify.go index 0d0c1f4761..fdaf114668 100644 --- a/cmd/dev/app/image/cmd_verify.go +++ b/cmd/dev/app/image/cmd_verify.go @@ -23,17 +23,17 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/stacklok/minder/internal/providers/credentials" - "github.com/stacklok/minder/internal/providers/github/clients" - "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/providers/ratecache" - "github.com/stacklok/minder/internal/providers/telemetry" - "github.com/stacklok/minder/internal/verifier" - "github.com/stacklok/minder/internal/verifier/sigstore" - "github.com/stacklok/minder/internal/verifier/sigstore/container" - "github.com/stacklok/minder/internal/verifier/verifyif" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/providers/credentials" + "github.com/mindersec/minder/internal/providers/github/clients" + "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/providers/ratecache" + "github.com/mindersec/minder/internal/providers/telemetry" + "github.com/mindersec/minder/internal/verifier" + "github.com/mindersec/minder/internal/verifier/sigstore" + "github.com/mindersec/minder/internal/verifier/sigstore/container" + "github.com/mindersec/minder/internal/verifier/verifyif" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // CmdVerify is the root command for the container verify subcommands diff --git a/cmd/dev/app/image/list.go b/cmd/dev/app/image/list.go index bc9e96d312..f1e1db13fc 100644 --- a/cmd/dev/app/image/list.go +++ b/cmd/dev/app/image/list.go @@ -24,11 +24,11 @@ import ( "github.com/spf13/viper" "google.golang.org/protobuf/proto" - "github.com/stacklok/minder/internal/providers/credentials" - "github.com/stacklok/minder/internal/providers/dockerhub" - "github.com/stacklok/minder/internal/providers/github/ghcr" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/providers/credentials" + "github.com/mindersec/minder/internal/providers/dockerhub" + "github.com/mindersec/minder/internal/providers/github/ghcr" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // CmdList returns the command for listing containers diff --git a/cmd/dev/app/image/list_tags.go b/cmd/dev/app/image/list_tags.go index 0daa9733ef..c2b294441f 100644 --- a/cmd/dev/app/image/list_tags.go +++ b/cmd/dev/app/image/list_tags.go @@ -23,8 +23,8 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/stacklok/minder/internal/providers/credentials" - "github.com/stacklok/minder/internal/providers/oci" + "github.com/mindersec/minder/internal/providers/credentials" + "github.com/mindersec/minder/internal/providers/oci" ) // CmdListTags returns the command for listing container tags diff --git a/cmd/dev/app/root.go b/cmd/dev/app/root.go index f8b06b6917..055e0c41f6 100644 --- a/cmd/dev/app/root.go +++ b/cmd/dev/app/root.go @@ -21,11 +21,11 @@ import ( "github.com/spf13/cobra" - "github.com/stacklok/minder/cmd/dev/app/bundles" - "github.com/stacklok/minder/cmd/dev/app/image" - "github.com/stacklok/minder/cmd/dev/app/rule_type" - "github.com/stacklok/minder/cmd/dev/app/testserver" - "github.com/stacklok/minder/internal/util/cli" + "github.com/mindersec/minder/cmd/dev/app/bundles" + "github.com/mindersec/minder/cmd/dev/app/image" + "github.com/mindersec/minder/cmd/dev/app/rule_type" + "github.com/mindersec/minder/cmd/dev/app/testserver" + "github.com/mindersec/minder/internal/util/cli" ) // CmdRoot represents the base command when called without any subcommands diff --git a/cmd/dev/app/rule_type/lint.go b/cmd/dev/app/rule_type/lint.go index 4ec00f3f6f..3a6478f01f 100644 --- a/cmd/dev/app/rule_type/lint.go +++ b/cmd/dev/app/rule_type/lint.go @@ -27,8 +27,8 @@ import ( "github.com/styrainc/regal/pkg/rules" "gopkg.in/yaml.v3" - "github.com/stacklok/minder/internal/engine/eval/rego" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/engine/eval/rego" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // CmdLint is the command for linting a rule type definition diff --git a/cmd/dev/app/rule_type/rttst.go b/cmd/dev/app/rule_type/rttst.go index 9a19bb6d67..fd99f83572 100644 --- a/cmd/dev/app/rule_type/rttst.go +++ b/cmd/dev/app/rule_type/rttst.go @@ -28,31 +28,31 @@ import ( "github.com/spf13/viper" "google.golang.org/protobuf/reflect/protoreflect" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/actions" - "github.com/stacklok/minder/internal/engine/entities" - "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/eval/rego" - engif "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/engine/rtengine" - "github.com/stacklok/minder/internal/engine/selectors" - entModels "github.com/stacklok/minder/internal/entities/models" - entProps "github.com/stacklok/minder/internal/entities/properties" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/profiles" - "github.com/stacklok/minder/internal/profiles/models" - "github.com/stacklok/minder/internal/providers/credentials" - "github.com/stacklok/minder/internal/providers/dockerhub" - "github.com/stacklok/minder/internal/providers/github/clients" - "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/providers/gitlab" - "github.com/stacklok/minder/internal/providers/ratecache" - provsel "github.com/stacklok/minder/internal/providers/selectors" - "github.com/stacklok/minder/internal/providers/telemetry" - "github.com/stacklok/minder/internal/util/jsonyaml" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/actions" + "github.com/mindersec/minder/internal/engine/entities" + "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/eval/rego" + engif "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/engine/rtengine" + "github.com/mindersec/minder/internal/engine/selectors" + entModels "github.com/mindersec/minder/internal/entities/models" + entProps "github.com/mindersec/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/profiles" + "github.com/mindersec/minder/internal/profiles/models" + "github.com/mindersec/minder/internal/providers/credentials" + "github.com/mindersec/minder/internal/providers/dockerhub" + "github.com/mindersec/minder/internal/providers/github/clients" + "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/providers/gitlab" + "github.com/mindersec/minder/internal/providers/ratecache" + provsel "github.com/mindersec/minder/internal/providers/selectors" + "github.com/mindersec/minder/internal/providers/telemetry" + "github.com/mindersec/minder/internal/util/jsonyaml" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // CmdTest is the root command for the rule subcommands diff --git a/cmd/dev/app/testserver/testserver.go b/cmd/dev/app/testserver/testserver.go index 27be8ec479..aa82f42656 100644 --- a/cmd/dev/app/testserver/testserver.go +++ b/cmd/dev/app/testserver/testserver.go @@ -29,18 +29,18 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/stacklok/minder/internal/auth" - noopauth "github.com/stacklok/minder/internal/auth/jwt/noop" - mockauthz "github.com/stacklok/minder/internal/authz/mock" - "github.com/stacklok/minder/internal/config" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/controlplane/metrics" - "github.com/stacklok/minder/internal/db/embedded" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/metrics/meters" - "github.com/stacklok/minder/internal/providers/ratecache" - provtelemetry "github.com/stacklok/minder/internal/providers/telemetry" - "github.com/stacklok/minder/internal/service" + "github.com/mindersec/minder/internal/auth" + noopauth "github.com/mindersec/minder/internal/auth/jwt/noop" + mockauthz "github.com/mindersec/minder/internal/authz/mock" + "github.com/mindersec/minder/internal/config" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/controlplane/metrics" + "github.com/mindersec/minder/internal/db/embedded" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/metrics/meters" + "github.com/mindersec/minder/internal/providers/ratecache" + provtelemetry "github.com/mindersec/minder/internal/providers/telemetry" + "github.com/mindersec/minder/internal/service" ) // CmdTestServer starts a test server for integration testing. diff --git a/cmd/dev/main.go b/cmd/dev/main.go index feab8af0d1..4260d38560 100644 --- a/cmd/dev/main.go +++ b/cmd/dev/main.go @@ -17,8 +17,8 @@ package main import ( - "github.com/stacklok/minder/cmd/dev/app" - _ "github.com/stacklok/minder/cmd/dev/app/rule_type" + "github.com/mindersec/minder/cmd/dev/app" + _ "github.com/mindersec/minder/cmd/dev/app/rule_type" ) func main() { diff --git a/cmd/reminder/app/root.go b/cmd/reminder/app/root.go index 5a399189c3..705c0f1ffb 100644 --- a/cmd/reminder/app/root.go +++ b/cmd/reminder/app/root.go @@ -27,9 +27,9 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/stacklok/minder/internal/config" - reminderconfig "github.com/stacklok/minder/internal/config/reminder" - "github.com/stacklok/minder/internal/util/cli" + "github.com/mindersec/minder/internal/config" + reminderconfig "github.com/mindersec/minder/internal/config/reminder" + "github.com/mindersec/minder/internal/util/cli" ) var ( diff --git a/cmd/reminder/app/start.go b/cmd/reminder/app/start.go index 3d7b93321e..1932968a0c 100644 --- a/cmd/reminder/app/start.go +++ b/cmd/reminder/app/start.go @@ -26,11 +26,11 @@ import ( "github.com/spf13/viper" "golang.org/x/sync/errgroup" - "github.com/stacklok/minder/internal/config" - reminderconfig "github.com/stacklok/minder/internal/config/reminder" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/reminder" - "github.com/stacklok/minder/internal/reminder/logger" + "github.com/mindersec/minder/internal/config" + reminderconfig "github.com/mindersec/minder/internal/config/reminder" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/reminder" + "github.com/mindersec/minder/internal/reminder/logger" ) var startCmd = &cobra.Command{ diff --git a/cmd/reminder/main.go b/cmd/reminder/main.go index 2fad510af4..cad54ded20 100644 --- a/cmd/reminder/main.go +++ b/cmd/reminder/main.go @@ -15,7 +15,7 @@ // Package main provides the entrypoint for the reminder service package main -import "github.com/stacklok/minder/cmd/reminder/app" +import "github.com/mindersec/minder/cmd/reminder/app" func main() { app.Execute() diff --git a/cmd/server/app/common.go b/cmd/server/app/common.go index 2aaae1db9a..3e159d79ad 100644 --- a/cmd/server/app/common.go +++ b/cmd/server/app/common.go @@ -22,8 +22,8 @@ import ( "github.com/rs/zerolog" "github.com/spf13/cobra" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/db" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/db" ) // This file contains logic shared between different commands. diff --git a/cmd/server/app/encryption_purge_sessions.go b/cmd/server/app/encryption_purge_sessions.go index c816bd368b..7777bf0697 100644 --- a/cmd/server/app/encryption_purge_sessions.go +++ b/cmd/server/app/encryption_purge_sessions.go @@ -25,10 +25,10 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/stacklok/minder/internal/config" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/logger" + "github.com/mindersec/minder/internal/config" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/logger" ) // purgeCmd represents the `encryption purge-sessions` command diff --git a/cmd/server/app/encryption_rotate.go b/cmd/server/app/encryption_rotate.go index 6dbd0bf6e6..3c44da6998 100644 --- a/cmd/server/app/encryption_rotate.go +++ b/cmd/server/app/encryption_rotate.go @@ -26,11 +26,11 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/stacklok/minder/internal/config" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/crypto" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/logger" + "github.com/mindersec/minder/internal/config" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/crypto" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/logger" ) // number of secrets to re-encrypt per batch diff --git a/cmd/server/app/history_purge.go b/cmd/server/app/history_purge.go index 0ca6faac0b..6dac213667 100644 --- a/cmd/server/app/history_purge.go +++ b/cmd/server/app/history_purge.go @@ -25,10 +25,10 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/stacklok/minder/internal/config" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/logger" + "github.com/mindersec/minder/internal/config" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/logger" ) // historyPurgeCmd represents the `history purge` command diff --git a/cmd/server/app/history_purge_test.go b/cmd/server/app/history_purge_test.go index 83eb9be89f..ad030515fd 100644 --- a/cmd/server/app/history_purge_test.go +++ b/cmd/server/app/history_purge_test.go @@ -25,8 +25,8 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - "github.com/stacklok/minder/internal/db" - dbf "github.com/stacklok/minder/internal/db/fixtures" + "github.com/mindersec/minder/internal/db" + dbf "github.com/mindersec/minder/internal/db/fixtures" ) // This test ensures that the size of these records is kept upder diff --git a/cmd/server/app/migrate_down.go b/cmd/server/app/migrate_down.go index bf43b2bb8b..966aa64cc5 100644 --- a/cmd/server/app/migrate_down.go +++ b/cmd/server/app/migrate_down.go @@ -24,10 +24,10 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/stacklok/minder/database" - "github.com/stacklok/minder/internal/config" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/logger" + "github.com/mindersec/minder/database" + "github.com/mindersec/minder/internal/config" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/logger" ) var downCmd = &cobra.Command{ diff --git a/cmd/server/app/migrate_up.go b/cmd/server/app/migrate_up.go index ae9a81cbfd..60048b979a 100644 --- a/cmd/server/app/migrate_up.go +++ b/cmd/server/app/migrate_up.go @@ -28,11 +28,11 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/stacklok/minder/database" - "github.com/stacklok/minder/internal/authz" - "github.com/stacklok/minder/internal/config" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/logger" + "github.com/mindersec/minder/database" + "github.com/mindersec/minder/internal/authz" + "github.com/mindersec/minder/internal/config" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/logger" ) // upCmd represents the up command diff --git a/cmd/server/app/migrate_version.go b/cmd/server/app/migrate_version.go index f8f408ea33..4654d0bf88 100644 --- a/cmd/server/app/migrate_version.go +++ b/cmd/server/app/migrate_version.go @@ -26,10 +26,10 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/stacklok/minder/database" - "github.com/stacklok/minder/internal/config" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/logger" + "github.com/mindersec/minder/database" + "github.com/mindersec/minder/internal/config" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/logger" ) // versionCmd represents the version command diff --git a/cmd/server/app/root.go b/cmd/server/app/root.go index b8c9ddb08d..1e6fa0e64f 100644 --- a/cmd/server/app/root.go +++ b/cmd/server/app/root.go @@ -25,9 +25,9 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/stacklok/minder/internal/config" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/util/cli" + "github.com/mindersec/minder/internal/config" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/util/cli" ) var ( diff --git a/cmd/server/app/serve.go b/cmd/server/app/serve.go index a364687b7a..94eeec402a 100644 --- a/cmd/server/app/serve.go +++ b/cmd/server/app/serve.go @@ -27,19 +27,19 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/stacklok/minder/internal/auth" - "github.com/stacklok/minder/internal/auth/jwt" - "github.com/stacklok/minder/internal/auth/keycloak" - "github.com/stacklok/minder/internal/authz" - "github.com/stacklok/minder/internal/config" - serverconfig "github.com/stacklok/minder/internal/config/server" - cpmetrics "github.com/stacklok/minder/internal/controlplane/metrics" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/metrics/meters" - "github.com/stacklok/minder/internal/providers/ratecache" - provtelemetry "github.com/stacklok/minder/internal/providers/telemetry" - "github.com/stacklok/minder/internal/service" + "github.com/mindersec/minder/internal/auth" + "github.com/mindersec/minder/internal/auth/jwt" + "github.com/mindersec/minder/internal/auth/keycloak" + "github.com/mindersec/minder/internal/authz" + "github.com/mindersec/minder/internal/config" + serverconfig "github.com/mindersec/minder/internal/config/server" + cpmetrics "github.com/mindersec/minder/internal/controlplane/metrics" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/metrics/meters" + "github.com/mindersec/minder/internal/providers/ratecache" + provtelemetry "github.com/mindersec/minder/internal/providers/telemetry" + "github.com/mindersec/minder/internal/service" ) var serveCmd = &cobra.Command{ diff --git a/cmd/server/app/webhook_update.go b/cmd/server/app/webhook_update.go index 1d050d4b12..646d83a52d 100644 --- a/cmd/server/app/webhook_update.go +++ b/cmd/server/app/webhook_update.go @@ -28,20 +28,20 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "github.com/stacklok/minder/internal/config" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/crypto" - "github.com/stacklok/minder/internal/db" - propssvc "github.com/stacklok/minder/internal/entities/properties/service" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/providers" - ghprovider "github.com/stacklok/minder/internal/providers/github" - "github.com/stacklok/minder/internal/providers/github/clients" - ghmanager "github.com/stacklok/minder/internal/providers/github/manager" - "github.com/stacklok/minder/internal/providers/manager" - "github.com/stacklok/minder/internal/providers/ratecache" - "github.com/stacklok/minder/internal/providers/telemetry" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/config" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/crypto" + "github.com/mindersec/minder/internal/db" + propssvc "github.com/mindersec/minder/internal/entities/properties/service" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/providers" + ghprovider "github.com/mindersec/minder/internal/providers/github" + "github.com/mindersec/minder/internal/providers/github/clients" + ghmanager "github.com/mindersec/minder/internal/providers/github/manager" + "github.com/mindersec/minder/internal/providers/manager" + "github.com/mindersec/minder/internal/providers/ratecache" + "github.com/mindersec/minder/internal/providers/telemetry" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) func cmdWebhookUpdate() *cobra.Command { diff --git a/cmd/server/main.go b/cmd/server/main.go index 58151d029d..6a0016cd32 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -16,7 +16,7 @@ // Package main provides the entrypoint for the minder server package main -import "github.com/stacklok/minder/cmd/server/app" +import "github.com/mindersec/minder/cmd/server/app" func main() { app.Execute() diff --git a/cmd/server/main_test.go b/cmd/server/main_test.go index b0554c2d8f..2c6c208c87 100644 --- a/cmd/server/main_test.go +++ b/cmd/server/main_test.go @@ -21,7 +21,7 @@ import ( "github.com/spf13/viper" - "github.com/stacklok/minder/cmd/server/app" + "github.com/mindersec/minder/cmd/server/app" ) type testWriter struct { diff --git a/database/mock/fixtures/store.go b/database/mock/fixtures/store.go index 7096892211..088c90f638 100644 --- a/database/mock/fixtures/store.go +++ b/database/mock/fixtures/store.go @@ -27,8 +27,8 @@ import ( "github.com/google/uuid" "go.uber.org/mock/gomock" - mockdb "github.com/stacklok/minder/database/mock" - "github.com/stacklok/minder/internal/db" + mockdb "github.com/mindersec/minder/database/mock" + "github.com/mindersec/minder/internal/db" ) type ( diff --git a/database/mock/store.go b/database/mock/store.go index 4b482fad89..151799b799 100644 --- a/database/mock/store.go +++ b/database/mock/store.go @@ -1,9 +1,9 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/stacklok/minder/internal/db (interfaces: Store) +// Source: github.com/mindersec/minder/internal/db (interfaces: Store) // // Generated by this command: // -// mockgen -package mockdb -destination database/mock/store.go github.com/stacklok/minder/internal/db Store +// mockgen -package mockdb -destination database/mock/store.go github.com/mindersec/minder/internal/db Store // // Package mockdb is a generated GoMock package. @@ -16,7 +16,7 @@ import ( reflect "reflect" uuid "github.com/google/uuid" - db "github.com/stacklok/minder/internal/db" + db "github.com/mindersec/minder/internal/db" gomock "go.uber.org/mock/gomock" ) diff --git a/deployment/helm/README.md b/deployment/helm/README.md index d37dc14f8b..f2d6da49d4 100644 --- a/deployment/helm/README.md +++ b/deployment/helm/README.md @@ -61,7 +61,7 @@ installed in the namespace specified by your current Kubernetes context. | deploymentSettings.affinity | object, optional | `nil` | Allow configuring pod affinity settings | | deploymentSettings.extraVolumeMounts | array, optional | `nil` | Additional volume mounts | | deploymentSettings.extraVolumes | array, optional | `nil` | Additional volumes to mount | -| deploymentSettings.image | string | `"ko://github.com/stacklok/minder/cmd/server"` | Image to use for the main deployment | +| deploymentSettings.image | string | `"ko://github.com/mindersec/minder/cmd/server"` | Image to use for the main deployment | | deploymentSettings.imagePullPolicy | string | `"IfNotPresent"` | Image pull policy to use for the main deployment | | deploymentSettings.initContainers | array, optional | `nil` | Additional init containers to run | | deploymentSettings.resources | object | `{"limits":{"cpu":4,"memory":"1.5Gi"},"requests":{"cpu":1,"memory":"1Gi"}}` | Resources to use for the main deployment | @@ -85,14 +85,14 @@ installed in the namespace specified by your current Kubernetes context. | ingress.annotations | object, optional | `{}` | annotations to use for the ingress | | migrationSettings.extraVolumeMounts | array, optional | `nil` | Additional volume mounts | | migrationSettings.extraVolumes | array, optional | `nil` | Additional volumes to mount | -| migrationSettings.image | string | `"ko://github.com/stacklok/minder/cmd/server"` | Image to use for the migration job | +| migrationSettings.image | string | `"ko://github.com/mindersec/minder/cmd/server"` | Image to use for the migration job | | migrationSettings.imagePullPolicy | string | `"IfNotPresent"` | Image pull policy to use for the migration job | | migrationSettings.resources | object | `{"limits":{"cpu":1,"memory":"300Mi"},"requests":{"cpu":"200m","memory":"200Mi"}}` | Resources to use for the migration job | | migrationSettings.sidecarContainers | array, optional | `nil` | Additional configuration for sidecar containers | | rotateProviderTokensJobSettings.extraEnv | list | `[]` | | | rotateProviderTokensJobSettings.extraVolumeMounts | list | `[]` | | | rotateProviderTokensJobSettings.extraVolumes | list | `[]` | | -| rotateProviderTokensJobSettings.image | string | `"ko://github.com/stacklok/minder/cmd/server"` | | +| rotateProviderTokensJobSettings.image | string | `"ko://github.com/mindersec/minder/cmd/server"` | | | rotateProviderTokensJobSettings.imagePullPolicy | string | `"IfNotPresent"` | | | rotateProviderTokensJobSettings.resources | object | `{}` | | | rotateProviderTokensJobSettings.restartPolicy | string | `"OnFailure"` | | @@ -108,7 +108,7 @@ installed in the namespace specified by your current Kubernetes context. | sessionExpirationPurgeJobSettings.extraEnv | list | `[]` | | | sessionExpirationPurgeJobSettings.extraVolumeMounts | list | `[]` | | | sessionExpirationPurgeJobSettings.extraVolumes | list | `[]` | | -| sessionExpirationPurgeJobSettings.image | string | `"ko://github.com/stacklok/minder/cmd/server"` | | +| sessionExpirationPurgeJobSettings.image | string | `"ko://github.com/mindersec/minder/cmd/server"` | | | sessionExpirationPurgeJobSettings.imagePullPolicy | string | `"IfNotPresent"` | | | sessionExpirationPurgeJobSettings.resources | object | `{}` | | | sessionExpirationPurgeJobSettings.restartPolicy | string | `"OnFailure"` | | diff --git a/deployment/helm/values.yaml b/deployment/helm/values.yaml index 031e57786f..a6544ad036 100644 --- a/deployment/helm/values.yaml +++ b/deployment/helm/values.yaml @@ -79,7 +79,7 @@ hpaSettings: # Configurable settings for the migration job migrationSettings: # -- (string) Image to use for the migration job - image: ko://github.com/stacklok/minder/cmd/server + image: ko://github.com/mindersec/minder/cmd/server # -- (string) Image pull policy to use for the migration job imagePullPolicy: "IfNotPresent" # -- (object) Resources to use for the migration job @@ -100,7 +100,7 @@ migrationSettings: # Configurable settings for the main deployment deploymentSettings: # -- (string) Image to use for the main deployment - image: ko://github.com/stacklok/minder/cmd/server + image: ko://github.com/mindersec/minder/cmd/server # -- (string) Image pull policy to use for the main deployment imagePullPolicy: "IfNotPresent" # -- (object) Resources to use for the main deployment @@ -145,7 +145,7 @@ deploymentSettings: sessionExpirationPurgeJobSettings: schedule: "0 0 * * *" - image: ko://github.com/stacklok/minder/cmd/server + image: ko://github.com/mindersec/minder/cmd/server restartPolicy: "OnFailure" imagePullPolicy: "IfNotPresent" resources: {} @@ -157,7 +157,7 @@ sessionExpirationPurgeJobSettings: rotateProviderTokensJobSettings: # Run daily a couple of hours after the session expiration purge job schedule: "0 2 * * *" - image: ko://github.com/stacklok/minder/cmd/server + image: ko://github.com/mindersec/minder/cmd/server restartPolicy: "OnFailure" imagePullPolicy: "IfNotPresent" resources: {} diff --git a/docs/docs/about/changelog.md b/docs/docs/about/changelog.md index 2692bf8f3c..e42519f8a5 100644 --- a/docs/docs/about/changelog.md +++ b/docs/docs/about/changelog.md @@ -18,7 +18,7 @@ sidebar_position: 30 Minder can now (optionally) manage all repositories within a GitHub organization, including new repositories that are created. Administrators can continue to select individual repositories to manage. * **Built-in rules** - Apr 6, 2024 - Minder now includes all the rules in our [sample rules repository](https://github.com/stacklok/minder-rules-and-profiles/) in your new projects automatically. This means that you do not need to clone that repository or add those rule types to make use of them. + Minder now includes all the rules in our [sample rules repository](https://github.com/mindersec/minder-rules-and-profiles/) in your new projects automatically. This means that you do not need to clone that repository or add those rule types to make use of them. To use them, prefix the rule name as it exists in the sample rules repository with `stacklok/`. For example: @@ -35,7 +35,7 @@ sidebar_position: 30 enabled: true ``` - You can still define custom rules, or continue to use the rules that exist in the [sample rules repository](https://github.com/stacklok/minder-rules-and-profiles). + You can still define custom rules, or continue to use the rules that exist in the [sample rules repository](https://github.com/mindersec/minder-rules-and-profiles). * **User roles** - Jan 30, 2024 You can now provide access control for users (eg: administrator, editor, viewer) in your project using [built-in roles](../user_management/user_roles.md). diff --git a/docs/docs/about/contributing.md b/docs/docs/about/contributing.md index 7314470a94..a5430e8aa7 100644 --- a/docs/docs/about/contributing.md +++ b/docs/docs/about/contributing.md @@ -7,14 +7,14 @@ sidebar_position: 80 Minder is an open-source project, and we welcome contributions from the community. There are several ways to contribute to Minder, including reporting bugs, suggesting new features, and submitting pull requests with code changes. ## Reporting Security Vulnerabilities -If you think you have found a security vulnerability in Minder please DO NOT disclose it publicly until we’ve had a chance to fix it. Please don’t report security vulnerabilities using GitHub issues; instead, please follow this [process](https://github.com/stacklok/minder/blob/main/SECURITY.md). +If you think you have found a security vulnerability in Minder please DO NOT disclose it publicly until we’ve had a chance to fix it. Please don’t report security vulnerabilities using GitHub issues; instead, please follow this [process](https://github.com/mindersec/minder/blob/main/SECURITY.md). ## Creating GitHub issues -GitHub issues are used to track feature request and bug reports. If you have a general usage question, please ask in [Minder's discussion forum](https://discord.com/invite/RkzVuTp3WK). If you are reporting a bug or requesting a feature, you can create a new issue in the [Minder GitHub repository](https://github.com/stacklok/minder/issues). +GitHub issues are used to track feature request and bug reports. If you have a general usage question, please ask in [Minder's discussion forum](https://discord.com/invite/RkzVuTp3WK). If you are reporting a bug or requesting a feature, you can create a new issue in the [Minder GitHub repository](https://github.com/mindersec/minder/issues). ## Contributing code -If you've found an issue you'd like to work on, you can contribute code to Minder by submitting a pull request. Before you submit a pull request, please review the [Pull request process](https://github.com/stacklok/minder/blob/main/CONTRIBUTING.md#pull-request-process). +If you've found an issue you'd like to work on, you can contribute code to Minder by submitting a pull request. Before you submit a pull request, please review the [Pull request process](https://github.com/mindersec/minder/blob/main/CONTRIBUTING.md#pull-request-process). Thank you for taking the time to contribute to Minder! -The full guide to contributing is available in our [Contributor Guidelines](https://github.com/stacklok/minder/blob/main/CONTRIBUTING.md) in the Minder open-source repository. \ No newline at end of file +The full guide to contributing is available in our [Contributor Guidelines](https://github.com/mindersec/minder/blob/main/CONTRIBUTING.md) in the Minder open-source repository. \ No newline at end of file diff --git a/docs/docs/about/roadmap.md b/docs/docs/about/roadmap.md index bf5e2095ae..918306f4cd 100644 --- a/docs/docs/about/roadmap.md +++ b/docs/docs/about/roadmap.md @@ -10,7 +10,7 @@ This roadmap should serve as a reference point for Minder users and community me ## How to contribute -Have any questions or comments about items on the Minder roadmap? Share your feedback via [Minder GitHub Discussions](https://github.com/stacklok/minder/discussions). +Have any questions or comments about items on the Minder roadmap? Share your feedback via [Minder GitHub Discussions](https://github.com/mindersec/minder/discussions). _Last updated: June 2024_ diff --git a/docs/docs/developer_guide/feature_flags.md b/docs/docs/developer_guide/feature_flags.md index 024521a46e..fde6f367a9 100644 --- a/docs/docs/developer_guide/feature_flags.md +++ b/docs/docs/developer_guide/feature_flags.md @@ -21,19 +21,19 @@ Appropriate usages of feature flags: We expect that feature flags will generally be short-lived (a few months in most cases). There are costs (testing, maintenance, complexity, and general opportunity costs) to maintaining two code paths, so we aim to retire feature flags once the feature is considered "stable". Here are some examples of alternative mechanisms to use for long-term behavior changes: -* **Server Configuration**. See [`internal/config/server`](https://github.com/stacklok/minder/tree/main/internal/config/server) for long-term options that should be on or off at server startup and don't need to change based on the invocation. +* **Server Configuration**. See [`internal/config/server`](https://github.com/mindersec/minder/tree/main/internal/config/server) for long-term options that should be on or off at server startup and don't need to change based on the invocation. -* **Entitlements**. See [`internal/projects/features`](https://github.com/stacklok/minder/tree/main/internal/projects/features) for functionality that should be able to be turned on or off on a per-project basis (for example, for paid customers). +* **Entitlements**. See [`internal/projects/features`](https://github.com/mindersec/minder/tree/main/internal/projects/features) for functionality that should be able to be turned on or off on a per-project basis (for example, for paid customers). ## How to Use Feature Flags -If you're working on a new Minder feature and want to merge it incrementally, check out [this code (linked to commit)](https://github.com/stacklok/minder/blob/d8f7d5709540bd33a2200adc2dbd330bbeceae86/internal/controlplane/handlers_authz.go#L222) for an example. The process is basically: +If you're working on a new Minder feature and want to merge it incrementally, check out [this code (linked to commit)](https://github.com/mindersec/minder/blob/d8f7d5709540bd33a2200adc2dbd330bbeceae86/internal/controlplane/handlers_authz.go#L222) for an example. The process is basically: -1. Add a feature flag declaration to [`internal/flags/constants.go`](https://github.com/stacklok/minder/blob/main/internal/flags/constants.go) +1. Add a feature flag declaration to [`internal/flags/constants.go`](https://github.com/mindersec/minder/blob/main/internal/flags/constants.go) 1. At the call site(s), put the new functionality behind `if flags.Bool(ctx, s.featureFlags, flags.MyFlagName) {...` -1. You can use the [`flags.FakeClient`](https://github.com/stacklok/minder/blob/main/internal/flags/test_client.go) in tests to test the new code path as well as the old one. +1. You can use the [`flags.FakeClient`](https://github.com/mindersec/minder/blob/main/internal/flags/test_client.go) in tests to test the new code path as well as the old one. Using `flags.Bool` from our own repo will enable a couple bits of default behavior over OpenFeature: diff --git a/docs/docs/developer_guide/get-hacking.md b/docs/docs/developer_guide/get-hacking.md index d8a23df9c6..4a685176a3 100644 --- a/docs/docs/developer_guide/get-hacking.md +++ b/docs/docs/developer_guide/get-hacking.md @@ -25,9 +25,9 @@ go run cmd/cli/main.go --help ## APIs -The APIs are defined in protobuf [here](https://github.com/stacklok/minder/blob/main/proto/minder/v1/minder.proto). +The APIs are defined in protobuf [here](https://github.com/mindersec/minder/blob/main/proto/minder/v1/minder.proto). -An OpenAPI / swagger spec is generated to [here](https://github.com/stacklok/minder/blob/main/pkg/api/openapi/proto/minder/v1/minder.swagger.json) +An OpenAPI / swagger spec is generated to [here](https://github.com/mindersec/minder/blob/main/pkg/api/openapi/proto/minder/v1/minder.swagger.json) It can be accessed over gRPC or HTTP using [gprc-gateway](https://grpc-ecosystem.github.io/grpc-gateway/). diff --git a/docs/docs/getting_started/first_profile.md b/docs/docs/getting_started/first_profile.md index deac411e31..3760538de2 100644 --- a/docs/docs/getting_started/first_profile.md +++ b/docs/docs/getting_started/first_profile.md @@ -21,13 +21,13 @@ In this example, Minder will scan the repositories that you've registered and id ### Adding rule types -In Minder, the rule type configuration is completely flexible, and you can author them yourself. Because of this, your Minder organization does not have any rule types configured when you create it. You need to configure some, and you can upload some of Minder's already created rules from the [minder-rules-and-profiles repository](https://github.com/stacklok/minder-rules-and-profiles). +In Minder, the rule type configuration is completely flexible, and you can author them yourself. Because of this, your Minder organization does not have any rule types configured when you create it. You need to configure some, and you can upload some of Minder's already created rules from the [minder-rules-and-profiles repository](https://github.com/mindersec/minder-rules-and-profiles). -For example, to add a rule type that ensures that secret scanning is enabled, and one that ensures that secret push protection is enabled, you can download the [secret_scanning.yaml](https://github.com/stacklok/minder-rules-and-profiles/blob/main/rule-types/github/secret_scanning.yaml) and [secret_push_protection.yaml](https://github.com/stacklok/minder-rules-and-profiles/blob/main/rule-types/github/secret_push_protection.yaml) rule types. +For example, to add a rule type that ensures that secret scanning is enabled, and one that ensures that secret push protection is enabled, you can download the [secret_scanning.yaml](https://github.com/mindersec/minder-rules-and-profiles/blob/main/rule-types/github/secret_scanning.yaml) and [secret_push_protection.yaml](https://github.com/mindersec/minder-rules-and-profiles/blob/main/rule-types/github/secret_push_protection.yaml) rule types. ```bash -curl -LO https://raw.githubusercontent.com/stacklok/minder-rules-and-profiles/main/rule-types/github/secret_scanning.yaml -curl -LO https://raw.githubusercontent.com/stacklok/minder-rules-and-profiles/main/rule-types/github/secret_push_protection.yaml +curl -LO https://raw.githubusercontent.com/mindersec/minder-rules-and-profiles/main/rule-types/github/secret_scanning.yaml +curl -LO https://raw.githubusercontent.com/mindersec/minder-rules-and-profiles/main/rule-types/github/secret_push_protection.yaml ``` Once you've downloaded the rule type configuration from GitHub, you can upload them to your Minder organization. diff --git a/docs/docs/getting_started/install_cli.md b/docs/docs/getting_started/install_cli.md index cbd7fccdae..98f3ef7669 100644 --- a/docs/docs/getting_started/install_cli.md +++ b/docs/docs/getting_started/install_cli.md @@ -19,7 +19,7 @@ The easiest way to install `minder` for macOS systems is through [Homebrew](http brew install stacklok/tap/minder ``` -Alternatively, you can [download a `.tar.gz` release](https://github.com/stacklok/minder/releases) and unpack it with the following: +Alternatively, you can [download a `.tar.gz` release](https://github.com/mindersec/minder/releases) and unpack it with the following: ```bash tar -xzf minder_${RELEASE}_darwin_${ARCH}.tar.gz minder @@ -34,12 +34,12 @@ For Windows, the built-in `winget` tool is the easiest way to install `minder`: winget install stacklok.minder ``` -Alternatively, you can [download a zipfile containing the `minder` CLI](https://github.com/stacklok/minder/releases) and install the binary yourself. +Alternatively, you can [download a zipfile containing the `minder` CLI](https://github.com/mindersec/minder/releases) and install the binary yourself. ## Linux -We provide pre-built static binaries for Linux at: https://github.com/stacklok/minder/releases. +We provide pre-built static binaries for Linux at: https://github.com/mindersec/minder/releases. ## Building from source -You can also build the `minder` CLI from source using `go install github.com/stacklok/minder/cmd/cli@latest`, or by [following the build instructions in the repository](https://github.com/stacklok/minder#build-from-source). +You can also build the `minder` CLI from source using `go install github.com/mindersec/minder/cmd/cli@latest`, or by [following the build instructions in the repository](https://github.com/mindersec/minder#build-from-source). diff --git a/docs/docs/getting_started/quickstart.md b/docs/docs/getting_started/quickstart.md index 734a92833a..3fc5cb52ca 100644 --- a/docs/docs/getting_started/quickstart.md +++ b/docs/docs/getting_started/quickstart.md @@ -43,7 +43,7 @@ This step will upload the `secret_scanning` rule type to the server. A _rule type_ is a definition of an individual security setting and how to evaluate it; for example, the `secret_scanning` rule type contains the logic to query GitHub and evaluate whether secret scanning is enabled for an individual repository. -Minder allows you to build custom rule types, or use [one of our pre-defined rule types](https://github.com/stacklok/minder-rules-and-profiles/pulls). But in either case, these rules must be uploaded to the Minder server before you can use them. +Minder allows you to build custom rule types, or use [one of our pre-defined rule types](https://github.com/mindersec/minder-rules-and-profiles/pulls). But in either case, these rules must be uploaded to the Minder server before you can use them. #### Create the `quickstart` profile @@ -74,7 +74,7 @@ where you can manage your registered repositories, create profiles, rules and mu configured consistently and securely. * [Register more repositories](register_repos) to take advantage of Minder for more of your organization -* [Add additional rules and profiles](first_profile) to define your full security profile for your organization; you can see all of Minder's ready-to-use rules and example profiles [on GitHub](https://github.com/stacklok/minder-rules-and-profiles). +* [Add additional rules and profiles](first_profile) to define your full security profile for your organization; you can see all of Minder's ready-to-use rules and example profiles [on GitHub](https://github.com/mindersec/minder-rules-and-profiles). In case there's something you don't find there yet, Minder is designed to be extensible. This allows for users to create their own custom rule types and profiles and ensure the specifics of their security posture are attested to. @@ -83,5 +83,5 @@ In case there's something you don't find there yet, Minder is designed to be ext For more information about `minder`, see: * `minder` CLI commands - [Docs](https://minder-docs.stacklok.dev/ref/cli/minder). * `minder` REST API Documentation - [Docs](https://minder-docs.stacklok.dev/ref/api). -* `minder` rules and profiles maintained by Minder's team - [GitHub](https://github.com/stacklok/minder-rules-and-profiles). +* `minder` rules and profiles maintained by Minder's team - [GitHub](https://github.com/mindersec/minder-rules-and-profiles). * Minder documentation - [Docs](https://minder-docs.stacklok.dev). diff --git a/docs/docs/how-to/artifact_signatures.md b/docs/docs/how-to/artifact_signatures.md index c72f62f8c2..10a3dbb5b6 100644 --- a/docs/docs/how-to/artifact_signatures.md +++ b/docs/docs/how-to/artifact_signatures.md @@ -24,10 +24,10 @@ This is done by creating a profile which utilizes the `artifact_signature` ## Create the artifact provenance rule type -Fetch all the reference rules by cloning the [minder-rules-and-profiles repository](https://github.com/stacklok/minder-rules-and-profiles). +Fetch all the reference rules by cloning the [minder-rules-and-profiles repository](https://github.com/mindersec/minder-rules-and-profiles). ``` -git clone https://github.com/stacklok/minder-rules-and-profiles.git +git clone https://github.com/mindersec/minder-rules-and-profiles.git ``` In that directory you can find all the reference rules and profiles. diff --git a/docs/docs/how-to/create_profile.md b/docs/docs/how-to/create_profile.md index 1d71dda64a..2c9eb290dc 100644 --- a/docs/docs/how-to/create_profile.md +++ b/docs/docs/how-to/create_profile.md @@ -16,10 +16,10 @@ The first step to creating a profile is to create the rules that your profile wi The Minder team has provided several reference rules for common use cases. To get started quickly, create a rule from the set of references. -Fetch all the reference rules by cloning the [minder-rules-and-profiles repository](https://github.com/stacklok/minder-rules-and-profiles). +Fetch all the reference rules by cloning the [minder-rules-and-profiles repository](https://github.com/mindersec/minder-rules-and-profiles). ``` -git clone https://github.com/stacklok/minder-rules-and-profiles.git +git clone https://github.com/mindersec/minder-rules-and-profiles.git ``` In that directory you can find all the reference rules and profiles. @@ -361,4 +361,4 @@ repository: ``` You can find the rule definitions used above and many profile examples at -[minder-rules-and-profiles](https://github.com/stacklok/minder-rules-and-profiles) repository. +[minder-rules-and-profiles](https://github.com/mindersec/minder-rules-and-profiles) repository. diff --git a/docs/docs/how-to/custom-rules.md b/docs/docs/how-to/custom-rules.md index 832a871cf2..b909c49795 100644 --- a/docs/docs/how-to/custom-rules.md +++ b/docs/docs/how-to/custom-rules.md @@ -10,7 +10,7 @@ Minder's policy engine is flexible enough that you can write your own rule types Minder allows you to check and enforce that certain settings are set up for several stages in your supply chain. To configure those settings, you need to create a Profile. This profile is composed of several rules that represent the settings you want in your supply chain. These rules are actually instantiations of another handy object for Minder called Rule Types. These rule types define the nitty-gritty details of how the specific setting you care about will be checked, how you'll be alerted when something goes out of order, and how it will be automatically remediated. -You can browse a curated collection of rule types in the [rules and profiles repository])(https://github.com/stacklok/minder-rules-and-profiles). +You can browse a curated collection of rule types in the [rules and profiles repository])(https://github.com/mindersec/minder-rules-and-profiles). Some of the rules include: @@ -171,7 +171,7 @@ guidance: | ## Trying the rule out -The whole rule can be seen in the [Rules and Profiles GitHub repository](https://github.com/stacklok/minder-rules-and-profiles). In order to try it out, we’ll use the minder CLI, which points to the Minder server hosted by your friends at Stacklok. +The whole rule can be seen in the [Rules and Profiles GitHub repository](https://github.com/mindersec/minder-rules-and-profiles). In order to try it out, we’ll use the minder CLI, which points to the Minder server hosted by your friends at Stacklok. Before continuing, make sure you use our Quickstart to install the CLI and enroll your GitHub repos. diff --git a/docs/docs/how-to/manage_profiles.md b/docs/docs/how-to/manage_profiles.md index 0105e4577f..2ed8a831c0 100644 --- a/docs/docs/how-to/manage_profiles.md +++ b/docs/docs/how-to/manage_profiles.md @@ -29,7 +29,7 @@ repository: required_approving_review_count: 2 ``` -The full example is available in the [examples directory](https://github.com/stacklok/minder-rules-and-profiles). +The full example is available in the [examples directory](https://github.com/mindersec/minder-rules-and-profiles). This profile is checking that secret scanning is enabled for all repositories and that the `main` branch is protected, requiring at least two approvals from code owners before landing a pull request. @@ -119,7 +119,7 @@ def: ``` -The full example is available in the [examples directory](https://github.com/stacklok/minder-rules-and-profiles) +The full example is available in the [examples directory](https://github.com/mindersec/minder-rules-and-profiles) This rule type is checking that secret scanning is enabled for all repositories. diff --git a/docs/docs/how-to/mindev.md b/docs/docs/how-to/mindev.md index e42e2629fa..0737cbce34 100644 --- a/docs/docs/how-to/mindev.md +++ b/docs/docs/how-to/mindev.md @@ -4,7 +4,7 @@ sidebar_position: 120 # Using Mindev to develop and debug rule types -[Mindev](https://github.com/stacklok/minder/tree/main/cmd/dev) is a tool that helps you develop and debug rule types for Minder. It provides a way to run rule types locally and test them against your codebase. +[Mindev](https://github.com/mindersec/minder/tree/main/cmd/dev) is a tool that helps you develop and debug rule types for Minder. It provides a way to run rule types locally and test them against your codebase. While it contains more utilities, this guide focuses on using Mindev to develop and debug rule types. @@ -89,7 +89,7 @@ export AUTH_TOKEN=your_token Let's evaluate if the `minder` repository has set up dependabot for golang dependencies correctly. -We can get the necessary rule type from the [minder rules and profiles repo](https://github.com/stacklok/minder-rules-and-profiles). +We can get the necessary rule type from the [minder rules and profiles repo](https://github.com/mindersec/minder-rules-and-profiles). We'll create a file called `entity.yaml` with the following content: @@ -98,7 +98,7 @@ We'll create a file called `entity.yaml` with the following content: name: minder owner: stacklok repo_id: 624056558 -clone_url: https://github.com/stacklok/minder.git +clone_url: https://github.com/mindersec/minder.git default_branch: main ``` @@ -123,7 +123,7 @@ repository: apply_if_file: go.mod ``` -This is already available in the [minder rules and profiles repo](https://github.com/stacklok/minder-rules-and-profiles/blob/main/profiles/github/dependabot_go.yaml). +This is already available in the [minder rules and profiles repo](https://github.com/mindersec/minder-rules-and-profiles/blob/main/profiles/github/dependabot_go.yaml). Let's set up authentication: diff --git a/docs/docs/how-to/pr_reviews.md b/docs/docs/how-to/pr_reviews.md index 990ad9db92..48bb2b9e1f 100644 --- a/docs/docs/how-to/pr_reviews.md +++ b/docs/docs/how-to/pr_reviews.md @@ -27,10 +27,10 @@ be passing. This is a reference rule provider by the Minder team. -Fetch all the reference rules by cloning the [minder-rules-and-profiles repository](https://github.com/stacklok/minder-rules-and-profiles). +Fetch all the reference rules by cloning the [minder-rules-and-profiles repository](https://github.com/mindersec/minder-rules-and-profiles). ``` -git clone https://github.com/stacklok/minder-rules-and-profiles.git +git clone https://github.com/mindersec/minder-rules-and-profiles.git ``` In that directory you can find all the reference rules and profiles. diff --git a/docs/docs/how-to/profile_selectors.md b/docs/docs/how-to/profile_selectors.md index c7fc95669b..b1e1d9521d 100644 --- a/docs/docs/how-to/profile_selectors.md +++ b/docs/docs/how-to/profile_selectors.md @@ -59,7 +59,7 @@ Selectors for repositories allow you to filter and manage repositories based on | Field | Description | Type | |--------------|-------------------------------------------------------------------------------------------------------|------------------| -| `name` | The full name of the repository, e.g. stacklok/minder | string | +| `name` | The full name of the repository, e.g. mindersec/minder | string | | `is_fork` | `true` if the repository is a fork, `nil` if unknown or not applicable to this provider | bool | | `is_private` | `true` if the repository is private, `nil` if unknown or not applicable to this provider | bool | | `provider` | The provider of the repository, for more details see [Provider Selectors](#entity-provider-selectors) | ProviderSelector | @@ -79,7 +79,7 @@ Selectors for repositories allow you to filter and manage repositories based on | Field | Description | Type | |------------|-----------------------------------------------------------------------------------------------------|------------------| -| `name` | The full name of the artifact, e.g. stacklok/minder-server | string | +| `name` | The full name of the artifact, e.g. mindersec/minder-server | string | | `type` | The type of the artifact, e.g. "container" | string | | `provider` | The provider of the artifact, for more details see [Provider Selectors](#entity-provider-selectors) | ProviderSelector | @@ -92,7 +92,7 @@ Selectors for repositories allow you to filter and manage repositories based on | `github/type` | The type of the artifact, e.g. "container" | string | | `github/visibility` | The visibility of the artifact, e.g. "public" | string | | `github/owner` | The full name of the artifact owner. Can be a repo or an org. | string | -| `github/repo` | The github repo full name (e.g. `stacklok/minder`). Empty for org packages. | string | +| `github/repo` | The github repo full name (e.g. `mindersec/minder`). Empty for org packages. | string | | `github/repo_name` | The github repo name (e.g. `stacklok`). Empty for org packages. | string | | `github/repo_owner` | The github repo owner (e.g. `minder`). Empty for org packages. | string | @@ -100,7 +100,7 @@ Selectors for repositories allow you to filter and manage repositories based on | Field | Description | Type | |--------|-------------------------------------------------------------|--------| -| `name` | The full name of the pull request, e.g. stacklok/minder/123 | string | +| `name` | The full name of the pull request, e.g. mindersec/minder/123 | string | ## Pull request properties set by the GitHub provider diff --git a/docs/docs/how-to/remediate-pullrequest.md b/docs/docs/how-to/remediate-pullrequest.md index 58ba070ae8..9d3a426074 100644 --- a/docs/docs/how-to/remediate-pullrequest.md +++ b/docs/docs/how-to/remediate-pullrequest.md @@ -35,10 +35,10 @@ In this example, we will use a rule type that checks if a repository has Dependa will create a pull request that enables Dependabot. The rule type is called `dependabot_configured.yaml` and is one of the reference rule types provided by the Minder team. -Fetch all the reference rules by cloning the [minder-rules-and-profiles repository](https://github.com/stacklok/minder-rules-and-profiles). +Fetch all the reference rules by cloning the [minder-rules-and-profiles repository](https://github.com/mindersec/minder-rules-and-profiles). ```bash -git clone https://github.com/stacklok/minder-rules-and-profiles.git +git clone https://github.com/mindersec/minder-rules-and-profiles.git ``` In that directory, you can find all the reference rules and profiles. diff --git a/docs/docs/how-to/setup-alerts.md b/docs/docs/how-to/setup-alerts.md index f6c6129770..4c2f4b54a2 100644 --- a/docs/docs/how-to/setup-alerts.md +++ b/docs/docs/how-to/setup-alerts.md @@ -27,10 +27,10 @@ present, Minder will create an alert notifying the owner of the repository. The is one of the reference rule types provided by the Minder team. Details, such as the severity of the alert are defined in the `alert` section of the rule type definition. -Fetch all the reference rules by cloning the [minder-rules-and-profiles repository](https://github.com/stacklok/minder-rules-and-profiles). +Fetch all the reference rules by cloning the [minder-rules-and-profiles repository](https://github.com/mindersec/minder-rules-and-profiles). ```bash -git clone https://github.com/stacklok/minder-rules-and-profiles.git +git clone https://github.com/mindersec/minder-rules-and-profiles.git ``` In that directory, you can find all the reference rules and profiles. diff --git a/docs/docs/how-to/setup-autoremediation.md b/docs/docs/how-to/setup-autoremediation.md index 665664b681..35cc8fb976 100644 --- a/docs/docs/how-to/setup-autoremediation.md +++ b/docs/docs/how-to/setup-autoremediation.md @@ -26,10 +26,10 @@ and disable it. The rule type is called `branch_protection_allow_force_pushes.yaml` and is one of the reference rule types provided by the Minder team. -Fetch all the reference rules by cloning the [minder-rules-and-profiles repository](https://github.com/stacklok/minder-rules-and-profiles). +Fetch all the reference rules by cloning the [minder-rules-and-profiles repository](https://github.com/mindersec/minder-rules-and-profiles). ```bash -git clone https://github.com/stacklok/minder-rules-and-profiles.git +git clone https://github.com/mindersec/minder-rules-and-profiles.git ``` In that directory, you can find all the reference rules and profiles. diff --git a/docs/docs/how-to/writing-rules-in-rego.md b/docs/docs/how-to/writing-rules-in-rego.md index 865b7da243..fabdd8c8b3 100644 --- a/docs/docs/how-to/writing-rules-in-rego.md +++ b/docs/docs/how-to/writing-rules-in-rego.md @@ -301,7 +301,7 @@ This verifies that a repository does not have untriaged security advisories with ## Linting -In order to enforce correctness and best practices for our rule types, we have a command-line utility called [mindev](https://github.com/stacklok/minder/tree/main/cmd/dev) that has a lint sub-command. +In order to enforce correctness and best practices for our rule types, we have a command-line utility called [mindev](https://github.com/mindersec/minder/tree/main/cmd/dev) that has a lint sub-command. You can run it by doing the following from the Minder repository: @@ -319,4 +319,4 @@ This introductory guide provides a foundation for leveraging Rego and Minder to Minder is constantly evolving, so don’t be surprised if we soon add more custom functions or even more evaluation engines! The project is in full steam and more features are coming! -[You can see a list of rule types that we actively maintain here.](https://github.com/stacklok/minder-rules-and-profiles) +[You can see a list of rule types that we actively maintain here.](https://github.com/mindersec/minder-rules-and-profiles) diff --git a/docs/docs/integrations/trusty.md b/docs/docs/integrations/trusty.md index fbf558079f..0fa9034743 100644 --- a/docs/docs/integrations/trusty.md +++ b/docs/docs/integrations/trusty.md @@ -23,10 +23,10 @@ Once you have [a Minder account](../getting_started/login.md), you can create a The rule type is one of the reference rule types provided by the Minder team. -Fetch all the reference rules by cloning the [minder-rules-and-profiles repository](https://github.com/stacklok/minder-rules-and-profiles). +Fetch all the reference rules by cloning the [minder-rules-and-profiles repository](https://github.com/mindersec/minder-rules-and-profiles). ```bash -git clone https://github.com/stacklok/minder-rules-and-profiles.git +git clone https://github.com/mindersec/minder-rules-and-profiles.git ``` In that directory, you can find all the reference rules and profiles. diff --git a/docs/docs/run_minder_server/installing_minder.md b/docs/docs/run_minder_server/installing_minder.md index 04567d515a..8a4edf414c 100644 --- a/docs/docs/run_minder_server/installing_minder.md +++ b/docs/docs/run_minder_server/installing_minder.md @@ -20,7 +20,7 @@ After the installation of Keycloak, there are specific settings and configuratio 2) **Client Setup:** Create two separate clients within the realm: - **minder-cli:** A client for command-line interactions. - **minder-server:** A client for server-side operations. -3) Identity Provider Linkage: Connect your chosen Identity Provider (e.g., GitHub, Google) to Keycloak. To facilitate this process, you may use the initialization script available at [Minder Identity Initialization Script](https://github.com/stacklok/minder/blob/main/identity/scripts/initialize.sh). +3) Identity Provider Linkage: Connect your chosen Identity Provider (e.g., GitHub, Google) to Keycloak. To facilitate this process, you may use the initialization script available at [Minder Identity Initialization Script](https://github.com/mindersec/minder/blob/main/identity/scripts/initialize.sh). ## Postgres Installation Minder requires a dedicated Postgres database to store its operational data. The database must have a dedicated user with the necessary privileges and credentials. @@ -31,7 +31,7 @@ It is recommended to use two distinct database users: - One for the Minder server operations. - Another solely for database migrations. -You can find our database migration scripts at [Minder Database Migrations](https://github.com/stacklok/minder/tree/main/database/migrations). +You can find our database migration scripts at [Minder Database Migrations](https://github.com/mindersec/minder/tree/main/database/migrations). ## Ingress Configuration Your ingress controller must be capable of handling both gRPC and HTTP/1 protocols. @@ -70,7 +70,7 @@ Deploy Minder on Kubernetes | db.host | string | `"postgres.postgres"` | Hostname for the database where Minder will store its data | | deploymentSettings.extraVolumeMounts | string | `nil` | Additional volume mounts for the deployment | | deploymentSettings.extraVolumes | string | `nil` | Additional volumes to mount into the deployment | -| deploymentSettings.image | string | `"ko://github.com/stacklok/minder/cmd/server"` | Image to use for the main Minder deployment | +| deploymentSettings.image | string | `"ko://github.com/mindersec/minder/cmd/server"` | Image to use for the main Minder deployment | | deploymentSettings.imagePullPolicy | string | `"IfNotPresent"` | Image pull policy for the main deployment | | deploymentSettings.resources | object | `{"limits":{"cpu":4,"memory":"1.5Gi"},"requests":{"cpu":1,"memory":"1Gi"}}` | Compute resource requests and limits for the main deployment | | deploymentSettings.secrets | object | `{"appSecretName":"minder-github-secrets","authSecretName":"minder-auth-secrets","identitySecretName":"minder-identity-secrets"}` | Names of the secrets for various Minder components | @@ -79,7 +79,7 @@ Deploy Minder on Kubernetes | hpaSettings.metrics | object | `{"cpu":{"targetAverageUtilization":60}}` | Target CPU utilization percentage for HPA to scale | | hpaSettings.minReplicas | int | `1` | Minimum number of replicas for HPA | | ingress.annotations | object | `{}` | Ingress annotations | -| migrationSettings.image | string | `"ko://github.com/stacklok/minder/cmd/server"` | Image to use for the migration jobs | +| migrationSettings.image | string | `"ko://github.com/mindersec/minder/cmd/server"` | Image to use for the migration jobs | | migrationSettings.imagePullPolicy | string | `"IfNotPresent"` | Image pull policy for the migration jobs | | migrationSettings.resources | object | `{"limits":{"cpu":1,"memory":"300Mi"},"requests":{"cpu":"200m","memory":"200Mi"}}` | Compute resource requests and limits for the migration jobs | | service.grpcPort | int | `8090` | GRPC port for the service to listen on | diff --git a/docs/docs/run_minder_server/run_the_server.md b/docs/docs/run_minder_server/run_the_server.md index 6a4388bb84..05beac5658 100644 --- a/docs/docs/run_minder_server/run_the_server.md +++ b/docs/docs/run_minder_server/run_the_server.md @@ -30,7 +30,7 @@ Once you complete this guide, you will have a Minder server built from source an Begin by cloning the Minder repository to get the latest source code. ```bash -git clone git@github.com:stacklok/minder.git +git clone git@github.com:mindersec/minder.git cd minder ``` @@ -112,9 +112,9 @@ Congratulations! You've set up a Minder server! Now you're all ready to contribu For more information about the development process, please see the [Developer Guide](https://minder-docs.stacklok.dev/developer_guide/get-hacking). -For more information on contributing, please see our [Contributing Guide](https://github.com/stacklok/minder/blob/main/CONTRIBUTING.md). +For more information on contributing, please see our [Contributing Guide](https://github.com/mindersec/minder/blob/main/CONTRIBUTING.md). -A list of good first issues can be found in the [Minder GitHub project](https://github.com/stacklok/minder/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22good%20first%20issue%22). +A list of good first issues can be found in the [Minder GitHub project](https://github.com/mindersec/minder/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22good%20first%20issue%22). ## Optional Steps diff --git a/docs/docs/understand/profiles.md b/docs/docs/understand/profiles.md index de17324451..0e710dd798 100644 --- a/docs/docs/understand/profiles.md +++ b/docs/docs/understand/profiles.md @@ -21,7 +21,7 @@ As of time of writing, Minder supports the following evaluation engines: Each engine is designed to be extensible, allowing you to integrate your own logic and processes. -Stacklok has published [a set of example profiles on GitHub](https://github.com/stacklok/minder-rules-and-profiles/tree/main/profiles/github); see [Managing Profiles](../how-to/manage_profiles.md) for more details on how to set up profiles and rule types. +Stacklok has published [a set of example profiles on GitHub](https://github.com/mindersec/minder-rules-and-profiles/tree/main/profiles/github); see [Managing Profiles](../how-to/manage_profiles.md) for more details on how to set up profiles and rule types. ## Rules @@ -50,7 +50,7 @@ def: default: true ``` -You can find a list of available rules in the [https://github.com/stacklok/minder-rules-and-profiles](https://github.com/stacklok/minder-rules-and-profiles/tree/main/rule-types/github) repository. +You can find a list of available rules in the [https://github.com/mindersec/minder-rules-and-profiles](https://github.com/mindersec/minder-rules-and-profiles/tree/main/rule-types/github) repository. ## Actions diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 58ebafd6a1..aac24167ba 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -109,7 +109,7 @@ const config = { // position: 'right', // }, { - href: 'https://github.com/stacklok/minder', + href: 'https://github.com/mindersec/minder', label: 'GitHub', position: 'right', }, @@ -132,7 +132,7 @@ const config = { items: [ { label: 'GitHub', - href: 'https://github.com/stacklok/minder', + href: 'https://github.com/mindersec/minder', }, ], }, diff --git a/examples/Makefile b/examples/Makefile index c6cc4a4b22..e5848f35f1 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -23,4 +23,4 @@ clean:: ## clean up environment .PHONY: init-examples init-examples: clean ## clone example rules and profiles - git clone https://github.com/stacklok/minder-rules-and-profiles.git $(MAKEFILE_DIR_LOCATION)rules-and-profiles || true + git clone https://github.com/mindersec/minder-rules-and-profiles.git $(MAKEFILE_DIR_LOCATION)rules-and-profiles || true diff --git a/examples/README.md b/examples/README.md index ede2d6cab9..afce128c52 100644 --- a/examples/README.md +++ b/examples/README.md @@ -2,7 +2,7 @@ ## Bootstrap the examples directory -Run `make init-examples` to clone the examples from the [https://github.com/stacklok/minder-rules-and-profiles](https://github.com/stacklok/minder-rules-and-profiles) +Run `make init-examples` to clone the examples from the [https://github.com/mindersec/minder-rules-and-profiles](https://github.com/mindersec/minder-rules-and-profiles) ```bash make init-examples ``` diff --git a/go.mod b/go.mod index 4b17fc55bc..ea578818db 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/stacklok/minder +module github.com/mindersec/minder go 1.23.1 diff --git a/internal/auth/github.go b/internal/auth/github.go index 0a091bff67..190f480608 100644 --- a/internal/auth/github.go +++ b/internal/auth/github.go @@ -23,7 +23,7 @@ import ( "net/http" "net/url" - "github.com/stacklok/minder/internal/config/server" + "github.com/mindersec/minder/internal/config/server" ) // GetUserForGitHubId looks up a user in Keycloak by their GitHub ID. This is a temporary diff --git a/internal/auth/jwt/fuzz_test.go b/internal/auth/jwt/fuzz_test.go index 5afc80d436..494125cc54 100644 --- a/internal/auth/jwt/fuzz_test.go +++ b/internal/auth/jwt/fuzz_test.go @@ -24,7 +24,7 @@ import ( "github.com/lestrrat-go/jwx/v2/jwk" "go.uber.org/mock/gomock" - mockjwt "github.com/stacklok/minder/internal/auth/jwt/mock" + mockjwt "github.com/mindersec/minder/internal/auth/jwt/mock" ) var ( diff --git a/internal/auth/jwt/jwauth_test.go b/internal/auth/jwt/jwauth_test.go index e544717065..6e8ad82286 100644 --- a/internal/auth/jwt/jwauth_test.go +++ b/internal/auth/jwt/jwauth_test.go @@ -28,7 +28,7 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - mockjwt "github.com/stacklok/minder/internal/auth/jwt/mock" + mockjwt "github.com/mindersec/minder/internal/auth/jwt/mock" ) func TestParseAndValidate(t *testing.T) { diff --git a/internal/auth/jwt/noop/jwtauth.go b/internal/auth/jwt/noop/jwtauth.go index a379059997..ea9318cc67 100644 --- a/internal/auth/jwt/noop/jwtauth.go +++ b/internal/auth/jwt/noop/jwtauth.go @@ -19,7 +19,7 @@ package noop import ( "github.com/lestrrat-go/jwx/v2/jwt/openid" - "github.com/stacklok/minder/internal/auth/jwt" + "github.com/mindersec/minder/internal/auth/jwt" ) type noopJwtValidator struct { diff --git a/internal/auth/keycloak/keycloak.go b/internal/auth/keycloak/keycloak.go index ae7ba501f8..398a1f875c 100644 --- a/internal/auth/keycloak/keycloak.go +++ b/internal/auth/keycloak/keycloak.go @@ -26,10 +26,10 @@ import ( "github.com/lestrrat-go/jwx/v2/jwt" "golang.org/x/oauth2/clientcredentials" - "github.com/stacklok/minder/internal/auth" - "github.com/stacklok/minder/internal/auth/keycloak/client" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/util/ptr" + "github.com/mindersec/minder/internal/auth" + "github.com/mindersec/minder/internal/auth/keycloak/client" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/util/ptr" ) // KeyCloak is an implementation of the auth.IdentityProvider interface. diff --git a/internal/auth/keycloak/keycloak_test.go b/internal/auth/keycloak/keycloak_test.go index 653d173cb9..8299affa41 100644 --- a/internal/auth/keycloak/keycloak_test.go +++ b/internal/auth/keycloak/keycloak_test.go @@ -27,9 +27,9 @@ import ( "github.com/lestrrat-go/jwx/v2/jwt" "github.com/stretchr/testify/assert" - "github.com/stacklok/minder/internal/auth/keycloak/client" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/util/ptr" + "github.com/mindersec/minder/internal/auth/keycloak/client" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/util/ptr" ) func TestKeyCloak_Resolve(t *testing.T) { diff --git a/internal/auth/mock/interface.go b/internal/auth/mock/interface.go index 50fff00ba2..2fc53e3f19 100644 --- a/internal/auth/mock/interface.go +++ b/internal/auth/mock/interface.go @@ -15,7 +15,7 @@ import ( reflect "reflect" jwt "github.com/lestrrat-go/jwx/v2/jwt" - auth "github.com/stacklok/minder/internal/auth" + auth "github.com/mindersec/minder/internal/auth" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/authz/authz.go b/internal/authz/authz.go index 3dec81bdc7..9c5cdc65af 100644 --- a/internal/authz/authz.go +++ b/internal/authz/authz.go @@ -32,9 +32,9 @@ import ( "github.com/rs/zerolog" "k8s.io/client-go/transport" - "github.com/stacklok/minder/internal/auth/jwt" - srvconfig "github.com/stacklok/minder/internal/config/server" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/auth/jwt" + srvconfig "github.com/mindersec/minder/internal/config/server" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var ( diff --git a/internal/authz/authz_test.go b/internal/authz/authz_test.go index 0a87dee027..92d5d27f34 100644 --- a/internal/authz/authz_test.go +++ b/internal/authz/authz_test.go @@ -32,9 +32,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/auth/jwt" - "github.com/stacklok/minder/internal/authz" - srvconfig "github.com/stacklok/minder/internal/config/server" + "github.com/mindersec/minder/internal/auth/jwt" + "github.com/mindersec/minder/internal/authz" + srvconfig "github.com/mindersec/minder/internal/config/server" ) var ( diff --git a/internal/authz/fuzz_test.go b/internal/authz/fuzz_test.go index fe4b9f061b..07c044ad7d 100644 --- a/internal/authz/fuzz_test.go +++ b/internal/authz/fuzz_test.go @@ -22,8 +22,8 @@ import ( "github.com/google/uuid" "github.com/lestrrat-go/jwx/v2/jwt/openid" - "github.com/stacklok/minder/internal/auth/jwt" - "github.com/stacklok/minder/internal/authz" + "github.com/mindersec/minder/internal/auth/jwt" + "github.com/mindersec/minder/internal/authz" ) //nolint:gosec // This test does not validate return values diff --git a/internal/authz/interface.go b/internal/authz/interface.go index 8ccc7c48d6..de151fa7a9 100644 --- a/internal/authz/interface.go +++ b/internal/authz/interface.go @@ -22,7 +22,7 @@ import ( "github.com/google/uuid" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // ErrNotAuthorized is the error returned when a user is not authorized to perform an action diff --git a/internal/authz/mock/noop_authz.go b/internal/authz/mock/noop_authz.go index 6bbb73f609..85e0650eaa 100644 --- a/internal/authz/mock/noop_authz.go +++ b/internal/authz/mock/noop_authz.go @@ -22,8 +22,8 @@ import ( "github.com/google/uuid" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/authz" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/authz" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // NoopClient is a no-op implementation of the authz.Client interface, which always returns diff --git a/internal/authz/mock/simple_authz.go b/internal/authz/mock/simple_authz.go index d39a530f05..d3fbbcfa28 100644 --- a/internal/authz/mock/simple_authz.go +++ b/internal/authz/mock/simple_authz.go @@ -24,8 +24,8 @@ import ( "github.com/google/uuid" "google.golang.org/protobuf/proto" - "github.com/stacklok/minder/internal/authz" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/authz" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // SimpleClient maintains a list of authorized projects, suitable for use in tests. diff --git a/internal/config/client/config.go b/internal/config/client/config.go index aefd8946b1..c5900024cd 100644 --- a/internal/config/client/config.go +++ b/internal/config/client/config.go @@ -20,8 +20,8 @@ import ( "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/stacklok/minder/internal/config" - "github.com/stacklok/minder/internal/constants" + "github.com/mindersec/minder/internal/config" + "github.com/mindersec/minder/internal/constants" ) // Config is the configuration for the minder cli diff --git a/internal/config/client/config_test.go b/internal/config/client/config_test.go index 2012320485..27d0e7d5e7 100644 --- a/internal/config/client/config_test.go +++ b/internal/config/client/config_test.go @@ -23,8 +23,8 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/config" - clientconfig "github.com/stacklok/minder/internal/config/client" + "github.com/mindersec/minder/internal/config" + clientconfig "github.com/mindersec/minder/internal/config/client" ) func TestReadClientConfig(t *testing.T) { diff --git a/internal/config/common.go b/internal/config/common.go index 3e88bdb52c..30989aa2dc 100644 --- a/internal/config/common.go +++ b/internal/config/common.go @@ -29,7 +29,7 @@ import ( "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/stacklok/minder/internal/constants" + "github.com/mindersec/minder/internal/constants" ) // DatabaseConfig is the configuration for the database diff --git a/internal/config/reminder/config.go b/internal/config/reminder/config.go index 113d0d9ab9..0f4953a025 100644 --- a/internal/config/reminder/config.go +++ b/internal/config/reminder/config.go @@ -21,7 +21,7 @@ import ( "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/stacklok/minder/internal/config" + "github.com/mindersec/minder/internal/config" ) // Config contains the configuration for the reminder service diff --git a/internal/config/reminder/config_test.go b/internal/config/reminder/config_test.go index 4889357e55..d13a3eebf6 100644 --- a/internal/config/reminder/config_test.go +++ b/internal/config/reminder/config_test.go @@ -25,8 +25,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/config" - "github.com/stacklok/minder/internal/config/reminder" + "github.com/mindersec/minder/internal/config" + "github.com/mindersec/minder/internal/config/reminder" ) func TestValidateConfig(t *testing.T) { diff --git a/internal/config/reminder/events.go b/internal/config/reminder/events.go index e6ed91e131..aeebbb63e1 100644 --- a/internal/config/reminder/events.go +++ b/internal/config/reminder/events.go @@ -16,7 +16,7 @@ package reminder import ( - "github.com/stacklok/minder/internal/config" + "github.com/mindersec/minder/internal/config" ) // EventConfig is the configuration for reminder's eventing system. diff --git a/internal/config/reminder/recurrence.go b/internal/config/reminder/recurrence.go index f7a6f35235..262756dcf8 100644 --- a/internal/config/reminder/recurrence.go +++ b/internal/config/reminder/recurrence.go @@ -21,7 +21,7 @@ import ( "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/stacklok/minder/internal/config" + "github.com/mindersec/minder/internal/config" ) // RecurrenceConfig contains the configuration for the reminder recurrence diff --git a/internal/config/server/config.go b/internal/config/server/config.go index 7f311eaeff..46ab718025 100644 --- a/internal/config/server/config.go +++ b/internal/config/server/config.go @@ -25,7 +25,7 @@ import ( "github.com/spf13/viper" - "github.com/stacklok/minder/internal/config" + "github.com/mindersec/minder/internal/config" ) // Config is the top-level configuration structure. diff --git a/internal/config/server/config_test.go b/internal/config/server/config_test.go index a21154771d..8aa59464a8 100644 --- a/internal/config/server/config_test.go +++ b/internal/config/server/config_test.go @@ -23,8 +23,8 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/config" - serverconfig "github.com/stacklok/minder/internal/config/server" + "github.com/mindersec/minder/internal/config" + serverconfig "github.com/mindersec/minder/internal/config/server" ) func TestReadValidConfig(t *testing.T) { diff --git a/internal/config/server/events.go b/internal/config/server/events.go index 29cb7d6a7c..fc400d10d3 100644 --- a/internal/config/server/events.go +++ b/internal/config/server/events.go @@ -18,7 +18,7 @@ package server import ( "time" - "github.com/stacklok/minder/internal/config" + "github.com/mindersec/minder/internal/config" ) // EventConfig is the configuration for minder's eventing system. diff --git a/internal/config/server/github_app.go b/internal/config/server/github_app.go index 5c5d0c54ab..2953e17274 100644 --- a/internal/config/server/github_app.go +++ b/internal/config/server/github_app.go @@ -21,7 +21,7 @@ import ( "github.com/golang-jwt/jwt/v4" - "github.com/stacklok/minder/internal/config" + "github.com/mindersec/minder/internal/config" ) // GitHubAppConfig is the configuration for the GitHub App providers diff --git a/internal/config/server/identity.go b/internal/config/server/identity.go index 8c0fd63733..3a31182afd 100644 --- a/internal/config/server/identity.go +++ b/internal/config/server/identity.go @@ -26,7 +26,7 @@ import ( "golang.org/x/oauth2" "golang.org/x/oauth2/clientcredentials" - "github.com/stacklok/minder/internal/config" + "github.com/mindersec/minder/internal/config" ) // IdentityConfigWrapper is the configuration for the identity provider diff --git a/internal/config/server/server.go b/internal/config/server/server.go index 8f8f4d3cd4..ac3de48224 100644 --- a/internal/config/server/server.go +++ b/internal/config/server/server.go @@ -21,7 +21,7 @@ import ( "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/stacklok/minder/internal/config" + "github.com/mindersec/minder/internal/config" ) // HTTPServerConfig is the configuration for the HTTP server diff --git a/internal/controlplane/common.go b/internal/controlplane/common.go index 2bb06f0f31..e26add0e82 100644 --- a/internal/controlplane/common.go +++ b/internal/controlplane/common.go @@ -26,10 +26,10 @@ import ( "github.com/google/uuid" "google.golang.org/grpc/codes" - "github.com/stacklok/minder/internal/engine/engcontext" - "github.com/stacklok/minder/internal/providers/github/clients" - "github.com/stacklok/minder/internal/util" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/engine/engcontext" + "github.com/mindersec/minder/internal/providers/github/clients" + "github.com/mindersec/minder/internal/util" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) const ( diff --git a/internal/controlplane/common_test.go b/internal/controlplane/common_test.go index 56d9e49bab..7875a1ebe1 100644 --- a/internal/controlplane/common_test.go +++ b/internal/controlplane/common_test.go @@ -21,8 +21,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/util/ptr" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/util/ptr" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestGetRemediationURLFromMetadata(t *testing.T) { diff --git a/internal/controlplane/fuzz_test.go b/internal/controlplane/fuzz_test.go index 8c99bbc687..bd80ea8804 100644 --- a/internal/controlplane/fuzz_test.go +++ b/internal/controlplane/fuzz_test.go @@ -29,10 +29,10 @@ import ( "github.com/ThreeDotsLabs/watermill/message" "github.com/google/go-github/v63/github" - "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/controlplane/metrics" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/events" + "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/controlplane/metrics" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/events" ) var eventTypes = [23]string{ diff --git a/internal/controlplane/handlers.go b/internal/controlplane/handlers.go index acafa75f4f..af0ab72422 100644 --- a/internal/controlplane/handlers.go +++ b/internal/controlplane/handlers.go @@ -23,7 +23,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // PaginationLimit is the maximum number of items that can be returned in a single page diff --git a/internal/controlplane/handlers_artifacts.go b/internal/controlplane/handlers_artifacts.go index 9a58b92f69..ac11d0ef4c 100644 --- a/internal/controlplane/handlers_artifacts.go +++ b/internal/controlplane/handlers_artifacts.go @@ -27,12 +27,12 @@ import ( "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/timestamppb" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/engcontext" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/ptr" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/engcontext" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/ptr" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // ListArtifacts lists all artifacts for a given project and provider diff --git a/internal/controlplane/handlers_authz.go b/internal/controlplane/handlers_authz.go index fc17d4a3fd..0dc283e9bf 100644 --- a/internal/controlplane/handlers_authz.go +++ b/internal/controlplane/handlers_authz.go @@ -27,14 +27,14 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/timestamppb" - "github.com/stacklok/minder/internal/auth/jwt" - "github.com/stacklok/minder/internal/authz" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/engcontext" - "github.com/stacklok/minder/internal/flags" - "github.com/stacklok/minder/internal/invites" - "github.com/stacklok/minder/internal/util" - minder "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/auth/jwt" + "github.com/mindersec/minder/internal/authz" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/engcontext" + "github.com/mindersec/minder/internal/flags" + "github.com/mindersec/minder/internal/invites" + "github.com/mindersec/minder/internal/util" + minder "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) type rpcOptionsKey struct{} diff --git a/internal/controlplane/handlers_authz_test.go b/internal/controlplane/handlers_authz_test.go index c43f63bc1d..000868edde 100644 --- a/internal/controlplane/handlers_authz_test.go +++ b/internal/controlplane/handlers_authz_test.go @@ -38,21 +38,21 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/timestamppb" - mockdb "github.com/stacklok/minder/database/mock" - "github.com/stacklok/minder/internal/auth" - authjwt "github.com/stacklok/minder/internal/auth/jwt" - "github.com/stacklok/minder/internal/auth/jwt/noop" - "github.com/stacklok/minder/internal/authz" - "github.com/stacklok/minder/internal/authz/mock" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/engcontext" - "github.com/stacklok/minder/internal/flags" - mockinvites "github.com/stacklok/minder/internal/invites/mock" - "github.com/stacklok/minder/internal/roles" - mockroles "github.com/stacklok/minder/internal/roles/mock" - "github.com/stacklok/minder/internal/util" - minder "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + mockdb "github.com/mindersec/minder/database/mock" + "github.com/mindersec/minder/internal/auth" + authjwt "github.com/mindersec/minder/internal/auth/jwt" + "github.com/mindersec/minder/internal/auth/jwt/noop" + "github.com/mindersec/minder/internal/authz" + "github.com/mindersec/minder/internal/authz/mock" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/engcontext" + "github.com/mindersec/minder/internal/flags" + mockinvites "github.com/mindersec/minder/internal/invites/mock" + "github.com/mindersec/minder/internal/roles" + mockroles "github.com/mindersec/minder/internal/roles/mock" + "github.com/mindersec/minder/internal/util" + minder "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // Mock for HasProtoContext diff --git a/internal/controlplane/handlers_entities.go b/internal/controlplane/handlers_entities.go index 18c921765a..e6d71e4268 100644 --- a/internal/controlplane/handlers_entities.go +++ b/internal/controlplane/handlers_entities.go @@ -24,15 +24,15 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/protobuf/types/known/structpb" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/engcontext" - "github.com/stacklok/minder/internal/entities/properties" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/providers" - "github.com/stacklok/minder/internal/reconcilers/messages" - "github.com/stacklok/minder/internal/util" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/engcontext" + "github.com/mindersec/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/providers" + "github.com/mindersec/minder/internal/reconcilers/messages" + "github.com/mindersec/minder/internal/util" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // ReconcileEntityRegistration reconciles the registration of an entity. diff --git a/internal/controlplane/handlers_entities_test.go b/internal/controlplane/handlers_entities_test.go index c84819e8df..9573bebf7f 100644 --- a/internal/controlplane/handlers_entities_test.go +++ b/internal/controlplane/handlers_entities_test.go @@ -22,14 +22,14 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/engcontext" - mockevents "github.com/stacklok/minder/internal/events/mock" - mockgh "github.com/stacklok/minder/internal/providers/github/mock" - "github.com/stacklok/minder/internal/providers/manager" - mockmanager "github.com/stacklok/minder/internal/providers/manager/mock" - rf "github.com/stacklok/minder/internal/repositories/mock/fixtures" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/engcontext" + mockevents "github.com/mindersec/minder/internal/events/mock" + mockgh "github.com/mindersec/minder/internal/providers/github/mock" + "github.com/mindersec/minder/internal/providers/manager" + mockmanager "github.com/mindersec/minder/internal/providers/manager/mock" + rf "github.com/mindersec/minder/internal/repositories/mock/fixtures" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestServer_ReconcileEntityRegistration(t *testing.T) { diff --git a/internal/controlplane/handlers_evalstatus.go b/internal/controlplane/handlers_evalstatus.go index 62e509d516..0a61489036 100644 --- a/internal/controlplane/handlers_evalstatus.go +++ b/internal/controlplane/handlers_evalstatus.go @@ -29,16 +29,16 @@ import ( "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/timestamppb" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/engcontext" - entmodels "github.com/stacklok/minder/internal/entities/models" - "github.com/stacklok/minder/internal/entities/properties" - propSvc "github.com/stacklok/minder/internal/entities/properties/service" - "github.com/stacklok/minder/internal/history" - ghprop "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/ruletypes" - "github.com/stacklok/minder/internal/util" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/engcontext" + entmodels "github.com/mindersec/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/properties" + propSvc "github.com/mindersec/minder/internal/entities/properties/service" + "github.com/mindersec/minder/internal/history" + ghprop "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/ruletypes" + "github.com/mindersec/minder/internal/util" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) const ( diff --git a/internal/controlplane/handlers_evalstatus_test.go b/internal/controlplane/handlers_evalstatus_test.go index c9e018eb6c..1f5e925f1f 100644 --- a/internal/controlplane/handlers_evalstatus_test.go +++ b/internal/controlplane/handlers_evalstatus_test.go @@ -24,10 +24,10 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/protobuf/types/known/timestamppb" - "github.com/stacklok/minder/internal/db" - entmodels "github.com/stacklok/minder/internal/entities/models" - "github.com/stacklok/minder/internal/history" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + entmodels "github.com/mindersec/minder/internal/entities/models" + "github.com/mindersec/minder/internal/history" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestBuildEvalResultAlertFromLRERow(t *testing.T) { @@ -203,7 +203,7 @@ func TestFromEvaluationHistoryRows(t *testing.T) { entmodels.EntityInstance{ ID: entityid1, Type: minderv1.Entity_ENTITY_REPOSITORIES, - Name: "stacklok/minder", + Name: "mindersec/minder", }, nil), EvalHistoryRow: db.ListEvaluationHistoryRow{ EvaluationID: uuid1, @@ -227,7 +227,7 @@ func TestFromEvaluationHistoryRows(t *testing.T) { entmodels.EntityInstance{ ID: entityid1, Type: minderv1.Entity_ENTITY_REPOSITORIES, - Name: "stacklok/minder", + Name: "mindersec/minder", }, nil), EvalHistoryRow: db.ListEvaluationHistoryRow{ EvaluationID: uuid1, @@ -270,7 +270,7 @@ func TestFromEvaluationHistoryRows(t *testing.T) { entmodels.EntityInstance{ ID: entityid1, Type: minderv1.Entity_ENTITY_REPOSITORIES, - Name: "stacklok/minder", + Name: "mindersec/minder", }, nil), EvalHistoryRow: db.ListEvaluationHistoryRow{ EvaluationID: uuid1, @@ -296,7 +296,7 @@ func TestFromEvaluationHistoryRows(t *testing.T) { entmodels.EntityInstance{ ID: entityid1, Type: minderv1.Entity_ENTITY_REPOSITORIES, - Name: "stacklok/minder", + Name: "mindersec/minder", }, nil), EvalHistoryRow: db.ListEvaluationHistoryRow{ EvaluationID: uuid1, diff --git a/internal/controlplane/handlers_githubwebhooks.go b/internal/controlplane/handlers_githubwebhooks.go index 4cb9a441b9..dad7d80d48 100644 --- a/internal/controlplane/handlers_githubwebhooks.go +++ b/internal/controlplane/handlers_githubwebhooks.go @@ -33,19 +33,19 @@ import ( "github.com/google/uuid" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/controlplane/metrics" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/entities" - entityMessage "github.com/stacklok/minder/internal/entities/handlers/message" - "github.com/stacklok/minder/internal/entities/properties" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/providers/github/clients" - "github.com/stacklok/minder/internal/providers/github/installations" - ghprop "github.com/stacklok/minder/internal/providers/github/properties" - ghsvc "github.com/stacklok/minder/internal/providers/github/service" - "github.com/stacklok/minder/internal/reconcilers/messages" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/controlplane/metrics" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/entities" + entityMessage "github.com/mindersec/minder/internal/entities/handlers/message" + "github.com/mindersec/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/providers/github/clients" + "github.com/mindersec/minder/internal/providers/github/installations" + ghprop "github.com/mindersec/minder/internal/providers/github/properties" + ghsvc "github.com/mindersec/minder/internal/providers/github/service" + "github.com/mindersec/minder/internal/reconcilers/messages" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // errRepoNotFound is returned when a repository is not found diff --git a/internal/controlplane/handlers_githubwebhooks_test.go b/internal/controlplane/handlers_githubwebhooks_test.go index b8288bca72..0e83a991d9 100644 --- a/internal/controlplane/handlers_githubwebhooks_test.go +++ b/internal/controlplane/handlers_githubwebhooks_test.go @@ -43,21 +43,21 @@ import ( "github.com/stretchr/testify/suite" "go.uber.org/mock/gomock" - mockdb "github.com/stacklok/minder/database/mock" - df "github.com/stacklok/minder/database/mock/fixtures" - "github.com/stacklok/minder/internal/db" - entMsg "github.com/stacklok/minder/internal/entities/handlers/message" - "github.com/stacklok/minder/internal/entities/properties" - mock_service "github.com/stacklok/minder/internal/entities/properties/service/mock" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/providers/github/installations" - gf "github.com/stacklok/minder/internal/providers/github/mock/fixtures" - ghprop "github.com/stacklok/minder/internal/providers/github/properties" - pf "github.com/stacklok/minder/internal/providers/manager/mock/fixtures" - "github.com/stacklok/minder/internal/reconcilers/messages" - mock_repos "github.com/stacklok/minder/internal/repositories/mock" - "github.com/stacklok/minder/internal/util/testqueue" - v1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + mockdb "github.com/mindersec/minder/database/mock" + df "github.com/mindersec/minder/database/mock/fixtures" + "github.com/mindersec/minder/internal/db" + entMsg "github.com/mindersec/minder/internal/entities/handlers/message" + "github.com/mindersec/minder/internal/entities/properties" + mock_service "github.com/mindersec/minder/internal/entities/properties/service/mock" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/providers/github/installations" + gf "github.com/mindersec/minder/internal/providers/github/mock/fixtures" + ghprop "github.com/mindersec/minder/internal/providers/github/properties" + pf "github.com/mindersec/minder/internal/providers/manager/mock/fixtures" + "github.com/mindersec/minder/internal/reconcilers/messages" + mock_repos "github.com/mindersec/minder/internal/repositories/mock" + "github.com/mindersec/minder/internal/util/testqueue" + v1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) //go:embed test-payloads/installation-deleted.json @@ -199,7 +199,7 @@ func (s *UnitTestSuite) TestHandleWebHookUnexistentRepository() { Action: github.String("deleted"), Repo: &github.Repository{ ID: github.Int64(12345), - Name: github.String("stacklok/minder"), + Name: github.String("mindersec/minder"), }, Org: &github.Organization{ Login: github.String("stacklok"), @@ -261,7 +261,7 @@ func (s *UnitTestSuite) TestHandleWebHookRepository() { Action: github.String("deleted"), Repo: &github.Repository{ ID: github.Int64(12345), - Name: github.String("stacklok/minder"), + Name: github.String("mindersec/minder"), }, Org: &github.Organization{ Login: github.String("stacklok"), @@ -346,7 +346,7 @@ func (s *UnitTestSuite) TestHandleWebHookUnexistentRepoPackage() { Action: github.String("published"), Repo: &github.Repository{ ID: github.Int64(12345), - Name: github.String("stacklok/minder"), + Name: github.String("mindersec/minder"), }, Org: &github.Organization{ Login: github.String("stacklok"), @@ -435,7 +435,7 @@ func (s *UnitTestSuite) TestHandleWebHookWithTooLargeRequest() { Action: github.String("published"), Repo: &github.Repository{ ID: github.Int64(12345), - Name: github.String("stacklok/minder"), + Name: github.String("mindersec/minder"), }, Org: &github.Organization{ Login: github.String("stacklok"), @@ -490,8 +490,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), Org: &github.Organization{ Login: github.String("stacklok"), @@ -515,8 +515,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), Org: &github.Organization{ Login: github.String("stacklok"), @@ -558,8 +558,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { }, Repo: newRepo( 12345, - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, ghMocks: []func(hubMock gf.GitHubMock){ @@ -586,7 +586,7 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { // https://pkg.go.dev/github.com/google/go-github/v62@v62.0.0/github#PackageEvent rawPayload: []byte(rawPackageEventPublished), ghMocks: []func(hubMock gf.GitHubMock){ - gf.WithSuccessfulGetEntityName("stacklok/minder"), + gf.WithSuccessfulGetEntityName("mindersec/minder"), }, topic: events.TopicQueueOriginatingEntityAdd, statusCode: http.StatusOK, @@ -629,8 +629,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { }, Repo: newRepo( 12345, - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, mockStoreFunc: df.NewMockStore(), @@ -648,8 +648,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, mockStoreFunc: df.NewMockStore(), @@ -721,8 +721,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { }, Repo: &repo{ ID: github.Int64(12345), - FullName: github.String("stacklok/minder"), - HTMLURL: github.String("https://github.com/stacklok/minder"), + FullName: github.String("mindersec/minder"), + HTMLURL: github.String("https://github.com/mindersec/minder"), }, }, mockStoreFunc: df.NewMockStore(), @@ -757,8 +757,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { }, Repo: &repo{ ID: github.Int64(12345), - FullName: github.String("stacklok/minder"), - HTMLURL: github.String("https://github.com/stacklok/minder"), + FullName: github.String("mindersec/minder"), + HTMLURL: github.String("https://github.com/mindersec/minder"), }, }, mockStoreFunc: df.NewMockStore(), @@ -790,8 +790,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { }, Repo: &repo{ ID: github.Int64(12345), - FullName: github.String("stacklok/minder"), - HTMLURL: github.String("https://github.com/stacklok/minder"), + FullName: github.String("mindersec/minder"), + HTMLURL: github.String("https://github.com/mindersec/minder"), }, }, mockStoreFunc: df.NewMockStore(), @@ -873,8 +873,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { }, Repo: &repo{ ID: github.Int64(12345), - FullName: github.String("stacklok/minder"), - HTMLURL: github.String("https://github.com/stacklok/minder"), + FullName: github.String("mindersec/minder"), + HTMLURL: github.String("https://github.com/mindersec/minder"), }, }, mockStoreFunc: df.NewMockStore(), @@ -909,8 +909,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { }, Repo: &repo{ ID: github.Int64(12345), - FullName: github.String("stacklok/minder"), - HTMLURL: github.String("https://github.com/stacklok/minder"), + FullName: github.String("mindersec/minder"), + HTMLURL: github.String("https://github.com/mindersec/minder"), }, }, mockStoreFunc: df.NewMockStore(), @@ -942,8 +942,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { }, Repo: &repo{ ID: github.Int64(12345), - FullName: github.String("stacklok/minder"), - HTMLURL: github.String("https://github.com/stacklok/minder"), + FullName: github.String("mindersec/minder"), + HTMLURL: github.String("https://github.com/mindersec/minder"), }, }, mockStoreFunc: df.NewMockStore(), @@ -974,8 +974,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueGetEntityAndDelete, @@ -1010,8 +1010,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueGetEntityAndDelete, @@ -1049,8 +1049,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueGetEntityAndDelete, @@ -1084,8 +1084,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1112,8 +1112,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1140,8 +1140,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1168,8 +1168,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1195,8 +1195,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1223,8 +1223,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1250,8 +1250,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1278,8 +1278,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1311,8 +1311,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1343,8 +1343,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueGetEntityAndDelete, @@ -1375,8 +1375,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: &github.Repository{ ID: github.Int64(12345), Name: github.String("minder"), - FullName: github.String("stacklok/minder"), - HTMLURL: github.String("https://github.com/stacklok/minder"), + FullName: github.String("mindersec/minder"), + HTMLURL: github.String("https://github.com/mindersec/minder"), }, }, topic: events.TopicQueueGetEntityAndDelete, @@ -1407,8 +1407,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1440,8 +1440,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1473,8 +1473,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1506,8 +1506,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1540,8 +1540,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueGetEntityAndDelete, @@ -1571,8 +1571,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1605,8 +1605,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: &github.Repository{ ID: github.Int64(12345), Name: github.String("minder"), - FullName: github.String("stacklok/minder"), - HTMLURL: github.String("https://github.com/stacklok/minder"), + FullName: github.String("mindersec/minder"), + HTMLURL: github.String("https://github.com/mindersec/minder"), Private: github.Bool(true), }, }, @@ -1638,8 +1638,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: &github.Repository{ ID: github.Int64(12345), Name: github.String("minder"), - FullName: github.String("stacklok/minder"), - HTMLURL: github.String("https://github.com/stacklok/minder"), + FullName: github.String("mindersec/minder"), + HTMLURL: github.String("https://github.com/mindersec/minder"), Private: github.Bool(true), }, }, @@ -1675,8 +1675,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1703,8 +1703,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1731,8 +1731,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1759,8 +1759,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1787,8 +1787,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1815,8 +1815,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1842,8 +1842,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1870,8 +1870,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1898,8 +1898,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1926,8 +1926,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1954,8 +1954,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -1982,8 +1982,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -2010,8 +2010,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repository: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -2038,8 +2038,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repository: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -2066,8 +2066,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repository: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -2094,8 +2094,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repository: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -2121,8 +2121,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repository: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -2148,8 +2148,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repository: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -2186,8 +2186,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: &github.PushEventRepository{ ID: github.Int64(12345), Name: github.String("minder"), - FullName: github.String("stacklok/minder"), - HTMLURL: github.String("https://github.com/stacklok/minder"), + FullName: github.String("mindersec/minder"), + HTMLURL: github.String("https://github.com/mindersec/minder"), }, }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -2235,8 +2235,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Action: github.String("enabled"), Repo: newRepo( 12345, - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -2261,8 +2261,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Action: github.String("disabled"), Repo: newRepo( 12345, - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -2306,8 +2306,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Action: github.String("disabled"), Repo: newRepo( 12345, - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -2332,8 +2332,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Action: github.String("reported"), Repo: newRepo( 12345, - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -2358,8 +2358,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Action: github.String("created"), Repo: newRepo( 12345, - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -2384,8 +2384,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Action: github.String("deleted"), Repo: newRepo( 12345, - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -2410,8 +2410,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Action: github.String("edited"), Repo: newRepo( 12345, - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -2436,8 +2436,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Action: github.String("created"), Repo: newRepo( 12345, - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, topic: events.TopicQueueRefreshEntityAndEvaluate, @@ -2466,8 +2466,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), Organization: &github.Organization{ Login: github.String("stacklok"), @@ -2482,7 +2482,7 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { }, }, ghMocks: []func(hubMock gf.GitHubMock){ - gf.WithSuccessfulGetEntityName("stacklok/minder/42"), + gf.WithSuccessfulGetEntityName("mindersec/minder/42"), }, topic: events.TopicQueueOriginatingEntityAdd, statusCode: http.StatusOK, @@ -2508,8 +2508,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), Organization: &github.Organization{ Login: github.String("stacklok"), @@ -2524,7 +2524,7 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { }, }, ghMocks: []func(hubMock gf.GitHubMock){ - gf.WithSuccessfulGetEntityName("stacklok/minder/42"), + gf.WithSuccessfulGetEntityName("mindersec/minder/42"), }, topic: events.TopicQueueOriginatingEntityAdd, statusCode: http.StatusOK, @@ -2550,8 +2550,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), Organization: &github.Organization{ Login: github.String("stacklok"), @@ -2566,7 +2566,7 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { }, }, ghMocks: []func(hubMock gf.GitHubMock){ - gf.WithSuccessfulGetEntityName("stacklok/minder/42"), + gf.WithSuccessfulGetEntityName("mindersec/minder/42"), }, topic: events.TopicQueueOriginatingEntityAdd, statusCode: http.StatusOK, @@ -2592,8 +2592,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), Organization: &github.Organization{ Login: github.String("stacklok"), @@ -2607,7 +2607,7 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { }, }, ghMocks: []func(hubMock gf.GitHubMock){ - gf.WithSuccessfulGetEntityName("stacklok/minder/42"), + gf.WithSuccessfulGetEntityName("mindersec/minder/42"), }, topic: events.TopicQueueOriginatingEntityDelete, statusCode: http.StatusOK, @@ -2633,8 +2633,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), Organization: &github.Organization{ Login: github.String("stacklok"), @@ -2648,7 +2648,7 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { }, }, ghMocks: []func(hubMock gf.GitHubMock){ - gf.WithSuccessfulGetEntityName("stacklok/minder/42"), + gf.WithSuccessfulGetEntityName("mindersec/minder/42"), }, statusCode: http.StatusOK, queued: nil, @@ -2666,8 +2666,8 @@ func (s *UnitTestSuite) TestHandleGitHubWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), Organization: &github.Organization{ Login: github.String("stacklok"), @@ -2847,8 +2847,8 @@ func (s *UnitTestSuite) TestHandleGitHubAppWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), Sender: &github.User{ Login: github.String("stacklok"), @@ -2869,8 +2869,8 @@ func (s *UnitTestSuite) TestHandleGitHubAppWebHook() { Repo: newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), Sender: &github.User{ Login: github.String("stacklok"), @@ -2892,8 +2892,8 @@ func (s *UnitTestSuite) TestHandleGitHubAppWebHook() { newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, // Installation field is left blank on @@ -2922,8 +2922,8 @@ func (s *UnitTestSuite) TestHandleGitHubAppWebHook() { newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, Installation: &github.Installation{ @@ -2985,8 +2985,8 @@ func (s *UnitTestSuite) TestHandleGitHubAppWebHook() { newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, // Installation field is left blank on @@ -3015,8 +3015,8 @@ func (s *UnitTestSuite) TestHandleGitHubAppWebHook() { newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, // Installation field is left blank on @@ -3045,8 +3045,8 @@ func (s *UnitTestSuite) TestHandleGitHubAppWebHook() { newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), }, // Installation field is left blank on @@ -3077,8 +3077,8 @@ func (s *UnitTestSuite) TestHandleGitHubAppWebHook() { newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), newGitHubRepo( 67890, @@ -3135,8 +3135,8 @@ func (s *UnitTestSuite) TestHandleGitHubAppWebHook() { require.Equal(t, projectID, evt.ProjectID) require.Equal(t, v1.Entity_ENTITY_REPOSITORIES, evt.EntityType) - // the name can be either stacklok/minder or stacklok/trusty - require.Contains(t, []string{"stacklok/minder", "stacklok/trusty"}, evt.Properties[properties.PropertyName]) + // the name can be either mindersec/minder or stacklok/trusty + require.Contains(t, []string{"mindersec/minder", "stacklok/trusty"}, evt.Properties[properties.PropertyName]) received = withTimeout(ch, timeout) require.NotNilf(t, received, "no event received after waiting %s", timeout) @@ -3164,8 +3164,8 @@ func (s *UnitTestSuite) TestHandleGitHubAppWebHook() { newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), newGitHubRepo( 67890, @@ -3219,8 +3219,8 @@ func (s *UnitTestSuite) TestHandleGitHubAppWebHook() { newGitHubRepo( 12345, "minder", - "stacklok/minder", - "https://github.com/stacklok/minder", + "mindersec/minder", + "https://github.com/mindersec/minder", ), newGitHubRepo( 67890, diff --git a/internal/controlplane/handlers_invites.go b/internal/controlplane/handlers_invites.go index 199375a885..00c85d4025 100644 --- a/internal/controlplane/handlers_invites.go +++ b/internal/controlplane/handlers_invites.go @@ -23,10 +23,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/stacklok/minder/internal/invites" - "github.com/stacklok/minder/internal/projects" - "github.com/stacklok/minder/internal/util" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/invites" + "github.com/mindersec/minder/internal/projects" + "github.com/mindersec/minder/internal/util" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // GetInviteDetails returns the details of an invitation diff --git a/internal/controlplane/handlers_invites_test.go b/internal/controlplane/handlers_invites_test.go index 39328a1fe7..2f2f765638 100644 --- a/internal/controlplane/handlers_invites_test.go +++ b/internal/controlplane/handlers_invites_test.go @@ -24,12 +24,12 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - mockdb "github.com/stacklok/minder/database/mock" - "github.com/stacklok/minder/internal/auth" - mockidentity "github.com/stacklok/minder/internal/auth/mock" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/projects" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + mockdb "github.com/mindersec/minder/database/mock" + "github.com/mindersec/minder/internal/auth" + mockidentity "github.com/mindersec/minder/internal/auth/mock" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/projects" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestGetInviteDetails(t *testing.T) { diff --git a/internal/controlplane/handlers_oauth.go b/internal/controlplane/handlers_oauth.go index 6c1fa2dda0..6647162404 100644 --- a/internal/controlplane/handlers_oauth.go +++ b/internal/controlplane/handlers_oauth.go @@ -36,19 +36,19 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/stacklok/minder/internal/auth" - "github.com/stacklok/minder/internal/auth/jwt" - mcrypto "github.com/stacklok/minder/internal/crypto" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/engcontext" - "github.com/stacklok/minder/internal/flags" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/providers" - "github.com/stacklok/minder/internal/providers/credentials" - "github.com/stacklok/minder/internal/providers/github/service" - "github.com/stacklok/minder/internal/providers/manager" - "github.com/stacklok/minder/internal/util" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/auth" + "github.com/mindersec/minder/internal/auth/jwt" + mcrypto "github.com/mindersec/minder/internal/crypto" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/engcontext" + "github.com/mindersec/minder/internal/flags" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/providers" + "github.com/mindersec/minder/internal/providers/credentials" + "github.com/mindersec/minder/internal/providers/github/service" + "github.com/mindersec/minder/internal/providers/manager" + "github.com/mindersec/minder/internal/util" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // GetAuthorizationURL returns the URL to redirect the user to for authorization diff --git a/internal/controlplane/handlers_oauth_test.go b/internal/controlplane/handlers_oauth_test.go index 6767fdaf01..094f22c0fb 100644 --- a/internal/controlplane/handlers_oauth_test.go +++ b/internal/controlplane/handlers_oauth_test.go @@ -41,28 +41,28 @@ import ( "golang.org/x/oauth2/github" "google.golang.org/grpc/codes" - mockdb "github.com/stacklok/minder/database/mock" - "github.com/stacklok/minder/internal/auth/jwt" - mockjwt "github.com/stacklok/minder/internal/auth/jwt/mock" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/controlplane/metrics" - "github.com/stacklok/minder/internal/crypto" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/engcontext" - mockprops "github.com/stacklok/minder/internal/entities/properties/service/mock" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/providers" - "github.com/stacklok/minder/internal/providers/dockerhub" - mockclients "github.com/stacklok/minder/internal/providers/github/clients/mock" - ghmanager "github.com/stacklok/minder/internal/providers/github/manager" - mockgh "github.com/stacklok/minder/internal/providers/github/mock" - ghService "github.com/stacklok/minder/internal/providers/github/service" - mockprovsvc "github.com/stacklok/minder/internal/providers/github/service/mock" - "github.com/stacklok/minder/internal/providers/manager" - mockmanager "github.com/stacklok/minder/internal/providers/manager/mock" - "github.com/stacklok/minder/internal/providers/session" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provinfv1 "github.com/stacklok/minder/pkg/providers/v1" + mockdb "github.com/mindersec/minder/database/mock" + "github.com/mindersec/minder/internal/auth/jwt" + mockjwt "github.com/mindersec/minder/internal/auth/jwt/mock" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/controlplane/metrics" + "github.com/mindersec/minder/internal/crypto" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/engcontext" + mockprops "github.com/mindersec/minder/internal/entities/properties/service/mock" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/providers" + "github.com/mindersec/minder/internal/providers/dockerhub" + mockclients "github.com/mindersec/minder/internal/providers/github/clients/mock" + ghmanager "github.com/mindersec/minder/internal/providers/github/manager" + mockgh "github.com/mindersec/minder/internal/providers/github/mock" + ghService "github.com/mindersec/minder/internal/providers/github/service" + mockprovsvc "github.com/mindersec/minder/internal/providers/github/service/mock" + "github.com/mindersec/minder/internal/providers/manager" + mockmanager "github.com/mindersec/minder/internal/providers/manager/mock" + "github.com/mindersec/minder/internal/providers/session" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provinfv1 "github.com/mindersec/minder/pkg/providers/v1" ) func Test_NewOAuthConfig(t *testing.T) { diff --git a/internal/controlplane/handlers_profile.go b/internal/controlplane/handlers_profile.go index 89492a0113..ceb61c4963 100644 --- a/internal/controlplane/handlers_profile.go +++ b/internal/controlplane/handlers_profile.go @@ -28,18 +28,18 @@ import ( "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/timestamppb" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/engcontext" - "github.com/stacklok/minder/internal/engine/entities" - entmodels "github.com/stacklok/minder/internal/entities/models" - "github.com/stacklok/minder/internal/entities/properties" - propSvc "github.com/stacklok/minder/internal/entities/properties/service" - "github.com/stacklok/minder/internal/logger" - prof "github.com/stacklok/minder/internal/profiles" - ghprop "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/ruletypes" - "github.com/stacklok/minder/internal/util" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/engcontext" + "github.com/mindersec/minder/internal/engine/entities" + entmodels "github.com/mindersec/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/properties" + propSvc "github.com/mindersec/minder/internal/entities/properties/service" + "github.com/mindersec/minder/internal/logger" + prof "github.com/mindersec/minder/internal/profiles" + ghprop "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/ruletypes" + "github.com/mindersec/minder/internal/util" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // CreateProfile creates a profile for a project diff --git a/internal/controlplane/handlers_profile_test.go b/internal/controlplane/handlers_profile_test.go index e8d5769e5d..1edd704c62 100644 --- a/internal/controlplane/handlers_profile_test.go +++ b/internal/controlplane/handlers_profile_test.go @@ -28,15 +28,15 @@ import ( "google.golang.org/protobuf/types/known/fieldmaskpb" "google.golang.org/protobuf/types/known/structpb" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/db/embedded" - "github.com/stacklok/minder/internal/engine/engcontext" - "github.com/stacklok/minder/internal/engine/selectors" - stubeventer "github.com/stacklok/minder/internal/events/stubs" - "github.com/stacklok/minder/internal/profiles" - "github.com/stacklok/minder/internal/providers" - "github.com/stacklok/minder/internal/util" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/db/embedded" + "github.com/mindersec/minder/internal/engine/engcontext" + "github.com/mindersec/minder/internal/engine/selectors" + stubeventer "github.com/mindersec/minder/internal/events/stubs" + "github.com/mindersec/minder/internal/profiles" + "github.com/mindersec/minder/internal/providers" + "github.com/mindersec/minder/internal/util" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) //nolint:gocyclo diff --git a/internal/controlplane/handlers_projects.go b/internal/controlplane/handlers_projects.go index a6e1332345..5b17e260bd 100644 --- a/internal/controlplane/handlers_projects.go +++ b/internal/controlplane/handlers_projects.go @@ -26,13 +26,13 @@ import ( "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/timestamppb" - "github.com/stacklok/minder/internal/auth/jwt" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/engcontext" - "github.com/stacklok/minder/internal/projects" - "github.com/stacklok/minder/internal/projects/features" - "github.com/stacklok/minder/internal/util" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/auth/jwt" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/engcontext" + "github.com/mindersec/minder/internal/projects" + "github.com/mindersec/minder/internal/projects/features" + "github.com/mindersec/minder/internal/util" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // ListProjects returns the list of projects for the current user diff --git a/internal/controlplane/handlers_projects_test.go b/internal/controlplane/handlers_projects_test.go index 59a9064e49..d94fbce94e 100644 --- a/internal/controlplane/handlers_projects_test.go +++ b/internal/controlplane/handlers_projects_test.go @@ -24,11 +24,11 @@ import ( "github.com/stretchr/testify/assert" "go.uber.org/mock/gomock" - mockdb "github.com/stacklok/minder/database/mock" - "github.com/stacklok/minder/internal/auth/jwt" - "github.com/stacklok/minder/internal/authz/mock" - "github.com/stacklok/minder/internal/db" - minder "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + mockdb "github.com/mindersec/minder/database/mock" + "github.com/mindersec/minder/internal/auth/jwt" + "github.com/mindersec/minder/internal/authz/mock" + "github.com/mindersec/minder/internal/db" + minder "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestListProjects(t *testing.T) { diff --git a/internal/controlplane/handlers_providers.go b/internal/controlplane/handlers_providers.go index ce04bf0da3..bf6dfced0d 100644 --- a/internal/controlplane/handlers_providers.go +++ b/internal/controlplane/handlers_providers.go @@ -28,14 +28,14 @@ import ( "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/types/known/structpb" - config "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/crypto" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/engcontext" - "github.com/stacklok/minder/internal/providers" - "github.com/stacklok/minder/internal/util" - cursorutil "github.com/stacklok/minder/internal/util/cursor" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + config "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/crypto" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/engcontext" + "github.com/mindersec/minder/internal/providers" + "github.com/mindersec/minder/internal/util" + cursorutil "github.com/mindersec/minder/internal/util/cursor" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // CreateProvider implements the CreateProvider RPC method. diff --git a/internal/controlplane/handlers_providers_test.go b/internal/controlplane/handlers_providers_test.go index e2a3f58c81..be17bfa051 100644 --- a/internal/controlplane/handlers_providers_test.go +++ b/internal/controlplane/handlers_providers_test.go @@ -35,26 +35,26 @@ import ( "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/structpb" - mockdb "github.com/stacklok/minder/database/mock" - "github.com/stacklok/minder/internal/auth/jwt" - "github.com/stacklok/minder/internal/authz/mock" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/crypto" - "github.com/stacklok/minder/internal/crypto/algorithms" - mockcrypto "github.com/stacklok/minder/internal/crypto/mock" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/engcontext" - "github.com/stacklok/minder/internal/entities/models" - propSvc "github.com/stacklok/minder/internal/entities/properties/service/mock" - "github.com/stacklok/minder/internal/providers" - "github.com/stacklok/minder/internal/providers/dockerhub" - ghmanager "github.com/stacklok/minder/internal/providers/github/manager" - mockgh "github.com/stacklok/minder/internal/providers/github/mock" - mockprovsvc "github.com/stacklok/minder/internal/providers/github/service/mock" - "github.com/stacklok/minder/internal/providers/manager" - "github.com/stacklok/minder/internal/providers/ratecache" - minder "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provinfv1 "github.com/stacklok/minder/pkg/providers/v1" + mockdb "github.com/mindersec/minder/database/mock" + "github.com/mindersec/minder/internal/auth/jwt" + "github.com/mindersec/minder/internal/authz/mock" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/crypto" + "github.com/mindersec/minder/internal/crypto/algorithms" + mockcrypto "github.com/mindersec/minder/internal/crypto/mock" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/engcontext" + "github.com/mindersec/minder/internal/entities/models" + propSvc "github.com/mindersec/minder/internal/entities/properties/service/mock" + "github.com/mindersec/minder/internal/providers" + "github.com/mindersec/minder/internal/providers/dockerhub" + ghmanager "github.com/mindersec/minder/internal/providers/github/manager" + mockgh "github.com/mindersec/minder/internal/providers/github/mock" + mockprovsvc "github.com/mindersec/minder/internal/providers/github/service/mock" + "github.com/mindersec/minder/internal/providers/manager" + "github.com/mindersec/minder/internal/providers/ratecache" + minder "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provinfv1 "github.com/mindersec/minder/pkg/providers/v1" ) func newPbStruct(t *testing.T, data map[string]interface{}) *structpb.Struct { diff --git a/internal/controlplane/handlers_reconciliationtasks.go b/internal/controlplane/handlers_reconciliationtasks.go index 0f778c47fe..353ca34563 100644 --- a/internal/controlplane/handlers_reconciliationtasks.go +++ b/internal/controlplane/handlers_reconciliationtasks.go @@ -25,12 +25,12 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/engcontext" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/logger" - reconcilers "github.com/stacklok/minder/internal/reconcilers/messages" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/engcontext" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/logger" + reconcilers "github.com/mindersec/minder/internal/reconcilers/messages" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // CreateEntityReconciliationTask creates a task to reconcile the state of an entity diff --git a/internal/controlplane/handlers_reconciliationtasks_test.go b/internal/controlplane/handlers_reconciliationtasks_test.go index af1e2fcea5..26af82f2f7 100644 --- a/internal/controlplane/handlers_reconciliationtasks_test.go +++ b/internal/controlplane/handlers_reconciliationtasks_test.go @@ -23,12 +23,12 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - mockdb "github.com/stacklok/minder/database/mock" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/engcontext" - stubeventer "github.com/stacklok/minder/internal/events/stubs" - "github.com/stacklok/minder/internal/providers" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + mockdb "github.com/mindersec/minder/database/mock" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/engcontext" + stubeventer "github.com/mindersec/minder/internal/events/stubs" + "github.com/mindersec/minder/internal/providers" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestServer_CreateRepositoryReconciliationTask(t *testing.T) { diff --git a/internal/controlplane/handlers_repositories.go b/internal/controlplane/handlers_repositories.go index f5d2f3a654..2cb342b650 100644 --- a/internal/controlplane/handlers_repositories.go +++ b/internal/controlplane/handlers_repositories.go @@ -28,19 +28,19 @@ import ( "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/structpb" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/engcontext" - "github.com/stacklok/minder/internal/entities/properties" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/projects/features" - "github.com/stacklok/minder/internal/providers" - "github.com/stacklok/minder/internal/providers/github" - "github.com/stacklok/minder/internal/repositories" - "github.com/stacklok/minder/internal/util" - cursorutil "github.com/stacklok/minder/internal/util/cursor" - "github.com/stacklok/minder/internal/util/ptr" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - v1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/engcontext" + "github.com/mindersec/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/projects/features" + "github.com/mindersec/minder/internal/providers" + "github.com/mindersec/minder/internal/providers/github" + "github.com/mindersec/minder/internal/repositories" + "github.com/mindersec/minder/internal/util" + cursorutil "github.com/mindersec/minder/internal/util/cursor" + "github.com/mindersec/minder/internal/util/ptr" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + v1 "github.com/mindersec/minder/pkg/providers/v1" ) // maxFetchLimit is the maximum number of repositories that can be fetched from the database in one call diff --git a/internal/controlplane/handlers_repositories_test.go b/internal/controlplane/handlers_repositories_test.go index 453697c5ad..dc696effa8 100644 --- a/internal/controlplane/handlers_repositories_test.go +++ b/internal/controlplane/handlers_repositories_test.go @@ -28,24 +28,24 @@ import ( "go.uber.org/mock/gomock" "google.golang.org/protobuf/types/known/structpb" - mockdb "github.com/stacklok/minder/database/mock" - "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/engcontext" - "github.com/stacklok/minder/internal/entities/models" - "github.com/stacklok/minder/internal/entities/properties" - "github.com/stacklok/minder/internal/providers" - ghprovider "github.com/stacklok/minder/internal/providers/github/clients" - mockgh "github.com/stacklok/minder/internal/providers/github/mock" - ghprops "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/providers/manager" - mockmanager "github.com/stacklok/minder/internal/providers/manager/mock" - reposvc "github.com/stacklok/minder/internal/repositories" - mockrepo "github.com/stacklok/minder/internal/repositories/mock" - rf "github.com/stacklok/minder/internal/repositories/mock/fixtures" - "github.com/stacklok/minder/internal/util/ptr" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provinfv1 "github.com/stacklok/minder/pkg/providers/v1" + mockdb "github.com/mindersec/minder/database/mock" + "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/engcontext" + "github.com/mindersec/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/providers" + ghprovider "github.com/mindersec/minder/internal/providers/github/clients" + mockgh "github.com/mindersec/minder/internal/providers/github/mock" + ghprops "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/providers/manager" + mockmanager "github.com/mindersec/minder/internal/providers/manager/mock" + reposvc "github.com/mindersec/minder/internal/repositories" + mockrepo "github.com/mindersec/minder/internal/repositories/mock" + rf "github.com/mindersec/minder/internal/repositories/mock/fixtures" + "github.com/mindersec/minder/internal/util/ptr" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provinfv1 "github.com/mindersec/minder/pkg/providers/v1" ) func TestServer_RegisterRepository(t *testing.T) { diff --git a/internal/controlplane/handlers_ruletype.go b/internal/controlplane/handlers_ruletype.go index b83526b1f2..7afe761055 100644 --- a/internal/controlplane/handlers_ruletype.go +++ b/internal/controlplane/handlers_ruletype.go @@ -32,12 +32,12 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/engcontext" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/ruletypes" - "github.com/stacklok/minder/internal/util" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/engcontext" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/ruletypes" + "github.com/mindersec/minder/internal/util" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var ( diff --git a/internal/controlplane/handlers_ruletype_test.go b/internal/controlplane/handlers_ruletype_test.go index d446b460f1..8037c11c5e 100644 --- a/internal/controlplane/handlers_ruletype_test.go +++ b/internal/controlplane/handlers_ruletype_test.go @@ -24,11 +24,11 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - mockdb "github.com/stacklok/minder/database/mock" - df "github.com/stacklok/minder/database/mock/fixtures" - db "github.com/stacklok/minder/internal/db" - sf "github.com/stacklok/minder/internal/ruletypes/mock/fixtures" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + mockdb "github.com/mindersec/minder/database/mock" + df "github.com/mindersec/minder/database/mock/fixtures" + db "github.com/mindersec/minder/internal/db" + sf "github.com/mindersec/minder/internal/ruletypes/mock/fixtures" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestCreateRuleType(t *testing.T) { diff --git a/internal/controlplane/handlers_test.go b/internal/controlplane/handlers_test.go index e8ca7b401a..5a407eefb0 100644 --- a/internal/controlplane/handlers_test.go +++ b/internal/controlplane/handlers_test.go @@ -20,8 +20,8 @@ import ( "go.uber.org/mock/gomock" - mockdb "github.com/stacklok/minder/database/mock" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + mockdb "github.com/mindersec/minder/database/mock" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestCheckHealth(t *testing.T) { diff --git a/internal/controlplane/handlers_token.go b/internal/controlplane/handlers_token.go index 76c19ae7c6..045b2826d8 100644 --- a/internal/controlplane/handlers_token.go +++ b/internal/controlplane/handlers_token.go @@ -30,10 +30,10 @@ import ( "google.golang.org/protobuf/reflect/protoreflect" "google.golang.org/protobuf/reflect/protoregistry" - "github.com/stacklok/minder/internal/auth/jwt" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/util" - minder "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/auth/jwt" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/util" + minder "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // TokenValidationInterceptor is a server interceptor that validates the bearer token diff --git a/internal/controlplane/handlers_user.go b/internal/controlplane/handlers_user.go index afaf791274..0df28bce1f 100644 --- a/internal/controlplane/handlers_user.go +++ b/internal/controlplane/handlers_user.go @@ -31,15 +31,15 @@ import ( "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/timestamppb" - "github.com/stacklok/minder/internal/auth/jwt" - "github.com/stacklok/minder/internal/authz" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/flags" - "github.com/stacklok/minder/internal/invites" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/projects" - "github.com/stacklok/minder/internal/util" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/auth/jwt" + "github.com/mindersec/minder/internal/authz" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/flags" + "github.com/mindersec/minder/internal/invites" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/projects" + "github.com/mindersec/minder/internal/util" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // CreateUser is a service for user self registration @@ -507,7 +507,7 @@ func ensureUser(ctx context.Context, s *Server, store db.Querier) (db.User, erro return user, nil } - // Create a user if necessary, see https://github.com/stacklok/minder/pull/3837/files#r1674108001 + // Create a user if necessary, see https://github.com/mindersec/minder/pull/3837/files#r1674108001 if errors.Is(err, sql.ErrNoRows) { user, err := store.CreateUser(ctx, sub) if err != nil { diff --git a/internal/controlplane/handlers_user_test.go b/internal/controlplane/handlers_user_test.go index 0406e4d440..a4a74dffb1 100644 --- a/internal/controlplane/handlers_user_test.go +++ b/internal/controlplane/handlers_user_test.go @@ -32,22 +32,22 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" - mockdb "github.com/stacklok/minder/database/mock" - "github.com/stacklok/minder/internal/auth" - "github.com/stacklok/minder/internal/auth/jwt" - mockjwt "github.com/stacklok/minder/internal/auth/jwt/mock" - mockidentity "github.com/stacklok/minder/internal/auth/mock" - "github.com/stacklok/minder/internal/authz/mock" - serverconfig "github.com/stacklok/minder/internal/config/server" - mockcrypto "github.com/stacklok/minder/internal/crypto/mock" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/flags" - "github.com/stacklok/minder/internal/marketplaces" - "github.com/stacklok/minder/internal/projects" - "github.com/stacklok/minder/internal/providers" - mockprov "github.com/stacklok/minder/internal/providers/github/service/mock" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + mockdb "github.com/mindersec/minder/database/mock" + "github.com/mindersec/minder/internal/auth" + "github.com/mindersec/minder/internal/auth/jwt" + mockjwt "github.com/mindersec/minder/internal/auth/jwt/mock" + mockidentity "github.com/mindersec/minder/internal/auth/mock" + "github.com/mindersec/minder/internal/authz/mock" + serverconfig "github.com/mindersec/minder/internal/config/server" + mockcrypto "github.com/mindersec/minder/internal/crypto/mock" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/flags" + "github.com/mindersec/minder/internal/marketplaces" + "github.com/mindersec/minder/internal/projects" + "github.com/mindersec/minder/internal/providers" + mockprov "github.com/mindersec/minder/internal/providers/github/service/mock" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) const ( diff --git a/internal/controlplane/identity_events.go b/internal/controlplane/identity_events.go index 494d47f61c..6468fc6834 100644 --- a/internal/controlplane/identity_events.go +++ b/internal/controlplane/identity_events.go @@ -29,10 +29,10 @@ import ( "github.com/robfig/cron/v3" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/authz" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/projects" + "github.com/mindersec/minder/internal/authz" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/projects" ) const ( diff --git a/internal/controlplane/identity_events_test.go b/internal/controlplane/identity_events_test.go index b906cea7d7..f8e0c161e7 100644 --- a/internal/controlplane/identity_events_test.go +++ b/internal/controlplane/identity_events_test.go @@ -29,15 +29,15 @@ import ( "go.uber.org/mock/gomock" "golang.org/x/oauth2" - mockdb "github.com/stacklok/minder/database/mock" - "github.com/stacklok/minder/internal/authz" - "github.com/stacklok/minder/internal/authz/mock" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/db/embedded" - "github.com/stacklok/minder/internal/projects" - mockmanager "github.com/stacklok/minder/internal/providers/manager/mock" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + mockdb "github.com/mindersec/minder/database/mock" + "github.com/mindersec/minder/internal/authz" + "github.com/mindersec/minder/internal/authz/mock" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/db/embedded" + "github.com/mindersec/minder/internal/projects" + mockmanager "github.com/mindersec/minder/internal/providers/manager/mock" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestHandleEvents(t *testing.T) { diff --git a/internal/controlplane/metrics/metrics.go b/internal/controlplane/metrics/metrics.go index e37042c3b0..44cd6b1caf 100644 --- a/internal/controlplane/metrics/metrics.go +++ b/internal/controlplane/metrics/metrics.go @@ -25,7 +25,7 @@ import ( "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/metric" - "github.com/stacklok/minder/internal/db" + "github.com/mindersec/minder/internal/db" ) // WebhookEventState represents the state of a webhook event diff --git a/internal/controlplane/metrics/noop.go b/internal/controlplane/metrics/noop.go index 4f08f487ed..17e73aaf09 100644 --- a/internal/controlplane/metrics/noop.go +++ b/internal/controlplane/metrics/noop.go @@ -19,7 +19,7 @@ package metrics import ( "context" - "github.com/stacklok/minder/internal/db" + "github.com/mindersec/minder/internal/db" ) type noopMetrics struct{} diff --git a/internal/controlplane/register_handlers.go b/internal/controlplane/register_handlers.go index 29b57456f5..5e0c8cb9ad 100644 --- a/internal/controlplane/register_handlers.go +++ b/internal/controlplane/register_handlers.go @@ -22,7 +22,7 @@ import ( "github.com/rs/zerolog/log" "google.golang.org/grpc" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // RegisterGatewayHTTPHandlers registers the gateway HTTP handlers diff --git a/internal/controlplane/server.go b/internal/controlplane/server.go index 5d59574604..099c871e4b 100644 --- a/internal/controlplane/server.go +++ b/internal/controlplane/server.go @@ -51,31 +51,31 @@ import ( "google.golang.org/grpc/reflection" "google.golang.org/grpc/status" - "github.com/stacklok/minder/internal/assets" - "github.com/stacklok/minder/internal/auth" - "github.com/stacklok/minder/internal/auth/jwt" - "github.com/stacklok/minder/internal/authz" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/controlplane/metrics" - "github.com/stacklok/minder/internal/crypto" - "github.com/stacklok/minder/internal/db" - propSvc "github.com/stacklok/minder/internal/entities/properties/service" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/history" - "github.com/stacklok/minder/internal/invites" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/profiles" - "github.com/stacklok/minder/internal/projects" - "github.com/stacklok/minder/internal/providers" - ghprov "github.com/stacklok/minder/internal/providers/github" - "github.com/stacklok/minder/internal/providers/github/service" - "github.com/stacklok/minder/internal/providers/manager" - "github.com/stacklok/minder/internal/providers/session" - reposvc "github.com/stacklok/minder/internal/repositories" - "github.com/stacklok/minder/internal/roles" - "github.com/stacklok/minder/internal/ruletypes" - "github.com/stacklok/minder/internal/util" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/assets" + "github.com/mindersec/minder/internal/auth" + "github.com/mindersec/minder/internal/auth/jwt" + "github.com/mindersec/minder/internal/authz" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/controlplane/metrics" + "github.com/mindersec/minder/internal/crypto" + "github.com/mindersec/minder/internal/db" + propSvc "github.com/mindersec/minder/internal/entities/properties/service" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/history" + "github.com/mindersec/minder/internal/invites" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/profiles" + "github.com/mindersec/minder/internal/projects" + "github.com/mindersec/minder/internal/providers" + ghprov "github.com/mindersec/minder/internal/providers/github" + "github.com/mindersec/minder/internal/providers/github/service" + "github.com/mindersec/minder/internal/providers/manager" + "github.com/mindersec/minder/internal/providers/session" + reposvc "github.com/mindersec/minder/internal/repositories" + "github.com/mindersec/minder/internal/roles" + "github.com/mindersec/minder/internal/ruletypes" + "github.com/mindersec/minder/internal/util" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) const metricsPath = "/metrics" diff --git a/internal/controlplane/server_test.go b/internal/controlplane/server_test.go index ea0df76030..d4bea9457a 100644 --- a/internal/controlplane/server_test.go +++ b/internal/controlplane/server_test.go @@ -33,20 +33,20 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/test/bufconn" - mockdb "github.com/stacklok/minder/database/mock" - "github.com/stacklok/minder/internal/auth" - mockjwt "github.com/stacklok/minder/internal/auth/jwt/mock" - mockauthz "github.com/stacklok/minder/internal/authz/mock" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/controlplane/metrics" - "github.com/stacklok/minder/internal/crypto" - mock_service "github.com/stacklok/minder/internal/entities/properties/service/mock" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/providers" - ghclient "github.com/stacklok/minder/internal/providers/github/clients" - ghService "github.com/stacklok/minder/internal/providers/github/service" - mock_reposvc "github.com/stacklok/minder/internal/repositories/mock" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + mockdb "github.com/mindersec/minder/database/mock" + "github.com/mindersec/minder/internal/auth" + mockjwt "github.com/mindersec/minder/internal/auth/jwt/mock" + mockauthz "github.com/mindersec/minder/internal/authz/mock" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/controlplane/metrics" + "github.com/mindersec/minder/internal/crypto" + mock_service "github.com/mindersec/minder/internal/entities/properties/service/mock" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/providers" + ghclient "github.com/mindersec/minder/internal/providers/github/clients" + ghService "github.com/mindersec/minder/internal/providers/github/service" + mock_reposvc "github.com/mindersec/minder/internal/repositories/mock" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) const bufSize = 1024 * 1024 diff --git a/internal/controlplane/test-payloads/installation-deleted.json b/internal/controlplane/test-payloads/installation-deleted.json index 28e3c01260..9bcc7a96b2 100644 --- a/internal/controlplane/test-payloads/installation-deleted.json +++ b/internal/controlplane/test-payloads/installation-deleted.json @@ -54,7 +54,7 @@ "id": 12345, "node_id": "node_id", "name": "libfixposix", - "full_name": "stacklok/minder", + "full_name": "mindersec/minder", "private": false } ], diff --git a/internal/crypto/algorithms/aes256cfb_test.go b/internal/crypto/algorithms/aes256cfb_test.go index f59c88bf0c..930a34feca 100644 --- a/internal/crypto/algorithms/aes256cfb_test.go +++ b/internal/crypto/algorithms/aes256cfb_test.go @@ -19,7 +19,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/crypto/algorithms" + "github.com/mindersec/minder/internal/crypto/algorithms" ) func TestCFBEncrypt(t *testing.T) { diff --git a/internal/crypto/algorithms/aes256gcm_test.go b/internal/crypto/algorithms/aes256gcm_test.go index f24193b477..6ecad58073 100644 --- a/internal/crypto/algorithms/aes256gcm_test.go +++ b/internal/crypto/algorithms/aes256gcm_test.go @@ -19,7 +19,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/crypto/algorithms" + "github.com/mindersec/minder/internal/crypto/algorithms" ) func TestGCMEncrypt(t *testing.T) { diff --git a/internal/crypto/engine.go b/internal/crypto/engine.go index 34a0fd130d..a2210f6d20 100644 --- a/internal/crypto/engine.go +++ b/internal/crypto/engine.go @@ -25,9 +25,9 @@ import ( "golang.org/x/oauth2" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/crypto/algorithms" - "github.com/stacklok/minder/internal/crypto/keystores" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/crypto/algorithms" + "github.com/mindersec/minder/internal/crypto/keystores" ) //go:generate go run go.uber.org/mock/mockgen -package mock_$GOPACKAGE -destination=./mock/$GOFILE -source=./$GOFILE diff --git a/internal/crypto/engine_test.go b/internal/crypto/engine_test.go index 8bccbe7623..2d510bd027 100644 --- a/internal/crypto/engine_test.go +++ b/internal/crypto/engine_test.go @@ -22,8 +22,8 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/oauth2" - "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/crypto/algorithms" + "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/crypto/algorithms" ) //Test both the algorithm and the engine in one test suite diff --git a/internal/crypto/fuzz_test.go b/internal/crypto/fuzz_test.go index 7fac420265..c0ae421127 100644 --- a/internal/crypto/fuzz_test.go +++ b/internal/crypto/fuzz_test.go @@ -22,7 +22,7 @@ import ( "strings" "testing" - "github.com/stacklok/minder/internal/config/server" + "github.com/mindersec/minder/internal/config/server" ) func FuzzEncryptDecrypt(f *testing.F) { diff --git a/internal/crypto/keystores/keystore.go b/internal/crypto/keystores/keystore.go index 066b6fd37f..623c891668 100644 --- a/internal/crypto/keystores/keystore.go +++ b/internal/crypto/keystores/keystore.go @@ -21,7 +21,7 @@ import ( "os" "path/filepath" - serverconfig "github.com/stacklok/minder/internal/config/server" + serverconfig "github.com/mindersec/minder/internal/config/server" ) // KeyStore represents a struct which stores or can fetch encryption keys. diff --git a/internal/crypto/keystores/keystore_test.go b/internal/crypto/keystores/keystore_test.go index e13b6ffd75..1dc0e09d25 100644 --- a/internal/crypto/keystores/keystore_test.go +++ b/internal/crypto/keystores/keystore_test.go @@ -19,8 +19,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/crypto/keystores" + "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/crypto/keystores" ) func TestNewKeyStoreFromConfig(t *testing.T) { diff --git a/internal/crypto/mock/engine.go b/internal/crypto/mock/engine.go index d6dd54d608..c1b2a085a1 100644 --- a/internal/crypto/mock/engine.go +++ b/internal/crypto/mock/engine.go @@ -12,7 +12,7 @@ package mock_crypto import ( reflect "reflect" - crypto "github.com/stacklok/minder/internal/crypto" + crypto "github.com/mindersec/minder/internal/crypto" gomock "go.uber.org/mock/gomock" oauth2 "golang.org/x/oauth2" ) diff --git a/internal/crypto/models.go b/internal/crypto/models.go index 38468b151c..c4ec8718a8 100644 --- a/internal/crypto/models.go +++ b/internal/crypto/models.go @@ -18,7 +18,7 @@ import ( "encoding/json" "fmt" - "github.com/stacklok/minder/internal/crypto/algorithms" + "github.com/mindersec/minder/internal/crypto/algorithms" ) // EncryptedData represents the structure we use to store encrypted data in the diff --git a/internal/crypto/nonce_test.go b/internal/crypto/nonce_test.go index a13c762ba4..32ea2e1290 100644 --- a/internal/crypto/nonce_test.go +++ b/internal/crypto/nonce_test.go @@ -17,7 +17,7 @@ package crypto_test import ( "testing" - "github.com/stacklok/minder/internal/crypto" + "github.com/mindersec/minder/internal/crypto" ) func TestGenerateNonce(t *testing.T) { diff --git a/internal/db/embedded/testdb.go b/internal/db/embedded/testdb.go index 3904d4aa2a..0331d9ce5a 100644 --- a/internal/db/embedded/testdb.go +++ b/internal/db/embedded/testdb.go @@ -25,8 +25,8 @@ import ( _ "github.com/golang-migrate/migrate/v4/database/postgres" // nolint _ "github.com/golang-migrate/migrate/v4/source/file" - "github.com/stacklok/minder/database" - "github.com/stacklok/minder/internal/db" + "github.com/mindersec/minder/database" + "github.com/mindersec/minder/internal/db" ) // CancelFunc is a function that can be called to clean up resources. diff --git a/internal/db/entities_test.go b/internal/db/entities_test.go index 5261151c01..8f883132b4 100644 --- a/internal/db/entities_test.go +++ b/internal/db/entities_test.go @@ -24,7 +24,7 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/util/rand" + "github.com/mindersec/minder/internal/util/rand" ) func Test_EntityCrud(t *testing.T) { diff --git a/internal/db/eval_history_test.go b/internal/db/eval_history_test.go index 7ececb29bf..a33d6a698b 100644 --- a/internal/db/eval_history_test.go +++ b/internal/db/eval_history_test.go @@ -27,7 +27,7 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/util/rand" + "github.com/mindersec/minder/internal/util/rand" ) func TestListEvaluationHistoryFilters(t *testing.T) { @@ -228,7 +228,7 @@ func TestListEvaluationHistoryFilters(t *testing.T) { Time: time.UnixMicro(999999999999999999).UTC(), Valid: true, }, - Entitynames: []string{"stacklok/minder"}, + Entitynames: []string{"mindersec/minder"}, Projectid: proj.ID, Size: 5, }, @@ -244,7 +244,7 @@ func TestListEvaluationHistoryFilters(t *testing.T) { Time: time.UnixMicro(999999999999999999).UTC(), Valid: true, }, - Notentitynames: []string{"stacklok/minder"}, + Notentitynames: []string{"mindersec/minder"}, Projectid: proj.ID, Size: 5, }, @@ -264,7 +264,7 @@ func TestListEvaluationHistoryFilters(t *testing.T) { Time: time.UnixMicro(999999999999999999).UTC(), Valid: true, }, - Entitynames: []string{fullRepoName(repo1), "stacklok/minder"}, + Entitynames: []string{fullRepoName(repo1), "mindersec/minder"}, Projectid: proj.ID, Size: 5, }, @@ -284,7 +284,7 @@ func TestListEvaluationHistoryFilters(t *testing.T) { Time: time.UnixMicro(999999999999999999).UTC(), Valid: true, }, - Notentitynames: []string{fullRepoName(repo1), "stacklok/minder"}, + Notentitynames: []string{fullRepoName(repo1), "mindersec/minder"}, Projectid: proj.ID, Size: 5, }, @@ -354,7 +354,7 @@ func TestListEvaluationHistoryFilters(t *testing.T) { Time: time.UnixMicro(999999999999999999).UTC(), Valid: true, }, - Notprofilenames: []string{"stacklok/minder"}, + Notprofilenames: []string{"mindersec/minder"}, Projectid: proj.ID, Size: 5, }, @@ -374,7 +374,7 @@ func TestListEvaluationHistoryFilters(t *testing.T) { Time: time.UnixMicro(999999999999999999).UTC(), Valid: true, }, - Profilenames: []string{profile1.Name, "stacklok/minder"}, + Profilenames: []string{profile1.Name, "mindersec/minder"}, Projectid: proj.ID, Size: 5, }, @@ -394,7 +394,7 @@ func TestListEvaluationHistoryFilters(t *testing.T) { Time: time.UnixMicro(999999999999999999).UTC(), Valid: true, }, - Notprofilenames: []string{profile1.Name, "stacklok/minder"}, + Notprofilenames: []string{profile1.Name, "mindersec/minder"}, Projectid: proj.ID, Size: 5, }, diff --git a/internal/db/fixtures/db.go b/internal/db/fixtures/db.go index b678ae3dea..9fc15df7cd 100644 --- a/internal/db/fixtures/db.go +++ b/internal/db/fixtures/db.go @@ -19,7 +19,7 @@ package fixtures import ( - mockdb "github.com/stacklok/minder/database/mock" + mockdb "github.com/mindersec/minder/database/mock" "go.uber.org/mock/gomock" ) diff --git a/internal/db/organizations_test.go b/internal/db/organizations_test.go index b54efb6e92..4cd9087b0b 100644 --- a/internal/db/organizations_test.go +++ b/internal/db/organizations_test.go @@ -25,7 +25,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/util/rand" + "github.com/mindersec/minder/internal/util/rand" ) // A helper function to create a random organization diff --git a/internal/db/profiles_test.go b/internal/db/profiles_test.go index 42bffce164..4a438daa09 100644 --- a/internal/db/profiles_test.go +++ b/internal/db/profiles_test.go @@ -11,7 +11,7 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/util/rand" + "github.com/mindersec/minder/internal/util/rand" ) func createRandomProfile(t *testing.T, projectID uuid.UUID, labels []string) Profile { diff --git a/internal/db/projects_test.go b/internal/db/projects_test.go index 8663555b12..78c7a27543 100644 --- a/internal/db/projects_test.go +++ b/internal/db/projects_test.go @@ -27,7 +27,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/util/rand" + "github.com/mindersec/minder/internal/util/rand" ) func createRandomProject(t *testing.T, orgID uuid.UUID) Project { diff --git a/internal/db/provider_access_tokens_test.go b/internal/db/provider_access_tokens_test.go index 163d8ca19f..a8772fe17a 100644 --- a/internal/db/provider_access_tokens_test.go +++ b/internal/db/provider_access_tokens_test.go @@ -23,8 +23,8 @@ import ( "github.com/sqlc-dev/pqtype" "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/crypto" - "github.com/stacklok/minder/internal/crypto/algorithms" + "github.com/mindersec/minder/internal/crypto" + "github.com/mindersec/minder/internal/crypto/algorithms" ) func TestUpsertProviderAccessToken(t *testing.T) { diff --git a/internal/db/providers_test.go b/internal/db/providers_test.go index 7ad8cf1fce..cd2750cef2 100644 --- a/internal/db/providers_test.go +++ b/internal/db/providers_test.go @@ -25,7 +25,7 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/util/rand" + "github.com/mindersec/minder/internal/util/rand" ) func createRandomProvider(t *testing.T, projectID uuid.UUID) Provider { diff --git a/internal/db/repositories_test.go b/internal/db/repositories_test.go index 65be3da728..1726fdde83 100644 --- a/internal/db/repositories_test.go +++ b/internal/db/repositories_test.go @@ -25,7 +25,7 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/util/rand" + "github.com/mindersec/minder/internal/util/rand" ) type RepositoryOption func(*CreateRepositoryParams) diff --git a/internal/db/users_test.go b/internal/db/users_test.go index b3e98a5435..e49ebd951e 100644 --- a/internal/db/users_test.go +++ b/internal/db/users_test.go @@ -22,7 +22,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/util/rand" + "github.com/mindersec/minder/internal/util/rand" ) func createRandomUser(t *testing.T) User { diff --git a/internal/eea/eea.go b/internal/eea/eea.go index 496d087384..eb34df774d 100644 --- a/internal/eea/eea.go +++ b/internal/eea/eea.go @@ -29,13 +29,13 @@ import ( "github.com/google/uuid" "github.com/rs/zerolog" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/entities" - "github.com/stacklok/minder/internal/entities/properties/service" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/providers/manager" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/entities" + "github.com/mindersec/minder/internal/entities/properties/service" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/providers/manager" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // EEA is the Event Execution Aggregator diff --git a/internal/eea/eea_test.go b/internal/eea/eea_test.go index a51394c422..e827cb81a3 100644 --- a/internal/eea/eea_test.go +++ b/internal/eea/eea_test.go @@ -30,19 +30,19 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - mockdb "github.com/stacklok/minder/database/mock" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/db/embedded" - "github.com/stacklok/minder/internal/eea" - "github.com/stacklok/minder/internal/engine/entities" - "github.com/stacklok/minder/internal/entities/models" - "github.com/stacklok/minder/internal/entities/properties" - psvc "github.com/stacklok/minder/internal/entities/properties/service" - propsvcmock "github.com/stacklok/minder/internal/entities/properties/service/mock" - "github.com/stacklok/minder/internal/events" - mockmanager "github.com/stacklok/minder/internal/providers/manager/mock" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + mockdb "github.com/mindersec/minder/database/mock" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/db/embedded" + "github.com/mindersec/minder/internal/eea" + "github.com/mindersec/minder/internal/engine/entities" + "github.com/mindersec/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/properties" + psvc "github.com/mindersec/minder/internal/entities/properties/service" + propsvcmock "github.com/mindersec/minder/internal/entities/properties/service/mock" + "github.com/mindersec/minder/internal/events" + mockmanager "github.com/mindersec/minder/internal/providers/manager/mock" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) const ( diff --git a/internal/email/awsses/awsses.go b/internal/email/awsses/awsses.go index a92dfb022b..456041e7e5 100644 --- a/internal/email/awsses/awsses.go +++ b/internal/email/awsses/awsses.go @@ -27,8 +27,8 @@ import ( "github.com/aws/aws-sdk-go-v2/service/sesv2/types" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/email" - "github.com/stacklok/minder/internal/events" + "github.com/mindersec/minder/internal/email" + "github.com/mindersec/minder/internal/events" ) const ( diff --git a/internal/email/email.go b/internal/email/email.go index 85f2f71bf9..293d92ecd7 100644 --- a/internal/email/email.go +++ b/internal/email/email.go @@ -26,7 +26,7 @@ import ( "github.com/google/uuid" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/authz" + "github.com/mindersec/minder/internal/authz" ) const ( diff --git a/internal/email/noop/noop.go b/internal/email/noop/noop.go index 7f833781bf..3fca454053 100644 --- a/internal/email/noop/noop.go +++ b/internal/email/noop/noop.go @@ -22,8 +22,8 @@ import ( "github.com/ThreeDotsLabs/watermill/message" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/email" - "github.com/stacklok/minder/internal/events" + "github.com/mindersec/minder/internal/email" + "github.com/mindersec/minder/internal/events" ) type noop struct { diff --git a/internal/engine/actions/actions.go b/internal/engine/actions/actions.go index d2587e337f..ff22e9bf09 100644 --- a/internal/engine/actions/actions.go +++ b/internal/engine/actions/actions.go @@ -27,15 +27,15 @@ import ( "github.com/rs/zerolog" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/actions/alert" - "github.com/stacklok/minder/internal/engine/actions/remediate" - "github.com/stacklok/minder/internal/engine/actions/remediate/pull_request" - enginerr "github.com/stacklok/minder/internal/engine/errors" - engif "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/profiles/models" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provinfv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/actions/alert" + "github.com/mindersec/minder/internal/engine/actions/remediate" + "github.com/mindersec/minder/internal/engine/actions/remediate/pull_request" + enginerr "github.com/mindersec/minder/internal/engine/errors" + engif "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/profiles/models" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provinfv1 "github.com/mindersec/minder/pkg/providers/v1" ) // RuleActionsEngine is the engine responsible for processing all actions i.e., remediation and alerts diff --git a/internal/engine/actions/alert/alert.go b/internal/engine/actions/alert/alert.go index 93029d165d..8cd069adb6 100644 --- a/internal/engine/actions/alert/alert.go +++ b/internal/engine/actions/alert/alert.go @@ -23,11 +23,11 @@ import ( "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/engine/actions/alert/noop" - "github.com/stacklok/minder/internal/engine/actions/alert/security_advisory" - engif "github.com/stacklok/minder/internal/engine/interfaces" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provinfv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/engine/actions/alert/noop" + "github.com/mindersec/minder/internal/engine/actions/alert/security_advisory" + engif "github.com/mindersec/minder/internal/engine/interfaces" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provinfv1 "github.com/mindersec/minder/pkg/providers/v1" ) // ActionType is the type of the alert engine diff --git a/internal/engine/actions/alert/noop/noop.go b/internal/engine/actions/alert/noop/noop.go index 12378163cc..dfab59055a 100644 --- a/internal/engine/actions/alert/noop/noop.go +++ b/internal/engine/actions/alert/noop/noop.go @@ -23,9 +23,9 @@ import ( "google.golang.org/protobuf/reflect/protoreflect" - enginerr "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/profiles/models" + enginerr "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/profiles/models" ) // Alert is the structure backing the noop alert diff --git a/internal/engine/actions/alert/security_advisory/security_advisory.go b/internal/engine/actions/alert/security_advisory/security_advisory.go index 7952710efb..8442191385 100644 --- a/internal/engine/actions/alert/security_advisory/security_advisory.go +++ b/internal/engine/actions/alert/security_advisory/security_advisory.go @@ -29,14 +29,14 @@ import ( "github.com/rs/zerolog" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/profiles/models" - - enginerr "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/util" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/profiles/models" + + enginerr "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/util" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) const ( diff --git a/internal/engine/actions/remediate/gh_branch_protect/gh_branch_protect.go b/internal/engine/actions/remediate/gh_branch_protect/gh_branch_protect.go index 92cb679dd1..110f033b5a 100644 --- a/internal/engine/actions/remediate/gh_branch_protect/gh_branch_protect.go +++ b/internal/engine/actions/remediate/gh_branch_protect/gh_branch_protect.go @@ -29,13 +29,13 @@ import ( "github.com/rs/zerolog/log" "google.golang.org/protobuf/reflect/protoreflect" - engerrors "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/profiles/models" - mindergh "github.com/stacklok/minder/internal/providers/github" - "github.com/stacklok/minder/internal/util" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + engerrors "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/profiles/models" + mindergh "github.com/mindersec/minder/internal/providers/github" + "github.com/mindersec/minder/internal/util" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) const ( diff --git a/internal/engine/actions/remediate/gh_branch_protect/gh_branch_protect_test.go b/internal/engine/actions/remediate/gh_branch_protect/gh_branch_protect_test.go index cd70252949..c95b3c58f9 100644 --- a/internal/engine/actions/remediate/gh_branch_protect/gh_branch_protect_test.go +++ b/internal/engine/actions/remediate/gh_branch_protect/gh_branch_protect_test.go @@ -26,16 +26,16 @@ import ( "go.uber.org/mock/gomock" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/profiles/models" - "github.com/stacklok/minder/internal/providers/credentials" - "github.com/stacklok/minder/internal/providers/github/clients" - mock_ghclient "github.com/stacklok/minder/internal/providers/github/mock" - "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/providers/ratecache" - "github.com/stacklok/minder/internal/providers/telemetry" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/profiles/models" + "github.com/mindersec/minder/internal/providers/credentials" + "github.com/mindersec/minder/internal/providers/github/clients" + mock_ghclient "github.com/mindersec/minder/internal/providers/github/mock" + "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/providers/ratecache" + "github.com/mindersec/minder/internal/providers/telemetry" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) const ( diff --git a/internal/engine/actions/remediate/noop/noop.go b/internal/engine/actions/remediate/noop/noop.go index aa985d3b06..5ba6a5c7ae 100644 --- a/internal/engine/actions/remediate/noop/noop.go +++ b/internal/engine/actions/remediate/noop/noop.go @@ -23,9 +23,9 @@ import ( "google.golang.org/protobuf/reflect/protoreflect" - enginerr "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/profiles/models" + enginerr "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/profiles/models" ) // Remediator is the structure backing the noop remediator diff --git a/internal/engine/actions/remediate/pull_request/pull_request.go b/internal/engine/actions/remediate/pull_request/pull_request.go index 61d2aeeeaa..0aa33fdc04 100644 --- a/internal/engine/actions/remediate/pull_request/pull_request.go +++ b/internal/engine/actions/remediate/pull_request/pull_request.go @@ -34,13 +34,13 @@ import ( "github.com/rs/zerolog" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/db" - enginerr "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/profiles/models" - "github.com/stacklok/minder/internal/util" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/db" + enginerr "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/profiles/models" + "github.com/mindersec/minder/internal/util" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) const ( diff --git a/internal/engine/actions/remediate/pull_request/pull_request_test.go b/internal/engine/actions/remediate/pull_request/pull_request_test.go index 532d53d2c6..7f14d407be 100644 --- a/internal/engine/actions/remediate/pull_request/pull_request_test.go +++ b/internal/engine/actions/remediate/pull_request/pull_request_test.go @@ -38,17 +38,17 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/profiles/models" - "github.com/stacklok/minder/internal/providers/credentials" - "github.com/stacklok/minder/internal/providers/github/clients" - mockghclient "github.com/stacklok/minder/internal/providers/github/mock" - "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/providers/ratecache" - "github.com/stacklok/minder/internal/providers/telemetry" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/profiles/models" + "github.com/mindersec/minder/internal/providers/credentials" + "github.com/mindersec/minder/internal/providers/github/clients" + mockghclient "github.com/mindersec/minder/internal/providers/github/mock" + "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/providers/ratecache" + "github.com/mindersec/minder/internal/providers/telemetry" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) const ( diff --git a/internal/engine/actions/remediate/pull_request/types_actions_replace_tags.go b/internal/engine/actions/remediate/pull_request/types_actions_replace_tags.go index 74275f8cf3..c74e75a5f5 100644 --- a/internal/engine/actions/remediate/pull_request/types_actions_replace_tags.go +++ b/internal/engine/actions/remediate/pull_request/types_actions_replace_tags.go @@ -23,8 +23,8 @@ import ( "github.com/stacklok/frizbee/pkg/replacer" "github.com/stacklok/frizbee/pkg/utils/config" - "github.com/stacklok/minder/internal/engine/interfaces" - v1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/engine/interfaces" + v1 "github.com/mindersec/minder/pkg/providers/v1" ) var _ fsModifier = (*frizbeeTagResolveModification)(nil) diff --git a/internal/engine/actions/remediate/pull_request/types_content.go b/internal/engine/actions/remediate/pull_request/types_content.go index d0eb3088fe..388510d322 100644 --- a/internal/engine/actions/remediate/pull_request/types_content.go +++ b/internal/engine/actions/remediate/pull_request/types_content.go @@ -20,9 +20,9 @@ import ( "context" // #nosec G505 - we're not using sha1 for crypto, only to quickly compare contents "fmt" - "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/util" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/util" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // See minder.proto for more detailed documentation diff --git a/internal/engine/actions/remediate/pull_request/types_registry.go b/internal/engine/actions/remediate/pull_request/types_registry.go index b0aa650be5..b01dbdffc6 100644 --- a/internal/engine/actions/remediate/pull_request/types_registry.go +++ b/internal/engine/actions/remediate/pull_request/types_registry.go @@ -21,9 +21,9 @@ import ( "github.com/go-git/go-billy/v5" - "github.com/stacklok/minder/internal/engine/interfaces" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - v1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/engine/interfaces" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + v1 "github.com/mindersec/minder/pkg/providers/v1" ) type fsModifier interface { diff --git a/internal/engine/actions/remediate/pull_request/write_helpers.go b/internal/engine/actions/remediate/pull_request/write_helpers.go index 28b1a7a8e0..53b1ad59fc 100644 --- a/internal/engine/actions/remediate/pull_request/write_helpers.go +++ b/internal/engine/actions/remediate/pull_request/write_helpers.go @@ -26,7 +26,7 @@ import ( "github.com/go-git/go-git/v5/plumbing/filemode" "github.com/rs/zerolog/log" - "github.com/stacklok/minder/internal/util" + "github.com/mindersec/minder/internal/util" ) type fsEntry struct { diff --git a/internal/engine/actions/remediate/remediate.go b/internal/engine/actions/remediate/remediate.go index efccea79be..3a2ec4a443 100644 --- a/internal/engine/actions/remediate/remediate.go +++ b/internal/engine/actions/remediate/remediate.go @@ -21,13 +21,13 @@ import ( "errors" "fmt" - "github.com/stacklok/minder/internal/engine/actions/remediate/gh_branch_protect" - "github.com/stacklok/minder/internal/engine/actions/remediate/noop" - "github.com/stacklok/minder/internal/engine/actions/remediate/pull_request" - "github.com/stacklok/minder/internal/engine/actions/remediate/rest" - engif "github.com/stacklok/minder/internal/engine/interfaces" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provinfv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/engine/actions/remediate/gh_branch_protect" + "github.com/mindersec/minder/internal/engine/actions/remediate/noop" + "github.com/mindersec/minder/internal/engine/actions/remediate/pull_request" + "github.com/mindersec/minder/internal/engine/actions/remediate/rest" + engif "github.com/mindersec/minder/internal/engine/interfaces" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provinfv1 "github.com/mindersec/minder/pkg/providers/v1" ) // ActionType is the type of the remediation engine diff --git a/internal/engine/actions/remediate/remediate_test.go b/internal/engine/actions/remediate/remediate_test.go index 4c5d45cf9c..f670623888 100644 --- a/internal/engine/actions/remediate/remediate_test.go +++ b/internal/engine/actions/remediate/remediate_test.go @@ -23,15 +23,15 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/protobuf/proto" - "github.com/stacklok/minder/internal/engine/actions/remediate" - "github.com/stacklok/minder/internal/engine/actions/remediate/noop" - "github.com/stacklok/minder/internal/engine/actions/remediate/rest" - engif "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/providers/credentials" - "github.com/stacklok/minder/internal/providers/telemetry" - "github.com/stacklok/minder/internal/providers/testproviders" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/engine/actions/remediate" + "github.com/mindersec/minder/internal/engine/actions/remediate/noop" + "github.com/mindersec/minder/internal/engine/actions/remediate/rest" + engif "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/providers/credentials" + "github.com/mindersec/minder/internal/providers/telemetry" + "github.com/mindersec/minder/internal/providers/testproviders" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) var ( diff --git a/internal/engine/actions/remediate/rest/rest.go b/internal/engine/actions/remediate/rest/rest.go index 2aec2e22c8..512101008a 100644 --- a/internal/engine/actions/remediate/rest/rest.go +++ b/internal/engine/actions/remediate/rest/rest.go @@ -28,12 +28,12 @@ import ( "github.com/rs/zerolog/log" "google.golang.org/protobuf/reflect/protoreflect" - engerrors "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/profiles/models" - "github.com/stacklok/minder/internal/util" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + engerrors "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/profiles/models" + "github.com/mindersec/minder/internal/util" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) const ( diff --git a/internal/engine/actions/remediate/rest/rest_test.go b/internal/engine/actions/remediate/rest/rest_test.go index b031793399..4b53d15317 100644 --- a/internal/engine/actions/remediate/rest/rest_test.go +++ b/internal/engine/actions/remediate/rest/rest_test.go @@ -29,16 +29,16 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/profiles/models" - "github.com/stacklok/minder/internal/providers/credentials" - "github.com/stacklok/minder/internal/providers/github/clients" - "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/providers/ratecache" - "github.com/stacklok/minder/internal/providers/telemetry" - "github.com/stacklok/minder/internal/providers/testproviders" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/profiles/models" + "github.com/mindersec/minder/internal/providers/credentials" + "github.com/mindersec/minder/internal/providers/github/clients" + "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/providers/ratecache" + "github.com/mindersec/minder/internal/providers/telemetry" + "github.com/mindersec/minder/internal/providers/testproviders" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) var ( diff --git a/internal/engine/engcontext/context.go b/internal/engine/engcontext/context.go index 01f8850596..829247500b 100644 --- a/internal/engine/engcontext/context.go +++ b/internal/engine/engcontext/context.go @@ -21,8 +21,8 @@ import ( "github.com/google/uuid" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/providers" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/providers" ) type key int diff --git a/internal/engine/entities/entities.go b/internal/engine/entities/entities.go index 04a9b8909d..6533796975 100644 --- a/internal/engine/entities/entities.go +++ b/internal/engine/entities/entities.go @@ -23,8 +23,8 @@ import ( "golang.org/x/exp/slices" - "github.com/stacklok/minder/internal/db" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // KnownTypesCSV returns a comma separated list of known entity types. Useful for UI diff --git a/internal/engine/entities/entity_event.go b/internal/engine/entities/entity_event.go index 3c637cac3a..96459c72dc 100644 --- a/internal/engine/entities/entity_event.go +++ b/internal/engine/entities/entity_event.go @@ -23,8 +23,8 @@ import ( "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/events" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/events" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // EntityInfoWrapper is a helper struct to gather information diff --git a/internal/engine/entities/entity_event_test.go b/internal/engine/entities/entity_event_test.go index 973e00d226..b64dbf7551 100644 --- a/internal/engine/entities/entity_event_test.go +++ b/internal/engine/entities/entity_event_test.go @@ -24,7 +24,7 @@ import ( "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/reflect/protoreflect" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func Test_parseEntityEvent(t *testing.T) { diff --git a/internal/engine/errors/errors.go b/internal/engine/errors/errors.go index 66c23d70bd..66f11c7b7b 100644 --- a/internal/engine/errors/errors.go +++ b/internal/engine/errors/errors.go @@ -24,7 +24,7 @@ import ( "strings" "text/template" - "github.com/stacklok/minder/internal/db" + "github.com/mindersec/minder/internal/db" ) const ( diff --git a/internal/engine/eval/eval.go b/internal/engine/eval/eval.go index 527a3f2b39..fd219cfb70 100644 --- a/internal/engine/eval/eval.go +++ b/internal/engine/eval/eval.go @@ -22,15 +22,15 @@ import ( "errors" "fmt" - "github.com/stacklok/minder/internal/engine/eval/homoglyphs/application" - "github.com/stacklok/minder/internal/engine/eval/jq" - "github.com/stacklok/minder/internal/engine/eval/rego" - "github.com/stacklok/minder/internal/engine/eval/trusty" - "github.com/stacklok/minder/internal/engine/eval/vulncheck" - engif "github.com/stacklok/minder/internal/engine/interfaces" - eoptions "github.com/stacklok/minder/internal/engine/options" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provinfv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/engine/eval/homoglyphs/application" + "github.com/mindersec/minder/internal/engine/eval/jq" + "github.com/mindersec/minder/internal/engine/eval/rego" + "github.com/mindersec/minder/internal/engine/eval/trusty" + "github.com/mindersec/minder/internal/engine/eval/vulncheck" + engif "github.com/mindersec/minder/internal/engine/interfaces" + eoptions "github.com/mindersec/minder/internal/engine/options" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provinfv1 "github.com/mindersec/minder/pkg/providers/v1" ) // NewRuleEvaluator creates a new rule data evaluator diff --git a/internal/engine/eval/eval_test.go b/internal/engine/eval/eval_test.go index 9b16236a3f..4799f1e889 100644 --- a/internal/engine/eval/eval_test.go +++ b/internal/engine/eval/eval_test.go @@ -23,9 +23,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/stacklok/minder/internal/engine/eval" - "github.com/stacklok/minder/internal/engine/eval/rego" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/engine/eval" + "github.com/mindersec/minder/internal/engine/eval/rego" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestNewRuleEvaluatorWorks(t *testing.T) { diff --git a/internal/engine/eval/homoglyphs/application/homoglyphs_service.go b/internal/engine/eval/homoglyphs/application/homoglyphs_service.go index ffb037d7de..61b3a69cc2 100644 --- a/internal/engine/eval/homoglyphs/application/homoglyphs_service.go +++ b/internal/engine/eval/homoglyphs/application/homoglyphs_service.go @@ -22,13 +22,13 @@ import ( "github.com/google/go-github/v63/github" - "github.com/stacklok/minder/internal/engine/eval/homoglyphs/communication" - "github.com/stacklok/minder/internal/engine/eval/homoglyphs/domain" - engif "github.com/stacklok/minder/internal/engine/interfaces" - eoptions "github.com/stacklok/minder/internal/engine/options" - pbinternal "github.com/stacklok/minder/internal/proto" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/engine/eval/homoglyphs/communication" + "github.com/mindersec/minder/internal/engine/eval/homoglyphs/domain" + engif "github.com/mindersec/minder/internal/engine/interfaces" + eoptions "github.com/mindersec/minder/internal/engine/options" + pbinternal "github.com/mindersec/minder/internal/proto" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) const ( diff --git a/internal/engine/eval/homoglyphs/application/invisible_characters_eval.go b/internal/engine/eval/homoglyphs/application/invisible_characters_eval.go index c4fdd4b767..44366cb1d9 100644 --- a/internal/engine/eval/homoglyphs/application/invisible_characters_eval.go +++ b/internal/engine/eval/homoglyphs/application/invisible_characters_eval.go @@ -19,13 +19,13 @@ import ( "google.golang.org/protobuf/reflect/protoreflect" - evalerrors "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/eval/homoglyphs/communication" - "github.com/stacklok/minder/internal/engine/eval/homoglyphs/domain" - "github.com/stacklok/minder/internal/engine/eval/templates" - engif "github.com/stacklok/minder/internal/engine/interfaces" - eoptions "github.com/stacklok/minder/internal/engine/options" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + evalerrors "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/eval/homoglyphs/communication" + "github.com/mindersec/minder/internal/engine/eval/homoglyphs/domain" + "github.com/mindersec/minder/internal/engine/eval/templates" + engif "github.com/mindersec/minder/internal/engine/interfaces" + eoptions "github.com/mindersec/minder/internal/engine/options" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // InvisibleCharactersEvaluator is an evaluator for the invisible characters rule type diff --git a/internal/engine/eval/homoglyphs/application/invisible_characters_eval_test.go b/internal/engine/eval/homoglyphs/application/invisible_characters_eval_test.go index 9a47c25457..fda7363be4 100644 --- a/internal/engine/eval/homoglyphs/application/invisible_characters_eval_test.go +++ b/internal/engine/eval/homoglyphs/application/invisible_characters_eval_test.go @@ -19,9 +19,9 @@ import ( "github.com/stretchr/testify/require" - evalerrors "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/eval/homoglyphs/domain" - "github.com/stacklok/minder/internal/engine/eval/templates" + evalerrors "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/eval/homoglyphs/domain" + "github.com/mindersec/minder/internal/engine/eval/templates" ) func TestInvisibleCharactersEvaluationDetailRendering(t *testing.T) { diff --git a/internal/engine/eval/homoglyphs/application/mixed_scripts_eval.go b/internal/engine/eval/homoglyphs/application/mixed_scripts_eval.go index 9ffae434f0..c4615aecf6 100644 --- a/internal/engine/eval/homoglyphs/application/mixed_scripts_eval.go +++ b/internal/engine/eval/homoglyphs/application/mixed_scripts_eval.go @@ -20,13 +20,13 @@ import ( "google.golang.org/protobuf/reflect/protoreflect" - evalerrors "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/eval/homoglyphs/communication" - "github.com/stacklok/minder/internal/engine/eval/homoglyphs/domain" - "github.com/stacklok/minder/internal/engine/eval/templates" - engif "github.com/stacklok/minder/internal/engine/interfaces" - eoptions "github.com/stacklok/minder/internal/engine/options" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + evalerrors "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/eval/homoglyphs/communication" + "github.com/mindersec/minder/internal/engine/eval/homoglyphs/domain" + "github.com/mindersec/minder/internal/engine/eval/templates" + engif "github.com/mindersec/minder/internal/engine/interfaces" + eoptions "github.com/mindersec/minder/internal/engine/options" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // MixedScriptsEvaluator is the evaluator for the mixed scripts rule type diff --git a/internal/engine/eval/homoglyphs/application/mixed_scripts_eval_test.go b/internal/engine/eval/homoglyphs/application/mixed_scripts_eval_test.go index 046b0d4945..5011522b65 100644 --- a/internal/engine/eval/homoglyphs/application/mixed_scripts_eval_test.go +++ b/internal/engine/eval/homoglyphs/application/mixed_scripts_eval_test.go @@ -19,9 +19,9 @@ import ( "github.com/stretchr/testify/require" - evalerrors "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/eval/homoglyphs/domain" - "github.com/stacklok/minder/internal/engine/eval/templates" + evalerrors "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/eval/homoglyphs/domain" + "github.com/mindersec/minder/internal/engine/eval/templates" ) func TestEvaluationDetailRendering(t *testing.T) { diff --git a/internal/engine/eval/homoglyphs/communication/reviewer.go b/internal/engine/eval/homoglyphs/communication/reviewer.go index 88a118856f..8673bf3809 100644 --- a/internal/engine/eval/homoglyphs/communication/reviewer.go +++ b/internal/engine/eval/homoglyphs/communication/reviewer.go @@ -23,9 +23,9 @@ import ( "github.com/google/go-github/v63/github" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/engine/eval/homoglyphs/util" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/engine/eval/homoglyphs/util" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // GhReviewPrHandler is a GitHub pull request review handler diff --git a/internal/engine/eval/homoglyphs/domain/invisible_characters.go b/internal/engine/eval/homoglyphs/domain/invisible_characters.go index 435b809012..a4e3cab821 100644 --- a/internal/engine/eval/homoglyphs/domain/invisible_characters.go +++ b/internal/engine/eval/homoglyphs/domain/invisible_characters.go @@ -18,8 +18,8 @@ package domain import ( "fmt" - "github.com/stacklok/minder/internal/engine/eval/homoglyphs/domain/resources" - "github.com/stacklok/minder/internal/engine/eval/homoglyphs/util" + "github.com/mindersec/minder/internal/engine/eval/homoglyphs/domain/resources" + "github.com/mindersec/minder/internal/engine/eval/homoglyphs/util" ) // InvisibleCharactersProcessor is a processor for the invisible characters rule type diff --git a/internal/engine/eval/homoglyphs/domain/invisible_characters_test.go b/internal/engine/eval/homoglyphs/domain/invisible_characters_test.go index 42210e018e..ac4ba37d51 100644 --- a/internal/engine/eval/homoglyphs/domain/invisible_characters_test.go +++ b/internal/engine/eval/homoglyphs/domain/invisible_characters_test.go @@ -18,7 +18,7 @@ import ( "reflect" "testing" - "github.com/stacklok/minder/internal/engine/eval/homoglyphs/domain/resources" + "github.com/mindersec/minder/internal/engine/eval/homoglyphs/domain/resources" ) func TestFindInvisibleCharacters(t *testing.T) { diff --git a/internal/engine/eval/homoglyphs/domain/mixed_scripts.go b/internal/engine/eval/homoglyphs/domain/mixed_scripts.go index cd1255a59d..a6fd1a2718 100644 --- a/internal/engine/eval/homoglyphs/domain/mixed_scripts.go +++ b/internal/engine/eval/homoglyphs/domain/mixed_scripts.go @@ -24,7 +24,7 @@ import ( "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/engine/eval/homoglyphs/util" + "github.com/mindersec/minder/internal/engine/eval/homoglyphs/util" ) //go:embed resources/scripts.txt diff --git a/internal/engine/eval/jq/fuzz_test.go b/internal/engine/eval/jq/fuzz_test.go index a72977ccd9..0a3225b6ce 100644 --- a/internal/engine/eval/jq/fuzz_test.go +++ b/internal/engine/eval/jq/fuzz_test.go @@ -18,9 +18,9 @@ import ( "context" "testing" - "github.com/stacklok/minder/internal/engine/eval/jq" - engif "github.com/stacklok/minder/internal/engine/interfaces" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/engine/eval/jq" + engif "github.com/mindersec/minder/internal/engine/interfaces" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func FuzzJqEval(f *testing.F) { diff --git a/internal/engine/eval/jq/jq.go b/internal/engine/eval/jq/jq.go index fffb71220d..6bf1c869a3 100644 --- a/internal/engine/eval/jq/jq.go +++ b/internal/engine/eval/jq/jq.go @@ -25,11 +25,11 @@ import ( "google.golang.org/protobuf/reflect/protoreflect" - evalerrors "github.com/stacklok/minder/internal/engine/errors" - engif "github.com/stacklok/minder/internal/engine/interfaces" - eoptions "github.com/stacklok/minder/internal/engine/options" - "github.com/stacklok/minder/internal/util" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + evalerrors "github.com/mindersec/minder/internal/engine/errors" + engif "github.com/mindersec/minder/internal/engine/interfaces" + eoptions "github.com/mindersec/minder/internal/engine/options" + "github.com/mindersec/minder/internal/util" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // Evaluator is an Evaluator that uses the jq library to evaluate rules diff --git a/internal/engine/eval/jq/jq_test.go b/internal/engine/eval/jq/jq_test.go index 69b4481d9d..431b182362 100644 --- a/internal/engine/eval/jq/jq_test.go +++ b/internal/engine/eval/jq/jq_test.go @@ -22,10 +22,10 @@ import ( "github.com/stretchr/testify/assert" "google.golang.org/protobuf/types/known/structpb" - evalerrors "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/eval/jq" - engif "github.com/stacklok/minder/internal/engine/interfaces" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + evalerrors "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/eval/jq" + engif "github.com/mindersec/minder/internal/engine/interfaces" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestNewJQEvaluatorValid(t *testing.T) { diff --git a/internal/engine/eval/rego/config.go b/internal/engine/eval/rego/config.go index 61533b2341..69bd558a55 100644 --- a/internal/engine/eval/rego/config.go +++ b/internal/engine/eval/rego/config.go @@ -22,7 +22,7 @@ import ( "github.com/go-playground/validator/v10" "github.com/go-viper/mapstructure/v2" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // Config is the configuration for the rego evaluator diff --git a/internal/engine/eval/rego/eval.go b/internal/engine/eval/rego/eval.go index 1d16af7b18..64067878b2 100644 --- a/internal/engine/eval/rego/eval.go +++ b/internal/engine/eval/rego/eval.go @@ -25,9 +25,9 @@ import ( "github.com/open-policy-agent/opa/topdown/print" "google.golang.org/protobuf/reflect/protoreflect" - engif "github.com/stacklok/minder/internal/engine/interfaces" - eoptions "github.com/stacklok/minder/internal/engine/options" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + engif "github.com/mindersec/minder/internal/engine/interfaces" + eoptions "github.com/mindersec/minder/internal/engine/options" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) const ( diff --git a/internal/engine/eval/rego/fuzz_test.go b/internal/engine/eval/rego/fuzz_test.go index 82316383de..418c30254e 100644 --- a/internal/engine/eval/rego/fuzz_test.go +++ b/internal/engine/eval/rego/fuzz_test.go @@ -18,8 +18,8 @@ import ( "context" "testing" - engif "github.com/stacklok/minder/internal/engine/interfaces" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + engif "github.com/mindersec/minder/internal/engine/interfaces" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // FuzzRegoEval tests for unexpected behavior in e.Eval(). diff --git a/internal/engine/eval/rego/lib.go b/internal/engine/eval/rego/lib.go index 5d0379a9d4..7e36649adc 100644 --- a/internal/engine/eval/rego/lib.go +++ b/internal/engine/eval/rego/lib.go @@ -32,7 +32,7 @@ import ( "github.com/stacklok/frizbee/pkg/replacer" "github.com/stacklok/frizbee/pkg/utils/config" - engif "github.com/stacklok/minder/internal/engine/interfaces" + engif "github.com/mindersec/minder/internal/engine/interfaces" ) // MinderRegoLib contains the minder-specific functions for rego diff --git a/internal/engine/eval/rego/lib_test.go b/internal/engine/eval/rego/lib_test.go index de28c98c31..3bb88bed18 100644 --- a/internal/engine/eval/rego/lib_test.go +++ b/internal/engine/eval/rego/lib_test.go @@ -22,10 +22,10 @@ import ( memfs "github.com/go-git/go-billy/v5/memfs" "github.com/stretchr/testify/require" - engerrors "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/eval/rego" - engif "github.com/stacklok/minder/internal/engine/interfaces" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + engerrors "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/eval/rego" + engif "github.com/mindersec/minder/internal/engine/interfaces" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestFileExistsWithExistingFile(t *testing.T) { diff --git a/internal/engine/eval/rego/rego_test.go b/internal/engine/eval/rego/rego_test.go index 1042c5a788..98e5add0cc 100644 --- a/internal/engine/eval/rego/rego_test.go +++ b/internal/engine/eval/rego/rego_test.go @@ -23,10 +23,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - engerrors "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/eval/rego" - engif "github.com/stacklok/minder/internal/engine/interfaces" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + engerrors "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/eval/rego" + engif "github.com/mindersec/minder/internal/engine/interfaces" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // Evaluates a simple query against a simple profile diff --git a/internal/engine/eval/rego/result.go b/internal/engine/eval/rego/result.go index 0fdde302dd..9996c03634 100644 --- a/internal/engine/eval/rego/result.go +++ b/internal/engine/eval/rego/result.go @@ -23,9 +23,9 @@ import ( "github.com/open-policy-agent/opa/rego" "google.golang.org/protobuf/reflect/protoreflect" - engerrors "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/eval/templates" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + engerrors "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/eval/templates" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // EvaluationType is the type of evaluation to perform diff --git a/internal/engine/eval/rego/result_test.go b/internal/engine/eval/rego/result_test.go index 960f23241f..ceb6e73ea9 100644 --- a/internal/engine/eval/rego/result_test.go +++ b/internal/engine/eval/rego/result_test.go @@ -19,8 +19,8 @@ import ( "github.com/stretchr/testify/require" - evalerrors "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/eval/templates" + evalerrors "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/eval/templates" ) func TestEvaluationDetailRendering(t *testing.T) { diff --git a/internal/engine/eval/trusty/actions.go b/internal/engine/eval/trusty/actions.go index 59f6de438c..debb491250 100644 --- a/internal/engine/eval/trusty/actions.go +++ b/internal/engine/eval/trusty/actions.go @@ -30,11 +30,11 @@ import ( "github.com/rs/zerolog" trustytypes "github.com/stacklok/trusty-sdk-go/pkg/types" - "github.com/stacklok/minder/internal/constants" - "github.com/stacklok/minder/internal/engine/eval/pr_actions" - pbinternal "github.com/stacklok/minder/internal/proto" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/constants" + "github.com/mindersec/minder/internal/engine/eval/pr_actions" + pbinternal "github.com/mindersec/minder/internal/proto" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) const ( diff --git a/internal/engine/eval/trusty/actions_test.go b/internal/engine/eval/trusty/actions_test.go index cf2cc9e185..522917224d 100644 --- a/internal/engine/eval/trusty/actions_test.go +++ b/internal/engine/eval/trusty/actions_test.go @@ -21,7 +21,7 @@ import ( trustytypes "github.com/stacklok/trusty-sdk-go/pkg/types" "github.com/stretchr/testify/require" - v1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + v1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestNewSummaryPrHandler(t *testing.T) { diff --git a/internal/engine/eval/trusty/config.go b/internal/engine/eval/trusty/config.go index 7128aa18c5..c16508b489 100644 --- a/internal/engine/eval/trusty/config.go +++ b/internal/engine/eval/trusty/config.go @@ -22,8 +22,8 @@ import ( "github.com/go-playground/validator/v10" "github.com/go-viper/mapstructure/v2" - "github.com/stacklok/minder/internal/engine/eval/pr_actions" - pbinternal "github.com/stacklok/minder/internal/proto" + "github.com/mindersec/minder/internal/engine/eval/pr_actions" + pbinternal "github.com/mindersec/minder/internal/proto" ) var ( diff --git a/internal/engine/eval/trusty/trusty.go b/internal/engine/eval/trusty/trusty.go index da706a4602..399a6c2bfd 100644 --- a/internal/engine/eval/trusty/trusty.go +++ b/internal/engine/eval/trusty/trusty.go @@ -26,13 +26,13 @@ import ( trustytypes "github.com/stacklok/trusty-sdk-go/pkg/types" "google.golang.org/protobuf/reflect/protoreflect" - evalerrors "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/eval/pr_actions" - "github.com/stacklok/minder/internal/engine/eval/templates" - engif "github.com/stacklok/minder/internal/engine/interfaces" - eoptions "github.com/stacklok/minder/internal/engine/options" - pbinternal "github.com/stacklok/minder/internal/proto" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + evalerrors "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/eval/pr_actions" + "github.com/mindersec/minder/internal/engine/eval/templates" + engif "github.com/mindersec/minder/internal/engine/interfaces" + eoptions "github.com/mindersec/minder/internal/engine/options" + pbinternal "github.com/mindersec/minder/internal/proto" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) const ( diff --git a/internal/engine/eval/trusty/trusty_test.go b/internal/engine/eval/trusty/trusty_test.go index 2113aa4d8f..0776968bd7 100644 --- a/internal/engine/eval/trusty/trusty_test.go +++ b/internal/engine/eval/trusty/trusty_test.go @@ -25,13 +25,13 @@ import ( trustytypes "github.com/stacklok/trusty-sdk-go/pkg/types" "github.com/stretchr/testify/require" - evalerrors "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/eval/pr_actions" - "github.com/stacklok/minder/internal/engine/eval/templates" - engif "github.com/stacklok/minder/internal/engine/interfaces" - pbinternal "github.com/stacklok/minder/internal/proto" - mock_github "github.com/stacklok/minder/internal/providers/github/mock" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + evalerrors "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/eval/pr_actions" + "github.com/mindersec/minder/internal/engine/eval/templates" + engif "github.com/mindersec/minder/internal/engine/interfaces" + pbinternal "github.com/mindersec/minder/internal/proto" + mock_github "github.com/mindersec/minder/internal/providers/github/mock" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) func TestBuildEvalResult(t *testing.T) { diff --git a/internal/engine/eval/vulncheck/actions.go b/internal/engine/eval/vulncheck/actions.go index b8beb935a5..44bfb334b6 100644 --- a/internal/engine/eval/vulncheck/actions.go +++ b/internal/engine/eval/vulncheck/actions.go @@ -21,10 +21,10 @@ import ( "github.com/google/go-github/v63/github" - "github.com/stacklok/minder/internal/engine/eval/pr_actions" - pbinternal "github.com/stacklok/minder/internal/proto" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/engine/eval/pr_actions" + pbinternal "github.com/mindersec/minder/internal/proto" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) type prStatusHandler interface { diff --git a/internal/engine/eval/vulncheck/config.go b/internal/engine/eval/vulncheck/config.go index 0dc510a236..540d8a2933 100644 --- a/internal/engine/eval/vulncheck/config.go +++ b/internal/engine/eval/vulncheck/config.go @@ -22,8 +22,8 @@ import ( "github.com/go-playground/validator/v10" "github.com/go-viper/mapstructure/v2" - "github.com/stacklok/minder/internal/engine/eval/pr_actions" - pbinternal "github.com/stacklok/minder/internal/proto" + "github.com/mindersec/minder/internal/engine/eval/pr_actions" + pbinternal "github.com/mindersec/minder/internal/proto" ) type vulnDbType string diff --git a/internal/engine/eval/vulncheck/pkgdb.go b/internal/engine/eval/vulncheck/pkgdb.go index 18a14fe6a2..5489e756eb 100644 --- a/internal/engine/eval/vulncheck/pkgdb.go +++ b/internal/engine/eval/vulncheck/pkgdb.go @@ -27,8 +27,8 @@ import ( "github.com/puzpuzpuz/xsync/v3" - pbinternal "github.com/stacklok/minder/internal/proto" - "github.com/stacklok/minder/internal/util" + pbinternal "github.com/mindersec/minder/internal/proto" + "github.com/mindersec/minder/internal/util" ) // ErrPkgNotFound is returned when the package is not found in the package repository diff --git a/internal/engine/eval/vulncheck/pkgdb_test.go b/internal/engine/eval/vulncheck/pkgdb_test.go index b27f7222f3..c27eb855b8 100644 --- a/internal/engine/eval/vulncheck/pkgdb_test.go +++ b/internal/engine/eval/vulncheck/pkgdb_test.go @@ -25,7 +25,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - pbinternal "github.com/stacklok/minder/internal/proto" + pbinternal "github.com/mindersec/minder/internal/proto" ) func TestNpmPkgDb(t *testing.T) { diff --git a/internal/engine/eval/vulncheck/review.go b/internal/engine/eval/vulncheck/review.go index e73f53bd45..376ec44c44 100644 --- a/internal/engine/eval/vulncheck/review.go +++ b/internal/engine/eval/vulncheck/review.go @@ -27,9 +27,9 @@ import ( "github.com/google/go-github/v63/github" "github.com/rs/zerolog" - pbinternal "github.com/stacklok/minder/internal/proto" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + pbinternal "github.com/mindersec/minder/internal/proto" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) const ( diff --git a/internal/engine/eval/vulncheck/review_test.go b/internal/engine/eval/vulncheck/review_test.go index 40cc9a1df9..12962cb1f9 100644 --- a/internal/engine/eval/vulncheck/review_test.go +++ b/internal/engine/eval/vulncheck/review_test.go @@ -29,9 +29,9 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - pbinternal "github.com/stacklok/minder/internal/proto" - mock_ghclient "github.com/stacklok/minder/internal/providers/github/mock" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + pbinternal "github.com/mindersec/minder/internal/proto" + mock_ghclient "github.com/mindersec/minder/internal/providers/github/mock" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) const ( diff --git a/internal/engine/eval/vulncheck/vulncheck.go b/internal/engine/eval/vulncheck/vulncheck.go index f3d3e9ff8e..a7ac3488f0 100644 --- a/internal/engine/eval/vulncheck/vulncheck.go +++ b/internal/engine/eval/vulncheck/vulncheck.go @@ -26,13 +26,13 @@ import ( "github.com/rs/zerolog" "google.golang.org/protobuf/reflect/protoreflect" - evalerrors "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/eval/templates" - engif "github.com/stacklok/minder/internal/engine/interfaces" - eoptions "github.com/stacklok/minder/internal/engine/options" - "github.com/stacklok/minder/internal/flags" - pbinternal "github.com/stacklok/minder/internal/proto" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + evalerrors "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/eval/templates" + engif "github.com/mindersec/minder/internal/engine/interfaces" + eoptions "github.com/mindersec/minder/internal/engine/options" + "github.com/mindersec/minder/internal/flags" + pbinternal "github.com/mindersec/minder/internal/proto" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) const ( diff --git a/internal/engine/eval/vulncheck/vulncheck_test.go b/internal/engine/eval/vulncheck/vulncheck_test.go index 59f82fec3a..78c7939585 100644 --- a/internal/engine/eval/vulncheck/vulncheck_test.go +++ b/internal/engine/eval/vulncheck/vulncheck_test.go @@ -19,8 +19,8 @@ import ( "github.com/stretchr/testify/require" - evalerrors "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/eval/templates" + evalerrors "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/eval/templates" ) func TestEvaluationDetailRendering(t *testing.T) { diff --git a/internal/engine/eval/vulncheck/vulndb.go b/internal/engine/eval/vulncheck/vulndb.go index 0cc792f6f1..db58fe0635 100644 --- a/internal/engine/eval/vulncheck/vulndb.go +++ b/internal/engine/eval/vulncheck/vulndb.go @@ -27,7 +27,7 @@ import ( "github.com/hashicorp/go-version" - pbinternal "github.com/stacklok/minder/internal/proto" + pbinternal "github.com/mindersec/minder/internal/proto" ) // Vulnerability is a vulnerability JSON representation diff --git a/internal/engine/eval/vulncheck/vulndb_test.go b/internal/engine/eval/vulncheck/vulndb_test.go index 6984bfe773..f500a19ad5 100644 --- a/internal/engine/eval/vulncheck/vulndb_test.go +++ b/internal/engine/eval/vulncheck/vulndb_test.go @@ -26,7 +26,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - pbinternal "github.com/stacklok/minder/internal/proto" + pbinternal "github.com/mindersec/minder/internal/proto" ) const multipleRanges = ` diff --git a/internal/engine/eval_status.go b/internal/engine/eval_status.go index 2dcfb5879c..bfcc672c32 100644 --- a/internal/engine/eval_status.go +++ b/internal/engine/eval_status.go @@ -23,11 +23,11 @@ import ( "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/entities" - evalerrors "github.com/stacklok/minder/internal/engine/errors" - engif "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/profiles/models" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/entities" + evalerrors "github.com/mindersec/minder/internal/engine/errors" + engif "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/profiles/models" ) func (e *executor) createEvalStatusParams( diff --git a/internal/engine/executor.go b/internal/engine/executor.go index 04fdd937f5..f0be37d2ae 100644 --- a/internal/engine/executor.go +++ b/internal/engine/executor.go @@ -23,26 +23,26 @@ import ( "github.com/open-feature/go-sdk/openfeature" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/actions" - "github.com/stacklok/minder/internal/engine/actions/alert" - "github.com/stacklok/minder/internal/engine/actions/remediate" - "github.com/stacklok/minder/internal/engine/entities" - evalerrors "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/ingestcache" - engif "github.com/stacklok/minder/internal/engine/interfaces" - eoptions "github.com/stacklok/minder/internal/engine/options" - "github.com/stacklok/minder/internal/engine/rtengine" - "github.com/stacklok/minder/internal/engine/selectors" - "github.com/stacklok/minder/internal/entities/properties/service" - "github.com/stacklok/minder/internal/history" - minderlogger "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/profiles" - "github.com/stacklok/minder/internal/profiles/models" - "github.com/stacklok/minder/internal/providers/manager" - provsel "github.com/stacklok/minder/internal/providers/selectors" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provinfv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/actions" + "github.com/mindersec/minder/internal/engine/actions/alert" + "github.com/mindersec/minder/internal/engine/actions/remediate" + "github.com/mindersec/minder/internal/engine/entities" + evalerrors "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/ingestcache" + engif "github.com/mindersec/minder/internal/engine/interfaces" + eoptions "github.com/mindersec/minder/internal/engine/options" + "github.com/mindersec/minder/internal/engine/rtengine" + "github.com/mindersec/minder/internal/engine/selectors" + "github.com/mindersec/minder/internal/entities/properties/service" + "github.com/mindersec/minder/internal/history" + minderlogger "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/profiles" + "github.com/mindersec/minder/internal/profiles/models" + "github.com/mindersec/minder/internal/providers/manager" + provsel "github.com/mindersec/minder/internal/providers/selectors" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provinfv1 "github.com/mindersec/minder/pkg/providers/v1" ) //go:generate go run go.uber.org/mock/mockgen -package mock_$GOPACKAGE -destination=./mock/$GOFILE -source=./$GOFILE diff --git a/internal/engine/executor_test.go b/internal/engine/executor_test.go index 5fcb3b6b25..032ddb5db4 100644 --- a/internal/engine/executor_test.go +++ b/internal/engine/executor_test.go @@ -31,33 +31,33 @@ import ( "golang.org/x/oauth2" "google.golang.org/protobuf/types/known/structpb" - mockdb "github.com/stacklok/minder/database/mock" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/controlplane/metrics" - "github.com/stacklok/minder/internal/crypto" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine" - "github.com/stacklok/minder/internal/engine/actions/alert" - "github.com/stacklok/minder/internal/engine/actions/remediate" - "github.com/stacklok/minder/internal/engine/entities" - "github.com/stacklok/minder/internal/engine/selectors" - mock_selectors "github.com/stacklok/minder/internal/engine/selectors/mock" - "github.com/stacklok/minder/internal/entities/models" - mockprops "github.com/stacklok/minder/internal/entities/properties/service/mock" - "github.com/stacklok/minder/internal/flags" - mockhistory "github.com/stacklok/minder/internal/history/mock" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/metrics/meters" - "github.com/stacklok/minder/internal/profiles" - "github.com/stacklok/minder/internal/providers" - "github.com/stacklok/minder/internal/providers/github/clients" - ghmanager "github.com/stacklok/minder/internal/providers/github/manager" - ghService "github.com/stacklok/minder/internal/providers/github/service" - "github.com/stacklok/minder/internal/providers/manager" - "github.com/stacklok/minder/internal/providers/ratecache" - "github.com/stacklok/minder/internal/providers/telemetry" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provinfv1 "github.com/stacklok/minder/pkg/providers/v1" + mockdb "github.com/mindersec/minder/database/mock" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/controlplane/metrics" + "github.com/mindersec/minder/internal/crypto" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine" + "github.com/mindersec/minder/internal/engine/actions/alert" + "github.com/mindersec/minder/internal/engine/actions/remediate" + "github.com/mindersec/minder/internal/engine/entities" + "github.com/mindersec/minder/internal/engine/selectors" + mock_selectors "github.com/mindersec/minder/internal/engine/selectors/mock" + "github.com/mindersec/minder/internal/entities/models" + mockprops "github.com/mindersec/minder/internal/entities/properties/service/mock" + "github.com/mindersec/minder/internal/flags" + mockhistory "github.com/mindersec/minder/internal/history/mock" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/metrics/meters" + "github.com/mindersec/minder/internal/profiles" + "github.com/mindersec/minder/internal/providers" + "github.com/mindersec/minder/internal/providers/github/clients" + ghmanager "github.com/mindersec/minder/internal/providers/github/manager" + ghService "github.com/mindersec/minder/internal/providers/github/service" + "github.com/mindersec/minder/internal/providers/manager" + "github.com/mindersec/minder/internal/providers/ratecache" + "github.com/mindersec/minder/internal/providers/telemetry" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provinfv1 "github.com/mindersec/minder/pkg/providers/v1" ) func TestExecutor_handleEntityEvent(t *testing.T) { diff --git a/internal/engine/handler.go b/internal/engine/handler.go index fc97bbc5cf..d8ce5ab000 100644 --- a/internal/engine/handler.go +++ b/internal/engine/handler.go @@ -24,11 +24,11 @@ import ( "github.com/ThreeDotsLabs/watermill/message" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/engine/engcontext" - "github.com/stacklok/minder/internal/engine/entities" - "github.com/stacklok/minder/internal/events" - minderlogger "github.com/stacklok/minder/internal/logger" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/engine/engcontext" + "github.com/mindersec/minder/internal/engine/entities" + "github.com/mindersec/minder/internal/events" + minderlogger "github.com/mindersec/minder/internal/logger" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) const ( diff --git a/internal/engine/handler_test.go b/internal/engine/handler_test.go index e5fde8321b..7180d1877a 100644 --- a/internal/engine/handler_test.go +++ b/internal/engine/handler_test.go @@ -24,13 +24,13 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/engine" - "github.com/stacklok/minder/internal/engine/entities" - mockengine "github.com/stacklok/minder/internal/engine/mock" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/util/testqueue" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/engine" + "github.com/mindersec/minder/internal/engine/entities" + mockengine "github.com/mindersec/minder/internal/engine/mock" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/util/testqueue" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestExecutorEventHandler_handleEntityEvent(t *testing.T) { diff --git a/internal/engine/ingestcache/cache_test.go b/internal/engine/ingestcache/cache_test.go index a684144423..8000175e4e 100644 --- a/internal/engine/ingestcache/cache_test.go +++ b/internal/engine/ingestcache/cache_test.go @@ -20,14 +20,14 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/engine/ingestcache" - "github.com/stacklok/minder/internal/engine/ingester/artifact" - "github.com/stacklok/minder/internal/engine/ingester/builtin" - "github.com/stacklok/minder/internal/engine/ingester/diff" - "github.com/stacklok/minder/internal/engine/ingester/git" - "github.com/stacklok/minder/internal/engine/ingester/rest" - engif "github.com/stacklok/minder/internal/engine/interfaces" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/engine/ingestcache" + "github.com/mindersec/minder/internal/engine/ingester/artifact" + "github.com/mindersec/minder/internal/engine/ingester/builtin" + "github.com/mindersec/minder/internal/engine/ingester/diff" + "github.com/mindersec/minder/internal/engine/ingester/git" + "github.com/mindersec/minder/internal/engine/ingester/rest" + engif "github.com/mindersec/minder/internal/engine/interfaces" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestCache(t *testing.T) { diff --git a/internal/engine/ingestcache/ingestcache.go b/internal/engine/ingestcache/ingestcache.go index ee97f0923d..470e82d815 100644 --- a/internal/engine/ingestcache/ingestcache.go +++ b/internal/engine/ingestcache/ingestcache.go @@ -25,7 +25,7 @@ import ( "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/reflect/protoreflect" - engif "github.com/stacklok/minder/internal/engine/interfaces" + engif "github.com/mindersec/minder/internal/engine/interfaces" ) // ErrBuildingCacheKey is the error returned when building a cache key fails diff --git a/internal/engine/ingestcache/interface.go b/internal/engine/ingestcache/interface.go index c5ba4d455a..9d2f7f37af 100644 --- a/internal/engine/ingestcache/interface.go +++ b/internal/engine/ingestcache/interface.go @@ -19,7 +19,7 @@ package ingestcache import ( "google.golang.org/protobuf/reflect/protoreflect" - engif "github.com/stacklok/minder/internal/engine/interfaces" + engif "github.com/mindersec/minder/internal/engine/interfaces" ) // Cache is the interface for the ingest cache. diff --git a/internal/engine/ingestcache/noop.go b/internal/engine/ingestcache/noop.go index f226562b95..5f1a62cca8 100644 --- a/internal/engine/ingestcache/noop.go +++ b/internal/engine/ingestcache/noop.go @@ -17,7 +17,7 @@ package ingestcache import ( "google.golang.org/protobuf/reflect/protoreflect" - engif "github.com/stacklok/minder/internal/engine/interfaces" + engif "github.com/mindersec/minder/internal/engine/interfaces" ) // NoopCache is the interface for the ingest cache. diff --git a/internal/engine/ingester/artifact/artifact.go b/internal/engine/ingester/artifact/artifact.go index c44a3c75c9..86a32c97f7 100644 --- a/internal/engine/ingester/artifact/artifact.go +++ b/internal/engine/ingester/artifact/artifact.go @@ -26,15 +26,15 @@ import ( "github.com/sigstore/sigstore-go/pkg/fulcio/certificate" "google.golang.org/protobuf/proto" - evalerrors "github.com/stacklok/minder/internal/engine/errors" - engif "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/entities/checkpoints" - artif "github.com/stacklok/minder/internal/providers/artifact" - "github.com/stacklok/minder/internal/verifier" - "github.com/stacklok/minder/internal/verifier/sigstore/container" - "github.com/stacklok/minder/internal/verifier/verifyif" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + evalerrors "github.com/mindersec/minder/internal/engine/errors" + engif "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/entities/checkpoints" + artif "github.com/mindersec/minder/internal/providers/artifact" + "github.com/mindersec/minder/internal/verifier" + "github.com/mindersec/minder/internal/verifier/sigstore/container" + "github.com/mindersec/minder/internal/verifier/verifyif" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) const ( diff --git a/internal/engine/ingester/artifact/artifact_test.go b/internal/engine/ingester/artifact/artifact_test.go index ed0b484acd..c0869191db 100644 --- a/internal/engine/ingester/artifact/artifact_test.go +++ b/internal/engine/ingester/artifact/artifact_test.go @@ -25,17 +25,17 @@ import ( "go.uber.org/mock/gomock" "google.golang.org/protobuf/types/known/timestamppb" - evalerrors "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/providers/credentials" - "github.com/stacklok/minder/internal/providers/github/clients" - mockghclient "github.com/stacklok/minder/internal/providers/github/mock" - "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/providers/ratecache" - "github.com/stacklok/minder/internal/providers/telemetry" - "github.com/stacklok/minder/internal/verifier/verifyif" - mockverify "github.com/stacklok/minder/internal/verifier/verifyif/mock" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provinfv1 "github.com/stacklok/minder/pkg/providers/v1" + evalerrors "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/providers/credentials" + "github.com/mindersec/minder/internal/providers/github/clients" + mockghclient "github.com/mindersec/minder/internal/providers/github/mock" + "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/providers/ratecache" + "github.com/mindersec/minder/internal/providers/telemetry" + "github.com/mindersec/minder/internal/verifier/verifyif" + mockverify "github.com/mindersec/minder/internal/verifier/verifyif/mock" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provinfv1 "github.com/mindersec/minder/pkg/providers/v1" ) func testGithubProvider() (provinfv1.GitHub, error) { diff --git a/internal/engine/ingester/builtin/builtin.go b/internal/engine/ingester/builtin/builtin.go index ec3695bc78..c5c2d3b580 100644 --- a/internal/engine/ingester/builtin/builtin.go +++ b/internal/engine/ingester/builtin/builtin.go @@ -27,12 +27,12 @@ import ( "github.com/go-git/go-billy/v5" "google.golang.org/protobuf/reflect/protoreflect" - evalerrors "github.com/stacklok/minder/internal/engine/errors" - engif "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/entities/checkpoints" - "github.com/stacklok/minder/internal/util" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - "github.com/stacklok/minder/pkg/rule_methods" + evalerrors "github.com/mindersec/minder/internal/engine/errors" + engif "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/entities/checkpoints" + "github.com/mindersec/minder/internal/util" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/pkg/rule_methods" ) const ( diff --git a/internal/engine/ingester/builtin/builtin_test.go b/internal/engine/ingester/builtin/builtin_test.go index 37afc8f4d4..4ed56c583f 100644 --- a/internal/engine/ingester/builtin/builtin_test.go +++ b/internal/engine/ingester/builtin/builtin_test.go @@ -25,8 +25,8 @@ import ( "github.com/stretchr/testify/assert" "google.golang.org/protobuf/reflect/protoreflect" - evalerrors "github.com/stacklok/minder/internal/engine/errors" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + evalerrors "github.com/mindersec/minder/internal/engine/errors" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestBuiltInWorks(t *testing.T) { diff --git a/internal/engine/ingester/diff/diff.go b/internal/engine/ingester/diff/diff.go index 9f7ef04c6c..096814726f 100644 --- a/internal/engine/ingester/diff/diff.go +++ b/internal/engine/ingester/diff/diff.go @@ -38,11 +38,11 @@ import ( "github.com/rs/zerolog" "google.golang.org/protobuf/reflect/protoreflect" - engif "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/entities/checkpoints" - pbinternal "github.com/stacklok/minder/internal/proto" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + engif "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/entities/checkpoints" + pbinternal "github.com/mindersec/minder/internal/proto" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) const ( diff --git a/internal/engine/ingester/diff/diff_test.go b/internal/engine/ingester/diff/diff_test.go index ca51349a81..5012ae7100 100644 --- a/internal/engine/ingester/diff/diff_test.go +++ b/internal/engine/ingester/diff/diff_test.go @@ -29,9 +29,9 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - pbinternal "github.com/stacklok/minder/internal/proto" - mock_github "github.com/stacklok/minder/internal/providers/github/mock" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + pbinternal "github.com/mindersec/minder/internal/proto" + mock_github "github.com/mindersec/minder/internal/providers/github/mock" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestGetEcosystemForFile(t *testing.T) { diff --git a/internal/engine/ingester/diff/parse.go b/internal/engine/ingester/diff/parse.go index ad805aff1c..6fe18efcd1 100644 --- a/internal/engine/ingester/diff/parse.go +++ b/internal/engine/ingester/diff/parse.go @@ -22,8 +22,8 @@ import ( "slices" "strings" - pbinternal "github.com/stacklok/minder/internal/proto" - "github.com/stacklok/minder/internal/util" + pbinternal "github.com/mindersec/minder/internal/proto" + "github.com/mindersec/minder/internal/util" ) var ( diff --git a/internal/engine/ingester/diff/parse_test.go b/internal/engine/ingester/diff/parse_test.go index cf4cdd89b7..4624ed5172 100644 --- a/internal/engine/ingester/diff/parse_test.go +++ b/internal/engine/ingester/diff/parse_test.go @@ -21,7 +21,7 @@ import ( "github.com/stretchr/testify/assert" "google.golang.org/protobuf/proto" - pbinternal "github.com/stacklok/minder/internal/proto" + pbinternal "github.com/mindersec/minder/internal/proto" ) func TestGoParse(t *testing.T) { diff --git a/internal/engine/ingester/git/git.go b/internal/engine/ingester/git/git.go index edf6d5d230..bef15ed572 100644 --- a/internal/engine/ingester/git/git.go +++ b/internal/engine/ingester/git/git.go @@ -24,11 +24,11 @@ import ( "github.com/go-viper/mapstructure/v2" "google.golang.org/protobuf/reflect/protoreflect" - engerrors "github.com/stacklok/minder/internal/engine/errors" - engif "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/entities/checkpoints" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + engerrors "github.com/mindersec/minder/internal/engine/errors" + engif "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/entities/checkpoints" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) const ( diff --git a/internal/engine/ingester/git/git_test.go b/internal/engine/ingester/git/git_test.go index 331a7afbe5..c15b452d48 100644 --- a/internal/engine/ingester/git/git_test.go +++ b/internal/engine/ingester/git/git_test.go @@ -21,14 +21,14 @@ import ( "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/config/server" - engerrors "github.com/stacklok/minder/internal/engine/errors" - gitengine "github.com/stacklok/minder/internal/engine/ingester/git" - "github.com/stacklok/minder/internal/providers/credentials" - gitclient "github.com/stacklok/minder/internal/providers/git" - "github.com/stacklok/minder/internal/providers/testproviders" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - v1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/config/server" + engerrors "github.com/mindersec/minder/internal/engine/errors" + gitengine "github.com/mindersec/minder/internal/engine/ingester/git" + "github.com/mindersec/minder/internal/providers/credentials" + gitclient "github.com/mindersec/minder/internal/providers/git" + "github.com/mindersec/minder/internal/providers/testproviders" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + v1 "github.com/mindersec/minder/pkg/providers/v1" ) func TestGitIngestWithCloneURLFromRepo(t *testing.T) { @@ -193,7 +193,7 @@ func TestGitIngestFailsBecauseOfAuthorization(t *testing.T) { require.NoError(t, err, "expected no error") got, err := gi.Ingest(context.Background(), &pb.Artifact{}, map[string]any{ - "clone_url": "https://github.com/stacklok/minder.git", + "clone_url": "https://github.com/mindersec/minder.git", }) require.Error(t, err, "expected error") require.Nil(t, got, "expected nil result") diff --git a/internal/engine/ingester/ingester.go b/internal/engine/ingester/ingester.go index 725ca593e1..3fd3631aef 100644 --- a/internal/engine/ingester/ingester.go +++ b/internal/engine/ingester/ingester.go @@ -21,14 +21,14 @@ import ( "errors" "fmt" - "github.com/stacklok/minder/internal/engine/ingester/artifact" - "github.com/stacklok/minder/internal/engine/ingester/builtin" - "github.com/stacklok/minder/internal/engine/ingester/diff" - "github.com/stacklok/minder/internal/engine/ingester/git" - "github.com/stacklok/minder/internal/engine/ingester/rest" - engif "github.com/stacklok/minder/internal/engine/interfaces" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provinfv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/engine/ingester/artifact" + "github.com/mindersec/minder/internal/engine/ingester/builtin" + "github.com/mindersec/minder/internal/engine/ingester/diff" + "github.com/mindersec/minder/internal/engine/ingester/git" + "github.com/mindersec/minder/internal/engine/ingester/rest" + engif "github.com/mindersec/minder/internal/engine/interfaces" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provinfv1 "github.com/mindersec/minder/pkg/providers/v1" ) // test that the ingester implementations implements the interface diff --git a/internal/engine/ingester/ingester_test.go b/internal/engine/ingester/ingester_test.go index 7da207f6eb..1c628deb5e 100644 --- a/internal/engine/ingester/ingester_test.go +++ b/internal/engine/ingester/ingester_test.go @@ -22,16 +22,16 @@ import ( "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/engine/ingester/artifact" - "github.com/stacklok/minder/internal/engine/ingester/builtin" - "github.com/stacklok/minder/internal/engine/ingester/git" - "github.com/stacklok/minder/internal/engine/ingester/rest" - "github.com/stacklok/minder/internal/providers/credentials" - "github.com/stacklok/minder/internal/providers/github/clients" - "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/providers/ratecache" - "github.com/stacklok/minder/internal/providers/telemetry" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/engine/ingester/artifact" + "github.com/mindersec/minder/internal/engine/ingester/builtin" + "github.com/mindersec/minder/internal/engine/ingester/git" + "github.com/mindersec/minder/internal/engine/ingester/rest" + "github.com/mindersec/minder/internal/providers/credentials" + "github.com/mindersec/minder/internal/providers/github/clients" + "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/providers/ratecache" + "github.com/mindersec/minder/internal/providers/telemetry" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestNewRuleDataIngest(t *testing.T) { diff --git a/internal/engine/ingester/rest/rest.go b/internal/engine/ingester/rest/rest.go index 90eeff94aa..c7b0431aaa 100644 --- a/internal/engine/ingester/rest/rest.go +++ b/internal/engine/ingester/rest/rest.go @@ -29,11 +29,11 @@ import ( "github.com/rs/zerolog/log" "google.golang.org/protobuf/reflect/protoreflect" - engif "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/entities/checkpoints" - "github.com/stacklok/minder/internal/util" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + engif "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/entities/checkpoints" + "github.com/mindersec/minder/internal/util" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) const ( diff --git a/internal/engine/ingester/rest/rest_test.go b/internal/engine/ingester/rest/rest_test.go index e13bc0b7cc..26f89fa405 100644 --- a/internal/engine/ingester/rest/rest_test.go +++ b/internal/engine/ingester/rest/rest_test.go @@ -29,15 +29,15 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" - engif "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/providers/credentials" - "github.com/stacklok/minder/internal/providers/github/clients" - "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/providers/ratecache" - "github.com/stacklok/minder/internal/providers/telemetry" - "github.com/stacklok/minder/internal/providers/testproviders" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + engif "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/providers/credentials" + "github.com/mindersec/minder/internal/providers/github/clients" + "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/providers/ratecache" + "github.com/mindersec/minder/internal/providers/telemetry" + "github.com/mindersec/minder/internal/providers/testproviders" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) func TestNewRestRuleDataIngest(t *testing.T) { diff --git a/internal/engine/interfaces/interface.go b/internal/engine/interfaces/interface.go index c2df0c283a..1418d0ede6 100644 --- a/internal/engine/interfaces/interface.go +++ b/internal/engine/interfaces/interface.go @@ -27,10 +27,10 @@ import ( "github.com/rs/zerolog" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/db" - evalerrors "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/entities/checkpoints" - "github.com/stacklok/minder/internal/profiles/models" + "github.com/mindersec/minder/internal/db" + evalerrors "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/entities/checkpoints" + "github.com/mindersec/minder/internal/profiles/models" ) // Ingester is the interface for a rule type ingester diff --git a/internal/engine/metrics.go b/internal/engine/metrics.go index 2e850807cc..df0dda4a24 100644 --- a/internal/engine/metrics.go +++ b/internal/engine/metrics.go @@ -22,8 +22,8 @@ import ( "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/metric" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/metrics/meters" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/metrics/meters" ) // ExecutorMetrics encapsulates metrics operations for the executor diff --git a/internal/engine/mock/executor.go b/internal/engine/mock/executor.go index c8755d2954..35b1b2fa7c 100644 --- a/internal/engine/mock/executor.go +++ b/internal/engine/mock/executor.go @@ -13,7 +13,7 @@ import ( context "context" reflect "reflect" - entities "github.com/stacklok/minder/internal/engine/entities" + entities "github.com/mindersec/minder/internal/engine/entities" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/engine/options/options.go b/internal/engine/options/options.go index fa0d96c4ad..a7e74b8f88 100644 --- a/internal/engine/options/options.go +++ b/internal/engine/options/options.go @@ -19,7 +19,7 @@ package options import ( "github.com/open-feature/go-sdk/openfeature" - "github.com/stacklok/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/engine/interfaces" ) // SupportsFlags interface advertises the fact that the implementer diff --git a/internal/engine/rtengine/cache.go b/internal/engine/rtengine/cache.go index 2d021c4b58..f122d2aeeb 100644 --- a/internal/engine/rtengine/cache.go +++ b/internal/engine/rtengine/cache.go @@ -22,11 +22,11 @@ import ( "github.com/google/uuid" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/ingestcache" - eoptions "github.com/stacklok/minder/internal/engine/options" - "github.com/stacklok/minder/internal/ruletypes" - provinfv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/ingestcache" + eoptions "github.com/mindersec/minder/internal/engine/options" + "github.com/mindersec/minder/internal/ruletypes" + provinfv1 "github.com/mindersec/minder/pkg/providers/v1" ) // Cache contains a set of RuleTypeEngine instances diff --git a/internal/engine/rtengine/cache_test.go b/internal/engine/rtengine/cache_test.go index b43d3a6741..1a0369953f 100644 --- a/internal/engine/rtengine/cache_test.go +++ b/internal/engine/rtengine/cache_test.go @@ -24,10 +24,10 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - "github.com/stacklok/minder/internal/db" - dbf "github.com/stacklok/minder/internal/db/fixtures" - "github.com/stacklok/minder/internal/engine/ingestcache" - "github.com/stacklok/minder/internal/providers/testproviders" + "github.com/mindersec/minder/internal/db" + dbf "github.com/mindersec/minder/internal/db/fixtures" + "github.com/mindersec/minder/internal/engine/ingestcache" + "github.com/mindersec/minder/internal/providers/testproviders" ) func TestGetRuleEngine(t *testing.T) { diff --git a/internal/engine/rtengine/engine.go b/internal/engine/rtengine/engine.go index a47a565d0e..bf2f7ea619 100644 --- a/internal/engine/rtengine/engine.go +++ b/internal/engine/rtengine/engine.go @@ -23,16 +23,16 @@ import ( "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/engine/entities" - enginerr "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/eval" - "github.com/stacklok/minder/internal/engine/ingestcache" - "github.com/stacklok/minder/internal/engine/ingester" - engif "github.com/stacklok/minder/internal/engine/interfaces" - eoptions "github.com/stacklok/minder/internal/engine/options" - "github.com/stacklok/minder/internal/profiles" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provinfv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/engine/entities" + enginerr "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/eval" + "github.com/mindersec/minder/internal/engine/ingestcache" + "github.com/mindersec/minder/internal/engine/ingester" + engif "github.com/mindersec/minder/internal/engine/interfaces" + eoptions "github.com/mindersec/minder/internal/engine/options" + "github.com/mindersec/minder/internal/profiles" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provinfv1 "github.com/mindersec/minder/pkg/providers/v1" ) // RuleMeta is the metadata for a rule diff --git a/internal/engine/selectors/mock/selectors.go b/internal/engine/selectors/mock/selectors.go index 68c1d1e518..592a7a73fb 100644 --- a/internal/engine/selectors/mock/selectors.go +++ b/internal/engine/selectors/mock/selectors.go @@ -12,10 +12,10 @@ package mock_selectors import ( reflect "reflect" - selectors "github.com/stacklok/minder/internal/engine/selectors" - models "github.com/stacklok/minder/internal/profiles/models" - proto "github.com/stacklok/minder/internal/proto" - v1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + selectors "github.com/mindersec/minder/internal/engine/selectors" + models "github.com/mindersec/minder/internal/profiles/models" + proto "github.com/mindersec/minder/internal/proto" + v1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/engine/selectors/selectors.go b/internal/engine/selectors/selectors.go index b6ebba1a25..9be6cbcb15 100644 --- a/internal/engine/selectors/selectors.go +++ b/internal/engine/selectors/selectors.go @@ -31,9 +31,9 @@ import ( "github.com/google/cel-go/common/types/ref" "github.com/google/cel-go/interpreter" - "github.com/stacklok/minder/internal/profiles/models" - internalpb "github.com/stacklok/minder/internal/proto" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/profiles/models" + internalpb "github.com/mindersec/minder/internal/proto" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var ( diff --git a/internal/engine/selectors/selectors_test.go b/internal/engine/selectors/selectors_test.go index 58a321ec17..05ac55d38a 100644 --- a/internal/engine/selectors/selectors_test.go +++ b/internal/engine/selectors/selectors_test.go @@ -24,9 +24,9 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/protobuf/types/known/structpb" - "github.com/stacklok/minder/internal/profiles/models" - internalpb "github.com/stacklok/minder/internal/proto" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/profiles/models" + internalpb "github.com/mindersec/minder/internal/proto" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestNewSelectorEngine(t *testing.T) { diff --git a/internal/entities/handlers/handler.go b/internal/entities/handlers/handler.go index 03ab06f5cb..a3bfe48e01 100644 --- a/internal/entities/handlers/handler.go +++ b/internal/entities/handlers/handler.go @@ -23,18 +23,18 @@ import ( watermill "github.com/ThreeDotsLabs/watermill/message" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/entities/handlers/message" - "github.com/stacklok/minder/internal/entities/handlers/strategies" - entStrategies "github.com/stacklok/minder/internal/entities/handlers/strategies/entity" - msgStrategies "github.com/stacklok/minder/internal/entities/handlers/strategies/message" - "github.com/stacklok/minder/internal/entities/models" - "github.com/stacklok/minder/internal/entities/properties" - propertyService "github.com/stacklok/minder/internal/entities/properties/service" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/projects/features" - "github.com/stacklok/minder/internal/providers/manager" - v1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/entities/handlers/message" + "github.com/mindersec/minder/internal/entities/handlers/strategies" + entStrategies "github.com/mindersec/minder/internal/entities/handlers/strategies/entity" + msgStrategies "github.com/mindersec/minder/internal/entities/handlers/strategies/message" + "github.com/mindersec/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/properties" + propertyService "github.com/mindersec/minder/internal/entities/properties/service" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/projects/features" + "github.com/mindersec/minder/internal/providers/manager" + v1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var ( diff --git a/internal/entities/handlers/handler_test.go b/internal/entities/handlers/handler_test.go index 23e595b736..1d24c5a700 100644 --- a/internal/entities/handlers/handler_test.go +++ b/internal/entities/handlers/handler_test.go @@ -28,24 +28,24 @@ import ( "golang.org/x/exp/maps" "google.golang.org/protobuf/reflect/protoreflect" - df "github.com/stacklok/minder/database/mock/fixtures" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/entities" - "github.com/stacklok/minder/internal/entities/handlers/message" - "github.com/stacklok/minder/internal/entities/models" - "github.com/stacklok/minder/internal/entities/properties" - "github.com/stacklok/minder/internal/entities/properties/service" - "github.com/stacklok/minder/internal/entities/properties/service/mock/fixtures" - "github.com/stacklok/minder/internal/events" - stubeventer "github.com/stacklok/minder/internal/events/stubs" - mockgithub "github.com/stacklok/minder/internal/providers/github/mock" - ghprops "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/providers/manager" - mock_manager "github.com/stacklok/minder/internal/providers/manager/mock" - provManFixtures "github.com/stacklok/minder/internal/providers/manager/mock/fixtures" - "github.com/stacklok/minder/internal/reconcilers/messages" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + df "github.com/mindersec/minder/database/mock/fixtures" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/entities" + "github.com/mindersec/minder/internal/entities/handlers/message" + "github.com/mindersec/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/entities/properties/service" + "github.com/mindersec/minder/internal/entities/properties/service/mock/fixtures" + "github.com/mindersec/minder/internal/events" + stubeventer "github.com/mindersec/minder/internal/events/stubs" + mockgithub "github.com/mindersec/minder/internal/providers/github/mock" + ghprops "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/providers/manager" + mock_manager "github.com/mindersec/minder/internal/providers/manager/mock" + provManFixtures "github.com/mindersec/minder/internal/providers/manager/mock/fixtures" + "github.com/mindersec/minder/internal/reconcilers/messages" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) var ( diff --git a/internal/entities/handlers/message/message.go b/internal/entities/handlers/message/message.go index 952809b9a9..c814eccda5 100644 --- a/internal/entities/handlers/message/message.go +++ b/internal/entities/handlers/message/message.go @@ -23,8 +23,8 @@ import ( "github.com/ThreeDotsLabs/watermill/message" "github.com/google/uuid" - "github.com/stacklok/minder/internal/entities/properties" - v1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/entities/properties" + v1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // TypedProps is a struct that contains the type of entity and its properties. diff --git a/internal/entities/handlers/message/message_test.go b/internal/entities/handlers/message/message_test.go index 15cc32cab5..7a42ac6e34 100644 --- a/internal/entities/handlers/message/message_test.go +++ b/internal/entities/handlers/message/message_test.go @@ -23,9 +23,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/entities/properties" - v1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/entities/properties" + v1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestEntityRefreshAndDoMessageRoundTrip(t *testing.T) { diff --git a/internal/entities/handlers/strategies/entity/add_originating_entity.go b/internal/entities/handlers/strategies/entity/add_originating_entity.go index ac755bfaff..a326dba3d3 100644 --- a/internal/entities/handlers/strategies/entity/add_originating_entity.go +++ b/internal/entities/handlers/strategies/entity/add_originating_entity.go @@ -22,15 +22,15 @@ import ( "github.com/google/uuid" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/entities" - "github.com/stacklok/minder/internal/entities/handlers/message" - "github.com/stacklok/minder/internal/entities/handlers/strategies" - "github.com/stacklok/minder/internal/entities/models" - "github.com/stacklok/minder/internal/entities/properties" - propertyService "github.com/stacklok/minder/internal/entities/properties/service" - "github.com/stacklok/minder/internal/providers/manager" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/entities" + "github.com/mindersec/minder/internal/entities/handlers/message" + "github.com/mindersec/minder/internal/entities/handlers/strategies" + "github.com/mindersec/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/properties" + propertyService "github.com/mindersec/minder/internal/entities/properties/service" + "github.com/mindersec/minder/internal/providers/manager" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) type addOriginatingEntityStrategy struct { diff --git a/internal/entities/handlers/strategies/entity/common.go b/internal/entities/handlers/strategies/entity/common.go index 8de8da08d3..5eed5daacd 100644 --- a/internal/entities/handlers/strategies/entity/common.go +++ b/internal/entities/handlers/strategies/entity/common.go @@ -19,11 +19,11 @@ import ( "context" "fmt" - "github.com/stacklok/minder/internal/entities/handlers/message" - "github.com/stacklok/minder/internal/entities/models" - "github.com/stacklok/minder/internal/entities/properties" - propertyService "github.com/stacklok/minder/internal/entities/properties/service" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/entities/handlers/message" + "github.com/mindersec/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/properties" + propertyService "github.com/mindersec/minder/internal/entities/properties/service" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func getEntityInner( diff --git a/internal/entities/handlers/strategies/entity/del_originating_entity.go b/internal/entities/handlers/strategies/entity/del_originating_entity.go index a468c69262..d1b315864b 100644 --- a/internal/entities/handlers/strategies/entity/del_originating_entity.go +++ b/internal/entities/handlers/strategies/entity/del_originating_entity.go @@ -21,12 +21,12 @@ import ( "errors" "fmt" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/entities/handlers/message" - "github.com/stacklok/minder/internal/entities/handlers/strategies" - "github.com/stacklok/minder/internal/entities/models" - propertyService "github.com/stacklok/minder/internal/entities/properties/service" - "github.com/stacklok/minder/internal/providers/manager" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/entities/handlers/message" + "github.com/mindersec/minder/internal/entities/handlers/strategies" + "github.com/mindersec/minder/internal/entities/models" + propertyService "github.com/mindersec/minder/internal/entities/properties/service" + "github.com/mindersec/minder/internal/providers/manager" ) type delOriginatingEntityStrategy struct { diff --git a/internal/entities/handlers/strategies/entity/get_by_upstream_props.go b/internal/entities/handlers/strategies/entity/get_by_upstream_props.go index a3ef87c493..e7013b32fb 100644 --- a/internal/entities/handlers/strategies/entity/get_by_upstream_props.go +++ b/internal/entities/handlers/strategies/entity/get_by_upstream_props.go @@ -18,10 +18,10 @@ package entity import ( "context" - "github.com/stacklok/minder/internal/entities/handlers/message" - "github.com/stacklok/minder/internal/entities/handlers/strategies" - "github.com/stacklok/minder/internal/entities/models" - propertyService "github.com/stacklok/minder/internal/entities/properties/service" + "github.com/mindersec/minder/internal/entities/handlers/message" + "github.com/mindersec/minder/internal/entities/handlers/strategies" + "github.com/mindersec/minder/internal/entities/models" + propertyService "github.com/mindersec/minder/internal/entities/properties/service" ) type getEntityByUpstreamIDStrategy struct { diff --git a/internal/entities/handlers/strategies/entity/refresh_by_id.go b/internal/entities/handlers/strategies/entity/refresh_by_id.go index 1435207c66..d2f0bd2c7b 100644 --- a/internal/entities/handlers/strategies/entity/refresh_by_id.go +++ b/internal/entities/handlers/strategies/entity/refresh_by_id.go @@ -21,12 +21,12 @@ import ( "github.com/google/uuid" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/entities/handlers/message" - "github.com/stacklok/minder/internal/entities/handlers/strategies" - "github.com/stacklok/minder/internal/entities/models" - propertyService "github.com/stacklok/minder/internal/entities/properties/service" - "github.com/stacklok/minder/internal/providers/manager" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/entities/handlers/message" + "github.com/mindersec/minder/internal/entities/handlers/strategies" + "github.com/mindersec/minder/internal/entities/models" + propertyService "github.com/mindersec/minder/internal/entities/properties/service" + "github.com/mindersec/minder/internal/providers/manager" ) type refreshEntityByIDStrategy struct { diff --git a/internal/entities/handlers/strategies/entity/refresh_by_upstream_props.go b/internal/entities/handlers/strategies/entity/refresh_by_upstream_props.go index 4006375719..a59b5fad0f 100644 --- a/internal/entities/handlers/strategies/entity/refresh_by_upstream_props.go +++ b/internal/entities/handlers/strategies/entity/refresh_by_upstream_props.go @@ -19,12 +19,12 @@ import ( "context" "fmt" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/entities/handlers/message" - "github.com/stacklok/minder/internal/entities/handlers/strategies" - "github.com/stacklok/minder/internal/entities/models" - propertyService "github.com/stacklok/minder/internal/entities/properties/service" - "github.com/stacklok/minder/internal/providers/manager" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/entities/handlers/message" + "github.com/mindersec/minder/internal/entities/handlers/strategies" + "github.com/mindersec/minder/internal/entities/models" + propertyService "github.com/mindersec/minder/internal/entities/properties/service" + "github.com/mindersec/minder/internal/providers/manager" ) type refreshEntityByUpstreamIDStrategy struct { diff --git a/internal/entities/handlers/strategies/message/empty.go b/internal/entities/handlers/strategies/message/empty.go index a8128f41af..32ea73b504 100644 --- a/internal/entities/handlers/strategies/message/empty.go +++ b/internal/entities/handlers/strategies/message/empty.go @@ -21,8 +21,8 @@ import ( "github.com/ThreeDotsLabs/watermill/message" - "github.com/stacklok/minder/internal/entities/handlers/strategies" - "github.com/stacklok/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/handlers/strategies" + "github.com/mindersec/minder/internal/entities/models" ) type createEmpty struct{} diff --git a/internal/entities/handlers/strategies/message/entity_info_wrapper.go b/internal/entities/handlers/strategies/message/entity_info_wrapper.go index 1ceee4dd55..d74c4d5e9d 100644 --- a/internal/entities/handlers/strategies/message/entity_info_wrapper.go +++ b/internal/entities/handlers/strategies/message/entity_info_wrapper.go @@ -23,12 +23,12 @@ import ( "github.com/ThreeDotsLabs/watermill/message" "github.com/google/uuid" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/entities" - "github.com/stacklok/minder/internal/entities/handlers/strategies" - "github.com/stacklok/minder/internal/entities/models" - propertyService "github.com/stacklok/minder/internal/entities/properties/service" - "github.com/stacklok/minder/internal/providers/manager" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/entities" + "github.com/mindersec/minder/internal/entities/handlers/strategies" + "github.com/mindersec/minder/internal/entities/models" + propertyService "github.com/mindersec/minder/internal/entities/properties/service" + "github.com/mindersec/minder/internal/providers/manager" ) type toEntityInfoWrapper struct { diff --git a/internal/entities/handlers/strategies/message/minder_entity.go b/internal/entities/handlers/strategies/message/minder_entity.go index ce2187f6b6..2e7997bfe9 100644 --- a/internal/entities/handlers/strategies/message/minder_entity.go +++ b/internal/entities/handlers/strategies/message/minder_entity.go @@ -23,9 +23,9 @@ import ( watermill "github.com/ThreeDotsLabs/watermill/message" "github.com/google/uuid" - "github.com/stacklok/minder/internal/entities/handlers/strategies" - "github.com/stacklok/minder/internal/entities/models" - "github.com/stacklok/minder/internal/reconcilers/messages" + "github.com/mindersec/minder/internal/entities/handlers/strategies" + "github.com/mindersec/minder/internal/entities/models" + "github.com/mindersec/minder/internal/reconcilers/messages" ) type toMinderEntityStrategy struct{} diff --git a/internal/entities/handlers/strategies/strategies.go b/internal/entities/handlers/strategies/strategies.go index 4acdb895cb..9aef75b6f9 100644 --- a/internal/entities/handlers/strategies/strategies.go +++ b/internal/entities/handlers/strategies/strategies.go @@ -20,8 +20,8 @@ import ( watermill "github.com/ThreeDotsLabs/watermill/message" - "github.com/stacklok/minder/internal/entities/handlers/message" - "github.com/stacklok/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/handlers/message" + "github.com/mindersec/minder/internal/entities/models" ) // MessageCreateStrategy is the interface for creating messages diff --git a/internal/entities/models/models.go b/internal/entities/models/models.go index 003c38544f..70b2b2de19 100644 --- a/internal/entities/models/models.go +++ b/internal/entities/models/models.go @@ -20,10 +20,10 @@ import ( "github.com/google/uuid" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/entities" - "github.com/stacklok/minder/internal/entities/properties" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/entities" + "github.com/mindersec/minder/internal/entities/properties" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // EntityInstance represents an entity instance diff --git a/internal/entities/properties/service/entitycache.go b/internal/entities/properties/service/entitycache.go index e26716a017..5f92fe3abb 100644 --- a/internal/entities/properties/service/entitycache.go +++ b/internal/entities/properties/service/entitycache.go @@ -22,7 +22,7 @@ import ( "github.com/google/uuid" "github.com/puzpuzpuz/xsync/v3" - "github.com/stacklok/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/models" ) // This uses a persistent entity cache, that is, a cache that is not cleared. diff --git a/internal/entities/properties/service/helpers.go b/internal/entities/properties/service/helpers.go index 21eb1cc3ff..31c769bb0c 100644 --- a/internal/entities/properties/service/helpers.go +++ b/internal/entities/properties/service/helpers.go @@ -26,12 +26,12 @@ import ( "github.com/google/uuid" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/entities" - "github.com/stacklok/minder/internal/entities/models" - "github.com/stacklok/minder/internal/entities/properties" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/entities" + "github.com/mindersec/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/properties" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) func (ps *propertiesService) retrieveAllPropertiesForEntity( diff --git a/internal/entities/properties/service/mock/fixtures/fixtures.go b/internal/entities/properties/service/mock/fixtures/fixtures.go index 9307bb96a3..0d97107a4c 100644 --- a/internal/entities/properties/service/mock/fixtures/fixtures.go +++ b/internal/entities/properties/service/mock/fixtures/fixtures.go @@ -21,14 +21,14 @@ package fixtures import ( "github.com/google/uuid" - "github.com/stacklok/minder/internal/entities/properties" - minder "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/entities/properties" + minder "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" "go.uber.org/mock/gomock" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/entities/models" - "github.com/stacklok/minder/internal/entities/properties/service" - mockSvc "github.com/stacklok/minder/internal/entities/properties/service/mock" + "github.com/mindersec/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/properties/service" + mockSvc "github.com/mindersec/minder/internal/entities/properties/service/mock" ) type ( diff --git a/internal/entities/properties/service/mock/service.go b/internal/entities/properties/service/mock/service.go index 2b4caa4981..e1859d205e 100644 --- a/internal/entities/properties/service/mock/service.go +++ b/internal/entities/properties/service/mock/service.go @@ -14,12 +14,12 @@ import ( reflect "reflect" uuid "github.com/google/uuid" - models "github.com/stacklok/minder/internal/entities/models" - properties "github.com/stacklok/minder/internal/entities/properties" - service "github.com/stacklok/minder/internal/entities/properties/service" - manager "github.com/stacklok/minder/internal/providers/manager" - v1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - v10 "github.com/stacklok/minder/pkg/providers/v1" + models "github.com/mindersec/minder/internal/entities/models" + properties "github.com/mindersec/minder/internal/entities/properties" + service "github.com/mindersec/minder/internal/entities/properties/service" + manager "github.com/mindersec/minder/internal/providers/manager" + v1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + v10 "github.com/mindersec/minder/pkg/providers/v1" gomock "go.uber.org/mock/gomock" protoreflect "google.golang.org/protobuf/reflect/protoreflect" ) diff --git a/internal/entities/properties/service/options.go b/internal/entities/properties/service/options.go index db0f0d9189..d37e73dc4d 100644 --- a/internal/entities/properties/service/options.go +++ b/internal/entities/properties/service/options.go @@ -15,7 +15,7 @@ package service -import "github.com/stacklok/minder/internal/db" +import "github.com/mindersec/minder/internal/db" // CallOptions is a struct that contains the options for a service call // Since most calls will need to interact with the database, the ExtendQuerier is included diff --git a/internal/entities/properties/service/service.go b/internal/entities/properties/service/service.go index bbe1f1d2ec..7b8326c995 100644 --- a/internal/entities/properties/service/service.go +++ b/internal/entities/properties/service/service.go @@ -27,12 +27,12 @@ import ( "github.com/rs/zerolog" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/entities/models" - "github.com/stacklok/minder/internal/entities/properties" - "github.com/stacklok/minder/internal/providers/manager" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/providers/manager" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) var ( diff --git a/internal/entities/properties/service/service_test.go b/internal/entities/properties/service/service_test.go index 7cda5225c8..b61e1e2ecb 100644 --- a/internal/entities/properties/service/service_test.go +++ b/internal/entities/properties/service/service_test.go @@ -27,16 +27,16 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - mockdb "github.com/stacklok/minder/database/mock" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/db/embedded" - "github.com/stacklok/minder/internal/engine/entities" - "github.com/stacklok/minder/internal/entities/models" - "github.com/stacklok/minder/internal/entities/properties" - mock_github "github.com/stacklok/minder/internal/providers/github/mock" - ghprop "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/util/rand" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + mockdb "github.com/mindersec/minder/database/mock" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/db/embedded" + "github.com/mindersec/minder/internal/engine/entities" + "github.com/mindersec/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/properties" + mock_github "github.com/mindersec/minder/internal/providers/github/mock" + ghprop "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/util/rand" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) type githubMockBuilder func(*gomock.Controller) *mock_github.MockGitHub diff --git a/internal/events/eventer.go b/internal/events/eventer.go index d64365ba50..d8d7a4623a 100644 --- a/internal/events/eventer.go +++ b/internal/events/eventer.go @@ -35,11 +35,11 @@ import ( "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/metric" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/events/common" - gochannel "github.com/stacklok/minder/internal/events/gochannel" - "github.com/stacklok/minder/internal/events/nats" - eventersql "github.com/stacklok/minder/internal/events/sql" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/events/common" + gochannel "github.com/mindersec/minder/internal/events/gochannel" + "github.com/mindersec/minder/internal/events/nats" + eventersql "github.com/mindersec/minder/internal/events/sql" ) // eventer is a wrapper over the relevant eventing objects in such diff --git a/internal/events/eventer_test.go b/internal/events/eventer_test.go index 852f059ade..0697c05c64 100644 --- a/internal/events/eventer_test.go +++ b/internal/events/eventer_test.go @@ -27,8 +27,8 @@ import ( "go.opentelemetry.io/otel/sdk/metric" "go.opentelemetry.io/otel/sdk/metric/metricdata" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/events" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/events" ) type fakeConsumer struct { diff --git a/internal/events/gochannel/gochannel.go b/internal/events/gochannel/gochannel.go index f6216dfdea..b3a710d382 100644 --- a/internal/events/gochannel/gochannel.go +++ b/internal/events/gochannel/gochannel.go @@ -24,8 +24,8 @@ import ( "github.com/alexdrl/zerowater" "github.com/rs/zerolog" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/events/common" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/events/common" ) // BuildGoChannelDriver creates a gochannel driver for the eventer diff --git a/internal/events/mock/interfaces.go b/internal/events/mock/interfaces.go index 5bffced77a..4f1cfe7b2b 100644 --- a/internal/events/mock/interfaces.go +++ b/internal/events/mock/interfaces.go @@ -14,7 +14,7 @@ import ( reflect "reflect" message "github.com/ThreeDotsLabs/watermill/message" - events "github.com/stacklok/minder/internal/events" + events "github.com/mindersec/minder/internal/events" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/events/nats/natschannel.go b/internal/events/nats/natschannel.go index 0705a00cb6..099774a270 100644 --- a/internal/events/nats/natschannel.go +++ b/internal/events/nats/natschannel.go @@ -29,8 +29,8 @@ import ( "github.com/nats-io/nats.go" "github.com/rs/zerolog" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/events/common" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/events/common" ) // BuildNatsChannelDriver creates a new event driver using diff --git a/internal/events/nats/natschannel_test.go b/internal/events/nats/natschannel_test.go index b6387425b5..e0ea342e08 100644 --- a/internal/events/nats/natschannel_test.go +++ b/internal/events/nats/natschannel_test.go @@ -27,12 +27,12 @@ import ( "github.com/ThreeDotsLabs/watermill/message" natsserver "github.com/nats-io/nats-server/v2/test" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/events/common" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/events/common" ) func TestNatsChannel(t *testing.T) { - t.Skip("Skipping test that is failing in CI") // https://github.com/stacklok/minder/issues/4542 + t.Skip("Skipping test that is failing in CI") // https://github.com/mindersec/minder/issues/4542 t.Parallel() server := natsserver.RunRandClientPortServer() diff --git a/internal/events/sql/postgres.go b/internal/events/sql/postgres.go index 6cd9a476dc..aae9344f72 100644 --- a/internal/events/sql/postgres.go +++ b/internal/events/sql/postgres.go @@ -26,7 +26,7 @@ import ( "github.com/rs/zerolog" "github.com/rs/zerolog/log" - serverconfig "github.com/stacklok/minder/internal/config/server" + serverconfig "github.com/mindersec/minder/internal/config/server" ) // BuildPostgreSQLDriver creates a PostgreSQL driver for the eventer diff --git a/internal/events/stubs/eventer.go b/internal/events/stubs/eventer.go index 937c13b53c..2fad25de16 100644 --- a/internal/events/stubs/eventer.go +++ b/internal/events/stubs/eventer.go @@ -21,7 +21,7 @@ import ( "github.com/ThreeDotsLabs/watermill/message" - "github.com/stacklok/minder/internal/events" + "github.com/mindersec/minder/internal/events" ) // StubEventer is a stub implementation of events.Interface and the events.Publisher interface diff --git a/internal/flags/flags.go b/internal/flags/flags.go index e75ef28ce8..d801f36705 100644 --- a/internal/flags/flags.go +++ b/internal/flags/flags.go @@ -25,9 +25,9 @@ import ( gofeature "github.com/thomaspoignant/go-feature-flag" "github.com/thomaspoignant/go-feature-flag/retriever/fileretriever" - "github.com/stacklok/minder/internal/auth/jwt" - config "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/engine/engcontext" + "github.com/mindersec/minder/internal/auth/jwt" + config "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/engine/engcontext" ) // Experiment is a type alias for a feature flag experiment, to ensure that all feature flags diff --git a/internal/flags/flags_test.go b/internal/flags/flags_test.go index f45c4468ad..2a926accde 100644 --- a/internal/flags/flags_test.go +++ b/internal/flags/flags_test.go @@ -27,9 +27,9 @@ import ( "github.com/lestrrat-go/jwx/v2/jwt/openid" "github.com/open-feature/go-sdk/openfeature" - "github.com/stacklok/minder/internal/auth/jwt" - config "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/engine/engcontext" + "github.com/mindersec/minder/internal/auth/jwt" + config "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/engine/engcontext" ) // nolint: tparallel diff --git a/internal/history/mock/service.go b/internal/history/mock/service.go index 6a352cf686..ca243a05ac 100644 --- a/internal/history/mock/service.go +++ b/internal/history/mock/service.go @@ -14,8 +14,8 @@ import ( reflect "reflect" uuid "github.com/google/uuid" - db "github.com/stacklok/minder/internal/db" - history "github.com/stacklok/minder/internal/history" + db "github.com/mindersec/minder/internal/db" + history "github.com/mindersec/minder/internal/history" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/history/models.go b/internal/history/models.go index ad749b12fc..cdebb5a1e6 100644 --- a/internal/history/models.go +++ b/internal/history/models.go @@ -25,8 +25,8 @@ import ( "github.com/google/uuid" - "github.com/stacklok/minder/internal/db" - em "github.com/stacklok/minder/internal/entities/models" + "github.com/mindersec/minder/internal/db" + em "github.com/mindersec/minder/internal/entities/models" ) var ( diff --git a/internal/history/service.go b/internal/history/service.go index 21e7a527a3..d97bb9f646 100644 --- a/internal/history/service.go +++ b/internal/history/service.go @@ -24,10 +24,10 @@ import ( "github.com/google/uuid" - "github.com/stacklok/minder/internal/db" - evalerrors "github.com/stacklok/minder/internal/engine/errors" - propertiessvc "github.com/stacklok/minder/internal/entities/properties/service" - "github.com/stacklok/minder/internal/providers/manager" + "github.com/mindersec/minder/internal/db" + evalerrors "github.com/mindersec/minder/internal/engine/errors" + propertiessvc "github.com/mindersec/minder/internal/entities/properties/service" + "github.com/mindersec/minder/internal/providers/manager" ) //go:generate go run go.uber.org/mock/mockgen -package mock_$GOPACKAGE -destination=./mock/$GOFILE -source=./$GOFILE diff --git a/internal/history/service_test.go b/internal/history/service_test.go index 5e8b971782..945f95b9ed 100644 --- a/internal/history/service_test.go +++ b/internal/history/service_test.go @@ -25,12 +25,12 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - "github.com/stacklok/minder/internal/db" - dbf "github.com/stacklok/minder/internal/db/fixtures" - entmodels "github.com/stacklok/minder/internal/entities/models" - "github.com/stacklok/minder/internal/entities/properties/service" - propsSvcMock "github.com/stacklok/minder/internal/entities/properties/service/mock" - pmMock "github.com/stacklok/minder/internal/providers/manager/mock" + "github.com/mindersec/minder/internal/db" + dbf "github.com/mindersec/minder/internal/db/fixtures" + entmodels "github.com/mindersec/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/properties/service" + propsSvcMock "github.com/mindersec/minder/internal/entities/properties/service/mock" + pmMock "github.com/mindersec/minder/internal/providers/manager/mock" ) func TestStoreEvaluationStatus(t *testing.T) { diff --git a/internal/invites/mock/service.go b/internal/invites/mock/service.go index 606f9c930b..0ff58f16f2 100644 --- a/internal/invites/mock/service.go +++ b/internal/invites/mock/service.go @@ -14,12 +14,12 @@ import ( reflect "reflect" uuid "github.com/google/uuid" - auth "github.com/stacklok/minder/internal/auth" - authz "github.com/stacklok/minder/internal/authz" - server "github.com/stacklok/minder/internal/config/server" - db "github.com/stacklok/minder/internal/db" - events "github.com/stacklok/minder/internal/events" - v1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + auth "github.com/mindersec/minder/internal/auth" + authz "github.com/mindersec/minder/internal/authz" + server "github.com/mindersec/minder/internal/config/server" + db "github.com/mindersec/minder/internal/db" + events "github.com/mindersec/minder/internal/events" + v1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/invites/service.go b/internal/invites/service.go index c767f1a6f3..b602b5f671 100644 --- a/internal/invites/service.go +++ b/internal/invites/service.go @@ -27,16 +27,16 @@ import ( "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/timestamppb" - "github.com/stacklok/minder/internal/auth" - "github.com/stacklok/minder/internal/auth/jwt" - "github.com/stacklok/minder/internal/authz" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/email" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/projects" - "github.com/stacklok/minder/internal/util" - minder "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/auth" + "github.com/mindersec/minder/internal/auth/jwt" + "github.com/mindersec/minder/internal/authz" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/email" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/projects" + "github.com/mindersec/minder/internal/util" + minder "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) //go:generate go run go.uber.org/mock/mockgen -package mock_$GOPACKAGE -destination=./mock/$GOFILE -source=./$GOFILE diff --git a/internal/invites/service_test.go b/internal/invites/service_test.go index 77f16f2084..93f1ca6c92 100644 --- a/internal/invites/service_test.go +++ b/internal/invites/service_test.go @@ -28,17 +28,17 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - "github.com/stacklok/minder/internal/auth" - authjwt "github.com/stacklok/minder/internal/auth/jwt" - mockauth "github.com/stacklok/minder/internal/auth/mock" - "github.com/stacklok/minder/internal/authz" - "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/db" - dbf "github.com/stacklok/minder/internal/db/fixtures" - "github.com/stacklok/minder/internal/email" - mockevents "github.com/stacklok/minder/internal/events/mock" - "github.com/stacklok/minder/internal/projects" - minder "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/auth" + authjwt "github.com/mindersec/minder/internal/auth/jwt" + mockauth "github.com/mindersec/minder/internal/auth/mock" + "github.com/mindersec/minder/internal/authz" + "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/db" + dbf "github.com/mindersec/minder/internal/db/fixtures" + "github.com/mindersec/minder/internal/email" + mockevents "github.com/mindersec/minder/internal/events/mock" + "github.com/mindersec/minder/internal/projects" + minder "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestCreateInvite(t *testing.T) { diff --git a/internal/logger/logger_setup.go b/internal/logger/logger_setup.go index da07879ed2..ac9205963b 100644 --- a/internal/logger/logger_setup.go +++ b/internal/logger/logger_setup.go @@ -22,8 +22,8 @@ import ( "github.com/rs/zerolog" "github.com/rs/zerolog/log" - config "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/util" + config "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/util" ) // FromFlags configures logging and returns a logger with settings matching diff --git a/internal/logger/logging_interceptor.go b/internal/logger/logging_interceptor.go index ad76d42631..9c317dbf20 100644 --- a/internal/logger/logging_interceptor.go +++ b/internal/logger/logging_interceptor.go @@ -26,7 +26,7 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - config "github.com/stacklok/minder/internal/config/server" + config "github.com/mindersec/minder/internal/config/server" ) // Text is the constant for the text format diff --git a/internal/logger/telemetry_store.go b/internal/logger/telemetry_store.go index e9c0ec557f..4b7d225500 100644 --- a/internal/logger/telemetry_store.go +++ b/internal/logger/telemetry_store.go @@ -21,10 +21,10 @@ import ( "github.com/google/uuid" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/engine/actions/alert" - "github.com/stacklok/minder/internal/engine/actions/remediate" - "github.com/stacklok/minder/internal/engine/errors" - "github.com/stacklok/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/engine/actions/alert" + "github.com/mindersec/minder/internal/engine/actions/remediate" + "github.com/mindersec/minder/internal/engine/errors" + "github.com/mindersec/minder/internal/engine/interfaces" ) type key int diff --git a/internal/logger/telemetry_store_test.go b/internal/logger/telemetry_store_test.go index 54ba2ac3d4..1e965b8183 100644 --- a/internal/logger/telemetry_store_test.go +++ b/internal/logger/telemetry_store_test.go @@ -24,12 +24,12 @@ import ( "github.com/google/uuid" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/engine/actions/alert" - "github.com/stacklok/minder/internal/engine/actions/remediate" - enginerr "github.com/stacklok/minder/internal/engine/errors" - engif "github.com/stacklok/minder/internal/engine/interfaces" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/profiles/models" + "github.com/mindersec/minder/internal/engine/actions/alert" + "github.com/mindersec/minder/internal/engine/actions/remediate" + enginerr "github.com/mindersec/minder/internal/engine/errors" + engif "github.com/mindersec/minder/internal/engine/interfaces" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/profiles/models" ) func TestTelemetryStore_Record(t *testing.T) { diff --git a/internal/logger/telemetry_store_watermill.go b/internal/logger/telemetry_store_watermill.go index 651ad07273..953d0c7155 100644 --- a/internal/logger/telemetry_store_watermill.go +++ b/internal/logger/telemetry_store_watermill.go @@ -20,8 +20,8 @@ import ( "github.com/ThreeDotsLabs/watermill/message" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/engine/entities" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/engine/entities" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // TelemetryStoreWMMiddleware is a Watermill middleware that @@ -94,7 +94,7 @@ func newTelemetryStoreFromEntity(inf *entities.EntityInfoWrapper) (*TelemetrySto case minderv1.Entity_ENTITY_BUILD_ENVIRONMENTS, minderv1.Entity_ENTITY_RELEASE, minderv1.Entity_ENTITY_PIPELINE_RUN, minderv1.Entity_ENTITY_TASK_RUN, minderv1.Entity_ENTITY_BUILD: - // Noop, see https://github.com/stacklok/minder/issues/3838 + // Noop, see https://github.com/mindersec/minder/issues/3838 case minderv1.Entity_ENTITY_UNSPECIFIED: // Do nothing } diff --git a/internal/logger/telemetry_store_watermill_test.go b/internal/logger/telemetry_store_watermill_test.go index c6c5149325..9452ce365b 100644 --- a/internal/logger/telemetry_store_watermill_test.go +++ b/internal/logger/telemetry_store_watermill_test.go @@ -24,12 +24,12 @@ import ( "github.com/rs/zerolog" "github.com/stretchr/testify/require" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/engine/entities" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/util/testqueue" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/engine/entities" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/util/testqueue" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestTelemetryStoreWMMiddlewareLogsRepositoryInfo(t *testing.T) { diff --git a/internal/marketplaces/bundles/mock/fixtures/reader.go b/internal/marketplaces/bundles/mock/fixtures/reader.go index d2cba6b02a..3d18c70535 100644 --- a/internal/marketplaces/bundles/mock/fixtures/reader.go +++ b/internal/marketplaces/bundles/mock/fixtures/reader.go @@ -20,9 +20,9 @@ package fixtures import ( "errors" - mockbundle "github.com/stacklok/minder/internal/marketplaces/bundles/mock" - v1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - "github.com/stacklok/minder/pkg/mindpak" + mockbundle "github.com/mindersec/minder/internal/marketplaces/bundles/mock" + v1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/pkg/mindpak" "go.uber.org/mock/gomock" ) diff --git a/internal/marketplaces/bundles/mock/fixtures/source.go b/internal/marketplaces/bundles/mock/fixtures/source.go index 1d5d6de05e..ebdaf2da57 100644 --- a/internal/marketplaces/bundles/mock/fixtures/source.go +++ b/internal/marketplaces/bundles/mock/fixtures/source.go @@ -16,10 +16,10 @@ package fixtures import ( - mockbundle "github.com/stacklok/minder/internal/marketplaces/bundles/mock" - "github.com/stacklok/minder/pkg/mindpak" - "github.com/stacklok/minder/pkg/mindpak/reader" - "github.com/stacklok/minder/pkg/mindpak/sources" + mockbundle "github.com/mindersec/minder/internal/marketplaces/bundles/mock" + "github.com/mindersec/minder/pkg/mindpak" + "github.com/mindersec/minder/pkg/mindpak/reader" + "github.com/mindersec/minder/pkg/mindpak/sources" "go.uber.org/mock/gomock" ) diff --git a/internal/marketplaces/bundles/mock/reader.go b/internal/marketplaces/bundles/mock/reader.go index 65a86c3f35..ec25e29829 100644 --- a/internal/marketplaces/bundles/mock/reader.go +++ b/internal/marketplaces/bundles/mock/reader.go @@ -12,8 +12,8 @@ package mockbundle import ( reflect "reflect" - v1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - mindpak "github.com/stacklok/minder/pkg/mindpak" + v1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + mindpak "github.com/mindersec/minder/pkg/mindpak" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/marketplaces/bundles/mock/source.go b/internal/marketplaces/bundles/mock/source.go index 984e2e5e71..e2eba71e58 100644 --- a/internal/marketplaces/bundles/mock/source.go +++ b/internal/marketplaces/bundles/mock/source.go @@ -12,8 +12,8 @@ package mockbundle import ( reflect "reflect" - mindpak "github.com/stacklok/minder/pkg/mindpak" - reader "github.com/stacklok/minder/pkg/mindpak/reader" + mindpak "github.com/mindersec/minder/pkg/mindpak" + reader "github.com/mindersec/minder/pkg/mindpak/reader" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/marketplaces/factory.go b/internal/marketplaces/factory.go index de0b98fb37..c4a64f6146 100644 --- a/internal/marketplaces/factory.go +++ b/internal/marketplaces/factory.go @@ -19,12 +19,12 @@ import ( "fmt" "path/filepath" - "github.com/stacklok/minder/internal/config/server" - sub "github.com/stacklok/minder/internal/marketplaces/subscriptions" - "github.com/stacklok/minder/internal/profiles" - "github.com/stacklok/minder/internal/ruletypes" - "github.com/stacklok/minder/pkg/mindpak" - src "github.com/stacklok/minder/pkg/mindpak/sources" + "github.com/mindersec/minder/internal/config/server" + sub "github.com/mindersec/minder/internal/marketplaces/subscriptions" + "github.com/mindersec/minder/internal/profiles" + "github.com/mindersec/minder/internal/ruletypes" + "github.com/mindersec/minder/pkg/mindpak" + src "github.com/mindersec/minder/pkg/mindpak/sources" ) // NewMarketplaceFromServiceConfig takes the Minder service config and diff --git a/internal/marketplaces/service.go b/internal/marketplaces/service.go index 2f53c2ee96..6f69e48805 100644 --- a/internal/marketplaces/service.go +++ b/internal/marketplaces/service.go @@ -22,11 +22,11 @@ import ( "github.com/google/uuid" - "github.com/stacklok/minder/internal/db" - sub "github.com/stacklok/minder/internal/marketplaces/subscriptions" - "github.com/stacklok/minder/pkg/mindpak" - "github.com/stacklok/minder/pkg/mindpak/reader" - "github.com/stacklok/minder/pkg/mindpak/sources" + "github.com/mindersec/minder/internal/db" + sub "github.com/mindersec/minder/internal/marketplaces/subscriptions" + "github.com/mindersec/minder/pkg/mindpak" + "github.com/mindersec/minder/pkg/mindpak/reader" + "github.com/mindersec/minder/pkg/mindpak/sources" ) // Marketplace encapsulates the operations which allow profiles and rule types diff --git a/internal/marketplaces/service_test.go b/internal/marketplaces/service_test.go index 27618391f1..80abc56cc0 100644 --- a/internal/marketplaces/service_test.go +++ b/internal/marketplaces/service_test.go @@ -22,14 +22,14 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - dbf "github.com/stacklok/minder/internal/db/fixtures" - "github.com/stacklok/minder/internal/marketplaces" - mockbundle "github.com/stacklok/minder/internal/marketplaces/bundles/mock" - bsf "github.com/stacklok/minder/internal/marketplaces/bundles/mock/fixtures" - "github.com/stacklok/minder/internal/marketplaces/subscriptions" - ssf "github.com/stacklok/minder/internal/marketplaces/subscriptions/mock/fixtures" - "github.com/stacklok/minder/pkg/mindpak" - "github.com/stacklok/minder/pkg/mindpak/sources" + dbf "github.com/mindersec/minder/internal/db/fixtures" + "github.com/mindersec/minder/internal/marketplaces" + mockbundle "github.com/mindersec/minder/internal/marketplaces/bundles/mock" + bsf "github.com/mindersec/minder/internal/marketplaces/bundles/mock/fixtures" + "github.com/mindersec/minder/internal/marketplaces/subscriptions" + ssf "github.com/mindersec/minder/internal/marketplaces/subscriptions/mock/fixtures" + "github.com/mindersec/minder/pkg/mindpak" + "github.com/mindersec/minder/pkg/mindpak/sources" ) // scenario structure is same for both tests diff --git a/internal/marketplaces/subscriptions/mock/fixtures/subscription.go b/internal/marketplaces/subscriptions/mock/fixtures/subscription.go index a392f1a490..81eb0e84ef 100644 --- a/internal/marketplaces/subscriptions/mock/fixtures/subscription.go +++ b/internal/marketplaces/subscriptions/mock/fixtures/subscription.go @@ -20,7 +20,7 @@ package fixtures import ( "errors" - mocksubscription "github.com/stacklok/minder/internal/marketplaces/subscriptions/mock" + mocksubscription "github.com/mindersec/minder/internal/marketplaces/subscriptions/mock" "go.uber.org/mock/gomock" ) diff --git a/internal/marketplaces/subscriptions/mock/service.go b/internal/marketplaces/subscriptions/mock/service.go index 175239b2f0..f15b597b4e 100644 --- a/internal/marketplaces/subscriptions/mock/service.go +++ b/internal/marketplaces/subscriptions/mock/service.go @@ -14,8 +14,8 @@ import ( reflect "reflect" uuid "github.com/google/uuid" - db "github.com/stacklok/minder/internal/db" - reader "github.com/stacklok/minder/pkg/mindpak/reader" + db "github.com/mindersec/minder/internal/db" + reader "github.com/mindersec/minder/pkg/mindpak/reader" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/marketplaces/subscriptions/service.go b/internal/marketplaces/subscriptions/service.go index 3fd1e57fd5..4692612fe1 100644 --- a/internal/marketplaces/subscriptions/service.go +++ b/internal/marketplaces/subscriptions/service.go @@ -25,12 +25,12 @@ import ( "github.com/google/uuid" - "github.com/stacklok/minder/internal/db" - profsvc "github.com/stacklok/minder/internal/profiles" - "github.com/stacklok/minder/internal/ruletypes" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - "github.com/stacklok/minder/pkg/mindpak" - "github.com/stacklok/minder/pkg/mindpak/reader" + "github.com/mindersec/minder/internal/db" + profsvc "github.com/mindersec/minder/internal/profiles" + "github.com/mindersec/minder/internal/ruletypes" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/pkg/mindpak" + "github.com/mindersec/minder/pkg/mindpak/reader" ) //go:generate go run go.uber.org/mock/mockgen -package mock_$GOPACKAGE -destination=./mock/$GOFILE -source=./$GOFILE diff --git a/internal/marketplaces/subscriptions/service_test.go b/internal/marketplaces/subscriptions/service_test.go index e5bdfa0859..3b642bda93 100644 --- a/internal/marketplaces/subscriptions/service_test.go +++ b/internal/marketplaces/subscriptions/service_test.go @@ -24,15 +24,15 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - "github.com/stacklok/minder/internal/db" - dbf "github.com/stacklok/minder/internal/db/fixtures" - brf "github.com/stacklok/minder/internal/marketplaces/bundles/mock/fixtures" - "github.com/stacklok/minder/internal/marketplaces/subscriptions" - "github.com/stacklok/minder/internal/profiles" - psf "github.com/stacklok/minder/internal/profiles/mock/fixtures" - "github.com/stacklok/minder/internal/ruletypes" - rsf "github.com/stacklok/minder/internal/ruletypes/mock/fixtures" - "github.com/stacklok/minder/pkg/mindpak/reader" + "github.com/mindersec/minder/internal/db" + dbf "github.com/mindersec/minder/internal/db/fixtures" + brf "github.com/mindersec/minder/internal/marketplaces/bundles/mock/fixtures" + "github.com/mindersec/minder/internal/marketplaces/subscriptions" + "github.com/mindersec/minder/internal/profiles" + psf "github.com/mindersec/minder/internal/profiles/mock/fixtures" + "github.com/mindersec/minder/internal/ruletypes" + rsf "github.com/mindersec/minder/internal/ruletypes/mock/fixtures" + "github.com/mindersec/minder/pkg/mindpak/reader" ) func TestSubscriptionService_Subscribe(t *testing.T) { diff --git a/internal/profiles/mock/fixtures/service.go b/internal/profiles/mock/fixtures/service.go index 35b7599b8a..34e128fb4e 100644 --- a/internal/profiles/mock/fixtures/service.go +++ b/internal/profiles/mock/fixtures/service.go @@ -20,8 +20,8 @@ package fixtures import ( "errors" - mockprofsvc "github.com/stacklok/minder/internal/profiles/mock" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + mockprofsvc "github.com/mindersec/minder/internal/profiles/mock" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" "go.uber.org/mock/gomock" ) diff --git a/internal/profiles/mock/service.go b/internal/profiles/mock/service.go index eba5046ef7..c5019de3de 100644 --- a/internal/profiles/mock/service.go +++ b/internal/profiles/mock/service.go @@ -14,8 +14,8 @@ import ( reflect "reflect" uuid "github.com/google/uuid" - db "github.com/stacklok/minder/internal/db" - v1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + db "github.com/mindersec/minder/internal/db" + v1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" gomock "go.uber.org/mock/gomock" fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" ) diff --git a/internal/profiles/models/models.go b/internal/profiles/models/models.go index b8e3e1f24f..9f1358f46b 100644 --- a/internal/profiles/models/models.go +++ b/internal/profiles/models/models.go @@ -21,9 +21,9 @@ import ( "github.com/google/uuid" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/entities" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/entities" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // ProfileAggregate represents a profile along with rule instances diff --git a/internal/profiles/rule_names.go b/internal/profiles/rule_names.go index 0aedf9e21b..7133ce5d4b 100644 --- a/internal/profiles/rule_names.go +++ b/internal/profiles/rule_names.go @@ -15,7 +15,7 @@ package profiles import ( - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // functions relating to rule names diff --git a/internal/profiles/rule_validator.go b/internal/profiles/rule_validator.go index 0d56513320..de6b306a1b 100644 --- a/internal/profiles/rule_validator.go +++ b/internal/profiles/rule_validator.go @@ -22,7 +22,7 @@ import ( "github.com/xeipuuv/gojsonschema" "google.golang.org/protobuf/types/known/structpb" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // RuleValidator takes a rule type and validates an instance of it. The main diff --git a/internal/profiles/rule_validator_test.go b/internal/profiles/rule_validator_test.go index d22969e40a..a10cf1d04a 100644 --- a/internal/profiles/rule_validator_test.go +++ b/internal/profiles/rule_validator_test.go @@ -22,9 +22,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/engine/rtengine" - "github.com/stacklok/minder/internal/profiles" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/engine/rtengine" + "github.com/mindersec/minder/internal/profiles" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestExampleRulesAreValidatedCorrectly(t *testing.T) { diff --git a/internal/profiles/service.go b/internal/profiles/service.go index b70d8a7ccf..e7292e5ccf 100644 --- a/internal/profiles/service.go +++ b/internal/profiles/service.go @@ -31,16 +31,16 @@ import ( "google.golang.org/protobuf/reflect/protoreflect" "google.golang.org/protobuf/types/known/fieldmaskpb" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/entities" - "github.com/stacklok/minder/internal/engine/selectors" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/marketplaces/namespaces" - "github.com/stacklok/minder/internal/reconcilers" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/ptr" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/entities" + "github.com/mindersec/minder/internal/engine/selectors" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/marketplaces/namespaces" + "github.com/mindersec/minder/internal/reconcilers" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/ptr" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) //go:generate go run go.uber.org/mock/mockgen -package mock_$GOPACKAGE -destination=./mock/$GOFILE -source=./$GOFILE diff --git a/internal/profiles/store.go b/internal/profiles/store.go index 79024e9554..b2263aef4f 100644 --- a/internal/profiles/store.go +++ b/internal/profiles/store.go @@ -21,8 +21,8 @@ import ( "github.com/google/uuid" "golang.org/x/exp/maps" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/profiles/models" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/profiles/models" ) // ProfileStore encapsulates operations for fetching ProfileAggregates diff --git a/internal/profiles/util.go b/internal/profiles/util.go index 65883e2a61..11a7ac4d8a 100644 --- a/internal/profiles/util.go +++ b/internal/profiles/util.go @@ -28,10 +28,10 @@ import ( "github.com/sqlc-dev/pqtype" "google.golang.org/protobuf/proto" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/entities" - "github.com/stacklok/minder/internal/util/jsonyaml" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/entities" + "github.com/mindersec/minder/internal/util/jsonyaml" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var nonAlphanumericRegex = regexp.MustCompile(`[^a-zA-Z0-9\s]`) diff --git a/internal/profiles/util_test.go b/internal/profiles/util_test.go index 6cda3da580..8e5171d47d 100644 --- a/internal/profiles/util_test.go +++ b/internal/profiles/util_test.go @@ -22,8 +22,8 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/protobuf/types/known/structpb" - "github.com/stacklok/minder/internal/profiles" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/profiles" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var ( diff --git a/internal/profiles/validator.go b/internal/profiles/validator.go index 2ddf4457aa..52cc5faedf 100644 --- a/internal/profiles/validator.go +++ b/internal/profiles/validator.go @@ -27,11 +27,11 @@ import ( "google.golang.org/grpc/status" "k8s.io/apimachinery/pkg/util/sets" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/engine/selectors" - "github.com/stacklok/minder/internal/ruletypes" - "github.com/stacklok/minder/internal/util" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/engine/selectors" + "github.com/mindersec/minder/internal/ruletypes" + "github.com/mindersec/minder/internal/util" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // Validator encapsulates the logic for validating profiles diff --git a/internal/profiles/validator_test.go b/internal/profiles/validator_test.go index a71be71fc0..2c94b305b0 100644 --- a/internal/profiles/validator_test.go +++ b/internal/profiles/validator_test.go @@ -26,11 +26,11 @@ import ( "go.uber.org/mock/gomock" "google.golang.org/protobuf/types/known/structpb" - mockdb "github.com/stacklok/minder/database/mock" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/profiles" - "github.com/stacklok/minder/internal/util" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + mockdb "github.com/mindersec/minder/database/mock" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/profiles" + "github.com/mindersec/minder/internal/util" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestValidatorScenarios(t *testing.T) { diff --git a/internal/projects/creator.go b/internal/projects/creator.go index 5f3cc85376..0adf40ac4d 100644 --- a/internal/projects/creator.go +++ b/internal/projects/creator.go @@ -23,11 +23,11 @@ import ( "github.com/google/uuid" "github.com/rs/zerolog/log" - "github.com/stacklok/minder/internal/authz" - "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/marketplaces" - "github.com/stacklok/minder/pkg/mindpak" + "github.com/mindersec/minder/internal/authz" + "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/marketplaces" + "github.com/mindersec/minder/pkg/mindpak" ) // ProjectCreator encapsulates operations for managing projects diff --git a/internal/projects/creator_test.go b/internal/projects/creator_test.go index e40b500b8c..2fe3a6cebf 100644 --- a/internal/projects/creator_test.go +++ b/internal/projects/creator_test.go @@ -24,12 +24,12 @@ import ( "github.com/stretchr/testify/assert" "go.uber.org/mock/gomock" - mockdb "github.com/stacklok/minder/database/mock" - "github.com/stacklok/minder/internal/authz/mock" - "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/marketplaces" - "github.com/stacklok/minder/internal/projects" + mockdb "github.com/mindersec/minder/database/mock" + "github.com/mindersec/minder/internal/authz/mock" + "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/marketplaces" + "github.com/mindersec/minder/internal/projects" ) func TestProvisionSelfEnrolledProject(t *testing.T) { diff --git a/internal/projects/deleter.go b/internal/projects/deleter.go index 9b810ed898..0bcd05c91b 100644 --- a/internal/projects/deleter.go +++ b/internal/projects/deleter.go @@ -25,11 +25,11 @@ import ( "github.com/google/uuid" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/authz" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/providers/manager" - v1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/authz" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/providers/manager" + v1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // ProjectDeleter encapsulates operations for deleting projects diff --git a/internal/projects/deleter_test.go b/internal/projects/deleter_test.go index 613543e33b..29333cefed 100644 --- a/internal/projects/deleter_test.go +++ b/internal/projects/deleter_test.go @@ -23,14 +23,14 @@ import ( "github.com/stretchr/testify/assert" "go.uber.org/mock/gomock" - mockdb "github.com/stacklok/minder/database/mock" - "github.com/stacklok/minder/internal/authz" - "github.com/stacklok/minder/internal/authz/mock" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/projects" - mockmanager "github.com/stacklok/minder/internal/providers/manager/mock" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + mockdb "github.com/mindersec/minder/database/mock" + "github.com/mindersec/minder/internal/authz" + "github.com/mindersec/minder/internal/authz/mock" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/projects" + mockmanager "github.com/mindersec/minder/internal/providers/manager/mock" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestDeleteProjectOneProjectWithNoParents(t *testing.T) { diff --git a/internal/projects/features/features.go b/internal/projects/features/features.go index 552f4318cd..9243d9e05e 100644 --- a/internal/projects/features/features.go +++ b/internal/projects/features/features.go @@ -24,7 +24,7 @@ import ( "github.com/google/uuid" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/db" + "github.com/mindersec/minder/internal/db" ) const ( diff --git a/internal/projects/meta.go b/internal/projects/meta.go index e19b0d25dc..dd4e43d4e0 100644 --- a/internal/projects/meta.go +++ b/internal/projects/meta.go @@ -22,7 +22,7 @@ import ( "regexp" "strings" - "github.com/stacklok/minder/internal/db" + "github.com/mindersec/minder/internal/db" ) const ( diff --git a/internal/proto/internal.pb.go b/internal/proto/internal.pb.go index 63a46f65d6..3b58935c69 100644 --- a/internal/proto/internal.pb.go +++ b/internal/proto/internal.pb.go @@ -24,7 +24,7 @@ package proto import ( - v1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + v1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" structpb "google.golang.org/protobuf/types/known/structpb" @@ -318,7 +318,7 @@ type SelectorRepository struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // the full name of the repository, e.g. stacklok/minder + // the full name of the repository, e.g. mindersec/minder Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // the provider of the repository Provider *SelectorProvider `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` @@ -401,7 +401,7 @@ type SelectorArtifact struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // the full name of the artifact, e.g. stacklok/minder-server + // the full name of the artifact, e.g. mindersec/minder-server Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // the provider of the artifact Provider *SelectorProvider `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` @@ -473,7 +473,7 @@ type SelectorPullRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // the full name of the pr, e.g. stacklok/minder-server/123 + // the full name of the pr, e.g. mindersec/minder-server/123 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // the provider of the pull request Provider *SelectorProvider `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` @@ -996,11 +996,11 @@ var file_internal_proto_rawDesc = []byte{ 0x43, 0x4f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x4e, 0x50, 0x4d, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x45, 0x50, 0x5f, 0x45, 0x43, 0x4f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x47, 0x4f, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x44, 0x45, 0x50, 0x5f, 0x45, 0x43, 0x4f, 0x53, - 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x50, 0x59, 0x50, 0x49, 0x10, 0x03, 0x42, 0x2b, 0x5a, 0x29, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x74, 0x61, 0x63, 0x6b, - 0x6c, 0x6f, 0x6b, 0x2f, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, - 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x50, 0x59, 0x50, 0x49, 0x10, 0x03, 0x42, 0x2c, 0x5a, 0x2a, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x6e, 0x64, 0x65, + 0x72, 0x73, 0x65, 0x63, 0x2f, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x2f, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( diff --git a/internal/proto/internal.proto b/internal/proto/internal.proto index 1bf4d36dcc..72a03e12c9 100644 --- a/internal/proto/internal.proto +++ b/internal/proto/internal.proto @@ -21,7 +21,7 @@ package internal; import "minder/v1/minder.proto"; import "google/protobuf/struct.proto"; -option go_package = "github.com/stacklok/minder/internal/proto"; +option go_package = "github.com/mindersec/minder/internal/proto"; enum DepEcosystem { DEP_ECOSYSTEM_UNSPECIFIED = 0; @@ -78,7 +78,7 @@ message SelectorProvider { } message SelectorRepository { - // the full name of the repository, e.g. stacklok/minder + // the full name of the repository, e.g. mindersec/minder string name = 1; // the provider of the repository SelectorProvider provider = 2; @@ -94,7 +94,7 @@ message SelectorRepository { } message SelectorArtifact { - // the full name of the artifact, e.g. stacklok/minder-server + // the full name of the artifact, e.g. mindersec/minder-server string name = 1; // the provider of the artifact SelectorProvider provider = 2; @@ -106,7 +106,7 @@ message SelectorArtifact { } message SelectorPullRequest { - // the full name of the pr, e.g. stacklok/minder-server/123 + // the full name of the pr, e.g. mindersec/minder-server/123 string name = 1; // the provider of the pull request SelectorProvider provider = 3; diff --git a/internal/providers/artifact/versionsfilter.go b/internal/providers/artifact/versionsfilter.go index 64d02c537d..4db7bffcd0 100644 --- a/internal/providers/artifact/versionsfilter.go +++ b/internal/providers/artifact/versionsfilter.go @@ -23,8 +23,8 @@ import ( "k8s.io/apimachinery/pkg/util/sets" - "github.com/stacklok/minder/internal/verifier" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/verifier" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // BuildFilter builds a container image filter based on the tags and tag regex as well as the creation time diff --git a/internal/providers/artifact/versionsfilter_test.go b/internal/providers/artifact/versionsfilter_test.go index ea258468b0..60ea91b032 100644 --- a/internal/providers/artifact/versionsfilter_test.go +++ b/internal/providers/artifact/versionsfilter_test.go @@ -24,7 +24,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) func TestBuildFilter(t *testing.T) { diff --git a/internal/providers/classes.go b/internal/providers/classes.go index 91d2863b64..501fe54cb2 100644 --- a/internal/providers/classes.go +++ b/internal/providers/classes.go @@ -14,7 +14,7 @@ package providers -import "github.com/stacklok/minder/internal/db" +import "github.com/mindersec/minder/internal/db" // ListProviderClasses returns a list of provider classes. func ListProviderClasses() []string { diff --git a/internal/providers/credentials/empty_credential.go b/internal/providers/credentials/empty_credential.go index 05c2f10a16..036eceeba5 100644 --- a/internal/providers/credentials/empty_credential.go +++ b/internal/providers/credentials/empty_credential.go @@ -20,7 +20,7 @@ import ( "github.com/go-git/go-git/v5" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // EmptyCredential is an empty credential whose operations are no-ops diff --git a/internal/providers/credentials/github_installation_token_credential.go b/internal/providers/credentials/github_installation_token_credential.go index 661ce5e2c4..927075a236 100644 --- a/internal/providers/credentials/github_installation_token_credential.go +++ b/internal/providers/credentials/github_installation_token_credential.go @@ -29,7 +29,7 @@ import ( "github.com/rs/zerolog" "golang.org/x/oauth2" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // GitHubInstallationTokenCredential is a credential that uses a GitHub installation access token diff --git a/internal/providers/credentials/github_token_credential.go b/internal/providers/credentials/github_token_credential.go index 6dbb17717f..ffe8dfdb45 100644 --- a/internal/providers/credentials/github_token_credential.go +++ b/internal/providers/credentials/github_token_credential.go @@ -23,7 +23,7 @@ import ( "github.com/google/go-containerregistry/pkg/authn" "golang.org/x/oauth2" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // GitHubTokenCredential is a credential that uses a token diff --git a/internal/providers/credentials/gitlab_token_credentials.go b/internal/providers/credentials/gitlab_token_credentials.go index 73ea7c594d..b756043766 100644 --- a/internal/providers/credentials/gitlab_token_credentials.go +++ b/internal/providers/credentials/gitlab_token_credentials.go @@ -23,7 +23,7 @@ import ( "github.com/google/go-containerregistry/pkg/authn" "golang.org/x/oauth2" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // GitLabTokenCredential is a credential that uses a token diff --git a/internal/providers/dockerhub/dockerhub.go b/internal/providers/dockerhub/dockerhub.go index 3cd156eb18..128e9e7e02 100644 --- a/internal/providers/dockerhub/dockerhub.go +++ b/internal/providers/dockerhub/dockerhub.go @@ -27,11 +27,11 @@ import ( "golang.org/x/oauth2" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/entities/properties" - "github.com/stacklok/minder/internal/providers/oci" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/providers/oci" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // DockerHub is the string that represents the DockerHub provider diff --git a/internal/providers/dockerhub/manager.go b/internal/providers/dockerhub/manager.go index da6519e692..ed2151d1d2 100644 --- a/internal/providers/dockerhub/manager.go +++ b/internal/providers/dockerhub/manager.go @@ -22,10 +22,10 @@ import ( "fmt" "slices" - "github.com/stacklok/minder/internal/crypto" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/providers/credentials" - v1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/crypto" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/providers/credentials" + v1 "github.com/mindersec/minder/pkg/providers/v1" ) type providerClassManager struct { diff --git a/internal/providers/git/git.go b/internal/providers/git/git.go index cd42248a73..6ae0ee432e 100644 --- a/internal/providers/git/git.go +++ b/internal/providers/git/git.go @@ -27,9 +27,9 @@ import ( "github.com/go-git/go-git/v5/plumbing/transport" "github.com/go-git/go-git/v5/storage/filesystem" - "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/providers/git/memboxfs" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/providers/git/memboxfs" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // Git is the struct that contains the GitHub REST API client diff --git a/internal/providers/github/clients/app.go b/internal/providers/github/clients/app.go index 6ea951bbf5..2d31ffa568 100644 --- a/internal/providers/github/clients/app.go +++ b/internal/providers/github/clients/app.go @@ -24,14 +24,14 @@ import ( gogithub "github.com/google/go-github/v63/github" "google.golang.org/protobuf/proto" - "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/providers/github" - ghcommon "github.com/stacklok/minder/internal/providers/github/common" - "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/providers/ratecache" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/providers/github" + ghcommon "github.com/mindersec/minder/internal/providers/github/common" + "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/providers/ratecache" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // GithubApp is the string that represents the GitHubApp provider diff --git a/internal/providers/github/clients/app_test.go b/internal/providers/github/clients/app_test.go index c972f43a50..5164d4a3e4 100644 --- a/internal/providers/github/clients/app_test.go +++ b/internal/providers/github/clients/app_test.go @@ -31,14 +31,14 @@ import ( "go.uber.org/mock/gomock" "google.golang.org/protobuf/proto" - config "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/providers/credentials" - github2 "github.com/stacklok/minder/internal/providers/github" - "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/providers/ratecache" - provtelemetry "github.com/stacklok/minder/internal/providers/telemetry" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + config "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/providers/credentials" + github2 "github.com/mindersec/minder/internal/providers/github" + "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/providers/ratecache" + provtelemetry "github.com/mindersec/minder/internal/providers/telemetry" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestParseV1AppConfig(t *testing.T) { diff --git a/internal/providers/github/clients/factory.go b/internal/providers/github/clients/factory.go index 00d9e2ec08..c6a9fd34ad 100644 --- a/internal/providers/github/clients/factory.go +++ b/internal/providers/github/clients/factory.go @@ -26,10 +26,10 @@ import ( "github.com/rs/zerolog" "golang.org/x/oauth2" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/providers/github" - "github.com/stacklok/minder/internal/providers/telemetry" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/providers/github" + "github.com/mindersec/minder/internal/providers/telemetry" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) //go:generate go run go.uber.org/mock/mockgen -package mock_$GOPACKAGE -destination=./mock/$GOFILE -source=./$GOFILE diff --git a/internal/providers/github/clients/mock/factory.go b/internal/providers/github/clients/mock/factory.go index 5ef63c5a5c..a322731879 100644 --- a/internal/providers/github/clients/mock/factory.go +++ b/internal/providers/github/clients/mock/factory.go @@ -13,8 +13,8 @@ import ( reflect "reflect" github "github.com/google/go-github/v63/github" - github0 "github.com/stacklok/minder/internal/providers/github" - v1 "github.com/stacklok/minder/pkg/providers/v1" + github0 "github.com/mindersec/minder/internal/providers/github" + v1 "github.com/mindersec/minder/pkg/providers/v1" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/providers/github/clients/oauth.go b/internal/providers/github/clients/oauth.go index ad0878e802..21e34ff554 100644 --- a/internal/providers/github/clients/oauth.go +++ b/internal/providers/github/clients/oauth.go @@ -23,14 +23,14 @@ import ( gogithub "github.com/google/go-github/v63/github" "google.golang.org/protobuf/proto" - "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/providers/github" - ghcommon "github.com/stacklok/minder/internal/providers/github/common" - "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/providers/ratecache" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/providers/github" + ghcommon "github.com/mindersec/minder/internal/providers/github/common" + "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/providers/ratecache" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // Github is the string that represents the GitHubOAuth provider diff --git a/internal/providers/github/clients/oauth_test.go b/internal/providers/github/clients/oauth_test.go index fbddcb8472..093bfe54a8 100644 --- a/internal/providers/github/clients/oauth_test.go +++ b/internal/providers/github/clients/oauth_test.go @@ -29,13 +29,13 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/protobuf/proto" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/providers/credentials" - github2 "github.com/stacklok/minder/internal/providers/github" - "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/providers/ratecache" - provtelemetry "github.com/stacklok/minder/internal/providers/telemetry" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/providers/credentials" + github2 "github.com/mindersec/minder/internal/providers/github" + "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/providers/ratecache" + provtelemetry "github.com/mindersec/minder/internal/providers/telemetry" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestParseV1OAuthConfig(t *testing.T) { diff --git a/internal/providers/github/common.go b/internal/providers/github/common.go index 2a0bc8ad11..6da8c32be6 100644 --- a/internal/providers/github/common.go +++ b/internal/providers/github/common.go @@ -34,15 +34,15 @@ import ( "golang.org/x/oauth2" "google.golang.org/protobuf/types/known/timestamppb" - config "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/db" - engerrors "github.com/stacklok/minder/internal/engine/errors" - gitclient "github.com/stacklok/minder/internal/providers/git" - "github.com/stacklok/minder/internal/providers/github/ghcr" - "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/providers/ratecache" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + config "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/db" + engerrors "github.com/mindersec/minder/internal/engine/errors" + gitclient "github.com/mindersec/minder/internal/providers/git" + "github.com/mindersec/minder/internal/providers/github/ghcr" + "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/providers/ratecache" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) //go:generate go run go.uber.org/mock/mockgen -package mock_$GOPACKAGE -destination=./mock/$GOFILE -source=./$GOFILE diff --git a/internal/providers/github/common/common.go b/internal/providers/github/common/common.go index 68bd350580..9826cf0e65 100644 --- a/internal/providers/github/common/common.go +++ b/internal/providers/github/common/common.go @@ -19,8 +19,8 @@ import ( gogithub "github.com/google/go-github/v63/github" "google.golang.org/protobuf/types/known/structpb" - "github.com/stacklok/minder/internal/providers/github/properties" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/providers/github/properties" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // ConvertRepositories converts a list of GitHub repositories to a list of minder repositories diff --git a/internal/providers/github/common/common_test.go b/internal/providers/github/common/common_test.go index dfa5f8a538..adef1fe3ad 100644 --- a/internal/providers/github/common/common_test.go +++ b/internal/providers/github/common/common_test.go @@ -22,8 +22,8 @@ import ( "github.com/stretchr/testify/assert" "google.golang.org/protobuf/types/known/structpb" - "github.com/stacklok/minder/internal/providers/github/properties" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/providers/github/properties" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestConvertRepositories(t *testing.T) { @@ -40,11 +40,11 @@ func TestConvertRepositories(t *testing.T) { Name: go_github.String("minder"), Owner: &go_github.User{Login: go_github.String("owner")}, ID: go_github.Int64(12345), - FullName: go_github.String("stacklok/minder"), - HTMLURL: go_github.String("https://github.com/stacklok/minder"), - HooksURL: go_github.String("https://github.com/stacklok/minder/hooks"), - DeploymentsURL: go_github.String("https://github.com/stacklok/minder/deploy"), - CloneURL: go_github.String("https://github.com/stacklok/minder/clone"), + FullName: go_github.String("mindersec/minder"), + HTMLURL: go_github.String("https://github.com/mindersec/minder"), + HooksURL: go_github.String("https://github.com/mindersec/minder/hooks"), + DeploymentsURL: go_github.String("https://github.com/mindersec/minder/deploy"), + CloneURL: go_github.String("https://github.com/mindersec/minder/clone"), Private: go_github.Bool(false), Fork: go_github.Bool(false), Archived: go_github.Bool(false), @@ -55,20 +55,20 @@ func TestConvertRepositories(t *testing.T) { Name: "minder", Owner: "owner", RepoId: 12345, - HookUrl: "https://github.com/stacklok/minder/hooks", - DeployUrl: "https://github.com/stacklok/minder/deploy", - CloneUrl: "https://github.com/stacklok/minder/clone", + HookUrl: "https://github.com/mindersec/minder/hooks", + DeployUrl: "https://github.com/mindersec/minder/deploy", + CloneUrl: "https://github.com/mindersec/minder/clone", IsPrivate: false, IsFork: false, Properties: gitHubRepoToMap(&go_github.Repository{ Name: go_github.String("minder"), Owner: &go_github.User{Login: go_github.String("owner")}, ID: go_github.Int64(12345), - FullName: go_github.String("stacklok/minder"), - HTMLURL: go_github.String("https://github.com/stacklok/minder"), - HooksURL: go_github.String("https://github.com/stacklok/minder/hooks"), - DeploymentsURL: go_github.String("https://github.com/stacklok/minder/deploy"), - CloneURL: go_github.String("https://github.com/stacklok/minder/clone"), + FullName: go_github.String("mindersec/minder"), + HTMLURL: go_github.String("https://github.com/mindersec/minder"), + HooksURL: go_github.String("https://github.com/mindersec/minder/hooks"), + DeploymentsURL: go_github.String("https://github.com/mindersec/minder/deploy"), + CloneURL: go_github.String("https://github.com/mindersec/minder/clone"), Private: go_github.Bool(false), Fork: go_github.Bool(false), Archived: go_github.Bool(false), diff --git a/internal/providers/github/entities.go b/internal/providers/github/entities.go index 40906e1c5c..8641c4a97a 100644 --- a/internal/providers/github/entities.go +++ b/internal/providers/github/entities.go @@ -27,10 +27,10 @@ import ( "github.com/rs/zerolog" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/entities/properties" - ghprop "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/util/ptr" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/entities/properties" + ghprop "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/util/ptr" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var ( diff --git a/internal/providers/github/ghcr/ghcr.go b/internal/providers/github/ghcr/ghcr.go index 54a1bc54ea..c0b021b566 100644 --- a/internal/providers/github/ghcr/ghcr.go +++ b/internal/providers/github/ghcr/ghcr.go @@ -27,10 +27,10 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/entities/properties" - "github.com/stacklok/minder/internal/verifier/verifyif" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/verifier/verifyif" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // GHCR is the string that represents the GHCR provider diff --git a/internal/providers/github/installations/installations.go b/internal/providers/github/installations/installations.go index d8a6ff1c57..fa84953129 100644 --- a/internal/providers/github/installations/installations.go +++ b/internal/providers/github/installations/installations.go @@ -26,9 +26,9 @@ import ( "github.com/ThreeDotsLabs/watermill/message" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/providers/github/service" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/providers/github/service" ) const ( diff --git a/internal/providers/github/installations/installations_test.go b/internal/providers/github/installations/installations_test.go index 27079554ef..d122d96d0d 100644 --- a/internal/providers/github/installations/installations_test.go +++ b/internal/providers/github/installations/installations_test.go @@ -23,8 +23,8 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - "github.com/stacklok/minder/internal/db" - mockprovsvc "github.com/stacklok/minder/internal/providers/github/service/mock" + "github.com/mindersec/minder/internal/db" + mockprovsvc "github.com/mindersec/minder/internal/providers/github/service/mock" ) func testNewInstallationManager(t *testing.T, mockSvc *mockprovsvc.MockGitHubProviderService) *InstallationManager { diff --git a/internal/providers/github/manager/manager.go b/internal/providers/github/manager/manager.go index 86d9cfa419..6f7f8a7519 100644 --- a/internal/providers/github/manager/manager.go +++ b/internal/providers/github/manager/manager.go @@ -29,18 +29,18 @@ import ( "golang.org/x/oauth2" "golang.org/x/oauth2/github" - "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/crypto" - "github.com/stacklok/minder/internal/db" - propssvc "github.com/stacklok/minder/internal/entities/properties/service" - "github.com/stacklok/minder/internal/providers" - "github.com/stacklok/minder/internal/providers/credentials" - "github.com/stacklok/minder/internal/providers/github/clients" - "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/providers/github/service" - m "github.com/stacklok/minder/internal/providers/manager" - "github.com/stacklok/minder/internal/providers/ratecache" - v1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/crypto" + "github.com/mindersec/minder/internal/db" + propssvc "github.com/mindersec/minder/internal/entities/properties/service" + "github.com/mindersec/minder/internal/providers" + "github.com/mindersec/minder/internal/providers/credentials" + "github.com/mindersec/minder/internal/providers/github/clients" + "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/providers/github/service" + m "github.com/mindersec/minder/internal/providers/manager" + "github.com/mindersec/minder/internal/providers/ratecache" + v1 "github.com/mindersec/minder/pkg/providers/v1" ) // NewGitHubProviderClassManager creates an instance of ProviderClassManager diff --git a/internal/providers/github/mock/common.go b/internal/providers/github/mock/common.go index f4f680c078..014b8633a0 100644 --- a/internal/providers/github/mock/common.go +++ b/internal/providers/github/mock/common.go @@ -14,8 +14,8 @@ import ( reflect "reflect" github "github.com/google/go-github/v63/github" - v1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - v10 "github.com/stacklok/minder/pkg/providers/v1" + v1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + v10 "github.com/mindersec/minder/pkg/providers/v1" gomock "go.uber.org/mock/gomock" oauth2 "golang.org/x/oauth2" ) diff --git a/internal/providers/github/mock/fixtures/github.go b/internal/providers/github/mock/fixtures/github.go index 3890cb73c7..11d3310851 100644 --- a/internal/providers/github/mock/fixtures/github.go +++ b/internal/providers/github/mock/fixtures/github.go @@ -19,7 +19,7 @@ package fixtures import ( - ghmock "github.com/stacklok/minder/internal/providers/github/mock" + ghmock "github.com/mindersec/minder/internal/providers/github/mock" "go.uber.org/mock/gomock" ) diff --git a/internal/providers/github/mock/github.go b/internal/providers/github/mock/github.go index c5d834ba0f..00cd4da44c 100644 --- a/internal/providers/github/mock/github.go +++ b/internal/providers/github/mock/github.go @@ -19,9 +19,9 @@ import ( authn "github.com/google/go-containerregistry/pkg/authn" v1 "github.com/google/go-containerregistry/pkg/v1" github "github.com/google/go-github/v63/github" - properties "github.com/stacklok/minder/internal/entities/properties" - v10 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - v11 "github.com/stacklok/minder/pkg/providers/v1" + properties "github.com/mindersec/minder/internal/entities/properties" + v10 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + v11 "github.com/mindersec/minder/pkg/providers/v1" gomock "go.uber.org/mock/gomock" protoreflect "google.golang.org/protobuf/reflect/protoreflect" ) diff --git a/internal/providers/github/properties.go b/internal/providers/github/properties.go index 2c623319f0..5524d01647 100644 --- a/internal/providers/github/properties.go +++ b/internal/providers/github/properties.go @@ -23,9 +23,9 @@ import ( "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/entities/properties" - properties2 "github.com/stacklok/minder/internal/providers/github/properties" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/entities/properties" + properties2 "github.com/mindersec/minder/internal/providers/github/properties" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // FetchProperty fetches a single property for the given entity diff --git a/internal/providers/github/properties/artifact.go b/internal/providers/github/properties/artifact.go index 3cc9c7649a..696499b34b 100644 --- a/internal/providers/github/properties/artifact.go +++ b/internal/providers/github/properties/artifact.go @@ -28,10 +28,10 @@ import ( "github.com/rs/zerolog" "google.golang.org/protobuf/types/known/timestamppb" - "github.com/stacklok/minder/internal/entities/properties" - "github.com/stacklok/minder/internal/verifier/verifyif" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - v1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/verifier/verifyif" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + v1 "github.com/mindersec/minder/pkg/providers/v1" ) const ( diff --git a/internal/providers/github/properties/artifact_test.go b/internal/providers/github/properties/artifact_test.go index beea9b66e4..506c909607 100644 --- a/internal/providers/github/properties/artifact_test.go +++ b/internal/providers/github/properties/artifact_test.go @@ -22,7 +22,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/stacklok/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/entities/properties" ) func TestNewArtifactFetcher(t *testing.T) { diff --git a/internal/providers/github/properties/fetcher.go b/internal/providers/github/properties/fetcher.go index 63da9753f7..6eff1e252c 100644 --- a/internal/providers/github/properties/fetcher.go +++ b/internal/providers/github/properties/fetcher.go @@ -21,8 +21,8 @@ import ( go_github "github.com/google/go-github/v63/github" - "github.com/stacklok/minder/internal/entities/properties" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/entities/properties" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // GhPropertyWrapper is a function that fetches a property from the GitHub API diff --git a/internal/providers/github/properties/pull_request.go b/internal/providers/github/properties/pull_request.go index 99d2f5abe6..527a344d2b 100644 --- a/internal/providers/github/properties/pull_request.go +++ b/internal/providers/github/properties/pull_request.go @@ -26,9 +26,9 @@ import ( go_github "github.com/google/go-github/v63/github" - "github.com/stacklok/minder/internal/entities/properties" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - v1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/entities/properties" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + v1 "github.com/mindersec/minder/pkg/providers/v1" ) const ( diff --git a/internal/providers/github/properties/repository.go b/internal/providers/github/properties/repository.go index 4de97e87b0..2a95fcc459 100644 --- a/internal/providers/github/properties/repository.go +++ b/internal/providers/github/properties/repository.go @@ -25,9 +25,9 @@ import ( go_github "github.com/google/go-github/v63/github" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/entities/properties" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - v1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/entities/properties" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + v1 "github.com/mindersec/minder/pkg/providers/v1" ) const ( diff --git a/internal/providers/github/service/mock/service.go b/internal/providers/github/service/mock/service.go index a8866d0b3d..9a9f4bc8f3 100644 --- a/internal/providers/github/service/mock/service.go +++ b/internal/providers/github/service/mock/service.go @@ -15,7 +15,7 @@ import ( reflect "reflect" uuid "github.com/google/uuid" - db "github.com/stacklok/minder/internal/db" + db "github.com/mindersec/minder/internal/db" gomock "go.uber.org/mock/gomock" oauth2 "golang.org/x/oauth2" ) diff --git a/internal/providers/github/service/service.go b/internal/providers/github/service/service.go index 306f6eb71c..0e69ff4b05 100644 --- a/internal/providers/github/service/service.go +++ b/internal/providers/github/service/service.go @@ -31,14 +31,14 @@ import ( "github.com/rs/zerolog" "golang.org/x/oauth2" - "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/controlplane/metrics" - "github.com/stacklok/minder/internal/crypto" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/providers" - "github.com/stacklok/minder/internal/providers/credentials" - ghprov "github.com/stacklok/minder/internal/providers/github" - "github.com/stacklok/minder/internal/providers/github/clients" + "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/controlplane/metrics" + "github.com/mindersec/minder/internal/crypto" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/providers" + "github.com/mindersec/minder/internal/providers/credentials" + ghprov "github.com/mindersec/minder/internal/providers/github" + "github.com/mindersec/minder/internal/providers/github/clients" ) //go:generate go run go.uber.org/mock/mockgen -package mock_$GOPACKAGE -destination=./mock/$GOFILE -source=./$GOFILE diff --git a/internal/providers/github/service/service_test.go b/internal/providers/github/service/service_test.go index 8e2fdd751f..6003666739 100644 --- a/internal/providers/github/service/service_test.go +++ b/internal/providers/github/service/service_test.go @@ -40,18 +40,18 @@ import ( "go.uber.org/mock/gomock" "golang.org/x/oauth2" - "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/controlplane/metrics" - mockcrypto "github.com/stacklok/minder/internal/crypto/mock" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/db/embedded" - "github.com/stacklok/minder/internal/providers" - "github.com/stacklok/minder/internal/providers/credentials" - "github.com/stacklok/minder/internal/providers/github/clients" - mockclients "github.com/stacklok/minder/internal/providers/github/clients/mock" - mockgh "github.com/stacklok/minder/internal/providers/github/mock" - "github.com/stacklok/minder/internal/providers/telemetry" - "github.com/stacklok/minder/internal/util/rand" + "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/controlplane/metrics" + mockcrypto "github.com/mindersec/minder/internal/crypto/mock" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/db/embedded" + "github.com/mindersec/minder/internal/providers" + "github.com/mindersec/minder/internal/providers/credentials" + "github.com/mindersec/minder/internal/providers/github/clients" + mockclients "github.com/mindersec/minder/internal/providers/github/clients/mock" + mockgh "github.com/mindersec/minder/internal/providers/github/mock" + "github.com/mindersec/minder/internal/providers/telemetry" + "github.com/mindersec/minder/internal/util/rand" ) type testMocks struct { diff --git a/internal/providers/gitlab/gitlab.go b/internal/providers/gitlab/gitlab.go index fdbc5b4131..39def87881 100644 --- a/internal/providers/gitlab/gitlab.go +++ b/internal/providers/gitlab/gitlab.go @@ -24,10 +24,10 @@ import ( "golang.org/x/oauth2" - config "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/db" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + config "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/db" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // Class is the string that represents the GitLab provider class diff --git a/internal/providers/gitlab/gitlab_git.go b/internal/providers/gitlab/gitlab_git.go index a82bf1e6f6..89d85baad8 100644 --- a/internal/providers/gitlab/gitlab_git.go +++ b/internal/providers/gitlab/gitlab_git.go @@ -20,7 +20,7 @@ import ( "github.com/go-git/go-git/v5" - gitclient "github.com/stacklok/minder/internal/providers/git" + gitclient "github.com/mindersec/minder/internal/providers/git" ) // Implements the Git interface diff --git a/internal/providers/gitlab/gitlab_rest.go b/internal/providers/gitlab/gitlab_rest.go index 8a67f97e70..3422fb6067 100644 --- a/internal/providers/gitlab/gitlab_rest.go +++ b/internal/providers/gitlab/gitlab_rest.go @@ -24,7 +24,7 @@ import ( "net/http" "net/url" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // Do implements the REST provider interface diff --git a/internal/providers/gitlab/gitlab_rest_test.go b/internal/providers/gitlab/gitlab_rest_test.go index 540bab2e09..21c155459b 100644 --- a/internal/providers/gitlab/gitlab_rest_test.go +++ b/internal/providers/gitlab/gitlab_rest_test.go @@ -27,9 +27,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/providers/credentials" - "github.com/stacklok/minder/internal/util/ptr" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/providers/credentials" + "github.com/mindersec/minder/internal/util/ptr" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) type mockGitlabClient struct { diff --git a/internal/providers/gitlab/manager/auth.go b/internal/providers/gitlab/manager/auth.go index b75c00b7b8..d3551bd62b 100644 --- a/internal/providers/gitlab/manager/auth.go +++ b/internal/providers/gitlab/manager/auth.go @@ -21,9 +21,9 @@ import ( "golang.org/x/oauth2" "golang.org/x/oauth2/gitlab" - "github.com/stacklok/minder/internal/db" - m "github.com/stacklok/minder/internal/providers/manager" - provv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/db" + m "github.com/mindersec/minder/internal/providers/manager" + provv1 "github.com/mindersec/minder/pkg/providers/v1" ) // NewOAuthConfig implements the providerClassOAuthManager interface diff --git a/internal/providers/gitlab/manager/manager.go b/internal/providers/gitlab/manager/manager.go index 6074ffa9af..399bc73195 100644 --- a/internal/providers/gitlab/manager/manager.go +++ b/internal/providers/gitlab/manager/manager.go @@ -29,13 +29,13 @@ import ( "github.com/sqlc-dev/pqtype" "golang.org/x/oauth2" - "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/crypto" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/providers/credentials" - "github.com/stacklok/minder/internal/providers/gitlab" - v1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/crypto" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/providers/credentials" + "github.com/mindersec/minder/internal/providers/gitlab" + v1 "github.com/mindersec/minder/pkg/providers/v1" ) // tokenExpirationThreshold is the time before the token expires that we should diff --git a/internal/providers/gitlab/manager/webhook.go b/internal/providers/gitlab/manager/webhook.go index d71c6cbabf..fdbcdf05a6 100644 --- a/internal/providers/gitlab/manager/webhook.go +++ b/internal/providers/gitlab/manager/webhook.go @@ -26,7 +26,7 @@ import ( "github.com/rs/zerolog" gitlablib "github.com/xanzy/go-gitlab" - "github.com/stacklok/minder/internal/providers/gitlab/webhooksecret" + "github.com/mindersec/minder/internal/providers/gitlab/webhooksecret" ) const ( diff --git a/internal/providers/gitlab/manager/webhook_handlers_merge_requests.go b/internal/providers/gitlab/manager/webhook_handlers_merge_requests.go index 4a67b02cf5..969b9cafb0 100644 --- a/internal/providers/gitlab/manager/webhook_handlers_merge_requests.go +++ b/internal/providers/gitlab/manager/webhook_handlers_merge_requests.go @@ -23,11 +23,11 @@ import ( "github.com/rs/zerolog" gitlablib "github.com/xanzy/go-gitlab" - entmsg "github.com/stacklok/minder/internal/entities/handlers/message" - "github.com/stacklok/minder/internal/entities/properties" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/providers/gitlab" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + entmsg "github.com/mindersec/minder/internal/entities/handlers/message" + "github.com/mindersec/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/providers/gitlab" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func (m *providerClassManager) handleMergeRequest(l zerolog.Logger, r *http.Request) error { diff --git a/internal/providers/gitlab/manager/webhook_handlers_releases.go b/internal/providers/gitlab/manager/webhook_handlers_releases.go index e2bd7076c1..227afe76f6 100644 --- a/internal/providers/gitlab/manager/webhook_handlers_releases.go +++ b/internal/providers/gitlab/manager/webhook_handlers_releases.go @@ -23,11 +23,11 @@ import ( "github.com/rs/zerolog" gitlablib "github.com/xanzy/go-gitlab" - entmsg "github.com/stacklok/minder/internal/entities/handlers/message" - "github.com/stacklok/minder/internal/entities/properties" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/providers/gitlab" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + entmsg "github.com/mindersec/minder/internal/entities/handlers/message" + "github.com/mindersec/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/providers/gitlab" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func (m *providerClassManager) handleRelease(l zerolog.Logger, r *http.Request) error { diff --git a/internal/providers/gitlab/manager/webhook_handlers_repos.go b/internal/providers/gitlab/manager/webhook_handlers_repos.go index f5819b745d..b136354a28 100644 --- a/internal/providers/gitlab/manager/webhook_handlers_repos.go +++ b/internal/providers/gitlab/manager/webhook_handlers_repos.go @@ -23,11 +23,11 @@ import ( "github.com/rs/zerolog" gitlablib "github.com/xanzy/go-gitlab" - entmsg "github.com/stacklok/minder/internal/entities/handlers/message" - "github.com/stacklok/minder/internal/entities/properties" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/providers/gitlab" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + entmsg "github.com/mindersec/minder/internal/entities/handlers/message" + "github.com/mindersec/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/providers/gitlab" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func (m *providerClassManager) handleRepoPush(l zerolog.Logger, r *http.Request) error { diff --git a/internal/providers/gitlab/properties.go b/internal/providers/gitlab/properties.go index 7fc6b25b3d..5526618b3d 100644 --- a/internal/providers/gitlab/properties.go +++ b/internal/providers/gitlab/properties.go @@ -22,8 +22,8 @@ import ( "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/entities/properties" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/entities/properties" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // Repository Properties diff --git a/internal/providers/gitlab/properties_test.go b/internal/providers/gitlab/properties_test.go index 8a81bea74d..afe4fcb680 100644 --- a/internal/providers/gitlab/properties_test.go +++ b/internal/providers/gitlab/properties_test.go @@ -26,9 +26,9 @@ import ( "github.com/xanzy/go-gitlab" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/entities/properties" - "github.com/stacklok/minder/internal/providers/credentials" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/providers/credentials" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func Test_gitlabClient_GetEntityName(t *testing.T) { diff --git a/internal/providers/gitlab/pull_request_properties.go b/internal/providers/gitlab/pull_request_properties.go index 577a17dc24..25cdaa62d4 100644 --- a/internal/providers/gitlab/pull_request_properties.go +++ b/internal/providers/gitlab/pull_request_properties.go @@ -25,9 +25,9 @@ import ( "github.com/xanzy/go-gitlab" - "github.com/stacklok/minder/internal/entities/properties" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/entities/properties" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // FormatPullRequestUpstreamID returns the upstream ID for a gitlab merge request diff --git a/internal/providers/gitlab/registration.go b/internal/providers/gitlab/registration.go index 79fda9df28..03fc697e23 100644 --- a/internal/providers/gitlab/registration.go +++ b/internal/providers/gitlab/registration.go @@ -28,10 +28,10 @@ import ( "github.com/rs/zerolog" "github.com/xanzy/go-gitlab" - "github.com/stacklok/minder/internal/entities/properties" - "github.com/stacklok/minder/internal/providers/gitlab/webhooksecret" - "github.com/stacklok/minder/internal/util/ptr" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/providers/gitlab/webhooksecret" + "github.com/mindersec/minder/internal/util/ptr" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // RegisterEntity implements the Provider interface diff --git a/internal/providers/gitlab/registration_test.go b/internal/providers/gitlab/registration_test.go index 46eff77e13..bdaea923bc 100644 --- a/internal/providers/gitlab/registration_test.go +++ b/internal/providers/gitlab/registration_test.go @@ -30,9 +30,9 @@ import ( "github.com/xanzy/go-gitlab" "golang.org/x/oauth2" - "github.com/stacklok/minder/internal/entities/properties" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/entities/properties" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) const ( diff --git a/internal/providers/gitlab/release_properties.go b/internal/providers/gitlab/release_properties.go index 9b0ff397be..bf411a3a83 100644 --- a/internal/providers/gitlab/release_properties.go +++ b/internal/providers/gitlab/release_properties.go @@ -29,8 +29,8 @@ import ( gitlablib "github.com/xanzy/go-gitlab" "golang.org/x/mod/semver" - "github.com/stacklok/minder/internal/entities/properties" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/entities/properties" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // FormatReleaseUpstreamID returns the upstream ID for a gitlab release diff --git a/internal/providers/gitlab/repo_lister.go b/internal/providers/gitlab/repo_lister.go index b4b79a32c2..49e824fd2c 100644 --- a/internal/providers/gitlab/repo_lister.go +++ b/internal/providers/gitlab/repo_lister.go @@ -23,7 +23,7 @@ import ( "github.com/rs/zerolog" "github.com/xanzy/go-gitlab" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func (c *gitlabClient) ListAllRepositories(ctx context.Context) ([]*minderv1.Repository, error) { diff --git a/internal/providers/gitlab/repository_properties.go b/internal/providers/gitlab/repository_properties.go index f5c803737b..c75b8dd675 100644 --- a/internal/providers/gitlab/repository_properties.go +++ b/internal/providers/gitlab/repository_properties.go @@ -25,9 +25,9 @@ import ( "github.com/xanzy/go-gitlab" - "github.com/stacklok/minder/internal/entities/properties" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/entities/properties" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // FormatRepositoryUpstreamID returns the upstream ID for a gitlab project diff --git a/internal/providers/http/http.go b/internal/providers/http/http.go index d2eb4da892..283a35fdbf 100644 --- a/internal/providers/http/http.go +++ b/internal/providers/http/http.go @@ -23,10 +23,10 @@ import ( "net/http" "net/url" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/providers/telemetry" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/providers/telemetry" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // REST is the interface for interacting with an REST API. diff --git a/internal/providers/manager/auth_manager.go b/internal/providers/manager/auth_manager.go index 743523a34f..e78128ddf1 100644 --- a/internal/providers/manager/auth_manager.go +++ b/internal/providers/manager/auth_manager.go @@ -23,8 +23,8 @@ import ( "golang.org/x/oauth2" - "github.com/stacklok/minder/internal/db" - v1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/db" + v1 "github.com/mindersec/minder/pkg/providers/v1" ) // CredentialVerifyParams are the currently supported parameters for credential verification diff --git a/internal/providers/manager/auth_manager_test.go b/internal/providers/manager/auth_manager_test.go index 195654e2dc..f2eacf2da8 100644 --- a/internal/providers/manager/auth_manager_test.go +++ b/internal/providers/manager/auth_manager_test.go @@ -23,10 +23,10 @@ import ( "golang.org/x/oauth2" "golang.org/x/oauth2/github" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/providers/credentials" - "github.com/stacklok/minder/internal/providers/manager" - mockmanager "github.com/stacklok/minder/internal/providers/manager/mock" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/providers/credentials" + "github.com/mindersec/minder/internal/providers/manager" + mockmanager "github.com/mindersec/minder/internal/providers/manager/mock" ) func TestAuthManager_NewAuthManager(t *testing.T) { diff --git a/internal/providers/manager/manager.go b/internal/providers/manager/manager.go index c7c840c59b..009b1a5996 100644 --- a/internal/providers/manager/manager.go +++ b/internal/providers/manager/manager.go @@ -27,10 +27,10 @@ import ( "github.com/google/uuid" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/providers" - "github.com/stacklok/minder/internal/util/cache" - v1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/providers" + "github.com/mindersec/minder/internal/util/cache" + v1 "github.com/mindersec/minder/pkg/providers/v1" ) //go:generate go run go.uber.org/mock/mockgen -package mock_$GOPACKAGE -destination=./mock/$GOFILE -source=./$GOFILE diff --git a/internal/providers/manager/manager_test.go b/internal/providers/manager/manager_test.go index 17bff63c73..ee71dfb7a2 100644 --- a/internal/providers/manager/manager_test.go +++ b/internal/providers/manager/manager_test.go @@ -26,11 +26,11 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - "github.com/stacklok/minder/internal/db" - mockgithub "github.com/stacklok/minder/internal/providers/github/mock" - "github.com/stacklok/minder/internal/providers/manager" - mockmanager "github.com/stacklok/minder/internal/providers/manager/mock" - "github.com/stacklok/minder/internal/providers/mock/fixtures" + "github.com/mindersec/minder/internal/db" + mockgithub "github.com/mindersec/minder/internal/providers/github/mock" + "github.com/mindersec/minder/internal/providers/manager" + mockmanager "github.com/mindersec/minder/internal/providers/manager/mock" + "github.com/mindersec/minder/internal/providers/mock/fixtures" ) type configMatcher struct { diff --git a/internal/providers/manager/mock/auth_manager.go b/internal/providers/manager/mock/auth_manager.go index 471a667a98..dd06d2ad8e 100644 --- a/internal/providers/manager/mock/auth_manager.go +++ b/internal/providers/manager/mock/auth_manager.go @@ -15,9 +15,9 @@ import ( http "net/http" reflect "reflect" - db "github.com/stacklok/minder/internal/db" - manager "github.com/stacklok/minder/internal/providers/manager" - v1 "github.com/stacklok/minder/pkg/providers/v1" + db "github.com/mindersec/minder/internal/db" + manager "github.com/mindersec/minder/internal/providers/manager" + v1 "github.com/mindersec/minder/pkg/providers/v1" gomock "go.uber.org/mock/gomock" oauth2 "golang.org/x/oauth2" ) diff --git a/internal/providers/manager/mock/fixtures/manager.go b/internal/providers/manager/mock/fixtures/manager.go index 2b2f06e848..b82c5dde9c 100644 --- a/internal/providers/manager/mock/fixtures/manager.go +++ b/internal/providers/manager/mock/fixtures/manager.go @@ -20,8 +20,8 @@ package fixtures import ( "errors" - mockmanager "github.com/stacklok/minder/internal/providers/manager/mock" - provinfv1 "github.com/stacklok/minder/pkg/providers/v1" + mockmanager "github.com/mindersec/minder/internal/providers/manager/mock" + provinfv1 "github.com/mindersec/minder/pkg/providers/v1" "go.uber.org/mock/gomock" ) diff --git a/internal/providers/manager/mock/manager.go b/internal/providers/manager/mock/manager.go index 313f56ea98..51bed3f1cd 100644 --- a/internal/providers/manager/mock/manager.go +++ b/internal/providers/manager/mock/manager.go @@ -17,9 +17,9 @@ import ( reflect "reflect" uuid "github.com/google/uuid" - db "github.com/stacklok/minder/internal/db" - manager "github.com/stacklok/minder/internal/providers/manager" - v1 "github.com/stacklok/minder/pkg/providers/v1" + db "github.com/mindersec/minder/internal/db" + manager "github.com/mindersec/minder/internal/providers/manager" + v1 "github.com/mindersec/minder/pkg/providers/v1" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/providers/mock/fixtures/store.go b/internal/providers/mock/fixtures/store.go index cbcfd6f5cc..b9d0ef2c40 100644 --- a/internal/providers/mock/fixtures/store.go +++ b/internal/providers/mock/fixtures/store.go @@ -20,8 +20,8 @@ package fixtures import ( "errors" - "github.com/stacklok/minder/internal/db" - mockprov "github.com/stacklok/minder/internal/providers/mock" + "github.com/mindersec/minder/internal/db" + mockprov "github.com/mindersec/minder/internal/providers/mock" "go.uber.org/mock/gomock" ) diff --git a/internal/providers/mock/store.go b/internal/providers/mock/store.go index 5abb28bc67..7e61da008f 100644 --- a/internal/providers/mock/store.go +++ b/internal/providers/mock/store.go @@ -15,7 +15,7 @@ import ( reflect "reflect" uuid "github.com/google/uuid" - db "github.com/stacklok/minder/internal/db" + db "github.com/mindersec/minder/internal/db" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/providers/noop/noop.go b/internal/providers/noop/noop.go index 69be854257..7ca25e6462 100644 --- a/internal/providers/noop/noop.go +++ b/internal/providers/noop/noop.go @@ -20,8 +20,8 @@ import ( "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/entities/properties" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/entities/properties" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // Provider is a no-op provider implementation diff --git a/internal/providers/oci/oci.go b/internal/providers/oci/oci.go index 1112103efc..ad76a8a60c 100644 --- a/internal/providers/oci/oci.go +++ b/internal/providers/oci/oci.go @@ -29,9 +29,9 @@ import ( "github.com/rs/zerolog" "google.golang.org/protobuf/types/known/timestamppb" - "github.com/stacklok/minder/internal/constants" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/constants" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // OCI is the struct that contains the OCI client diff --git a/internal/providers/provider_definitions.go b/internal/providers/provider_definitions.go index 87aabbc264..d2c1df9cba 100644 --- a/internal/providers/provider_definitions.go +++ b/internal/providers/provider_definitions.go @@ -17,10 +17,10 @@ package providers import ( "fmt" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/providers/dockerhub" - ghclient "github.com/stacklok/minder/internal/providers/github/clients" - "github.com/stacklok/minder/internal/providers/gitlab" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/providers/dockerhub" + ghclient "github.com/mindersec/minder/internal/providers/github/clients" + "github.com/mindersec/minder/internal/providers/gitlab" ) // ProviderClassDefinition contains the static fields needed when creating a provider diff --git a/internal/providers/providers.go b/internal/providers/providers.go index 95db66a61f..0865c30156 100644 --- a/internal/providers/providers.go +++ b/internal/providers/providers.go @@ -26,13 +26,13 @@ import ( "github.com/rs/zerolog" "golang.org/x/exp/slices" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/crypto" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/providers/credentials" - "github.com/stacklok/minder/internal/providers/github/clients" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provinfv1 "github.com/stacklok/minder/pkg/providers/v1" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/crypto" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/providers/credentials" + "github.com/mindersec/minder/internal/providers/github/clients" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provinfv1 "github.com/mindersec/minder/pkg/providers/v1" ) // ErrProviderInvalidConfig is an error type which is returned when a provider configuration is invalid diff --git a/internal/providers/ratecache/cache.go b/internal/providers/ratecache/cache.go index 709ab714f2..59a72bc7f4 100644 --- a/internal/providers/ratecache/cache.go +++ b/internal/providers/ratecache/cache.go @@ -19,9 +19,9 @@ import ( "context" "time" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/util/cache" - provinfv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/util/cache" + provinfv1 "github.com/mindersec/minder/pkg/providers/v1" ) //go:generate go run go.uber.org/mock/mockgen -package mock_$GOPACKAGE -destination=./mock/$GOFILE -source=./$GOFILE diff --git a/internal/providers/ratecache/mock/cache.go b/internal/providers/ratecache/mock/cache.go index 697077e16d..ff1c519133 100644 --- a/internal/providers/ratecache/mock/cache.go +++ b/internal/providers/ratecache/mock/cache.go @@ -12,8 +12,8 @@ package mock_ratecache import ( reflect "reflect" - db "github.com/stacklok/minder/internal/db" - v1 "github.com/stacklok/minder/pkg/providers/v1" + db "github.com/mindersec/minder/internal/db" + v1 "github.com/mindersec/minder/pkg/providers/v1" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/providers/selectors/selector_entity.go b/internal/providers/selectors/selector_entity.go index 892dd9c99b..b297cf5722 100644 --- a/internal/providers/selectors/selector_entity.go +++ b/internal/providers/selectors/selector_entity.go @@ -23,12 +23,12 @@ import ( "github.com/rs/zerolog" "google.golang.org/protobuf/proto" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/entities/models" - "github.com/stacklok/minder/internal/entities/properties" - internalpb "github.com/stacklok/minder/internal/proto" - ghprop "github.com/stacklok/minder/internal/providers/github/properties" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/properties" + internalpb "github.com/mindersec/minder/internal/proto" + ghprop "github.com/mindersec/minder/internal/providers/github/properties" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func buildBaseSelectorEntity( diff --git a/internal/providers/selectors/selector_entity_test.go b/internal/providers/selectors/selector_entity_test.go index 6e7bf5b917..eaa5377ace 100644 --- a/internal/providers/selectors/selector_entity_test.go +++ b/internal/providers/selectors/selector_entity_test.go @@ -26,13 +26,13 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/structpb" - "github.com/stacklok/minder/internal/db" - dbf "github.com/stacklok/minder/internal/db/fixtures" - "github.com/stacklok/minder/internal/entities/models" - "github.com/stacklok/minder/internal/entities/properties" - internalpb "github.com/stacklok/minder/internal/proto" - ghprops "github.com/stacklok/minder/internal/providers/github/properties" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + dbf "github.com/mindersec/minder/internal/db/fixtures" + "github.com/mindersec/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/properties" + internalpb "github.com/mindersec/minder/internal/proto" + ghprops "github.com/mindersec/minder/internal/providers/github/properties" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var ( diff --git a/internal/providers/session/mock/service.go b/internal/providers/session/mock/service.go index a0060a8676..800d117066 100644 --- a/internal/providers/session/mock/service.go +++ b/internal/providers/session/mock/service.go @@ -14,8 +14,8 @@ import ( reflect "reflect" uuid "github.com/google/uuid" - crypto "github.com/stacklok/minder/internal/crypto" - db "github.com/stacklok/minder/internal/db" + crypto "github.com/mindersec/minder/internal/crypto" + db "github.com/mindersec/minder/internal/db" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/providers/session/service.go b/internal/providers/session/service.go index aae09e8cdc..57f78c985e 100644 --- a/internal/providers/session/service.go +++ b/internal/providers/session/service.go @@ -26,10 +26,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/stacklok/minder/internal/crypto" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/providers" - "github.com/stacklok/minder/internal/providers/manager" + "github.com/mindersec/minder/internal/crypto" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/providers" + "github.com/mindersec/minder/internal/providers/manager" ) //go:generate go run go.uber.org/mock/mockgen -package mock_$GOPACKAGE -destination=./mock/$GOFILE -source=./$GOFILE diff --git a/internal/providers/store.go b/internal/providers/store.go index a290eaac33..0ec7c845f5 100644 --- a/internal/providers/store.go +++ b/internal/providers/store.go @@ -25,8 +25,8 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/util" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/util" ) //go:generate go run go.uber.org/mock/mockgen -package mock_$GOPACKAGE -destination=./mock/$GOFILE -source=./$GOFILE diff --git a/internal/providers/telemetry/interface.go b/internal/providers/telemetry/interface.go index 38b540f697..928cc81ee7 100644 --- a/internal/providers/telemetry/interface.go +++ b/internal/providers/telemetry/interface.go @@ -19,7 +19,7 @@ package telemetry import ( "net/http" - "github.com/stacklok/minder/internal/db" + "github.com/mindersec/minder/internal/db" ) // HttpClientMetrics provides the httpClientMetrics for http clients diff --git a/internal/providers/telemetry/noop.go b/internal/providers/telemetry/noop.go index 344e8e4aa8..02047fb9e6 100644 --- a/internal/providers/telemetry/noop.go +++ b/internal/providers/telemetry/noop.go @@ -18,7 +18,7 @@ package telemetry import ( "net/http" - "github.com/stacklok/minder/internal/db" + "github.com/mindersec/minder/internal/db" ) type noop struct{} diff --git a/internal/providers/telemetry/telemetry.go b/internal/providers/telemetry/telemetry.go index c00e75a6bc..93d8f01870 100644 --- a/internal/providers/telemetry/telemetry.go +++ b/internal/providers/telemetry/telemetry.go @@ -26,7 +26,7 @@ import ( "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/metric" - "github.com/stacklok/minder/internal/db" + "github.com/mindersec/minder/internal/db" ) var _ http.RoundTripper = (*instrumentedRoundTripper)(nil) diff --git a/internal/providers/testproviders/git.go b/internal/providers/testproviders/git.go index c229d37b2a..11dfa88de9 100644 --- a/internal/providers/testproviders/git.go +++ b/internal/providers/testproviders/git.go @@ -15,10 +15,10 @@ package testproviders import ( - "github.com/stacklok/minder/internal/providers/git" - "github.com/stacklok/minder/internal/providers/noop" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/providers/git" + "github.com/mindersec/minder/internal/providers/noop" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // GitProvider is a test implementation of the Git provider diff --git a/internal/providers/testproviders/rest.go b/internal/providers/testproviders/rest.go index 624039a62b..5d2f3ad4a5 100644 --- a/internal/providers/testproviders/rest.go +++ b/internal/providers/testproviders/rest.go @@ -17,12 +17,12 @@ package testproviders import ( "context" - "github.com/stacklok/minder/internal/entities/properties" - "github.com/stacklok/minder/internal/providers/http" - "github.com/stacklok/minder/internal/providers/noop" - "github.com/stacklok/minder/internal/providers/telemetry" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/providers/http" + "github.com/mindersec/minder/internal/providers/noop" + "github.com/mindersec/minder/internal/providers/telemetry" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) // RESTProvider is a test implementation of the REST provider diff --git a/internal/reconcilers/entity_add.go b/internal/reconcilers/entity_add.go index 3487df399c..b102fc7b42 100644 --- a/internal/reconcilers/entity_add.go +++ b/internal/reconcilers/entity_add.go @@ -23,10 +23,10 @@ import ( "github.com/google/uuid" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/entities/properties" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/reconcilers/messages" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/reconcilers/messages" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // handleEntityAddEvent handles the entity add event. diff --git a/internal/reconcilers/entity_add_test.go b/internal/reconcilers/entity_add_test.go index 32087028a1..3110a5a5ff 100644 --- a/internal/reconcilers/entity_add_test.go +++ b/internal/reconcilers/entity_add_test.go @@ -23,16 +23,16 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - df "github.com/stacklok/minder/database/mock/fixtures" - db "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/entities/properties" - "github.com/stacklok/minder/internal/reconcilers/messages" - rf "github.com/stacklok/minder/internal/repositories/mock/fixtures" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + df "github.com/mindersec/minder/database/mock/fixtures" + db "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/reconcilers/messages" + rf "github.com/mindersec/minder/internal/repositories/mock/fixtures" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var ( - repoFullName = "stacklok/minder" + repoFullName = "mindersec/minder" ) func repoProperties() *properties.Properties { diff --git a/internal/reconcilers/entity_delete.go b/internal/reconcilers/entity_delete.go index 0952d058e5..cd37cfef08 100644 --- a/internal/reconcilers/entity_delete.go +++ b/internal/reconcilers/entity_delete.go @@ -23,10 +23,10 @@ import ( "github.com/go-playground/validator/v10" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/entities/properties/service" - minderlogger "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/reconcilers/messages" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/entities/properties/service" + minderlogger "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/reconcilers/messages" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) //nolint:exhaustive diff --git a/internal/reconcilers/entity_delete_test.go b/internal/reconcilers/entity_delete_test.go index d6666191fe..53750c7d56 100644 --- a/internal/reconcilers/entity_delete_test.go +++ b/internal/reconcilers/entity_delete_test.go @@ -24,15 +24,15 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - mockdb "github.com/stacklok/minder/database/mock" - df "github.com/stacklok/minder/database/mock/fixtures" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/entities/properties/service" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/reconcilers/messages" - mockrepo "github.com/stacklok/minder/internal/repositories/mock" - rf "github.com/stacklok/minder/internal/repositories/mock/fixtures" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + mockdb "github.com/mindersec/minder/database/mock" + df "github.com/mindersec/minder/database/mock/fixtures" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/entities/properties/service" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/reconcilers/messages" + mockrepo "github.com/mindersec/minder/internal/repositories/mock" + rf "github.com/mindersec/minder/internal/repositories/mock/fixtures" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) var ( diff --git a/internal/reconcilers/messages/messages.go b/internal/reconcilers/messages/messages.go index 94ff087249..e15ab80c74 100644 --- a/internal/reconcilers/messages/messages.go +++ b/internal/reconcilers/messages/messages.go @@ -23,8 +23,8 @@ import ( "github.com/ThreeDotsLabs/watermill/message" "github.com/google/uuid" - "github.com/stacklok/minder/internal/entities/properties" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/entities/properties" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // RepoReconcilerEvent is an event that is sent to the reconciler topic diff --git a/internal/reconcilers/reconcilers.go b/internal/reconcilers/reconcilers.go index 517f2869d5..a952b91f3e 100644 --- a/internal/reconcilers/reconcilers.go +++ b/internal/reconcilers/reconcilers.go @@ -17,11 +17,11 @@ package reconcilers import ( - "github.com/stacklok/minder/internal/crypto" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/providers/manager" - "github.com/stacklok/minder/internal/repositories" + "github.com/mindersec/minder/internal/crypto" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/providers/manager" + "github.com/mindersec/minder/internal/repositories" ) // Reconciler is a helper that reconciles entities diff --git a/internal/reconcilers/repository.go b/internal/reconcilers/repository.go index 6fbf599723..0a8f421e1f 100644 --- a/internal/reconcilers/repository.go +++ b/internal/reconcilers/repository.go @@ -25,9 +25,9 @@ import ( "github.com/rs/zerolog" "github.com/rs/zerolog/log" - entityMessage "github.com/stacklok/minder/internal/entities/handlers/message" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/reconcilers/messages" + entityMessage "github.com/mindersec/minder/internal/entities/handlers/message" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/reconcilers/messages" ) // handleRepoReconcilerEvent handles events coming from the reconciler topic diff --git a/internal/reconcilers/repository_test.go b/internal/reconcilers/repository_test.go index 6fe5b577a1..fb0e1bfca2 100644 --- a/internal/reconcilers/repository_test.go +++ b/internal/reconcilers/repository_test.go @@ -21,9 +21,9 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - "github.com/stacklok/minder/internal/events" - stubeventer "github.com/stacklok/minder/internal/events/stubs" - "github.com/stacklok/minder/internal/reconcilers/messages" + "github.com/mindersec/minder/internal/events" + stubeventer "github.com/mindersec/minder/internal/events/stubs" + "github.com/mindersec/minder/internal/reconcilers/messages" ) var ( diff --git a/internal/reconcilers/run_profile.go b/internal/reconcilers/run_profile.go index bef2b9cd20..7fd86b6da5 100644 --- a/internal/reconcilers/run_profile.go +++ b/internal/reconcilers/run_profile.go @@ -24,8 +24,8 @@ import ( "github.com/google/uuid" "github.com/rs/zerolog" - entityMessage "github.com/stacklok/minder/internal/entities/handlers/message" - "github.com/stacklok/minder/internal/events" + entityMessage "github.com/mindersec/minder/internal/entities/handlers/message" + "github.com/mindersec/minder/internal/events" ) // ProfileInitEvent is an event that is sent to the reconciler topic diff --git a/internal/reconcilers/run_profile_test.go b/internal/reconcilers/run_profile_test.go index 9e04947ea5..fdbc51730c 100644 --- a/internal/reconcilers/run_profile_test.go +++ b/internal/reconcilers/run_profile_test.go @@ -23,10 +23,10 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - df "github.com/stacklok/minder/database/mock/fixtures" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/events" - stubeventer "github.com/stacklok/minder/internal/events/stubs" + df "github.com/mindersec/minder/database/mock/fixtures" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/events" + stubeventer "github.com/mindersec/minder/internal/events/stubs" ) var ( diff --git a/internal/reminder/logger/logger_setup.go b/internal/reminder/logger/logger_setup.go index 78a8fbff8c..254038577f 100644 --- a/internal/reminder/logger/logger_setup.go +++ b/internal/reminder/logger/logger_setup.go @@ -20,8 +20,8 @@ import ( "github.com/rs/zerolog" - config "github.com/stacklok/minder/internal/config/reminder" - "github.com/stacklok/minder/internal/util" + config "github.com/mindersec/minder/internal/config/reminder" + "github.com/mindersec/minder/internal/util" ) // FromFlags creates a new logger from the provided configuration diff --git a/internal/reminder/reminder.go b/internal/reminder/reminder.go index afc8ff8947..cf9f5aa8f3 100644 --- a/internal/reminder/reminder.go +++ b/internal/reminder/reminder.go @@ -26,11 +26,11 @@ import ( "github.com/google/uuid" "github.com/rs/zerolog" - reminderconfig "github.com/stacklok/minder/internal/config/reminder" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/events/common" - remindermessages "github.com/stacklok/minder/internal/reminder/messages" + reminderconfig "github.com/mindersec/minder/internal/config/reminder" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/events/common" + remindermessages "github.com/mindersec/minder/internal/reminder/messages" ) // Interface is an interface over the reminder service diff --git a/internal/reminder/reminder_test.go b/internal/reminder/reminder_test.go index f61d2ab704..a6f871c8ea 100644 --- a/internal/reminder/reminder_test.go +++ b/internal/reminder/reminder_test.go @@ -25,9 +25,9 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - mockdb "github.com/stacklok/minder/database/mock" - reminderconfig "github.com/stacklok/minder/internal/config/reminder" - "github.com/stacklok/minder/internal/db" + mockdb "github.com/mindersec/minder/database/mock" + reminderconfig "github.com/mindersec/minder/internal/config/reminder" + "github.com/mindersec/minder/internal/db" ) func Test_getRepositoryBatch(t *testing.T) { diff --git a/internal/reminder/sql_publisher.go b/internal/reminder/sql_publisher.go index f2f952166a..11e0f2acd1 100644 --- a/internal/reminder/sql_publisher.go +++ b/internal/reminder/sql_publisher.go @@ -24,7 +24,7 @@ import ( "github.com/ThreeDotsLabs/watermill/message" "github.com/rs/zerolog" - "github.com/stacklok/minder/internal/events/common" + "github.com/mindersec/minder/internal/events/common" ) func (r *reminder) setupSQLPublisher(ctx context.Context) (message.Publisher, common.DriverCloser, error) { diff --git a/internal/reminderprocessor/reminder_processor.go b/internal/reminderprocessor/reminder_processor.go index 9d7d0b0a46..89b6a39b7b 100644 --- a/internal/reminderprocessor/reminder_processor.go +++ b/internal/reminderprocessor/reminder_processor.go @@ -22,9 +22,9 @@ import ( "github.com/ThreeDotsLabs/watermill/message" "github.com/rs/zerolog/log" - "github.com/stacklok/minder/internal/events" - reconcilermessages "github.com/stacklok/minder/internal/reconcilers/messages" - remindermessages "github.com/stacklok/minder/internal/reminder/messages" + "github.com/mindersec/minder/internal/events" + reconcilermessages "github.com/mindersec/minder/internal/reconcilers/messages" + remindermessages "github.com/mindersec/minder/internal/reminder/messages" ) // ReminderProcessor processes the incoming reminders diff --git a/internal/repositories/db.go b/internal/repositories/db.go index e5cca603be..7c620d1c05 100644 --- a/internal/repositories/db.go +++ b/internal/repositories/db.go @@ -18,9 +18,9 @@ package repositories import ( "google.golang.org/protobuf/types/known/timestamppb" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/util/ptr" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/util/ptr" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // PBRepositoryFromDB converts a database repository to a protobuf diff --git a/internal/repositories/mock/fixtures/service.go b/internal/repositories/mock/fixtures/service.go index c8c444320c..3a81d872cb 100644 --- a/internal/repositories/mock/fixtures/service.go +++ b/internal/repositories/mock/fixtures/service.go @@ -23,9 +23,9 @@ import ( "github.com/google/uuid" "go.uber.org/mock/gomock" - "github.com/stacklok/minder/internal/entities/models" - mockghrepo "github.com/stacklok/minder/internal/repositories/mock" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/entities/models" + mockghrepo "github.com/mindersec/minder/internal/repositories/mock" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) type ( diff --git a/internal/repositories/mock/service.go b/internal/repositories/mock/service.go index e20d7fe77b..b7c4b099e6 100644 --- a/internal/repositories/mock/service.go +++ b/internal/repositories/mock/service.go @@ -14,10 +14,10 @@ import ( reflect "reflect" uuid "github.com/google/uuid" - db "github.com/stacklok/minder/internal/db" - models "github.com/stacklok/minder/internal/entities/models" - properties "github.com/stacklok/minder/internal/entities/properties" - v1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + db "github.com/mindersec/minder/internal/db" + models "github.com/mindersec/minder/internal/entities/models" + properties "github.com/mindersec/minder/internal/entities/properties" + v1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/repositories/service.go b/internal/repositories/service.go index 8788630611..31993e817c 100644 --- a/internal/repositories/service.go +++ b/internal/repositories/service.go @@ -26,19 +26,19 @@ import ( "github.com/rs/zerolog" "github.com/rs/zerolog/log" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/entities/models" - "github.com/stacklok/minder/internal/entities/properties" - "github.com/stacklok/minder/internal/entities/properties/service" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/projects/features" - ghprop "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/providers/manager" - reconcilers "github.com/stacklok/minder/internal/reconcilers/messages" - "github.com/stacklok/minder/internal/util/ptr" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/properties" + "github.com/mindersec/minder/internal/entities/properties/service" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/projects/features" + ghprop "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/providers/manager" + reconcilers "github.com/mindersec/minder/internal/reconcilers/messages" + "github.com/mindersec/minder/internal/util/ptr" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) //go:generate go run go.uber.org/mock/mockgen -package mock_$GOPACKAGE -destination=./mock/$GOFILE -source=./$GOFILE diff --git a/internal/repositories/service_test.go b/internal/repositories/service_test.go index b03b69946d..34fca5cd77 100644 --- a/internal/repositories/service_test.go +++ b/internal/repositories/service_test.go @@ -27,20 +27,20 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - mockdb "github.com/stacklok/minder/database/mock" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/entities/models" - "github.com/stacklok/minder/internal/entities/properties" - mock_service "github.com/stacklok/minder/internal/entities/properties/service/mock" - mockevents "github.com/stacklok/minder/internal/events/mock" - mockgithub "github.com/stacklok/minder/internal/providers/github/mock" - ghprop "github.com/stacklok/minder/internal/providers/github/properties" - "github.com/stacklok/minder/internal/providers/manager" - pf "github.com/stacklok/minder/internal/providers/manager/mock/fixtures" - "github.com/stacklok/minder/internal/repositories" - "github.com/stacklok/minder/internal/util/ptr" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - provinfv1 "github.com/stacklok/minder/pkg/providers/v1" + mockdb "github.com/mindersec/minder/database/mock" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/entities/models" + "github.com/mindersec/minder/internal/entities/properties" + mock_service "github.com/mindersec/minder/internal/entities/properties/service/mock" + mockevents "github.com/mindersec/minder/internal/events/mock" + mockgithub "github.com/mindersec/minder/internal/providers/github/mock" + ghprop "github.com/mindersec/minder/internal/providers/github/properties" + "github.com/mindersec/minder/internal/providers/manager" + pf "github.com/mindersec/minder/internal/providers/manager/mock/fixtures" + "github.com/mindersec/minder/internal/repositories" + "github.com/mindersec/minder/internal/util/ptr" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + provinfv1 "github.com/mindersec/minder/pkg/providers/v1" ) func TestRepositoryService_CreateRepository(t *testing.T) { diff --git a/internal/roles/mock/service.go b/internal/roles/mock/service.go index fac65912cc..a392404fb4 100644 --- a/internal/roles/mock/service.go +++ b/internal/roles/mock/service.go @@ -14,10 +14,10 @@ import ( reflect "reflect" uuid "github.com/google/uuid" - auth "github.com/stacklok/minder/internal/auth" - authz "github.com/stacklok/minder/internal/authz" - db "github.com/stacklok/minder/internal/db" - v1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + auth "github.com/mindersec/minder/internal/auth" + authz "github.com/mindersec/minder/internal/authz" + db "github.com/mindersec/minder/internal/db" + v1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/roles/service.go b/internal/roles/service.go index 1d0ee75764..0a5776ce0e 100644 --- a/internal/roles/service.go +++ b/internal/roles/service.go @@ -26,11 +26,11 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/stacklok/minder/internal/auth" - "github.com/stacklok/minder/internal/authz" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/util" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/auth" + "github.com/mindersec/minder/internal/authz" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/util" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) //go:generate go run go.uber.org/mock/mockgen -package mock_$GOPACKAGE -destination=./mock/$GOFILE -source=./$GOFILE diff --git a/internal/roles/service_test.go b/internal/roles/service_test.go index 19180ee72a..1841ebc38b 100644 --- a/internal/roles/service_test.go +++ b/internal/roles/service_test.go @@ -24,13 +24,13 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" - "github.com/stacklok/minder/internal/auth" - mockauth "github.com/stacklok/minder/internal/auth/mock" - "github.com/stacklok/minder/internal/authz" - "github.com/stacklok/minder/internal/authz/mock" - "github.com/stacklok/minder/internal/db" - dbf "github.com/stacklok/minder/internal/db/fixtures" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/auth" + mockauth "github.com/mindersec/minder/internal/auth/mock" + "github.com/mindersec/minder/internal/authz" + "github.com/mindersec/minder/internal/authz/mock" + "github.com/mindersec/minder/internal/db" + dbf "github.com/mindersec/minder/internal/db/fixtures" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestCreateRoleAssignment(t *testing.T) { diff --git a/internal/ruletypes/mock/fixtures/service.go b/internal/ruletypes/mock/fixtures/service.go index 5e681f6b06..9143e9a5f0 100644 --- a/internal/ruletypes/mock/fixtures/service.go +++ b/internal/ruletypes/mock/fixtures/service.go @@ -20,7 +20,7 @@ package fixtures import ( "errors" - mockrulesvc "github.com/stacklok/minder/internal/ruletypes/mock" + mockrulesvc "github.com/mindersec/minder/internal/ruletypes/mock" "go.uber.org/mock/gomock" ) diff --git a/internal/ruletypes/mock/service.go b/internal/ruletypes/mock/service.go index 64c50c2b79..32102b3eed 100644 --- a/internal/ruletypes/mock/service.go +++ b/internal/ruletypes/mock/service.go @@ -14,8 +14,8 @@ import ( reflect "reflect" uuid "github.com/google/uuid" - db "github.com/stacklok/minder/internal/db" - v1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + db "github.com/mindersec/minder/internal/db" + v1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/ruletypes/service.go b/internal/ruletypes/service.go index b43e39d74f..72d7189851 100644 --- a/internal/ruletypes/service.go +++ b/internal/ruletypes/service.go @@ -24,12 +24,12 @@ import ( "github.com/google/uuid" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/logger" - "github.com/stacklok/minder/internal/marketplaces/namespaces" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/schemaupdate" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/logger" + "github.com/mindersec/minder/internal/marketplaces/namespaces" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/schemaupdate" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) //go:generate go run go.uber.org/mock/mockgen -package mock_$GOPACKAGE -destination=./mock/$GOFILE -source=./$GOFILE diff --git a/internal/ruletypes/service_test.go b/internal/ruletypes/service_test.go index 59d8c58f78..5cb3cdbd41 100644 --- a/internal/ruletypes/service_test.go +++ b/internal/ruletypes/service_test.go @@ -26,11 +26,11 @@ import ( "go.uber.org/mock/gomock" "google.golang.org/protobuf/types/known/structpb" - "github.com/stacklok/minder/internal/db" - dbf "github.com/stacklok/minder/internal/db/fixtures" - "github.com/stacklok/minder/internal/ruletypes" - "github.com/stacklok/minder/internal/util/ptr" - pb "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + dbf "github.com/mindersec/minder/internal/db/fixtures" + "github.com/mindersec/minder/internal/ruletypes" + "github.com/mindersec/minder/internal/util/ptr" + pb "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // both create and update are bundled together since the testing harness is diff --git a/internal/ruletypes/util.go b/internal/ruletypes/util.go index deda8f8956..a78b08b5aa 100644 --- a/internal/ruletypes/util.go +++ b/internal/ruletypes/util.go @@ -19,8 +19,8 @@ import ( "google.golang.org/protobuf/encoding/protojson" - "github.com/stacklok/minder/internal/db" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/db" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // RuleDefFromDB converts a rule type definition from the database to a protobuf diff --git a/internal/service/service.go b/internal/service/service.go index f95da4a1ae..3c3303ffb9 100644 --- a/internal/service/service.go +++ b/internal/service/service.go @@ -24,46 +24,46 @@ import ( "github.com/open-feature/go-sdk/openfeature" "golang.org/x/sync/errgroup" - "github.com/stacklok/minder/internal/auth" - "github.com/stacklok/minder/internal/auth/jwt" - "github.com/stacklok/minder/internal/authz" - serverconfig "github.com/stacklok/minder/internal/config/server" - "github.com/stacklok/minder/internal/controlplane" - "github.com/stacklok/minder/internal/controlplane/metrics" - "github.com/stacklok/minder/internal/crypto" - "github.com/stacklok/minder/internal/db" - "github.com/stacklok/minder/internal/eea" - "github.com/stacklok/minder/internal/email/awsses" - "github.com/stacklok/minder/internal/email/noop" - "github.com/stacklok/minder/internal/engine" - "github.com/stacklok/minder/internal/engine/selectors" - "github.com/stacklok/minder/internal/entities/handlers" - propService "github.com/stacklok/minder/internal/entities/properties/service" - "github.com/stacklok/minder/internal/events" - "github.com/stacklok/minder/internal/flags" - "github.com/stacklok/minder/internal/history" - "github.com/stacklok/minder/internal/invites" - "github.com/stacklok/minder/internal/marketplaces" - "github.com/stacklok/minder/internal/metrics/meters" - "github.com/stacklok/minder/internal/profiles" - "github.com/stacklok/minder/internal/projects" - "github.com/stacklok/minder/internal/providers" - "github.com/stacklok/minder/internal/providers/dockerhub" - ghprov "github.com/stacklok/minder/internal/providers/github" - "github.com/stacklok/minder/internal/providers/github/clients" - "github.com/stacklok/minder/internal/providers/github/installations" - ghmanager "github.com/stacklok/minder/internal/providers/github/manager" - "github.com/stacklok/minder/internal/providers/github/service" - gitlabmanager "github.com/stacklok/minder/internal/providers/gitlab/manager" - "github.com/stacklok/minder/internal/providers/manager" - "github.com/stacklok/minder/internal/providers/ratecache" - "github.com/stacklok/minder/internal/providers/session" - provtelemetry "github.com/stacklok/minder/internal/providers/telemetry" - "github.com/stacklok/minder/internal/reconcilers" - "github.com/stacklok/minder/internal/reminderprocessor" - "github.com/stacklok/minder/internal/repositories" - "github.com/stacklok/minder/internal/roles" - "github.com/stacklok/minder/internal/ruletypes" + "github.com/mindersec/minder/internal/auth" + "github.com/mindersec/minder/internal/auth/jwt" + "github.com/mindersec/minder/internal/authz" + serverconfig "github.com/mindersec/minder/internal/config/server" + "github.com/mindersec/minder/internal/controlplane" + "github.com/mindersec/minder/internal/controlplane/metrics" + "github.com/mindersec/minder/internal/crypto" + "github.com/mindersec/minder/internal/db" + "github.com/mindersec/minder/internal/eea" + "github.com/mindersec/minder/internal/email/awsses" + "github.com/mindersec/minder/internal/email/noop" + "github.com/mindersec/minder/internal/engine" + "github.com/mindersec/minder/internal/engine/selectors" + "github.com/mindersec/minder/internal/entities/handlers" + propService "github.com/mindersec/minder/internal/entities/properties/service" + "github.com/mindersec/minder/internal/events" + "github.com/mindersec/minder/internal/flags" + "github.com/mindersec/minder/internal/history" + "github.com/mindersec/minder/internal/invites" + "github.com/mindersec/minder/internal/marketplaces" + "github.com/mindersec/minder/internal/metrics/meters" + "github.com/mindersec/minder/internal/profiles" + "github.com/mindersec/minder/internal/projects" + "github.com/mindersec/minder/internal/providers" + "github.com/mindersec/minder/internal/providers/dockerhub" + ghprov "github.com/mindersec/minder/internal/providers/github" + "github.com/mindersec/minder/internal/providers/github/clients" + "github.com/mindersec/minder/internal/providers/github/installations" + ghmanager "github.com/mindersec/minder/internal/providers/github/manager" + "github.com/mindersec/minder/internal/providers/github/service" + gitlabmanager "github.com/mindersec/minder/internal/providers/gitlab/manager" + "github.com/mindersec/minder/internal/providers/manager" + "github.com/mindersec/minder/internal/providers/ratecache" + "github.com/mindersec/minder/internal/providers/session" + provtelemetry "github.com/mindersec/minder/internal/providers/telemetry" + "github.com/mindersec/minder/internal/reconcilers" + "github.com/mindersec/minder/internal/reminderprocessor" + "github.com/mindersec/minder/internal/repositories" + "github.com/mindersec/minder/internal/roles" + "github.com/mindersec/minder/internal/ruletypes" ) // AllInOneServerService is a helper function that starts the gRPC and HTTP servers, diff --git a/internal/util/cli/cli.go b/internal/util/cli/cli.go index 114c3e2724..60cb01e770 100644 --- a/internal/util/cli/cli.go +++ b/internal/util/cli/cli.go @@ -33,8 +33,8 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/stacklok/minder/internal/config" - "github.com/stacklok/minder/internal/util" + "github.com/mindersec/minder/internal/config" + "github.com/mindersec/minder/internal/util" ) // ErrWrappedCLIError is an error that wraps another error and provides a message used from within the CLI diff --git a/internal/util/cli/providerconfig.go b/internal/util/cli/providerconfig.go index e330918e40..2586920ba1 100644 --- a/internal/util/cli/providerconfig.go +++ b/internal/util/cli/providerconfig.go @@ -22,7 +22,7 @@ import ( "google.golang.org/protobuf/types/known/structpb" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // ProviderConfigUnion is a union type for the different provider configurations diff --git a/internal/util/cli/rpc_client.go b/internal/util/cli/rpc_client.go index a20ced9da8..5ac0247df4 100644 --- a/internal/util/cli/rpc_client.go +++ b/internal/util/cli/rpc_client.go @@ -35,12 +35,12 @@ import ( "github.com/zitadel/oidc/v3/pkg/oidc" "google.golang.org/grpc" - "github.com/stacklok/minder/internal/config" - clientconfig "github.com/stacklok/minder/internal/config/client" - mcrypto "github.com/stacklok/minder/internal/crypto" - "github.com/stacklok/minder/internal/util" - "github.com/stacklok/minder/internal/util/cli/useragent" - "github.com/stacklok/minder/internal/util/rand" + "github.com/mindersec/minder/internal/config" + clientconfig "github.com/mindersec/minder/internal/config/client" + mcrypto "github.com/mindersec/minder/internal/crypto" + "github.com/mindersec/minder/internal/util" + "github.com/mindersec/minder/internal/util/cli/useragent" + "github.com/mindersec/minder/internal/util/rand" ) //go:embed html/login_success.html diff --git a/internal/util/cli/table/simple/simple.go b/internal/util/cli/table/simple/simple.go index f094809e98..710e7bd0fe 100644 --- a/internal/util/cli/table/simple/simple.go +++ b/internal/util/cli/table/simple/simple.go @@ -20,7 +20,7 @@ import ( "github.com/olekukonko/tablewriter" - "github.com/stacklok/minder/internal/util/cli/table/layouts" + "github.com/mindersec/minder/internal/util/cli/table/layouts" ) // Table is a wrapper around tablewriter.Table diff --git a/internal/util/cli/table/table.go b/internal/util/cli/table/table.go index 7be4e4c8fa..d32b1e39d4 100644 --- a/internal/util/cli/table/table.go +++ b/internal/util/cli/table/table.go @@ -16,8 +16,8 @@ package table import ( - "github.com/stacklok/minder/internal/util/cli/table/layouts" - "github.com/stacklok/minder/internal/util/cli/table/simple" + "github.com/mindersec/minder/internal/util/cli/table/layouts" + "github.com/mindersec/minder/internal/util/cli/table/simple" ) const ( diff --git a/internal/util/cli/useragent/useragent.go b/internal/util/cli/useragent/useragent.go index e63390cd12..e2ac292ced 100644 --- a/internal/util/cli/useragent/useragent.go +++ b/internal/util/cli/useragent/useragent.go @@ -20,7 +20,7 @@ import ( "fmt" "runtime" - "github.com/stacklok/minder/internal/constants" + "github.com/mindersec/minder/internal/constants" ) // GetUserAgent returns the user agent string for the CLI diff --git a/internal/util/helpers.go b/internal/util/helpers.go index ec2139fc9e..ee6db33667 100644 --- a/internal/util/helpers.go +++ b/internal/util/helpers.go @@ -42,7 +42,7 @@ import ( "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/util/jsonyaml" + "github.com/mindersec/minder/internal/util/jsonyaml" ) var ( diff --git a/internal/util/helpers_test.go b/internal/util/helpers_test.go index 4d507a900d..8c62482f0a 100644 --- a/internal/util/helpers_test.go +++ b/internal/util/helpers_test.go @@ -25,7 +25,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/util" + "github.com/mindersec/minder/internal/util" ) func TestGetConfigValue(t *testing.T) { diff --git a/internal/util/jq_test.go b/internal/util/jq_test.go index 2200bfe199..5d76c195a0 100644 --- a/internal/util/jq_test.go +++ b/internal/util/jq_test.go @@ -24,7 +24,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/stacklok/minder/internal/util" + "github.com/mindersec/minder/internal/util" ) func TestJQReadFromAccessorString(t *testing.T) { diff --git a/internal/util/jsonyaml/jsonyamlutils_test.go b/internal/util/jsonyaml/jsonyamlutils_test.go index 33fcc70696..784a5752cc 100644 --- a/internal/util/jsonyaml/jsonyamlutils_test.go +++ b/internal/util/jsonyaml/jsonyamlutils_test.go @@ -20,7 +20,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/stacklok/minder/internal/util/jsonyaml" + "github.com/mindersec/minder/internal/util/jsonyaml" ) func TestConvertYAMLToJSON(t *testing.T) { diff --git a/internal/util/rand/random_test.go b/internal/util/rand/random_test.go index 89b6df5698..b4250f2353 100644 --- a/internal/util/rand/random_test.go +++ b/internal/util/rand/random_test.go @@ -20,7 +20,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/stacklok/minder/internal/util/rand" + "github.com/mindersec/minder/internal/util/rand" ) func TestRandomInt(t *testing.T) { diff --git a/internal/util/rest_test.go b/internal/util/rest_test.go index 86d07f5a47..fd45ffc181 100644 --- a/internal/util/rest_test.go +++ b/internal/util/rest_test.go @@ -22,7 +22,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/stacklok/minder/internal/util" + "github.com/mindersec/minder/internal/util" ) func TestHttpMethodFromString(t *testing.T) { diff --git a/internal/util/safe_template_test.go b/internal/util/safe_template_test.go index 58ded6ff46..a025971d69 100644 --- a/internal/util/safe_template_test.go +++ b/internal/util/safe_template_test.go @@ -25,7 +25,7 @@ import ( "github.com/stretchr/testify/require" structpb "google.golang.org/protobuf/types/known/structpb" - "github.com/stacklok/minder/internal/util" + "github.com/mindersec/minder/internal/util" ) func TestParseNewTemplate(t *testing.T) { diff --git a/internal/util/schemaupdate/schemaupdate_test.go b/internal/util/schemaupdate/schemaupdate_test.go index 6849cadf86..a5ed91ec35 100644 --- a/internal/util/schemaupdate/schemaupdate_test.go +++ b/internal/util/schemaupdate/schemaupdate_test.go @@ -21,7 +21,7 @@ import ( "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/types/known/structpb" - "github.com/stacklok/minder/internal/util/schemaupdate" + "github.com/mindersec/minder/internal/util/schemaupdate" ) func TestValidateSchemaUpdate(t *testing.T) { diff --git a/internal/util/statuses_test.go b/internal/util/statuses_test.go index ccd8ea5cbb..ec3ad146b5 100644 --- a/internal/util/statuses_test.go +++ b/internal/util/statuses_test.go @@ -25,7 +25,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/stacklok/minder/internal/util" + "github.com/mindersec/minder/internal/util" ) func TestNiceStatusCreation(t *testing.T) { diff --git a/internal/verifier/sigstore/container/container.go b/internal/verifier/sigstore/container/container.go index 1c2fb2f14a..e80ea6f3a8 100644 --- a/internal/verifier/sigstore/container/container.go +++ b/internal/verifier/sigstore/container/container.go @@ -42,8 +42,8 @@ import ( "github.com/sigstore/sigstore-go/pkg/verify" "google.golang.org/protobuf/encoding/protojson" - "github.com/stacklok/minder/internal/verifier/verifyif" - provifv1 "github.com/stacklok/minder/pkg/providers/v1" + "github.com/mindersec/minder/internal/verifier/verifyif" + provifv1 "github.com/mindersec/minder/pkg/providers/v1" ) var ( diff --git a/internal/verifier/sigstore/sigstore.go b/internal/verifier/sigstore/sigstore.go index 74d568a643..9a750052a1 100644 --- a/internal/verifier/sigstore/sigstore.go +++ b/internal/verifier/sigstore/sigstore.go @@ -27,8 +27,8 @@ import ( "github.com/sigstore/sigstore-go/pkg/tuf" "github.com/sigstore/sigstore-go/pkg/verify" - "github.com/stacklok/minder/internal/verifier/sigstore/container" - "github.com/stacklok/minder/internal/verifier/verifyif" + "github.com/mindersec/minder/internal/verifier/sigstore/container" + "github.com/mindersec/minder/internal/verifier/verifyif" ) //go:embed tufroots diff --git a/internal/verifier/verifier.go b/internal/verifier/verifier.go index 6c685de2c3..ed1adf7200 100644 --- a/internal/verifier/verifier.go +++ b/internal/verifier/verifier.go @@ -19,9 +19,9 @@ import ( "fmt" "strings" - "github.com/stacklok/minder/internal/verifier/sigstore" - "github.com/stacklok/minder/internal/verifier/sigstore/container" - "github.com/stacklok/minder/internal/verifier/verifyif" + "github.com/mindersec/minder/internal/verifier/sigstore" + "github.com/mindersec/minder/internal/verifier/sigstore/container" + "github.com/mindersec/minder/internal/verifier/verifyif" ) const ( diff --git a/internal/verifier/verifyif/mock/verifyif.go b/internal/verifier/verifyif/mock/verifyif.go index 9b78126c06..df04d16409 100644 --- a/internal/verifier/verifyif/mock/verifyif.go +++ b/internal/verifier/verifyif/mock/verifyif.go @@ -13,7 +13,7 @@ import ( context "context" reflect "reflect" - verifyif "github.com/stacklok/minder/internal/verifier/verifyif" + verifyif "github.com/mindersec/minder/internal/verifier/verifyif" gomock "go.uber.org/mock/gomock" ) diff --git a/pkg/api/protobuf/go/minder/v1/minder.pb.go b/pkg/api/protobuf/go/minder/v1/minder.pb.go index 2bf08a4e70..c7444568ec 100644 --- a/pkg/api/protobuf/go/minder/v1/minder.pb.go +++ b/pkg/api/protobuf/go/minder/v1/minder.pb.go @@ -15292,11 +15292,11 @@ var file_minder_v1_minder_proto_rawDesc = []byte{ 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x85, 0x8f, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x70, 0x63, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0a, 0x72, 0x70, 0x63, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x6c, 0x6f, 0x6b, 0x2f, 0x6d, 0x69, 0x6e, - 0x64, 0x65, 0x72, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x2f, 0x76, - 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x3b, 0x5a, 0x39, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x73, 0x65, 0x63, 0x2f, 0x6d, 0x69, + 0x6e, 0x64, 0x65, 0x72, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x2f, + 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/pkg/api/protobuf/go/minder/v1/rule_types.go b/pkg/api/protobuf/go/minder/v1/rule_types.go index 0f6cfa24cb..d8c1e7dd6b 100644 --- a/pkg/api/protobuf/go/minder/v1/rule_types.go +++ b/pkg/api/protobuf/go/minder/v1/rule_types.go @@ -22,7 +22,7 @@ import ( "google.golang.org/protobuf/proto" - "github.com/stacklok/minder/internal/util/jsonyaml" + "github.com/mindersec/minder/internal/util/jsonyaml" ) const ( diff --git a/pkg/api/protobuf/go/minder/v1/rule_types_test.go b/pkg/api/protobuf/go/minder/v1/rule_types_test.go index efb37fcd02..92f706fd40 100644 --- a/pkg/api/protobuf/go/minder/v1/rule_types_test.go +++ b/pkg/api/protobuf/go/minder/v1/rule_types_test.go @@ -20,7 +20,7 @@ import ( "github.com/stretchr/testify/assert" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) func TestSeverity_MarshalJSON(t *testing.T) { diff --git a/pkg/mindpak/build/packer.go b/pkg/mindpak/build/packer.go index c6baedda4d..4a7c7bce68 100644 --- a/pkg/mindpak/build/packer.go +++ b/pkg/mindpak/build/packer.go @@ -28,7 +28,7 @@ import ( "path/filepath" "time" - "github.com/stacklok/minder/pkg/mindpak" + "github.com/mindersec/minder/pkg/mindpak" ) // Packer handles writing the bundles to archives on disk. diff --git a/pkg/mindpak/build/packer_test.go b/pkg/mindpak/build/packer_test.go index ae0d6a2bd8..f2916896da 100644 --- a/pkg/mindpak/build/packer_test.go +++ b/pkg/mindpak/build/packer_test.go @@ -26,7 +26,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/stacklok/minder/pkg/mindpak" + "github.com/mindersec/minder/pkg/mindpak" ) func TestPackerInitBundle(t *testing.T) { diff --git a/pkg/mindpak/reader/reader.go b/pkg/mindpak/reader/reader.go index c14ccf684b..6f68a84021 100644 --- a/pkg/mindpak/reader/reader.go +++ b/pkg/mindpak/reader/reader.go @@ -20,9 +20,9 @@ import ( "io/fs" "strings" - "github.com/stacklok/minder/internal/profiles" - v1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - "github.com/stacklok/minder/pkg/mindpak" + "github.com/mindersec/minder/internal/profiles" + v1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/pkg/mindpak" ) // BundleReader provides a high-level interface for accessing the contents of diff --git a/pkg/mindpak/reader/reader_test.go b/pkg/mindpak/reader/reader_test.go index 43b6727f5c..46375cca12 100644 --- a/pkg/mindpak/reader/reader_test.go +++ b/pkg/mindpak/reader/reader_test.go @@ -20,9 +20,9 @@ import ( "github.com/stretchr/testify/require" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" - "github.com/stacklok/minder/pkg/mindpak" - "github.com/stacklok/minder/pkg/mindpak/reader" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/pkg/mindpak" + "github.com/mindersec/minder/pkg/mindpak/reader" ) func TestBundle_GetMetadata(t *testing.T) { diff --git a/pkg/mindpak/sources/source.go b/pkg/mindpak/sources/source.go index 6906e6c448..9bfbfd8c75 100644 --- a/pkg/mindpak/sources/source.go +++ b/pkg/mindpak/sources/source.go @@ -19,8 +19,8 @@ import ( "errors" "fmt" - "github.com/stacklok/minder/pkg/mindpak" - "github.com/stacklok/minder/pkg/mindpak/reader" + "github.com/mindersec/minder/pkg/mindpak" + "github.com/mindersec/minder/pkg/mindpak/reader" ) // BundleSource contains methods for retrieving bundles. Implementations may diff --git a/pkg/mindpak/sources/source_test.go b/pkg/mindpak/sources/source_test.go index 0c81aad66a..9baba4541c 100644 --- a/pkg/mindpak/sources/source_test.go +++ b/pkg/mindpak/sources/source_test.go @@ -19,8 +19,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/stacklok/minder/pkg/mindpak" - "github.com/stacklok/minder/pkg/mindpak/sources" + "github.com/mindersec/minder/pkg/mindpak" + "github.com/mindersec/minder/pkg/mindpak/sources" ) // This test does not fit into the scenario structure below and is trivial diff --git a/pkg/providers/v1/providers.go b/pkg/providers/v1/providers.go index ee568655fa..8a180c2fa6 100644 --- a/pkg/providers/v1/providers.go +++ b/pkg/providers/v1/providers.go @@ -32,8 +32,8 @@ import ( "github.com/google/go-github/v63/github" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/stacklok/minder/internal/entities/properties" - minderv1 "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1" + "github.com/mindersec/minder/internal/entities/properties" + minderv1 "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1" ) // V1 is the version of the providers interface diff --git a/proto/buf.yaml b/proto/buf.yaml index e9580d877e..8c5dc03c8f 100644 --- a/proto/buf.yaml +++ b/proto/buf.yaml @@ -14,7 +14,7 @@ # limitations under the License. version: v1 -name: buf.build/stacklok/minder +name: buf.build/mindersec/minder deps: - buf.build/googleapis/googleapis breaking: diff --git a/proto/minder/v1/minder.proto b/proto/minder/v1/minder.proto index 9315dd8381..48d5dd0e27 100644 --- a/proto/minder/v1/minder.proto +++ b/proto/minder/v1/minder.proto @@ -21,7 +21,7 @@ import "google/protobuf/timestamp.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "github.com/stacklok/minder/pkg/api/protobuf/go/minder/v1"; +option go_package = "github.com/mindersec/minder/pkg/api/protobuf/go/minder/v1"; enum ObjectOwner { OBJECT_OWNER_UNSPECIFIED = 0; diff --git a/tools/go.mod b/tools/go.mod index 6f10b8543f..c29edbeba9 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,4 +1,4 @@ -module github.com/stacklok/minder/tools +module github.com/mindersec/minder/tools go 1.23.1 @@ -383,4 +383,4 @@ require ( pluginrpc.com/pluginrpc v0.5.0 // indirect ) -replace github.com/stacklok/minder => ../. +replace github.com/mindersec/minder => ../.