id: 1 unit: export function defineRoutes() file: server/routes/index.ts start line: 26 end line: 853 size: 370 LOC McCabe index: 16 number of parameters: 1 id: 2 unit: export function RoleView() file: public/apps/configuration/panels/role-view/role-view.tsx start line: 93 end line: 413 size: 224 LOC McCabe index: 10 number of parameters: 1 id: 3 unit: export function TenantSwitchPanel() file: public/apps/account/tenant-switch-panel.tsx start line: 58 end line: 297 size: 198 LOC McCabe index: 25 number of parameters: 1 id: 4 unit: public setupRoutes() file: server/auth/types/saml/routes.ts start line: 38 end line: 241 size: 194 LOC McCabe index: 17 number of parameters: 0 id: 5 unit: public setupRoutes() file: server/auth/types/basic/routes.ts start line: 38 end line: 228 size: 174 LOC McCabe index: 11 number of parameters: 0 id: 6 unit: export function UserList() file: public/apps/configuration/panels/user-list.tsx start line: 98 end line: 260 size: 151 LOC McCabe index: 8 number of parameters: 1 id: 7 unit: export function RoleEdit() file: public/apps/configuration/panels/role-edit/role-edit.tsx start line: 74 end line: 250 size: 148 LOC McCabe index: 8 number of parameters: 1 id: 8 unit: export function TenantList() file: public/apps/configuration/panels/tenant-list/tenant-list.tsx start line: 64 end line: 207 size: 129 LOC McCabe index: 9 number of parameters: 1 id: 9 unit: export default function() file: server/backend/opensearch_security_configuration_plugin.ts start line: 17 end line: 223 size: 128 LOC McCabe index: 2 number of parameters: 3 id: 10 unit: public setupRoutes() file: server/auth/types/openid/routes.ts start line: 58 end line: 212 size: 127 LOC McCabe index: 10 number of parameters: 0 id: 11 unit: export function PermissionList() file: public/apps/configuration/panels/permission-list/permission-list.tsx start line: 178 end line: 304 size: 105 LOC McCabe index: 7 number of parameters: 1 id: 12 unit: export function PasswordResetPanel() file: public/apps/account/password-reset-panel.tsx start line: 43 end line: 164 size: 103 LOC McCabe index: 5 number of parameters: 1 id: 13 unit: export function LoginPage() file: public/apps/login/login-page.tsx start line: 50 end line: 150 size: 90 LOC McCabe index: 9 number of parameters: 1 id: 14 unit: export function setupMultitenantRoutes() file: server/multitenancy/routes.ts start line: 22 end line: 135 size: 89 LOC McCabe index: 4 number of parameters: 3 id: 15 unit: export function AuditLogging() file: public/apps/configuration/panels/audit-logging/audit-logging.tsx start line: 135 end line: 230 size: 82 LOC McCabe index: 5 number of parameters: 1 id: 16 unit: export function TenantsPanel() file: public/apps/configuration/panels/role-view/tenants-panel.tsx start line: 58 end line: 149 size: 74 LOC McCabe index: 7 number of parameters: 1 id: 17 unit: export function AccountNavButton() file: public/apps/account/account-nav-button.tsx start line: 39 end line: 104 size: 62 LOC McCabe index: 3 number of parameters: 1 id: 18 unit: export function generateIndexPermissionPanels() file: public/apps/configuration/panels/role-edit/index-permission-panel.tsx start line: 247 end line: 309 size: 61 LOC McCabe index: 2 number of parameters: 3 id: 19 unit: function resolve() file: server/multitenancy/tenant_resolver.ts start line: 91 end line: 157 size: 55 LOC McCabe index: 22 number of parameters: 6 id: 20 unit: public setupRoutes() file: server/auth/types/proxy/routes.ts start line: 33 end line: 86 size: 51 LOC McCabe index: 4 number of parameters: 0 id: 21 unit: export function PermissionEditModal() file: public/apps/configuration/panels/permission-list/edit-modal.tsx start line: 53 end line: 106 size: 50 LOC McCabe index: 2 number of parameters: 1 id: 22 unit: function generateTenantPermissionPanels() file: public/apps/configuration/panels/role-edit/tenant-panel.tsx start line: 72 end line: 122 size: 49 LOC McCabe index: 1 number of parameters: 3 id: 23 unit: function generateAttributesPanels() file: public/apps/configuration/panels/internal-user-edit/attribute-panel.tsx start line: 58 end line: 105 size: 47 LOC McCabe index: 1 number of parameters: 2 id: 24 unit: function getColumns() file: public/apps/configuration/panels/permission-list/permission-list.tsx start line: 95 end line: 139 size: 45 LOC McCabe index: 1 number of parameters: 3 id: 25 unit: async isValidCookie() file: server/auth/types/openid/openid_auth.ts start line: 158 end line: 206 size: 44 LOC McCabe index: 10 number of parameters: 1 id: 26 unit: export async function migrateTenantIndices() file: server/multitenancy/tenant_index.ts start line: 69 end line: 131 size: 43 LOC McCabe index: 4 number of parameters: 6 id: 27 unit: public async setup() file: public/plugin.ts start line: 69 end line: 142 size: 42 LOC McCabe index: 6 number of parameters: 1 id: 28 unit: export function ClusterPermissionPanel() file: public/apps/configuration/panels/role-edit/cluster-permission-panel.tsx start line: 26 end line: 66 size: 41 LOC McCabe index: 1 number of parameters: 1 id: 29 unit: public async setup() file: server/plugin.ts start line: 80 end line: 133 size: 41 LOC McCabe index: 2 number of parameters: 1 id: 30 unit: export function getAuthenticationHandler() file: server/auth/auth_handler_factory.ts start line: 47 end line: 87 size: 41 LOC McCabe index: 7 number of parameters: 7 id: 31 unit: export function InternalUsersPanel() file: public/apps/configuration/panels/role-mapping/users-panel.tsx start line: 27 end line: 67 size: 40 LOC McCabe index: 2 number of parameters: 1 id: 32 unit: export async function addTenantToShareURL() file: public/services/shared-link.ts start line: 20 end line: 70 size: 40 LOC McCabe index: 12 number of parameters: 1 id: 33 unit: export function ClusterPermissionPanel() file: public/apps/configuration/panels/role-view/cluster-permission-panel.tsx start line: 33 end line: 72 size: 38 LOC McCabe index: 3 number of parameters: 1 id: 34 unit: export function FieldLevelSecurityRow() file: public/apps/configuration/panels/role-edit/index-permission-panel.tsx start line: 187 end line: 223 size: 37 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: function generateBackendRolesPanels() file: public/apps/configuration/panels/internal-user-edit/backend-role-panel.tsx start line: 35 end line: 71 size: 37 LOC McCabe index: 1 number of parameters: 2 id: 36 unit: users: difference() file: public/apps/configuration/panels/role-view/role-view.tsx start line: 154 end line: 193 size: 37 LOC McCabe index: 2 number of parameters: 2 id: 37 unit: backend_roles: difference() file: public/apps/configuration/panels/role-view/role-view.tsx start line: 155 end line: 193 size: 36 LOC McCabe index: 2 number of parameters: 2 id: 38 unit: export async function setupIndexTemplate() file: server/multitenancy/tenant_index.ts start line: 33 end line: 67 size: 35 LOC McCabe index: 2 number of parameters: 4 id: 39 unit: export function IndexPermissionRow() file: public/apps/configuration/panels/role-edit/index-permission-panel.tsx start line: 133 end line: 165 size: 33 LOC McCabe index: 1 number of parameters: 1 id: 40 unit: export function resolveTenant() file: server/multitenancy/tenant_resolver.ts start line: 37 end line: 70 size: 32 LOC McCabe index: 11 number of parameters: 5 id: 41 unit: export function NameRow() file: public/apps/configuration/utils/name-row.tsx start line: 31 end line: 63 size: 31 LOC McCabe index: 1 number of parameters: 1 id: 42 unit: export function InstructionView() file: public/apps/configuration/panels/auth-view/instruction-view.tsx start line: 22 end line: 57 size: 31 LOC McCabe index: 3 number of parameters: 1 id: 43 unit: export function FormRow() file: public/apps/configuration/utils/form-row.tsx start line: 27 end line: 55 size: 29 LOC McCabe index: 3 number of parameters: 1 id: 44 unit: export function truncatedListView() file: public/apps/configuration/utils/display-utils.tsx start line: 79 end line: 108 size: 29 LOC McCabe index: 4 number of parameters: 2 id: 45 unit: export function BackendRolePanel() file: public/apps/configuration/panels/internal-user-edit/backend-role-panel.tsx start line: 73 end line: 101 size: 29 LOC McCabe index: 3 number of parameters: 1 id: 46 unit: export function getColumns() file: public/apps/configuration/panels/user-list.tsx start line: 66 end line: 96 size: 28 LOC McCabe index: 2 number of parameters: 1 id: 47 unit: public async start() file: server/plugin.ts start line: 136 end line: 166 size: 28 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: export default function() file: server/backend/opensearch_security_plugin.ts start line: 17 end line: 73 size: 28 LOC McCabe index: 2 number of parameters: 3 id: 49 unit: public start() file: public/plugin.ts start line: 144 end line: 176 size: 27 LOC McCabe index: 7 number of parameters: 1 id: 50 unit: indexPermissions: chain() file: public/apps/configuration/utils/role-list-utils.tsx start line: 67 end line: 96 size: 26 LOC McCabe index: 6 number of parameters: 1 id: 51 unit: export function IndexPermissionPanel() file: public/apps/configuration/panels/role-edit/index-permission-panel.tsx start line: 311 end line: 337 size: 26 LOC McCabe index: 2 number of parameters: 1 id: 52 unit: export function getSecurityCookieOptions() file: server/session/security_cookie.ts start line: 42 end line: 74 size: 26 LOC McCabe index: 9 number of parameters: 1 id: 53 unit: public async getSamlHeader() file: server/backend/opensearch_security_client.ts start line: 148 end line: 183 size: 26 LOC McCabe index: 6 number of parameters: 1 id: 54 unit: export function transformRoleTenantPermissionData() file: public/apps/configuration/utils/tenant-utils.tsx start line: 123 end line: 151 size: 25 LOC McCabe index: 7 number of parameters: 2 id: 55 unit: export function renderFieldLevelSecurity() file: public/apps/configuration/panels/role-view/index-permission-panel.tsx start line: 77 end line: 103 size: 25 LOC McCabe index: 4 number of parameters: 0 id: 56 unit: private createWreckClient() file: server/auth/types/openid/openid_auth.ts start line: 112 end line: 136 size: 25 LOC McCabe index: 4 number of parameters: 0 id: 57 unit: public async authenticate() file: server/backend/opensearch_security_client.ts start line: 22 end line: 46 size: 25 LOC McCabe index: 2 number of parameters: 2 id: 58 unit: AuditLogsDoc: translateMessage() file: public/apps/configuration/constants.tsx start line: 243 end line: 267 size: 24 LOC McCabe index: 1 number of parameters: 2 id: 59 unit: export async function callTokenEndpoint() file: server/auth/types/openid/helper.ts start line: 48 end line: 75 size: 24 LOC McCabe index: 4 number of parameters: 3 id: 60 unit: href: buildUrl() file: public/apps/configuration/app-router.tsx start line: 71 end line: 96 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: render: renderRowExpanstionArrow() file: public/apps/configuration/panels/role-view/index-permission-panel.tsx start line: 165 end line: 190 size: 23 LOC McCabe index: 1 number of parameters: 3 id: 62 unit: private async init() file: server/auth/types/openid/openid_auth.ts start line: 87 end line: 110 size: 22 LOC McCabe index: 3 number of parameters: 0 id: 63 unit: async resolveTenant() file: server/auth/types/authentication_type.ts start line: 203 end line: 225 size: 22 LOC McCabe index: 3 number of parameters: 4 id: 64 unit: export function AnonymizationRow() file: public/apps/configuration/panels/role-edit/index-permission-panel.tsx start line: 225 end line: 245 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 65 unit: function getColumns() file: public/apps/configuration/panels/role-view/index-permission-panel.tsx start line: 123 end line: 172 size: 21 LOC McCabe index: 1 number of parameters: 3 id: 66 unit: export function CustomErrorPage() file: public/apps/customerror/custom-error.tsx start line: 33 end line: 53 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 67 unit: export async function renderPage() file: public/apps/customerror/custom-error.tsx start line: 55 end line: 75 size: 21 LOC McCabe index: 1 number of parameters: 3 id: 68 unit: AuditLogsStorageDoc: translateMessage() file: public/apps/configuration/constants.tsx start line: 247 end line: 267 size: 20 LOC McCabe index: 1 number of parameters: 2 id: 69 unit: export function transformTenantData() file: public/apps/configuration/utils/tenant-utils.tsx start line: 59 end line: 80 size: 20 LOC McCabe index: 7 number of parameters: 2 id: 70 unit: export function getBreadcrumbs() file: public/apps/configuration/app-router.tsx start line: 90 end line: 121 size: 20 LOC McCabe index: 2 number of parameters: 3 id: 71 unit: export function removeElementFromArray() file: public/apps/configuration/utils/array-state-utils.tsx start line: 105 end line: 123 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 72 unit: export function transformRoleData() file: public/apps/configuration/utils/role-list-utils.tsx start line: 62 end line: 80 size: 19 LOC McCabe index: 6 number of parameters: 2 id: 73 unit: export function DocLevelSecurityRow() file: public/apps/configuration/panels/role-edit/index-permission-panel.tsx start line: 167 end line: 185 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: view: renderCustomization() file: public/apps/configuration/panels/permission-list/permission-list.tsx start line: 171 end line: 195 size: 19 LOC McCabe index: 1 number of parameters: 2 id: 75 unit: function addTenantToURL() file: public/services/shared-link.ts start line: 72 end line: 99 size: 19 LOC McCabe index: 6 number of parameters: 3 id: 76 unit: public async authToken() file: server/backend/opensearch_security_client.ts start line: 185 end line: 203 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 77 unit: module.exports = function() file: babel.config.js start line: 18 end line: 35 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 78 unit: export function appendElementToArray() file: public/apps/configuration/utils/array-state-utils.tsx start line: 68 end line: 84 size: 17 LOC McCabe index: 2 number of parameters: 3 id: 79 unit: export function buildUrl() file: public/apps/configuration/utils/url-builder.tsx start line: 30 end line: 46 size: 17 LOC McCabe index: 4 number of parameters: 4 id: 80 unit: export function IndexPatternRow() file: public/apps/configuration/panels/role-edit/index-permission-panel.tsx start line: 115 end line: 131 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: export function toggleRowDetails() file: public/apps/configuration/panels/permission-list/permission-list.tsx start line: 62 end line: 78 size: 17 LOC McCabe index: 2 number of parameters: 3 id: 82 unit: export function toggleRowDetails() file: public/apps/configuration/panels/role-view/index-permission-panel.tsx start line: 45 end line: 61 size: 17 LOC McCabe index: 2 number of parameters: 3 id: 83 unit: export function renderComplianceSettings() file: public/apps/configuration/panels/audit-logging/audit-logging.tsx start line: 110 end line: 133 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: body: parseEsErrorResponse() file: server/routes/index.ts start line: 623 end line: 695 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: export function renderApp() file: public/apps/configuration/configuration-app.tsx start line: 25 end line: 39 size: 15 LOC McCabe index: 1 number of parameters: 4 id: 86 unit: export function getSuccessToastMessage() file: public/apps/configuration/utils/toast-utils.tsx start line: 47 end line: 61 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 87 unit: function buildTreeItem() file: public/apps/configuration/panels/permission-tree/permission-tree.tsx start line: 26 end line: 41 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 88 unit: public setupRoutes() file: server/auth/types/jwt/routes.ts start line: 26 end line: 40 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 89 unit: export async function requestWithIgnores() file: public/apps/configuration/utils/request-utils.ts start line: 43 end line: 56 size: 14 LOC McCabe index: 3 number of parameters: 4 id: 90 unit: export function renderRowExpanstionArrow() file: public/apps/configuration/panels/permission-list/permission-list.tsx start line: 80 end line: 93 size: 14 LOC McCabe index: 4 number of parameters: 3 id: 91 unit: export function dictView() file: public/apps/configuration/panels/user-list.tsx start line: 51 end line: 64 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 92 unit: function buildTreeItems() file: public/apps/configuration/panels/nav-panel.tsx start line: 20 end line: 33 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: className: isEmpty() file: public/apps/configuration/panels/permission-tree/permission-tree.tsx start line: 39 end line: 53 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 94 unit: Add authentication() file: public/apps/configuration/panels/get-started.tsx start line: 43 end line: 57 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: export function renderRowExpanstionArrow() file: public/apps/configuration/panels/role-view/index-permission-panel.tsx start line: 63 end line: 75 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 96 unit: export function renderDocumentLevelSecurity() file: public/apps/configuration/panels/role-view/index-permission-panel.tsx start line: 105 end line: 121 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 97 unit: export function getBaseRedirectUrl() file: server/auth/types/openid/helper.ts start line: 33 end line: 46 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 98 unit: protected getCookie() file: server/auth/types/jwt/jwt_auth.ts start line: 102 end line: 114 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 99 unit: export function defineAuthTypeRoutes() file: server/routes/auth_type_routes.ts start line: 19 end line: 41 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 100 unit: export function transformActionGroupsToListingFormat() file: public/apps/configuration/utils/action-groups-utils.tsx start line: 40 end line: 51 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 101 unit: export function renderCustomization() file: public/apps/configuration/utils/display-utils.tsx start line: 66 end line: 77 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 102 unit: export function ExternalLink() file: public/apps/configuration/utils/display-utils.tsx start line: 138 end line: 149 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: export function buildIndexPermissionState() file: public/apps/configuration/panels/role-edit/index-permission-panel.tsx start line: 80 end line: 91 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: render: renderRowExpanstionArrow() file: public/apps/configuration/panels/permission-list/permission-list.tsx start line: 132 end line: 144 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 105 unit: export function composeLogoutUrl() file: server/auth/types/openid/helper.ts start line: 77 end line: 88 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 106 unit: protected requestIncludesAuthInfo() file: server/auth/types/jwt/jwt_auth.ts start line: 76 end line: 89 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 107 unit: export function getTenantPermissionType() file: public/apps/configuration/utils/tenant-utils.tsx start line: 153 end line: 163 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 108 unit: export function updateElementInArray() file: public/apps/configuration/utils/array-state-utils.tsx start line: 35 end line: 45 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 109 unit: export function transformRoleMappingData() file: public/apps/configuration/utils/role-mapping-utils.tsx start line: 41 end line: 53 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: tenantPermissions: chain() file: public/apps/configuration/utils/role-list-utils.tsx start line: 72 end line: 96 size: 11 LOC McCabe index: 6 number of parameters: 1 id: 111 unit: export function buildTenantPermissionState() file: public/apps/configuration/panels/role-edit/tenant-panel.tsx start line: 36 end line: 46 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: export function unbuildIndexPermissionState() file: public/apps/configuration/panels/role-edit/index-permission-panel.tsx start line: 93 end line: 103 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: export function renderGeneralSettings() file: public/apps/configuration/panels/audit-logging/audit-logging.tsx start line: 94 end line: 108 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: export function parseTokenResponse() file: server/auth/types/openid/helper.ts start line: 21 end line: 31 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 115 unit: private redirectToLogin() file: server/auth/types/openid/routes.ts start line: 46 end line: 56 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 116 unit: function createAuthentication() file: server/auth/auth_handler_factory.ts start line: 35 end line: 45 size: 11 LOC McCabe index: 1 number of parameters: 7 id: 117 unit: function parseEsErrorResponse() file: server/routes/index.ts start line: 855 end line: 865 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 118 unit: public async authinfo() file: server/backend/opensearch_security_client.ts start line: 107 end line: 117 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 119 unit: export function useToastState() file: public/apps/configuration/utils/toast-utils.tsx start line: 36 end line: 45 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 120 unit: export function resolveTenantName() file: public/apps/configuration/utils/tenant-utils.tsx start line: 107 end line: 116 size: 10 LOC McCabe index: 5 number of parameters: 2 id: 121 unit: export function validateResourceName() file: public/apps/configuration/utils/resource-validation-util.tsx start line: 29 end line: 39 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 122 unit: function getClusterSinglePermissions() file: public/apps/configuration/utils/action-groups-utils.tsx start line: 57 end line: 66 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 123 unit: function getIndexSinglePermissions() file: public/apps/configuration/utils/action-groups-utils.tsx start line: 68 end line: 77 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 124 unit: export function renderTextFlexItem() file: public/apps/configuration/utils/display-utils.tsx start line: 43 end line: 52 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 125 unit: export function generateResourceName() file: public/apps/configuration/utils/resource-utils.tsx start line: 16 end line: 25 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 126 unit: export function buildSearchFilterOptions() file: public/apps/configuration/utils/role-list-utils.tsx start line: 83 end line: 92 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 127 unit: export function unbuildTenantPermissionState() file: public/apps/configuration/panels/role-edit/tenant-panel.tsx start line: 54 end line: 63 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 128 unit: export function getEmptyIndexPermission() file: public/apps/configuration/panels/role-edit/index-permission-panel.tsx start line: 49 end line: 58 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 129 unit: export function getValue() file: public/utils/storage-utils.tsx start line: 20 end line: 29 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 130 unit: export function isMultitenantPath() file: server/multitenancy/tenant_resolver.ts start line: 78 end line: 89 size: 10 LOC McCabe index: 7 number of parameters: 1 id: 131 unit: private setupRoutes() file: server/auth/types/proxy/proxy_auth.ts start line: 61 end line: 70 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 132 unit: private setupRoutes() file: server/auth/types/saml/saml_auth.ts start line: 70 end line: 79 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 133 unit: protected getAdditionalAuthHeader() file: server/auth/types/jwt/jwt_auth.ts start line: 91 end line: 100 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 134 unit: private async init() file: server/auth/types/basic/basic_auth.ts start line: 51 end line: 60 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 135 unit: fieldLevelSecurityMethod: getFieldLevelSecurityMethod() file: public/apps/configuration/panels/role-edit/index-permission-panel.tsx start line: 87 end line: 96 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 136 unit: export function unbuildAttributeState() file: public/apps/configuration/panels/internal-user-edit/attribute-panel.tsx start line: 44 end line: 52 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 137 unit: function renderStatusPanel() file: public/apps/configuration/panels/audit-logging/audit-logging.tsx start line: 51 end line: 59 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 138 unit: async function hasApiPermission() file: public/plugin.ts start line: 47 end line: 56 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 139 unit: mount: async() file: public/plugin.ts start line: 84 end line: 96 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 140 unit: validate() file: server/index.ts start line: 61 end line: 69 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 141 unit: export function composeNextUrlQeuryParam() file: server/utils/next_url.ts start line: 21 end line: 29 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 142 unit: post_logout_redirect_uri: getBaseRedirectUrl() file: server/auth/types/openid/routes.ts start line: 195 end line: 205 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 143 unit: public async getMultitenancyInfo() file: server/backend/opensearch_security_client.ts start line: 120 end line: 128 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 144 unit: public async getTenantInfo() file: server/backend/opensearch_security_client.ts start line: 138 end line: 146 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 145 unit: export async function logout() file: public/apps/account/utils.tsx start line: 31 end line: 39 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 146 unit: export function createErrorToast() file: public/apps/configuration/utils/toast-utils.tsx start line: 19 end line: 26 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 147 unit: export function transformRoleTenantPermissions() file: public/apps/configuration/utils/tenant-utils.tsx start line: 165 end line: 172 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 148 unit: export function isResourceNameLengthValid() file: public/apps/configuration/utils/resource-validation-util.tsx start line: 41 end line: 48 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 149 unit: export function transformRoleIndexPermissions() file: public/apps/configuration/utils/index-permission-utils.tsx start line: 32 end line: 39 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 150 unit: export function buildHashUrl() file: public/apps/configuration/utils/url-builder.tsx start line: 48 end line: 55 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 151 unit: fieldLevelSecurityFields: getFieldLevelSecurityFields() file: public/apps/configuration/panels/role-edit/index-permission-panel.tsx start line: 88 end line: 96 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 152 unit: function redirect() file: public/apps/login/login-page.tsx start line: 38 end line: 48 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 153 unit: export function constructErrorMessageAndLog() file: public/apps/error-utils.ts start line: 19 end line: 30 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 154 unit: async isValidCookie() file: server/auth/types/proxy/proxy_auth.ts start line: 116 end line: 123 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 155 unit: private redirectToLoginUri() file: server/auth/types/saml/saml_auth.ts start line: 61 end line: 68 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 156 unit: async isValidCookie() file: server/auth/types/saml/saml_auth.ts start line: 100 end line: 107 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 157 unit: private getTokenFromUrlParam() file: server/auth/types/jwt/jwt_auth.ts start line: 57 end line: 64 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 158 unit: async isValidCookie() file: server/auth/types/jwt/jwt_auth.ts start line: 116 end line: 123 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 159 unit: async isValidCookie() file: server/auth/types/basic/basic_auth.ts start line: 95 end line: 102 size: 8 LOC McCabe index: 6 number of parameters: 1 id: 160 unit: export function createUnknownErrorToast() file: public/apps/configuration/utils/toast-utils.tsx start line: 28 end line: 34 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 161 unit: export async function updateUser() file: public/apps/configuration/utils/internal-user-detail-utils.tsx start line: 26 end line: 32 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 162 unit: export async function updateTenant() file: public/apps/configuration/utils/tenant-utils.tsx start line: 86 end line: 92 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 163 unit: export async function httpGetWithIgnores() file: public/apps/configuration/utils/request-utils.ts start line: 58 end line: 64 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 164 unit: export async function httpPostWithIgnores() file: public/apps/configuration/utils/request-utils.ts start line: 66 end line: 72 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 165 unit: export async function httpDeleteWithIgnores() file: public/apps/configuration/utils/request-utils.ts start line: 74 end line: 80 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 166 unit: export async function fetchActionGroups() file: public/apps/configuration/utils/action-groups-utils.tsx start line: 32 end line: 38 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 167 unit: export async function mergeAllPermissions() file: public/apps/configuration/utils/action-groups-utils.tsx start line: 83 end line: 89 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 168 unit: export async function updateActionGroup() file: public/apps/configuration/utils/action-groups-utils.tsx start line: 91 end line: 97 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 169 unit: export async function getRoleMappingData() file: public/apps/configuration/utils/role-mapping-utils.tsx start line: 33 end line: 39 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 170 unit: export async function updateRoleMapping() file: public/apps/configuration/utils/role-mapping-utils.tsx start line: 55 end line: 61 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 171 unit: export function appendOptionToComboBox() file: public/apps/configuration/utils/combo-box-utils.tsx start line: 56 end line: 62 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 172 unit: export function transformUserData() file: public/apps/configuration/utils/internal-user-list-utils.tsx start line: 27 end line: 33 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 173 unit: export function getValue() file: public/apps/configuration/utils/storage-utils.tsx start line: 23 end line: 29 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 174 unit: function packFieldLevelSecurity() file: public/apps/configuration/panels/role-edit/index-permission-panel.tsx start line: 72 end line: 78 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 175 unit: fls: packFieldLevelSecurity() file: public/apps/configuration/panels/role-edit/index-permission-panel.tsx start line: 99 end line: 106 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 176 unit: title: getSuccessToastMessage() file: public/apps/configuration/panels/permission-list/permission-list.tsx start line: 286 end line: 292 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 177 unit: backend_roles: unbuildExternalIdentityState() file: public/apps/configuration/panels/role-mapping/role-edit-mapped-user.tsx start line: 106 end line: 113 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 178 unit: export function unbuildExternalIdentityState() file: public/apps/configuration/panels/role-mapping/external-identities-panel.tsx start line: 36 end line: 42 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 179 unit: export function buildExternalIdentityState() file: public/apps/configuration/panels/role-mapping/external-identities-panel.tsx start line: 44 end line: 50 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 180 unit: name: displayHeaderWithTooltip() file: public/apps/configuration/panels/role-view/index-permission-panel.tsx start line: 144 end line: 150 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 181 unit: export function clearOldVersionCookieValue() file: server/session/security_cookie.ts start line: 76 end line: 82 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 182 unit: private getBearerToken() file: server/auth/types/jwt/jwt_auth.ts start line: 66 end line: 74 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 183 unit: function validateRequestBody() file: server/routes/index.ts start line: 77 end line: 83 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 184 unit: public async getTenantInfoWithInternalUser() file: server/backend/opensearch_security_client.ts start line: 130 end line: 136 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 185 unit: function tenantSpecifiedInUrl() file: public/apps/account/account-app.tsx start line: 31 end line: 36 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 186 unit: export async function updateNewPassword() file: public/apps/account/utils.tsx start line: 41 end line: 50 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 187 unit: export async function request() file: public/apps/configuration/utils/request-utils.ts start line: 18 end line: 23 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 188 unit: export function renderExpression() file: public/apps/configuration/utils/display-utils.tsx start line: 110 end line: 116 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 189 unit: export async function requestDeleteRoles() file: public/apps/configuration/utils/role-list-utils.tsx start line: 95 end line: 100 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 190 unit: function decodeParams() file: public/apps/configuration/app-router.tsx start line: 123 end line: 128 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 191 unit: function getEmptyTenantPermission() file: public/apps/configuration/panels/role-edit/tenant-panel.tsx start line: 65 end line: 70 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 192 unit: export function buildAttributeState() file: public/apps/configuration/panels/internal-user-edit/attribute-panel.tsx start line: 37 end line: 42 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 193 unit: export async function validateCurrentPassword() file: public/utils/login-utils.tsx start line: 19 end line: 28 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 194 unit: export function setValue() file: public/utils/storage-utils.tsx start line: 31 end line: 36 size: 6 LOC McCabe index: 2 number of parameters: 4 id: 195 unit: private generateNextUrl() file: server/auth/types/saml/saml_auth.ts start line: 54 end line: 59 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 196 unit: function errorResponse() file: server/routes/index.ts start line: 867 end line: 872 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 197 unit: export function includeClusterPermissions() file: public/apps/configuration/constants.tsx start line: 133 end line: 137 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 198 unit: export function includeIndexPermissions() file: public/apps/configuration/constants.tsx start line: 214 end line: 218 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 199 unit: export async function requestDeleteTenant() file: public/apps/configuration/utils/tenant-utils.tsx start line: 94 end line: 98 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 200 unit: export async function requestDeleteActionGroups() file: public/apps/configuration/utils/action-groups-utils.tsx start line: 99 end line: 103 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 201 unit: export function getFieldLevelSecurityMethod() file: public/apps/configuration/utils/index-permission-utils.tsx start line: 25 end line: 30 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 202 unit: export async function requestDeleteUsers() file: public/apps/configuration/utils/internal-user-list-utils.tsx start line: 35 end line: 39 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 203 unit: export function getAndClearCrossPageToast() file: public/apps/configuration/utils/storage-utils.tsx start line: 41 end line: 45 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 204 unit: href: buildHashUrl() file: public/apps/configuration/app-router.tsx start line: 105 end line: 110 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 205 unit: await updateRole() file: public/apps/configuration/panels/role-edit/role-edit.tsx start line: 148 end line: 152 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 206 unit: function getFieldLevelSecurityFields() file: public/apps/configuration/panels/role-edit/index-permission-panel.tsx start line: 66 end line: 70 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 207 unit: render: truncatedListView() file: public/apps/configuration/panels/role-view/tenants-panel.tsx start line: 117 end line: 121 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 208 unit: mount: async() file: public/plugin.ts start line: 110 end line: 115 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 209 unit: mount: async() file: public/plugin.ts start line: 123 end line: 127 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 210 unit: export function getAndClearCrossPageToast() file: public/utils/storage-utils.tsx start line: 48 end line: 52 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 211 unit: export function getNavLinkById() file: public/services/chrome_wrapper.ts start line: 18 end line: 22 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 212 unit: function validateEntityId() file: server/routes/index.ts start line: 85 end line: 89 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 213 unit: public async authenticateWithHeader() file: server/backend/opensearch_security_client.ts start line: 48 end line: 52 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 214 unit: await selectTenant() file: public/apps/account/account-app.tsx start line: 61 end line: 64 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 215 unit: await selectTenant() file: public/apps/account/tenant-switch-panel.tsx start line: 188 end line: 191 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 216 unit: await httpPost() file: public/apps/account/utils.tsx start line: 46 end line: 49 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 217 unit: export function formatTenantName() file: public/apps/configuration/utils/tenant-utils.tsx start line: 118 end line: 121 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 218 unit: export async function getAuditLogging() file: public/apps/configuration/utils/audit-logging-utils.tsx start line: 25 end line: 28 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 219 unit: export async function getUserList() file: public/apps/configuration/utils/internal-user-list-utils.tsx start line: 45 end line: 48 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 220 unit: export async function getSecurityConfig() file: public/apps/configuration/utils/auth-view-utils.tsx start line: 20 end line: 23 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 221 unit: href: buildHashUrl() file: public/apps/configuration/app-router.tsx start line: 98 end line: 102 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 222 unit: index_permissions: unbuildIndexPermissionState() file: public/apps/configuration/panels/role-edit/role-edit.tsx start line: 150 end line: 154 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 223 unit: render: truncatedListView() file: public/apps/configuration/panels/role-list.tsx start line: 69 end line: 72 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 224 unit: render: truncatedListView() file: public/apps/configuration/panels/role-list.tsx start line: 75 end line: 78 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 225 unit: await selectTenant() file: public/apps/configuration/panels/role-view/tenants-panel.tsx start line: 87 end line: 90 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 226 unit: await selectTenant() file: public/apps/configuration/panels/role-view/tenants-panel.tsx start line: 100 end line: 103 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 227 unit: render: truncatedListView() file: public/apps/configuration/panels/role-view/index-permission-panel.tsx start line: 133 end line: 136 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 228 unit: render: truncatedListView() file: public/apps/configuration/panels/role-view/index-permission-panel.tsx start line: 139 end line: 142 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 229 unit: name: displayHeaderWithTooltip() file: public/apps/configuration/panels/role-view/index-permission-panel.tsx start line: 152 end line: 155 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 230 unit: render: truncatedListView() file: public/apps/configuration/panels/role-view/index-permission-panel.tsx start line: 158 end line: 161 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 231 unit: await httpPost() file: public/utils/login-utils.tsx start line: 24 end line: 27 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 232 unit: indexMap: mergeTypes() file: server/multitenancy/tenant_index.ts start line: 96 end line: 105 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 233 unit: payload: stringify() file: server/auth/types/openid/helper.ts start line: 54 end line: 57 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 234 unit: isPageRequest() file: server/auth/types/authentication_type.ts start line: 227 end line: 230 size: 4 LOC McCabe index: 4 number of parameters: 1 id: 235 unit: private async init() file: server/auth/types/jwt/jwt_auth.ts start line: 52 end line: 55 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 236 unit: export function isValidResourceName() file: common/index.ts start line: 45 end line: 48 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 237 unit: export function fetchAccountInfo() file: public/apps/account/utils.tsx start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 238 unit: export async function fetchAccountInfoSafe() file: public/apps/account/utils.tsx start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 239 unit: export async function getUserDetail() file: public/apps/configuration/utils/internal-user-detail-utils.tsx start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 240 unit: export async function fetchTenants() file: public/apps/configuration/utils/tenant-utils.tsx start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 241 unit: export async function fetchTenantNameList() file: public/apps/configuration/utils/tenant-utils.tsx start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 242 unit: export async function fetchCurrentTenant() file: public/apps/configuration/utils/tenant-utils.tsx start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 243 unit: export async function selectTenant() file: public/apps/configuration/utils/tenant-utils.tsx start line: 100 end line: 102 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 244 unit: export async function updateAuditLogging() file: public/apps/configuration/utils/audit-logging-utils.tsx start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 245 unit: export function resourceNameHelpText() file: public/apps/configuration/utils/resource-validation-util.tsx start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 246 unit: export async function httpGet() file: public/apps/configuration/utils/request-utils.ts start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 247 unit: export async function httpPost() file: public/apps/configuration/utils/request-utils.ts start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 248 unit: export async function httpDelete() file: public/apps/configuration/utils/request-utils.ts start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 249 unit: function resolveValue() file: public/apps/configuration/utils/array-state-utils.tsx start line: 19 end line: 21 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 250 unit: export async function fetchActionGroupListing() file: public/apps/configuration/utils/action-groups-utils.tsx start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 251 unit: export async function getAllPermissionsListing() file: public/apps/configuration/utils/action-groups-utils.tsx start line: 79 end line: 81 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 252 unit: export async function getRoleDetail() file: public/apps/configuration/utils/role-detail-utils.tsx start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 253 unit: export async function updateRole() file: public/apps/configuration/utils/role-detail-utils.tsx start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 254 unit: export function displayBoolean() file: public/apps/configuration/utils/display-utils.tsx start line: 54 end line: 56 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 255 unit: export function displayArray() file: public/apps/configuration/utils/display-utils.tsx start line: 58 end line: 60 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 256 unit: export function displayObject() file: public/apps/configuration/utils/display-utils.tsx start line: 62 end line: 64 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 257 unit: export function getResourceUrl() file: public/apps/configuration/utils/resource-utils.tsx start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 258 unit: export function fetchRole() file: public/apps/configuration/utils/role-list-utils.tsx start line: 103 end line: 105 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 259 unit: export function fetchRoleMapping() file: public/apps/configuration/utils/role-list-utils.tsx start line: 108 end line: 110 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 260 unit: export function stringToComboBoxOption() file: public/apps/configuration/utils/combo-box-utils.tsx start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 261 unit: export function comboBoxOptionToString() file: public/apps/configuration/utils/combo-box-utils.tsx start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 262 unit: async function getUserListRaw() file: public/apps/configuration/utils/internal-user-list-utils.tsx start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 263 unit: export async function fetchUserNameList() file: public/apps/configuration/utils/internal-user-list-utils.tsx start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 264 unit: export function setValue() file: public/apps/configuration/utils/storage-utils.tsx start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 265 unit: export function setCrossPageToast() file: public/apps/configuration/utils/storage-utils.tsx start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 266 unit: href: buildUrl() file: public/apps/configuration/app-router.tsx start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 267 unit: href: buildUrl() file: public/apps/configuration/app-router.tsx start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 268 unit: href: buildUrl() file: public/apps/configuration/app-router.tsx start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 269 unit: href: buildUrl() file: public/apps/configuration/app-router.tsx start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 270 unit: href: buildUrl() file: public/apps/configuration/app-router.tsx start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 271 unit: tenant_permissions: unbuildTenantPermissionState() file: public/apps/configuration/panels/role-edit/role-edit.tsx start line: 151 end line: 154 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 272 unit: render: truncatedListView() file: public/apps/configuration/panels/role-list.tsx start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 273 unit: render: truncatedListView() file: public/apps/configuration/panels/role-list.tsx start line: 86 end line: 88 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 274 unit: render: truncatedListView() file: public/apps/configuration/panels/role-list.tsx start line: 91 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 275 unit: options: buildSearchFilterOptions() file: public/apps/configuration/panels/role-list.tsx start line: 200 end line: 202 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 276 unit: options: buildSearchFilterOptions() file: public/apps/configuration/panels/role-list.tsx start line: 207 end line: 209 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 277 unit: options: buildSearchFilterOptions() file: public/apps/configuration/panels/role-list.tsx start line: 214 end line: 216 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 278 unit: options: buildSearchFilterOptions() file: public/apps/configuration/panels/role-list.tsx start line: 221 end line: 223 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 279 unit: options: buildSearchFilterOptions() file: public/apps/configuration/panels/role-list.tsx start line: 228 end line: 230 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 280 unit: view: renderCustomization() file: public/apps/configuration/panels/role-list.tsx start line: 238 end line: 240 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 281 unit: export function renderBooleanToCheckMark() file: public/apps/configuration/panels/permission-list/permission-list.tsx start line: 58 end line: 60 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 282 unit: view: renderCustomization() file: public/apps/configuration/panels/permission-list/permission-list.tsx start line: 167 end line: 169 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 283 unit: await updateActionGroup() file: public/apps/configuration/panels/permission-list/permission-list.tsx start line: 279 end line: 281 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 284 unit: function getEmptyExternalIdentity() file: public/apps/configuration/panels/role-mapping/external-identities-panel.tsx start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 285 unit: render: truncatedListView() file: public/apps/configuration/panels/user-list.tsx start line: 87 end line: 89 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 286 unit: await updateTenant() file: public/apps/configuration/panels/tenant-list/tenant-list.tsx start line: 301 end line: 303 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 287 unit: attributes: unbuildAttributeState() file: public/apps/configuration/panels/internal-user-edit/internal-user-edit.tsx start line: 111 end line: 115 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 288 unit: function getEmptyAttribute() file: public/apps/configuration/panels/internal-user-edit/attribute-panel.tsx start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 289 unit: render: renderDocumentLevelSecurity() file: public/apps/configuration/panels/role-view/index-permission-panel.tsx start line: 148 end line: 150 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 290 unit: render: renderFieldLevelSecurity() file: public/apps/configuration/panels/role-view/index-permission-panel.tsx start line: 153 end line: 155 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 291 unit: export function excludeFromDisabledRestCategories() file: public/apps/configuration/panels/audit-logging/constants.tsx start line: 79 end line: 81 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 292 unit: export function excludeFromDisabledTransportCategories() file: public/apps/configuration/panels/audit-logging/constants.tsx start line: 110 end line: 112 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 293 unit: export function translateMessage() file: public/apps/translation-utils.ts start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 294 unit: export function plugin() file: public/index.ts start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 295 unit: export async function getAuthInfo() file: public/utils/auth-info-utils.tsx start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 296 unit: export async function getCurrentUser() file: public/utils/auth-info-utils.tsx start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 297 unit: export function setCrossPageToast() file: public/utils/storage-utils.tsx start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 298 unit: export function getShouldShowTenantPopup() file: public/utils/storage-utils.tsx start line: 62 end line: 64 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 299 unit: export function setShouldShowTenantPopup() file: public/utils/storage-utils.tsx start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 300 unit: export function getSavedTenant() file: public/utils/storage-utils.tsx start line: 70 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 301 unit: export function setSavedTenant() file: public/utils/storage-utils.tsx start line: 74 end line: 76 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 302 unit: export function isValidTenant() file: server/multitenancy/tenant_resolver.ts start line: 166 end line: 168 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 303 unit: constructor() file: server/errors/unauthenticated_error.ts start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 304 unit: constructor() file: server/errors/no_available_tenant_error.ts start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 305 unit: export function plugin() file: server/index.ts start line: 220 end line: 222 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 306 unit: constructor() file: server/plugin.ts start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 307 unit: getAdditionalAuthHeader() file: server/auth/types/basic/basic_auth.ts start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 308 unit: public async authenticateWithHeaders() file: server/backend/opensearch_security_client.ts start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 309 unit: Backend roles() file: public/apps/account/role-info-panel.tsx start line: 66 end line: 66 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 310 unit: public stop() file: public/plugin.ts start line: 178 end line: 178 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 311 unit: public stop() file: server/plugin.ts start line: 168 end line: 168 size: 1 LOC McCabe index: 1 number of parameters: 0