Apollo is a reliable configuration management system suitable for microservice configuration management scenarios.
203 matches across 8 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …ip/framework/apollo/biz/repository/ItemRepository.java | 48 | @Query("SELECT new com.ctrip.framework.apollo.common.dto.ItemInfoDTO(n.appId, n.clusterName, n.namespaceName, i.key, i |
| CRITICAL | …ip/framework/apollo/biz/repository/ItemRepository.java | 54 | @Query("SELECT new com.ctrip.framework.apollo.common.dto.ItemInfoDTO(n.appId, n.clusterName, n.namespaceName, i.key, i |
| CRITICAL | …ip/framework/apollo/biz/repository/ItemRepository.java | 59 | @Query("SELECT new com.ctrip.framework.apollo.common.dto.ItemInfoDTO(n.appId, n.clusterName, n.namespaceName, i.key, i |
| CRITICAL | …llo/portal/controller/ConfigsImportControllerTest.java | 97 | org.springframework.test.web.servlet.result.MockMvcResultMatchers.status().isOk()); |
| CRITICAL | …llo/portal/controller/ConfigsImportControllerTest.java | 112 | org.springframework.test.web.servlet.result.MockMvcResultMatchers.status().isOk()); |
| CRITICAL | …llo/portal/controller/ConfigsImportControllerTest.java | 137 | org.springframework.test.web.servlet.result.MockMvcResultMatchers.status().isOk()); |
| CRITICAL | …k/apollo/portal/controller/InstanceControllerTest.java | 75 | org.springframework.test.web.servlet.result.MockMvcResultMatchers.status().isOk()); |
| CRITICAL | …/v1/controller/AppControllerParamBindLowLevelTest.java | 159 | org.springframework.test.web.servlet.result.MockMvcResultMatchers.status().isOk()); |
| CRITICAL | …/v1/controller/AppControllerParamBindLowLevelTest.java | 184 | org.springframework.test.web.servlet.result.MockMvcResultMatchers.status().isOk()); |
| CRITICAL | …/v1/controller/AppControllerParamBindLowLevelTest.java | 205 | .andExpect(org.springframework.test.web.servlet.result.MockMvcResultMatchers.status() |
| CRITICAL | …/v1/controller/AppControllerParamBindLowLevelTest.java | 224 | org.springframework.test.web.servlet.result.MockMvcResultMatchers.status().isOk()); |
| CRITICAL | …/v1/controller/AppControllerParamBindLowLevelTest.java | 253 | org.springframework.test.web.servlet.result.MockMvcResultMatchers.status().isOk()); |
| CRITICAL | …/v1/controller/AppControllerParamBindLowLevelTest.java | 275 | org.springframework.test.web.servlet.result.MockMvcResultMatchers.status().isOk()); |
| CRITICAL | …/v1/controller/AppControllerParamBindLowLevelTest.java | 298 | org.springframework.test.web.servlet.result.MockMvcResultMatchers.status().isOk()); |
| CRITICAL | …/v1/controller/AppControllerParamBindLowLevelTest.java | 321 | org.springframework.test.web.servlet.result.MockMvcResultMatchers.status().isOk()); |
| CRITICAL | …/v1/controller/AppControllerParamBindLowLevelTest.java | 335 | .andExpect(org.springframework.test.web.servlet.result.MockMvcResultMatchers.status() |
| CRITICAL | …/v1/controller/AppControllerParamBindLowLevelTest.java | 347 | .andExpect(org.springframework.test.web.servlet.result.MockMvcResultMatchers.status().isOk()); |
| CRITICAL | …ntroller/ApolloOpenApiJavaClientCompatibilityTest.java | 216 | new com.ctrip.framework.apollo.openapi.model.OpenEnvClusterDTO(); |
| CRITICAL | …ntroller/ApolloOpenApiJavaClientCompatibilityTest.java | 228 | new com.ctrip.framework.apollo.openapi.model.OpenOrganizationDto(); |
| CRITICAL | …ntroller/ApolloOpenApiJavaClientCompatibilityTest.java | 276 | new com.ctrip.framework.apollo.openapi.model.OpenNamespaceLockDTO(); |
| CRITICAL | …ntroller/ApolloOpenApiJavaClientCompatibilityTest.java | 363 | new com.ctrip.framework.apollo.openapi.model.OpenItemPageDTO(); |
| CRITICAL | …ntroller/ApolloOpenApiJavaClientCompatibilityTest.java | 441 | new com.ctrip.framework.apollo.openapi.model.OpenNamespaceDTO(); |
| CRITICAL | …ntroller/ApolloOpenApiJavaClientCompatibilityTest.java | 454 | new com.ctrip.framework.apollo.openapi.model.OpenAppNamespaceDTO(); |
| CRITICAL | …ntroller/ApolloOpenApiJavaClientCompatibilityTest.java | 498 | new com.ctrip.framework.apollo.openapi.model.OpenAppDTO(); |
| CRITICAL | …ntroller/ApolloOpenApiJavaClientCompatibilityTest.java | 511 | new com.ctrip.framework.apollo.openapi.model.OpenClusterDTO(); |
| CRITICAL | …ntroller/ApolloOpenApiJavaClientCompatibilityTest.java | 520 | new com.ctrip.framework.apollo.openapi.model.OpenItemDTO(); |
| CRITICAL | …rk/apollo/openapi/v1/controller/AppControllerTest.java | 219 | new com.ctrip.framework.apollo.openapi.model.OpenClusterDTO(); |
| CRITICAL | …enapi/server/service/ServerItemOpenApiServiceTest.java | 81 | new com.ctrip.framework.apollo.openapi.dto.OpenItemDTO(); |
| CRITICAL | …l/spi/springsecurity/ApolloPasswordEncoderFactory.java | 51 | encoders.put("ldap", new org.springframework.security.crypto.password.LdapShaPasswordEncoder()); |
| CRITICAL | …l/spi/springsecurity/ApolloPasswordEncoderFactory.java | 52 | encoders.put("MD4", new org.springframework.security.crypto.password.Md4PasswordEncoder()); |
| CRITICAL | …l/spi/springsecurity/ApolloPasswordEncoderFactory.java | 54 | new org.springframework.security.crypto.password.MessageDigestPasswordEncoder("MD5")); |
| CRITICAL | …l/spi/springsecurity/ApolloPasswordEncoderFactory.java | 56 | org.springframework.security.crypto.password.NoOpPasswordEncoder.getInstance()); |
| CRITICAL | …l/spi/springsecurity/ApolloPasswordEncoderFactory.java | 60 | new org.springframework.security.crypto.password.MessageDigestPasswordEncoder("SHA-1")); |
| CRITICAL | …l/spi/springsecurity/ApolloPasswordEncoderFactory.java | 62 | new org.springframework.security.crypto.password.MessageDigestPasswordEncoder("SHA-256")); |
| CRITICAL | …l/spi/springsecurity/ApolloPasswordEncoderFactory.java | 64 | new org.springframework.security.crypto.password.StandardPasswordEncoder()); |
| CRITICAL | …com/ctrip/framework/apollo/portal/environment/Env.java | 41 | addEnvironment(com.ctrip.framework.apollo.core.enums.Env.LOCAL.name()); |
| CRITICAL | …com/ctrip/framework/apollo/portal/environment/Env.java | 43 | addEnvironment(com.ctrip.framework.apollo.core.enums.Env.DEV.name()); |
| CRITICAL | …com/ctrip/framework/apollo/portal/environment/Env.java | 45 | addEnvironment(com.ctrip.framework.apollo.core.enums.Env.FAT.name()); |
| CRITICAL | …com/ctrip/framework/apollo/portal/environment/Env.java | 47 | addEnvironment(com.ctrip.framework.apollo.core.enums.Env.FWS.name()); |
| CRITICAL | …com/ctrip/framework/apollo/portal/environment/Env.java | 49 | addEnvironment(com.ctrip.framework.apollo.core.enums.Env.UAT.name()); |
| CRITICAL | …com/ctrip/framework/apollo/portal/environment/Env.java | 51 | addEnvironment(com.ctrip.framework.apollo.core.enums.Env.LPT.name()); |
| CRITICAL | …com/ctrip/framework/apollo/portal/environment/Env.java | 53 | addEnvironment(com.ctrip.framework.apollo.core.enums.Env.PRO.name()); |
| CRITICAL | …com/ctrip/framework/apollo/portal/environment/Env.java | 55 | addEnvironment(com.ctrip.framework.apollo.core.enums.Env.TOOLS.name()); |
| CRITICAL | …com/ctrip/framework/apollo/portal/environment/Env.java | 57 | addEnvironment(com.ctrip.framework.apollo.core.enums.Env.UNKNOWN.name()); |
| CRITICAL | …r/service/ServerNamespaceManagementOpenApiService.java | 138 | !com.ctrip.framework.apollo.core.utils.StringUtils.isBlank(lockInfo.getLockOwner())); |
| CRITICAL | …vice/service/config/DefaultIncrementalSyncService.java | 92 | if (com.google.common.base.Objects.equal(previousValue, currentValue)) { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ic/scripts/controller/AuditLogTraceDetailController.js | 22 | function auditLogTraceDetailController($scope, $location, $window, $translate, toastr, AppService, AppUtil, EventManager |
| LOW | …ic/scripts/controller/AuditLogTraceDetailController.js | 150 | function findMoreRelatedDataInfluence() { |
| LOW | …ic/scripts/controller/AuditLogTraceDetailController.js | 170 | function refreshDataInfluenceEntities() { |
| LOW | …urces/static/scripts/controller/NamespaceController.js | 88 | function shouldAppendNamespacePrefix() { |
| LOW | …resources/static/scripts/controller/IndexController.js | 39 | function initCreateApplicationPermission() { |
| LOW | …atic/scripts/controller/GlobalSearchValueController.js | 20 | function GlobalSearchValueController($scope, $window, $translate, toastr, AppUtil, GlobalSearchValueService, PermissionS |
| LOW | …atic/scripts/controller/GlobalSearchValueController.js | 196 | function determineDisplayValueInARow(value, highlight) { |
| LOW | …atic/scripts/controller/GlobalSearchValueController.js | 254 | function determineDisplayKeyOrValueWithoutShowHighlightKeyword(keyorvalue, highlight) { |
| LOW | …ipts/controller/DeleteAppClusterNamespaceController.js | 21 | function DeleteAppClusterNamespaceController($scope, $translate, toastr, AppUtil, AppService, ClusterService, NamespaceS |
| LOW | …es/static/scripts/controller/ServerConfigController.js | 202 | function confirmDeletePortalDBConfig() { |
| LOW | …es/static/scripts/controller/ServerConfigController.js | 221 | function confirmDeleteConfigDBConfig() { |
| LOW | …es/static/scripts/controller/ServerConfigController.js | 260 | function resetPortalDBConfigSearchKey() { |
| LOW | …es/static/scripts/controller/ServerConfigController.js | 277 | function resetConfigDBConfigSearchKey() { |
| LOW | …static/scripts/controller/role/SystemRoleController.js | 72 | function getCreateApplicationRoleUsers() { |
| LOW | …scripts/controller/config/ConfigNamespaceController.js | 332 | function showNoModifyPermissionDialog() { |
| LOW | …/scripts/controller/config/ReleaseHistoryController.js | 192 | function getReleaseDiffConfiguration(history) { |
| LOW | …/scripts/directive/import-namespace-modal-directive.js | 19 | function importNamespaceModalDirective($window, $q, $translate, $http, toastr, AppUtil, EventManager, |
| LOW | …/scripts/directive/import-namespace-modal-directive.js | 40 | function showImportNamespaceConfirmDialog() { |
| LOW | …cripts/directive/gray-release-rules-modal-directive.js | 69 | function changeApplyToAllInstancesToTrue(branch) { |
| LOW | …cripts/directive/gray-release-rules-modal-directive.js | 73 | function changeApplyToAllInstancesToFalse(branch) { |
| LOW | …/static/scripts/directive/namespace-panel-directive.js | 175 | function getVisibleTextEditorCount(namespace) { |
| LOW | …/static/scripts/directive/namespace-panel-directive.js | 191 | function getFullscreenTextEditorLines(editor) { |
| LOW | …/static/scripts/directive/namespace-panel-directive.js | 570 | function initUserOperateBranchScene(namespace) { |
| LOW | …/static/scripts/directive/namespace-panel-directive.js | 595 | function initNamespaceInstancesCount(namespace) { |
| LOW | …ective/open-manage-grant-permission-modal-directive.js | 19 | function grantPermissionModalDirective($translate, toastr, $sce, AppUtil, EnvService, ConsumerService) { |
| LOW | …/scripts/directive/delete-namespace-modal-directive.js | 19 | function deleteNamespaceModalDirective($window, $q, $translate, toastr, AppUtil, EventManager, |
| LOW | …/scripts/directive/delete-namespace-modal-directive.js | 103 | function showDeleteNamespaceConfirmDialog() { |
| LOW | …es/static/scripts/directive/release-modal-directive.js | 172 | function switchReleaseChangeViewType(type) { |
| LOW | …/resources/static/scripts/services/NamespaceService.js | 96 | function toOpenCreateNamespaceDTOs(namespaceCreationModels, appId) { |
| LOW | …/resources/static/scripts/services/NamespaceService.js | 241 | function getPublicAppNamespaceAllNamespaces(env, publicNamespaceName, page, size) { |
| LOW | …c/main/resources/static/scripts/services/AppService.js | 95 | function normalizeOpenApiStatusArray(result, bodyMapper) { |
| LOW | …c/main/resources/static/scripts/services/AppService.js | 114 | function normalizeOpenApiStringArray(result) { |
| LOW | …resources/static/scripts/services/PermissionService.js | 129 | function initAppNamespacePermission(appId, namespace) { |
| LOW | …resources/static/scripts/services/PermissionService.js | 207 | function hasNamespaceEnvPermission(appId, env, namespaceName, permissionType) { |
| LOW | …resources/static/scripts/services/PermissionService.js | 249 | function assignNamespaceRoleToUser(appId, namespaceName, roleType, user) { |
| LOW | …resources/static/scripts/services/PermissionService.js | 270 | function assignNamespaceEnvRoleToUser(appId, env, namespaceName, roleType, user) { |
| LOW | …resources/static/scripts/services/PermissionService.js | 292 | function removeNamespaceRoleFromUser(appId, namespaceName, roleType, user) { |
| LOW | …resources/static/scripts/services/PermissionService.js | 313 | function removeNamespaceEnvRoleFromUser(appId, env, namespaceName, roleType, user) { |
| LOW | …resources/static/scripts/services/PermissionService.js | 335 | function assignClusterNsRoleToUser(appId, env, clusterName, roleType, user) { |
| LOW | …resources/static/scripts/services/PermissionService.js | 357 | function removeClusterNsRoleFromUser(appId, env, clusterName, roleType, user) { |
| LOW | …urces/static/scripts/services/ReleaseHistoryService.js | 26 | function findReleaseHistoryByNamespace(appId, env, clusterName, namespaceName, page, size) { |
| LOW | docs/scripts/multiple-language-redirect.js | 27 | function findCurrentLanguagePrefix(languagePrefixs, path) { |
| LOW | docs/scripts/multiple-language-redirect.js | 77 | function walkElementInTranslationsListItem(translationsListItem, elementName, visitor) { |
| LOW | docs/scripts/multiple-language-redirect.js | 106 | function resolveLanguagePrefixsFromListItem(translationsListItem) { |
| LOW | docs/scripts/multiple-language-redirect.js | 118 | function changeLinkInTranslationsListItem(currrentPath, translationsListItem) { |
| LOW | docs/scripts/multiple-language-redirect.js | 136 | function generateMultipleLanguagesNavbarPluginByListItemName(name) { |
| LOW | scripts/openapi/collect_portal_frontend_urls.py | 97 | def collect_resource_expression(line: str) -> Optional[str]: |
| LOW | scripts/openapi/check_openapi_compatibility_test.py | 63 | def test_allows_additive_paths_and_optional_fields(self): |
| LOW | scripts/openapi/check_openapi_compatibility_test.py | 75 | def test_rejects_removed_operations(self): |
| LOW | scripts/openapi/check_openapi_compatibility_test.py | 96 | def test_rejects_operation_id_changes(self): |
| LOW | scripts/openapi/check_openapi_compatibility_test.py | 103 | def test_rejects_removed_operation_id(self): |
| LOW | scripts/openapi/check_openapi_compatibility_test.py | 110 | def test_parses_quoted_paths_with_non_standard_indentation(self): |
| LOW | scripts/openapi/check_openapi_compatibility_test.py | 132 | def test_rejects_response_schema_changes(self): |
| LOW | scripts/openapi/check_openapi_compatibility_test.py | 155 | def test_rejects_request_schema_changes(self): |
| LOW | scripts/openapi/check_openapi_compatibility_test.py | 180 | def test_rejects_optional_property_removal(self): |
| LOW | scripts/openapi/check_openapi_compatibility_test.py | 191 | def test_rejects_property_schema_changes(self): |
| LOW | scripts/openapi/check_openapi_compatibility_test.py | 207 | def test_rejects_required_field_additions(self): |
| LOW | scripts/openapi/check_openapi_compatibility_test.py | 218 | def test_allows_explicit_compatibility_exceptions(self): |
| LOW | scripts/openapi/collect_portal_frontend_urls_test.py | 25 | def test_collects_url_properties_and_resource_base_paths(self): |
| LOW | scripts/openapi/collect_portal_frontend_urls_test.py | 88 | def test_main_fails_for_invalid_services_dir(self): |
| 21 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .mergify.yml | 1 | # |
| LOW | .licenserc.yaml | 1 | # |
| LOW | apollo-buildtools/src/main/scripts/deploy_jenkins.sh | 1 | #!/bin/bash |
| LOW | apollo-portal/src/test/resources/application.yml | 1 | # |
| LOW | apollo-portal/src/test/resources/yaml/case3.yaml | 1 | # |
| LOW | apollo-portal/src/test/resources/yaml/case2.yaml | 1 | # |
| LOW | apollo-portal/src/test/resources/yaml/case1.yaml | 1 | # |
| LOW | …rc/main/resources/application-ldap-openldap-sample.yml | 1 | # |
| LOW | …/resources/application-ldap-activedirectory-sample.yml | 1 | # |
| LOW | …rc/main/resources/application-ldap-apacheds-sample.yml | 1 | # |
| LOW | apollo-portal/src/main/resources/application.yml | 1 | # |
| LOW | …-portal/src/main/resources/application-oidc-sample.yml | 1 | # |
| LOW | apollo-portal/src/main/scripts/startup.sh | 1 | #!/bin/bash |
| LOW | apollo-portal/src/main/scripts/shutdown.sh | 1 | #!/bin/bash |
| LOW | apollo-configservice/src/test/resources/application.yml | 1 | # |
| LOW | apollo-configservice/src/main/resources/application.yml | 1 | # |
| LOW | apollo-configservice/src/main/scripts/startup.sh | 1 | #!/bin/bash |
| LOW | apollo-configservice/src/main/scripts/shutdown.sh | 1 | #!/bin/bash |
| LOW | apollo-adminservice/src/test/resources/application.yml | 1 | # |
| LOW | apollo-adminservice/src/main/resources/application.yml | 1 | # |
| LOW | apollo-adminservice/src/main/scripts/startup.sh | 1 | #!/bin/bash |
| LOW | apollo-adminservice/src/main/scripts/shutdown.sh | 1 | #!/bin/bash |
| LOW | docs/charts/index.yaml | 1 | # Copyright 2024 Apollo Authors |
| LOW | apollo-common/src/main/resources/application.yaml | 1 | # |
| LOW | scripts/build.sh | 1 | #!/bin/sh |
| LOW | scripts/openapi/collect_portal_frontend_urls.py | 1 | #!/usr/bin/env python3 |
| LOW | scripts/openapi/check_openapi_compatibility.py | 1 | #!/usr/bin/env python3 |
| LOW | scripts/openapi/check_openapi_compatibility_test.py | 1 | #!/usr/bin/env python3 |
| LOW | scripts/openapi/collect_portal_frontend_urls_test.py | 1 | #!/usr/bin/env python3 |
| LOW | scripts/openapi/bash/openapi.sh | 1 | #!/bin/bash |
| LOW | scripts/openapi/bash/openapi.sh | 21 | # date 2021-09-12 |
| LOW | scripts/openapi/bash/openapi.sh | 41 | # APOLLO_OPENAPI_TOKEN: openapi's token |
| LOW | scripts/openapi/bash/openapi.sh | 61 | # body |
| LOW | scripts/openapi/bash/openapi.sh | 141 | "name":"${clusterName}", |
| LOW | scripts/openapi/bash/openapi.sh | 181 | } |
| LOW | scripts/openapi/bash/openapi.sh | 281 | } |
| LOW | scripts/openapi/bash/openapi.sh | 321 | |
| LOW | scripts/openapi/bash/openapi-usage-example.sh | 1 | #!/bin/bash |
| LOW | .github/FUNDING.yml | 1 | # |
| LOW | .github/stale.yml | 1 | # |
| LOW | .github/workflows/docker-publish.yml | 1 | # |
| LOW | .github/workflows/issue-triage.lock.yml | 1 | # |
| LOW | .github/workflows/docker-validation.yml | 1 | # |
| LOW | .github/workflows/codeql.yml | 41 | # Prefix the list here with "+" to use these queries and those in the config file. |
| LOW | .github/workflows/openapi-compatibility.yml | 1 | # |
| LOW | .github/workflows/license.yml | 1 | # |
| LOW | .github/workflows/release-packages.yml | 1 | # |
| LOW | .github/workflows/javascript-test.yml | 1 | # |
| LOW | .github/workflows/cla.yml | 1 | # |
| LOW | .github/workflows/cla.yml | 41 | remote-repository-name: apollo-community |
| LOW | .github/workflows/external-discovery-smoke.yml | 1 | # |
| LOW | .github/workflows/portal-login-e2e.yml | 1 | # |
| LOW | .github/workflows/code-style-check.yml | 1 | # |
| LOW | .github/workflows/build.yml | 1 | # |
| LOW | .github/workflows/portal-ui-e2e.yml | 1 | # |
| LOW | e2e/scripts/apollo-smoke-lib.sh | 1 | #!/usr/bin/env bash |
| LOW | e2e/discovery-smoke/scripts/run-smoke.sh | 1 | #!/usr/bin/env bash |
| LOW | e2e/discovery-smoke/scripts/provider.sh | 1 | #!/usr/bin/env bash |
| LOW | e2e/portal-e2e/config/application-oidc-e2e.yml | 1 | # |
| LOW | e2e/portal-e2e/config/application-ldap-e2e.yml | 1 | # |
| 6 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …lo/portal/component/UserIdentityContextHolderTest.java | 65 | // Step 1: Set authentication type |
| LOW | …lo/portal/component/UserIdentityContextHolderTest.java | 69 | // Step 2: Call clear() method |
| LOW | …lo/portal/component/UserIdentityContextHolderTest.java | 72 | // Step 3: Verify result after clearing (get value via public method) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | scripts/openapi/bash/openapi.sh | 152 | # Create a namespace of a app. |
| MEDIUM | scripts/openapi/bash/openapi.sh | 219 | # Create an item of a namespace. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docs/zh/portal/apollo-open-api-platform.md | 159 | "ownerEmail":"test@test.com", |
| LOW | docs/en/portal/apollo-open-api-platform.md | 147 | "ownerEmail": "test@test.com", |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/openapi/collect_portal_frontend_urls.py | 18 | |
| LOW | scripts/openapi/check_openapi_compatibility.py | 31 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/openapi/check_openapi_compatibility.py | 150 |