id: 1 unit: func NewHTTPErrResp() file: internal/pkg/api/error.go start line: 71 end line: 561 size: 475 LOC McCabe index: 8 number of parameters: 1 id: 2 unit: func() file: internal/pkg/api/handleEnroll.go start line: 196 end line: 449 size: 210 LOC McCabe index: 30 number of parameters: 1 id: 3 unit: func() file: internal/pkg/bulk/opApiKey.go start line: 112 end line: 267 size: 123 LOC McCabe index: 20 number of parameters: 1 id: 4 unit: func() file: internal/pkg/server/fleet.go start line: 88 end line: 234 size: 119 LOC McCabe index: 23 number of parameters: 1 id: 5 unit: func() file: internal/pkg/monitor/monitor.go start line: 206 end line: 375 size: 117 LOC McCabe index: 29 number of parameters: 1 id: 6 unit: func() file: internal/pkg/server/agent.go start line: 100 end line: 223 size: 114 LOC McCabe index: 33 number of parameters: 1 id: 7 unit: func() file: internal/pkg/api/handleCheckin.go start line: 260 end line: 400 size: 111 LOC McCabe index: 20 number of parameters: 1 id: 8 unit: func() file: internal/pkg/api/handleAck.go start line: 208 end line: 339 size: 103 LOC McCabe index: 21 number of parameters: 1 id: 9 unit: func() file: internal/pkg/checkin/bulk.go start line: 163 end line: 291 size: 98 LOC McCabe index: 16 number of parameters: 1 id: 10 unit: func() file: internal/pkg/server/fleet.go start line: 442 end line: 563 size: 97 LOC McCabe index: 13 number of parameters: 1 id: 11 unit: func() file: internal/pkg/bulk/opBulk.go start line: 168 end line: 294 size: 94 LOC McCabe index: 15 number of parameters: 1 id: 12 unit: func() file: internal/pkg/server/agent.go start line: 435 end line: 543 size: 94 LOC McCabe index: 17 number of parameters: 1 id: 13 unit: func() file: internal/pkg/bulk/opSearch.go start line: 123 end line: 240 size: 91 LOC McCabe index: 14 number of parameters: 1 id: 14 unit: func() file: internal/pkg/api/handleCheckin.go start line: 426 end line: 523 size: 89 LOC McCabe index: 22 number of parameters: 1 id: 15 unit: func() file: internal/pkg/bulk/opRead.go start line: 66 end line: 181 size: 87 LOC McCabe index: 14 number of parameters: 1 id: 16 unit: func() file: internal/pkg/api/openapi.gen.go start line: 2130 end line: 2240 size: 80 LOC McCabe index: 15 number of parameters: 1 id: 17 unit: func defaultserverLimitDefaults() file: internal/pkg/config/env_defaults.go start line: 162 end line: 240 size: 79 LOC McCabe index: 1 number of parameters: 0 id: 18 unit: func() file: internal/pkg/config/output.go start line: 85 end line: 178 size: 78 LOC McCabe index: 16 number of parameters: 1 id: 19 unit: func() file: internal/pkg/api/handleCheckin.go start line: 547 end line: 636 size: 75 LOC McCabe index: 14 number of parameters: 1 id: 20 unit: func() file: internal/pkg/bulk/engine.go start line: 345 end line: 456 size: 73 LOC McCabe index: 13 number of parameters: 1 id: 21 unit: func easyjsonCef4e921DecodeGithubComElasticFleetServerV7InternalPkgEs3() file: internal/pkg/bulk/schema_easyjson.go start line: 711 end line: 783 size: 73 LOC McCabe index: 20 number of parameters: 2 id: 22 unit: func() file: internal/pkg/api/openapi.gen.go start line: 2527 end line: 2627 size: 72 LOC McCabe index: 13 number of parameters: 1 id: 23 unit: func() file: internal/pkg/file/uploader/upload.go start line: 58 end line: 148 size: 70 LOC McCabe index: 14 number of parameters: 1 id: 24 unit: func easyjsonCef4e921DecodeGithubComElasticFleetServerV7InternalPkgBulk() file: internal/pkg/bulk/schema_easyjson.go start line: 25 end line: 93 size: 69 LOC McCabe index: 18 number of parameters: 2 id: 25 unit: func authAgent() file: internal/pkg/api/auth.go start line: 90 end line: 182 size: 69 LOC McCabe index: 13 number of parameters: 4 id: 26 unit: func() file: internal/pkg/api/handleCheckin.go start line: 174 end line: 258 size: 68 LOC McCabe index: 14 number of parameters: 1 id: 27 unit: func easyjsonCef4e921EncodeGithubComElasticFleetServerV7InternalPkgEs3() file: internal/pkg/bulk/schema_easyjson.go start line: 784 end line: 850 size: 67 LOC McCabe index: 8 number of parameters: 2 id: 28 unit: func convertActionData() file: internal/pkg/api/handleCheckin.go start line: 706 end line: 774 size: 67 LOC McCabe index: 17 number of parameters: 2 id: 29 unit: func getRunCommand() file: cmd/fleet/main.go start line: 62 end line: 137 size: 67 LOC McCabe index: 17 number of parameters: 1 id: 30 unit: func processPolicy() file: internal/pkg/api/handleCheckin.go start line: 826 end line: 903 size: 66 LOC McCabe index: 11 number of parameters: 5 id: 31 unit: func encodePreambleToCBOR() file: internal/pkg/file/cbor/chunk.go start line: 55 end line: 128 size: 65 LOC McCabe index: 8 number of parameters: 4 id: 32 unit: func easyjsonCef4e921DecodeGithubComElasticFleetServerV7InternalPkgEs() file: internal/pkg/bulk/schema_easyjson.go start line: 556 end line: 619 size: 64 LOC McCabe index: 15 number of parameters: 2 id: 33 unit: func easyjsonCef4e921DecodeGithubComElasticFleetServerV7InternalPkgBulk2() file: internal/pkg/bulk/schema_easyjson.go start line: 270 end line: 332 size: 63 LOC McCabe index: 17 number of parameters: 2 id: 34 unit: func mergeRoles() file: internal/pkg/policy/policy_output.go start line: 396 end line: 472 size: 62 LOC McCabe index: 16 number of parameters: 3 id: 35 unit: func() file: internal/pkg/api/server.go start line: 45 end line: 121 size: 62 LOC McCabe index: 12 number of parameters: 1 id: 36 unit: func ParseAgentAcksResponse() file: pkg/api/client.gen.go start line: 1751 end line: 1823 size: 62 LOC McCabe index: 26 number of parameters: 1 id: 37 unit: func ParseAgentCheckinResponse() file: pkg/api/client.gen.go start line: 1880 end line: 1952 size: 62 LOC McCabe index: 26 number of parameters: 1 id: 38 unit: func easyjsonCef4e921DecodeGithubComElasticFleetServerV7InternalPkgEs1() file: internal/pkg/bulk/schema_easyjson.go start line: 412 end line: 471 size: 60 LOC McCabe index: 15 number of parameters: 2 id: 39 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1903 end line: 1985 size: 60 LOC McCabe index: 11 number of parameters: 1 id: 40 unit: func() file: internal/pkg/bulk/engine.go start line: 458 end line: 529 size: 59 LOC McCabe index: 7 number of parameters: 1 id: 41 unit: func GetChunkInfos() file: internal/pkg/file/es.go start line: 140 end line: 205 size: 59 LOC McCabe index: 12 number of parameters: 5 id: 42 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1816 end line: 1900 size: 59 LOC McCabe index: 11 number of parameters: 1 id: 43 unit: func NewAgentCheckinRequestWithBody() file: pkg/api/client.gen.go start line: 653 end line: 732 size: 58 LOC McCabe index: 14 number of parameters: 5 id: 44 unit: func ParseUploadCompleteResponse() file: pkg/api/client.gen.go start line: 2145 end line: 2212 size: 58 LOC McCabe index: 23 number of parameters: 1 id: 45 unit: func NewAgentCheckinRequestWithBody() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 462 end line: 541 size: 58 LOC McCabe index: 14 number of parameters: 5 id: 46 unit: func() file: internal/pkg/config/instrumentation.go start line: 53 end line: 116 size: 57 LOC McCabe index: 14 number of parameters: 1 id: 47 unit: func easyjsonCef4e921DecodeGithubComElasticFleetServerV7InternalPkgBulk1() file: internal/pkg/bulk/schema_easyjson.go start line: 160 end line: 215 size: 56 LOC McCabe index: 13 number of parameters: 2 id: 48 unit: func() file: internal/pkg/bulk/opMulti.go start line: 31 end line: 114 size: 56 LOC McCabe index: 14 number of parameters: 1 id: 49 unit: func() file: internal/pkg/api/handleAck.go start line: 439 end line: 499 size: 56 LOC McCabe index: 9 number of parameters: 1 id: 50 unit: func() file: internal/pkg/api/handleStatus.go start line: 80 end line: 146 size: 56 LOC McCabe index: 10 number of parameters: 1 id: 51 unit: func ParseArtifactResponse() file: pkg/api/client.gen.go start line: 1955 end line: 2020 size: 56 LOC McCabe index: 23 number of parameters: 1 id: 52 unit: func ParseUploadBeginResponse() file: pkg/api/client.gen.go start line: 2077 end line: 2142 size: 56 LOC McCabe index: 23 number of parameters: 1 id: 53 unit: func ParseAgentAcksResponse() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1447 end line: 1512 size: 56 LOC McCabe index: 23 number of parameters: 1 id: 54 unit: func ParseAgentCheckinResponse() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1515 end line: 1580 size: 56 LOC McCabe index: 23 number of parameters: 1 id: 55 unit: func ParseArtifactResponse() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1583 end line: 1648 size: 56 LOC McCabe index: 23 number of parameters: 1 id: 56 unit: func easyjsonCef4e921EncodeGithubComElasticFleetServerV7InternalPkgBulk2() file: internal/pkg/bulk/schema_easyjson.go start line: 333 end line: 387 size: 55 LOC McCabe index: 5 number of parameters: 2 id: 57 unit: func CreateRandomActions() file: internal/pkg/testing/actions.go start line: 70 end line: 139 size: 55 LOC McCabe index: 7 number of parameters: 1 id: 58 unit: func NewUploadChunkRequestWithBody() file: pkg/api/client.gen.go start line: 1001 end line: 1076 size: 55 LOC McCabe index: 13 number of parameters: 6 id: 59 unit: func NewUploadChunkRequestWithBody() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 810 end line: 885 size: 55 LOC McCabe index: 13 number of parameters: 6 id: 60 unit: func easyjsonCef4e921DecodeGithubComElasticFleetServerV7InternalPkgBulk3() file: internal/pkg/bulk/schema_easyjson.go start line: 924 end line: 977 size: 54 LOC McCabe index: 12 number of parameters: 2 id: 61 unit: func encodeParams() file: internal/pkg/checkin/bulk.go start line: 293 end line: 346 size: 54 LOC McCabe index: 4 number of parameters: 2 id: 62 unit: func() file: internal/pkg/policy/monitor.go start line: 126 end line: 186 size: 54 LOC McCabe index: 11 number of parameters: 1 id: 63 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1154 end line: 1213 size: 54 LOC McCabe index: 15 number of parameters: 1 id: 64 unit: func() file: internal/pkg/api/openapi.gen.go start line: 2243 end line: 2320 size: 54 LOC McCabe index: 10 number of parameters: 1 id: 65 unit: func() file: pkg/api/types.gen.go start line: 1151 end line: 1210 size: 54 LOC McCabe index: 15 number of parameters: 1 id: 66 unit: func() file: pkg/api/versions/2023_06_01/api/types.gen.go start line: 767 end line: 826 size: 54 LOC McCabe index: 15 number of parameters: 1 id: 67 unit: func NewGetPGPKeyRequest() file: pkg/api/client.gen.go start line: 347 end line: 418 size: 53 LOC McCabe index: 13 number of parameters: 5 id: 68 unit: func easyjsonCef4e921DecodeGithubComElasticFleetServerV7InternalPkgBulk5() file: internal/pkg/bulk/schema_easyjson.go start line: 1104 end line: 1155 size: 52 LOC McCabe index: 11 number of parameters: 2 id: 69 unit: func() file: internal/pkg/policy/self.go start line: 190 end line: 251 size: 52 LOC McCabe index: 10 number of parameters: 1 id: 70 unit: func injectMissingOutputAttributes() file: internal/pkg/server/agent.go start line: 578 end line: 641 size: 52 LOC McCabe index: 10 number of parameters: 3 id: 71 unit: func ParseUploadCompleteResponse() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1766 end line: 1826 size: 52 LOC McCabe index: 20 number of parameters: 1 id: 72 unit: func HandlerWithOptions() file: internal/pkg/api/openapi.gen.go start line: 2787 end line: 2839 size: 50 LOC McCabe index: 3 number of parameters: 2 id: 73 unit: func ParseAgentEnrollResponse() file: pkg/api/client.gen.go start line: 1690 end line: 1748 size: 50 LOC McCabe index: 20 number of parameters: 1 id: 74 unit: func ParseUploadChunkResponse() file: pkg/api/client.gen.go start line: 2215 end line: 2273 size: 50 LOC McCabe index: 20 number of parameters: 1 id: 75 unit: func ParseAgentEnrollResponse() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1386 end line: 1444 size: 50 LOC McCabe index: 20 number of parameters: 1 id: 76 unit: func ParseUploadBeginResponse() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1705 end line: 1763 size: 50 LOC McCabe index: 20 number of parameters: 1 id: 77 unit: func Middleware() file: internal/pkg/logger/http.go start line: 202 end line: 267 size: 49 LOC McCabe index: 8 number of parameters: 1 id: 78 unit: func() file: internal/pkg/policy/monitor.go start line: 358 end line: 428 size: 49 LOC McCabe index: 5 number of parameters: 1 id: 79 unit: func migrateAgentOutputs() file: internal/pkg/dl/migration.go start line: 214 end line: 269 size: 48 LOC McCabe index: 5 number of parameters: 0 id: 80 unit: func NewParsedPolicy() file: internal/pkg/policy/parsed_policy.go start line: 57 end line: 110 size: 48 LOC McCabe index: 9 number of parameters: 3 id: 81 unit: func() file: internal/pkg/policy/monitor.go start line: 226 end line: 284 size: 48 LOC McCabe index: 7 number of parameters: 1 id: 82 unit: func() file: internal/pkg/server/fleet.go start line: 348 end line: 427 size: 48 LOC McCabe index: 9 number of parameters: 1 id: 83 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1988 end line: 2056 size: 48 LOC McCabe index: 9 number of parameters: 1 id: 84 unit: func() file: internal/pkg/api/openapi.gen.go start line: 2059 end line: 2127 size: 48 LOC McCabe index: 9 number of parameters: 1 id: 85 unit: func() file: internal/pkg/api/openapi.gen.go start line: 2323 end line: 2391 size: 48 LOC McCabe index: 9 number of parameters: 1 id: 86 unit: func() file: internal/pkg/api/openapi.gen.go start line: 2456 end line: 2524 size: 48 LOC McCabe index: 9 number of parameters: 1 id: 87 unit: func authAPIKey() file: internal/pkg/api/auth.go start line: 32 end line: 86 size: 48 LOC McCabe index: 5 number of parameters: 3 id: 88 unit: func Create() file: internal/pkg/apikey/create.go start line: 18 end line: 73 size: 48 LOC McCabe index: 5 number of parameters: 7 id: 89 unit: func NewArtifactRequest() file: pkg/api/client.gen.go start line: 735 end line: 799 size: 48 LOC McCabe index: 12 number of parameters: 4 id: 90 unit: func NewArtifactRequest() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 544 end line: 608 size: 48 LOC McCabe index: 12 number of parameters: 4 id: 91 unit: func() file: internal/pkg/file/uploader/finalize.go start line: 100 end line: 161 size: 47 LOC McCabe index: 12 number of parameters: 1 id: 92 unit: func() file: internal/pkg/policy/monitor.go start line: 446 end line: 497 size: 47 LOC McCabe index: 5 number of parameters: 1 id: 93 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1049 end line: 1100 size: 47 LOC McCabe index: 13 number of parameters: 1 id: 94 unit: func() file: internal/pkg/api/handleAck.go start line: 594 end line: 645 size: 47 LOC McCabe index: 7 number of parameters: 1 id: 95 unit: func GenCert() file: internal/pkg/testing/certs/certs.go start line: 136 end line: 191 size: 47 LOC McCabe index: 4 number of parameters: 2 id: 96 unit: func EnsureILMPolicy() file: internal/pkg/testing/esutil/ilm.go start line: 37 end line: 103 size: 47 LOC McCabe index: 9 number of parameters: 3 id: 97 unit: func() file: pkg/api/types.gen.go start line: 1046 end line: 1097 size: 47 LOC McCabe index: 13 number of parameters: 1 id: 98 unit: func() file: pkg/api/versions/2023_06_01/api/types.gen.go start line: 662 end line: 713 size: 47 LOC McCabe index: 13 number of parameters: 1 id: 99 unit: func applyMigration() file: internal/pkg/dl/migration.go start line: 88 end line: 144 size: 45 LOC McCabe index: 6 number of parameters: 5 id: 100 unit: func NewAgentEnrollRequestWithBody() file: pkg/api/client.gen.go start line: 432 end line: 493 size: 45 LOC McCabe index: 11 number of parameters: 4 id: 101 unit: func NewAgentEnrollRequestWithBody() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 314 end line: 375 size: 45 LOC McCabe index: 11 number of parameters: 4 id: 102 unit: func() file: internal/pkg/dsl/tmpl.go start line: 60 end line: 121 size: 44 LOC McCabe index: 10 number of parameters: 1 id: 103 unit: func RunProfiler() file: internal/pkg/profile/profile.go start line: 22 end line: 72 size: 44 LOC McCabe index: 6 number of parameters: 2 id: 104 unit: func() file: internal/pkg/api/handleAck.go start line: 383 end line: 437 size: 44 LOC McCabe index: 10 number of parameters: 1 id: 105 unit: func parseComponents() file: internal/pkg/api/handleCheckin.go start line: 989 end line: 1051 size: 44 LOC McCabe index: 12 number of parameters: 3 id: 106 unit: func NewAgentAcksRequestWithBody() file: pkg/api/client.gen.go start line: 507 end line: 566 size: 44 LOC McCabe index: 11 number of parameters: 5 id: 107 unit: func NewAuditUnenrollRequestWithBody() file: pkg/api/client.gen.go start line: 580 end line: 639 size: 44 LOC McCabe index: 11 number of parameters: 5 id: 108 unit: func NewUploadCompleteRequestWithBody() file: pkg/api/client.gen.go start line: 939 end line: 998 size: 44 LOC McCabe index: 11 number of parameters: 5 id: 109 unit: func ParseAuditUnenrollResponse() file: pkg/api/client.gen.go start line: 1826 end line: 1877 size: 44 LOC McCabe index: 17 number of parameters: 1 id: 110 unit: func ParseGetFileResponse() file: pkg/api/client.gen.go start line: 2023 end line: 2074 size: 44 LOC McCabe index: 17 number of parameters: 1 id: 111 unit: func NewAgentAcksRequestWithBody() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 389 end line: 448 size: 44 LOC McCabe index: 11 number of parameters: 5 id: 112 unit: func NewUploadCompleteRequestWithBody() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 748 end line: 807 size: 44 LOC McCabe index: 11 number of parameters: 5 id: 113 unit: func ParseGetFileResponse() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1651 end line: 1702 size: 44 LOC McCabe index: 17 number of parameters: 1 id: 114 unit: func ParseUploadChunkResponse() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1829 end line: 1880 size: 44 LOC McCabe index: 17 number of parameters: 1 id: 115 unit: func convertActions() file: internal/pkg/api/handleCheckin.go start line: 776 end line: 821 size: 43 LOC McCabe index: 9 number of parameters: 3 id: 116 unit: func NewGetFileRequest() file: pkg/api/client.gen.go start line: 802 end line: 859 size: 43 LOC McCabe index: 11 number of parameters: 3 id: 117 unit: func NewGetFileRequest() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 611 end line: 668 size: 43 LOC McCabe index: 11 number of parameters: 3 id: 118 unit: func() file: internal/pkg/bulk/engine.go start line: 166 end line: 212 size: 42 LOC McCabe index: 9 number of parameters: 1 id: 119 unit: func easyjsonCef4e921EncodeGithubComElasticFleetServerV7InternalPkgBulk() file: internal/pkg/bulk/schema_easyjson.go start line: 94 end line: 135 size: 42 LOC McCabe index: 5 number of parameters: 2 id: 120 unit: func easyjsonCef4e921Decode() file: internal/pkg/bulk/schema_easyjson.go start line: 851 end line: 892 size: 42 LOC McCabe index: 10 number of parameters: 2 id: 121 unit: func() file: internal/pkg/bulk/opSearch.go start line: 63 end line: 114 size: 42 LOC McCabe index: 10 number of parameters: 1 id: 122 unit: func() file: internal/pkg/api/openapi.gen.go start line: 2394 end line: 2453 size: 42 LOC McCabe index: 8 number of parameters: 1 id: 123 unit: func() file: internal/pkg/api/openapi.gen.go start line: 2630 end line: 2689 size: 42 LOC McCabe index: 8 number of parameters: 1 id: 124 unit: func Read() file: internal/pkg/apikey/apikey.go start line: 44 end line: 94 size: 42 LOC McCabe index: 6 number of parameters: 4 id: 125 unit: func EnsureTemplate() file: internal/pkg/testing/esutil/template.go start line: 52 end line: 108 size: 42 LOC McCabe index: 7 number of parameters: 5 id: 126 unit: func() file: internal/pkg/policy/self.go start line: 87 end line: 131 size: 40 LOC McCabe index: 10 number of parameters: 1 id: 127 unit: func() file: internal/pkg/config/output.go start line: 236 end line: 276 size: 39 LOC McCabe index: 6 number of parameters: 1 id: 128 unit: func validateUserAgent() file: internal/pkg/api/userAgent.go start line: 50 end line: 98 size: 39 LOC McCabe index: 5 number of parameters: 4 id: 129 unit: func GenCA() file: internal/pkg/testing/certs/certs.go start line: 72 end line: 115 size: 39 LOC McCabe index: 4 number of parameters: 1 id: 130 unit: func NewUploadBeginRequestWithBody() file: pkg/api/client.gen.go start line: 873 end line: 925 size: 39 LOC McCabe index: 10 number of parameters: 4 id: 131 unit: func NewUploadBeginRequestWithBody() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 682 end line: 734 size: 39 LOC McCabe index: 10 number of parameters: 4 id: 132 unit: func() file: internal/pkg/throttle/throttle.go start line: 49 end line: 98 size: 38 LOC McCabe index: 4 number of parameters: 1 id: 133 unit: func ProcessOutputSecret() file: internal/pkg/policy/secret.go start line: 191 end line: 230 size: 38 LOC McCabe index: 9 number of parameters: 3 id: 134 unit: func() file: internal/pkg/server/agent.go start line: 339 end line: 383 size: 38 LOC McCabe index: 9 number of parameters: 1 id: 135 unit: func eventToActionResult() file: internal/pkg/api/handleAck.go start line: 166 end line: 203 size: 38 LOC McCabe index: 3 number of parameters: 4 id: 136 unit: func CleanIndex() file: internal/pkg/testing/setup.go start line: 97 end line: 141 size: 38 LOC McCabe index: 8 number of parameters: 4 id: 137 unit: func NewStatusRequest() file: pkg/api/client.gen.go start line: 1079 end line: 1129 size: 38 LOC McCabe index: 10 number of parameters: 2 id: 138 unit: func NewStatusRequest() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 888 end line: 938 size: 38 LOC McCabe index: 10 number of parameters: 2 id: 139 unit: func easyjsonCef4e921DecodeGithubComElasticFleetServerV7InternalPkgBulk6() file: internal/pkg/bulk/schema_easyjson.go start line: 1202 end line: 1238 size: 37 LOC McCabe index: 10 number of parameters: 2 id: 140 unit: func() file: internal/pkg/file/cbor/chunk.go start line: 133 end line: 177 size: 37 LOC McCabe index: 9 number of parameters: 1 id: 141 unit: func() file: internal/pkg/es/result.go start line: 69 end line: 108 size: 37 LOC McCabe index: 8 number of parameters: 1 id: 142 unit: func() file: internal/pkg/api/metadata.go start line: 40 end line: 81 size: 37 LOC McCabe index: 10 number of parameters: 1 id: 143 unit: func pathToOperation() file: internal/pkg/api/router.go start line: 81 end line: 118 size: 37 LOC McCabe index: 18 number of parameters: 1 id: 144 unit: func easyjsonCef4e921EncodeGithubComElasticFleetServerV7InternalPkgEs() file: internal/pkg/bulk/schema_easyjson.go start line: 620 end line: 655 size: 36 LOC McCabe index: 6 number of parameters: 2 id: 145 unit: func easyjsonCef4e921Decode1() file: internal/pkg/bulk/schema_easyjson.go start line: 656 end line: 691 size: 36 LOC McCabe index: 8 number of parameters: 2 id: 146 unit: func NewCheckinT() file: internal/pkg/api/handleCheckin.go start line: 87 end line: 123 size: 36 LOC McCabe index: 3 number of parameters: 8 id: 147 unit: func() file: internal/pkg/bulk/engine.go start line: 601 end line: 641 size: 35 LOC McCabe index: 5 number of parameters: 1 id: 148 unit: func easyjsonCef4e921EncodeGithubComElasticFleetServerV7InternalPkgEs1() file: internal/pkg/bulk/schema_easyjson.go start line: 472 end line: 506 size: 35 LOC McCabe index: 4 number of parameters: 2 id: 149 unit: func easyjsonCef4e921DecodeGithubComElasticFleetServerV7InternalPkgBulk4() file: internal/pkg/bulk/schema_easyjson.go start line: 1029 end line: 1063 size: 35 LOC McCabe index: 9 number of parameters: 2 id: 150 unit: func() file: internal/pkg/file/uploader/finalize.go start line: 26 end line: 75 size: 35 LOC McCabe index: 9 number of parameters: 1 id: 151 unit: func() file: internal/pkg/server/agent.go start line: 236 end line: 276 size: 35 LOC McCabe index: 9 number of parameters: 1 id: 152 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1216 end line: 1256 size: 35 LOC McCabe index: 10 number of parameters: 1 id: 153 unit: func renderILMPolicy() file: internal/pkg/testing/esutil/ilm.go start line: 168 end line: 208 size: 35 LOC McCabe index: 8 number of parameters: 3 id: 154 unit: func() file: pkg/api/types.gen.go start line: 1213 end line: 1253 size: 35 LOC McCabe index: 10 number of parameters: 1 id: 155 unit: func() file: pkg/api/versions/2023_06_01/api/types.gen.go start line: 829 end line: 869 size: 35 LOC McCabe index: 10 number of parameters: 1 id: 156 unit: func() file: internal/pkg/monitor/monitor.go start line: 411 end line: 448 size: 34 LOC McCabe index: 7 number of parameters: 1 id: 157 unit: func() file: internal/pkg/policy/policy_output.go start line: 48 end line: 83 size: 34 LOC McCabe index: 8 number of parameters: 1 id: 158 unit: func() file: internal/pkg/server/agent.go start line: 278 end line: 321 size: 34 LOC McCabe index: 11 number of parameters: 1 id: 159 unit: func invalidateAPIKey() file: internal/pkg/api/handleEnroll.go start line: 506 end line: 549 size: 34 LOC McCabe index: 8 number of parameters: 4 id: 160 unit: func easyjsonCef4e921DecodeGithubComElasticFleetServerV7InternalPkgEs2() file: internal/pkg/bulk/schema_easyjson.go start line: 507 end line: 539 size: 33 LOC McCabe index: 8 number of parameters: 2 id: 161 unit: func UpdateFileDoc() file: internal/pkg/file/uploader/es.go start line: 78 end line: 116 size: 33 LOC McCabe index: 5 number of parameters: 6 id: 162 unit: func() file: internal/pkg/api/handleAck.go start line: 341 end line: 381 size: 33 LOC McCabe index: 7 number of parameters: 1 id: 163 unit: func createTemplate() file: internal/pkg/testing/esutil/template.go start line: 110 end line: 147 size: 33 LOC McCabe index: 7 number of parameters: 7 id: 164 unit: func parseResponseError() file: internal/pkg/testing/esutil/esutil.go start line: 82 end line: 121 size: 33 LOC McCabe index: 5 number of parameters: 2 id: 165 unit: func ParseStatusResponse() file: pkg/api/client.gen.go start line: 2276 end line: 2316 size: 33 LOC McCabe index: 12 number of parameters: 1 id: 166 unit: func ParseStatusResponse() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1883 end line: 1923 size: 33 LOC McCabe index: 12 number of parameters: 1 id: 167 unit: func FindArtifact() file: internal/pkg/dl/artifact.go start line: 32 end line: 71 size: 32 LOC McCabe index: 5 number of parameters: 4 id: 168 unit: func GetInfo() file: internal/pkg/file/es.go start line: 83 end line: 118 size: 32 LOC McCabe index: 6 number of parameters: 4 id: 169 unit: func makeURL() file: internal/pkg/config/output.go start line: 194 end line: 234 size: 32 LOC McCabe index: 9 number of parameters: 4 id: 170 unit: func() file: internal/pkg/model/ext.go start line: 47 end line: 81 size: 32 LOC McCabe index: 8 number of parameters: 1 id: 171 unit: func() file: internal/pkg/server/fleet.go start line: 576 end line: 613 size: 32 LOC McCabe index: 7 number of parameters: 1 id: 172 unit: func compareHashAndToken() file: internal/pkg/api/handleEnroll.go start line: 715 end line: 755 size: 32 LOC McCabe index: 8 number of parameters: 4 id: 173 unit: func() file: internal/pkg/api/handleArtifacts.go start line: 158 end line: 206 size: 32 LOC McCabe index: 6 number of parameters: 1 id: 174 unit: func parseMeta() file: internal/pkg/api/handleCheckin.go start line: 940 end line: 987 size: 32 LOC McCabe index: 7 number of parameters: 3 id: 175 unit: func calcUnhealthyReason() file: internal/pkg/api/handleCheckin.go start line: 1053 end line: 1085 size: 32 LOC McCabe index: 14 number of parameters: 1 id: 176 unit: func() file: internal/pkg/apikey/auth.go start line: 39 end line: 79 size: 32 LOC McCabe index: 8 number of parameters: 1 id: 177 unit: func checkUpdateILMPolicy() file: internal/pkg/testing/esutil/ilm.go start line: 105 end line: 143 size: 32 LOC McCabe index: 5 number of parameters: 5 id: 178 unit: func easyjsonCef4e921Encode() file: internal/pkg/bulk/schema_easyjson.go start line: 893 end line: 923 size: 31 LOC McCabe index: 1 number of parameters: 2 id: 179 unit: func DeleteExpiredForIndex() file: internal/pkg/dl/actions.go start line: 129 end line: 166 size: 31 LOC McCabe index: 7 number of parameters: 4 id: 180 unit: func() file: internal/pkg/file/delivery/delivery.go start line: 78 end line: 111 size: 31 LOC McCabe index: 6 number of parameters: 1 id: 181 unit: func init() file: internal/pkg/config/env_defaults.go start line: 247 end line: 277 size: 31 LOC McCabe index: 8 number of parameters: 0 id: 182 unit: func findDefaultOutputName() file: internal/pkg/policy/parsed_policy.go start line: 169 end line: 206 size: 31 LOC McCabe index: 10 number of parameters: 1 id: 183 unit: func replaceMapRef() file: internal/pkg/policy/secret.go start line: 71 end line: 102 size: 31 LOC McCabe index: 8 number of parameters: 2 id: 184 unit: func replaceSliceRef() file: internal/pkg/policy/secret.go start line: 105 end line: 136 size: 31 LOC McCabe index: 8 number of parameters: 2 id: 185 unit: func renderUpdatePainlessScript() file: internal/pkg/policy/policy_output.go start line: 474 end line: 513 size: 31 LOC McCabe index: 7 number of parameters: 2 id: 186 unit: func() file: internal/pkg/api/handleUpload.go start line: 125 end line: 166 size: 31 LOC McCabe index: 5 number of parameters: 1 id: 187 unit: func() file: internal/pkg/api/router.go start line: 120 end line: 151 size: 31 LOC McCabe index: 12 number of parameters: 1 id: 188 unit: func easyjsonCef4e921EncodeGithubComElasticFleetServerV7InternalPkgBulk1() file: internal/pkg/bulk/schema_easyjson.go start line: 216 end line: 245 size: 30 LOC McCabe index: 4 number of parameters: 2 id: 189 unit: func redactServer() file: internal/pkg/config/config.go start line: 196 end line: 232 size: 30 LOC McCabe index: 8 number of parameters: 1 id: 190 unit: func writeError() file: internal/pkg/limit/error.go start line: 22 end line: 51 size: 30 LOC McCabe index: 4 number of parameters: 3 id: 191 unit: func() file: internal/pkg/policy/standalone.go start line: 84 end line: 118 size: 30 LOC McCabe index: 7 number of parameters: 1 id: 192 unit: func() file: internal/pkg/api/handleEnroll.go start line: 451 end line: 484 size: 30 LOC McCabe index: 6 number of parameters: 1 id: 193 unit: func() file: internal/pkg/api/handleArtifacts.go start line: 59 end line: 94 size: 30 LOC McCabe index: 6 number of parameters: 1 id: 194 unit: func() file: internal/pkg/api/handleUpload.go start line: 87 end line: 123 size: 30 LOC McCabe index: 6 number of parameters: 1 id: 195 unit: func() file: internal/pkg/bulk/engine.go start line: 216 end line: 244 size: 29 LOC McCabe index: 6 number of parameters: 1 id: 196 unit: func() file: internal/pkg/monitor/subscription_monitor.go start line: 137 end line: 165 size: 29 LOC McCabe index: 5 number of parameters: 1 id: 197 unit: func() file: internal/pkg/api/handleAck.go start line: 501 end line: 532 size: 29 LOC McCabe index: 2 number of parameters: 1 id: 198 unit: func() file: internal/pkg/api/handleFileDelivery.go start line: 38 end line: 77 size: 29 LOC McCabe index: 9 number of parameters: 1 id: 199 unit: func() file: internal/pkg/bulk/opSearch.go start line: 22 end line: 61 size: 28 LOC McCabe index: 6 number of parameters: 1 id: 200 unit: func NewSimple() file: internal/pkg/monitor/monitor.go start line: 107 end line: 138 size: 28 LOC McCabe index: 4 number of parameters: 4 id: 201 unit: func() file: internal/pkg/policy/monitor.go start line: 286 end line: 314 size: 28 LOC McCabe index: 5 number of parameters: 1 id: 202 unit: func ErrorResp() file: internal/pkg/api/error.go start line: 576 end line: 605 size: 28 LOC McCabe index: 6 number of parameters: 3 id: 203 unit: func() file: internal/pkg/api/handleArtifacts.go start line: 104 end line: 139 size: 28 LOC McCabe index: 5 number of parameters: 1 id: 204 unit: func() file: internal/pkg/api/handleAck.go start line: 106 end line: 141 size: 28 LOC McCabe index: 6 number of parameters: 1 id: 205 unit: func Invalidate() file: internal/pkg/apikey/invalidate.go start line: 18 end line: 51 size: 28 LOC McCabe index: 4 number of parameters: 3 id: 206 unit: func() file: internal/pkg/bulk/opBulk.go start line: 49 end line: 84 size: 27 LOC McCabe index: 6 number of parameters: 1 id: 207 unit: func easyjsonCef4e921EncodeGithubComElasticFleetServerV7InternalPkgBulk3() file: internal/pkg/bulk/schema_easyjson.go start line: 978 end line: 1004 size: 27 LOC McCabe index: 5 number of parameters: 2 id: 208 unit: func QueryLatestPolicies() file: internal/pkg/dl/policies.go start line: 40 end line: 68 size: 27 LOC McCabe index: 8 number of parameters: 3 id: 209 unit: func() file: internal/pkg/action/dispatcher.go start line: 108 end line: 138 size: 27 LOC McCabe index: 6 number of parameters: 1 id: 210 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1103 end line: 1134 size: 27 LOC McCabe index: 7 number of parameters: 1 id: 211 unit: func() file: internal/pkg/api/handleEnroll.go start line: 109 end line: 144 size: 27 LOC McCabe index: 6 number of parameters: 1 id: 212 unit: func InitMetrics() file: internal/pkg/api/metrics.go start line: 241 end line: 273 size: 27 LOC McCabe index: 7 number of parameters: 4 id: 213 unit: func() file: pkg/api/types.gen.go start line: 1100 end line: 1131 size: 27 LOC McCabe index: 7 number of parameters: 1 id: 214 unit: func() file: pkg/api/versions/2023_06_01/api/types.gen.go start line: 716 end line: 747 size: 27 LOC McCabe index: 7 number of parameters: 1 id: 215 unit: func IndexChunk() file: internal/pkg/file/uploader/es.go start line: 122 end line: 149 size: 26 LOC McCabe index: 5 number of parameters: 6 id: 216 unit: func ClonePolicyData() file: internal/pkg/model/ext.go start line: 83 end line: 108 size: 26 LOC McCabe index: 4 number of parameters: 1 id: 217 unit: func TranslateError() file: internal/pkg/es/error.go start line: 99 end line: 129 size: 26 LOC McCabe index: 6 number of parameters: 2 id: 218 unit: func translateDetailedError() file: internal/pkg/es/error.go start line: 147 end line: 174 size: 26 LOC McCabe index: 3 number of parameters: 2 id: 219 unit: func reportOutputHealth() file: internal/pkg/policy/self.go start line: 262 end line: 289 size: 26 LOC McCabe index: 6 number of parameters: 3 id: 220 unit: func updateLocalMetaAgentID() file: internal/pkg/api/handleEnroll.go start line: 605 end line: 633 size: 26 LOC McCabe index: 9 number of parameters: 2 id: 221 unit: func calcPollDuration() file: internal/pkg/api/handleCheckin.go start line: 1087 end line: 1118 size: 26 LOC McCabe index: 5 number of parameters: 4 id: 222 unit: func CreateIndex() file: internal/pkg/testing/esutil/index.go start line: 18 end line: 48 size: 26 LOC McCabe index: 6 number of parameters: 3 id: 223 unit: func CreateDatastream() file: internal/pkg/testing/esutil/datastream.go start line: 18 end line: 48 size: 26 LOC McCabe index: 6 number of parameters: 3 id: 224 unit: func httpDebug() file: internal/pkg/logger/http.go start line: 164 end line: 193 size: 25 LOC McCabe index: 7 number of parameters: 2 id: 225 unit: func() file: internal/pkg/throttle/throttle.go start line: 101 end line: 135 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 226 unit: func getSecretIDAndPath() file: internal/pkg/policy/secret.go start line: 143 end line: 172 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 227 unit: func() file: internal/pkg/api/handlePGPRequest.go start line: 75 end line: 108 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 228 unit: func QueryOutputFromPolicy() file: internal/pkg/dl/policies.go start line: 92 end line: 115 size: 24 LOC McCabe index: 6 number of parameters: 4 id: 229 unit: func migrate() file: internal/pkg/dl/migration.go start line: 61 end line: 86 size: 24 LOC McCabe index: 5 number of parameters: 3 id: 230 unit: func httpMeta() file: internal/pkg/logger/http.go start line: 129 end line: 162 size: 24 LOC McCabe index: 6 number of parameters: 2 id: 231 unit: func() file: internal/pkg/config/cache.go start line: 34 end line: 58 size: 24 LOC McCabe index: 8 number of parameters: 1 id: 232 unit: func() file: internal/pkg/sqn/sqn.go start line: 30 end line: 55 size: 24 LOC McCabe index: 6 number of parameters: 1 id: 233 unit: func() file: internal/pkg/es/error.go start line: 43 end line: 68 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 234 unit: func apmConfigToInstrumentation() file: internal/pkg/server/agent.go start line: 546 end line: 573 size: 24 LOC McCabe index: 3 number of parameters: 1 id: 235 unit: func toOutput() file: internal/pkg/server/agent.go start line: 679 end line: 703 size: 24 LOC McCabe index: 6 number of parameters: 1 id: 236 unit: func() file: internal/pkg/server/agent.go start line: 726 end line: 750 size: 24 LOC McCabe index: 7 number of parameters: 1 id: 237 unit: func blkToQueueType() file: internal/pkg/bulk/engine.go start line: 318 end line: 343 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 238 unit: func Init() file: internal/pkg/logger/logger.go start line: 77 end line: 101 size: 23 LOC McCabe index: 3 number of parameters: 2 id: 239 unit: func RedactOutput() file: internal/pkg/config/config.go start line: 152 end line: 180 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 240 unit: func() file: internal/pkg/limit/limiter.go start line: 74 end line: 97 size: 23 LOC McCabe index: 5 number of parameters: 1 id: 241 unit: func NewClient() file: internal/pkg/es/client.go start line: 60 end line: 90 size: 23 LOC McCabe index: 4 number of parameters: 4 id: 242 unit: func getPolicyInputsWithSecrets() file: internal/pkg/policy/secret.go start line: 43 end line: 68 size: 23 LOC McCabe index: 6 number of parameters: 3 id: 243 unit: func() file: internal/pkg/api/handleEnroll.go start line: 149 end line: 176 size: 23 LOC McCabe index: 5 number of parameters: 1 id: 244 unit: func cleanRoles() file: internal/pkg/api/handleAck.go start line: 534 end line: 560 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 245 unit: func processGlobalCheckpointResponse() file: internal/pkg/gcheckpt/checkpoint.go start line: 70 end line: 100 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 246 unit: func easyjsonCef4e921EncodeGithubComElasticFleetServerV7InternalPkgBulk5() file: internal/pkg/bulk/schema_easyjson.go start line: 1156 end line: 1177 size: 22 LOC McCabe index: 5 number of parameters: 2 id: 247 unit: func parseError() file: internal/pkg/bulk/helpers.go start line: 31 end line: 57 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 248 unit: func() file: internal/pkg/file/uploader/upload.go start line: 150 end line: 178 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 249 unit: func() file: internal/pkg/file/uploader/jsdict.go start line: 81 end line: 105 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 250 unit: func() file: internal/pkg/checkin/bulk.go start line: 115 end line: 142 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 251 unit: func() file: internal/pkg/config/limits.go start line: 41 end line: 64 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 252 unit: func NewMonitor() file: internal/pkg/policy/monitor.go start line: 95 end line: 116 size: 22 LOC McCabe index: 3 number of parameters: 3 id: 253 unit: func() file: internal/pkg/server/agent.go start line: 407 end line: 431 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 254 unit: func init() file: internal/pkg/api/metrics.go start line: 57 end line: 81 size: 22 LOC McCabe index: 2 number of parameters: 0 id: 255 unit: func() file: internal/pkg/api/handleAck.go start line: 566 end line: 592 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 256 unit: func() file: internal/pkg/api/handlePGPRequest.go start line: 154 end line: 178 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 257 unit: func() file: internal/pkg/api/handleCheckin.go start line: 648 end line: 672 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 258 unit: func() file: internal/pkg/api/handleAudit.go start line: 73 end line: 98 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 259 unit: func() file: internal/pkg/api/apiVersion.go start line: 58 end line: 82 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 260 unit: func checkResponseError() file: internal/pkg/testing/esutil/esutil.go start line: 55 end line: 80 size: 22 LOC McCabe index: 6 number of parameters: 2 id: 261 unit: func DeleteIndices() file: internal/pkg/testing/esutil/index.go start line: 50 end line: 76 size: 22 LOC McCabe index: 5 number of parameters: 3 id: 262 unit: func easyjsonCef4e921EncodeGithubComElasticFleetServerV7InternalPkgBulk6() file: internal/pkg/bulk/schema_easyjson.go start line: 1239 end line: 1259 size: 21 LOC McCabe index: 2 number of parameters: 2 id: 263 unit: func() file: internal/pkg/bulk/opRead.go start line: 24 end line: 53 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 264 unit: func mergeEnvLimit() file: internal/pkg/config/limits.go start line: 66 end line: 86 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 265 unit: func checkCompatibility() file: internal/pkg/ver/check.go start line: 46 end line: 68 size: 21 LOC McCabe index: 4 number of parameters: 3 id: 266 unit: func parsePerms() file: internal/pkg/policy/parsed_policy.go start line: 135 end line: 164 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 267 unit: func NewAgent() file: internal/pkg/server/agent.go start line: 76 end line: 97 size: 21 LOC McCabe index: 2 number of parameters: 4 id: 268 unit: func writeResponse() file: internal/pkg/api/handleEnroll.go start line: 551 end line: 576 size: 21 LOC McCabe index: 3 number of parameters: 5 id: 269 unit: func parseDownloadRate() file: internal/pkg/api/metadata.go start line: 15 end line: 38 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 270 unit: func BulkOptsFromCfg() file: internal/pkg/bulk/opt.go start line: 192 end line: 213 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 271 unit: func GetAgent() file: internal/pkg/dl/agent.go start line: 45 end line: 66 size: 20 LOC McCabe index: 4 number of parameters: 4 id: 272 unit: func createOutputHealth() file: internal/pkg/dl/output_health.go start line: 21 end line: 41 size: 20 LOC McCabe index: 4 number of parameters: 4 id: 273 unit: func validateUploadPayload() file: internal/pkg/file/uploader/upload.go start line: 180 end line: 202 size: 20 LOC McCabe index: 6 number of parameters: 1 id: 274 unit: func() file: internal/pkg/file/uploader/jsdict.go start line: 30 end line: 49 size: 20 LOC McCabe index: 6 number of parameters: 1 id: 275 unit: func prepareChunkInfo() file: internal/pkg/file/es.go start line: 35 end line: 54 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 276 unit: func fileRotatorOut() file: internal/pkg/logger/logger.go start line: 120 end line: 139 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 277 unit: func() file: internal/pkg/config/config.go start line: 129 end line: 150 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 278 unit: func HandleInterrupt() file: internal/pkg/signal/signal.go start line: 18 end line: 42 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 279 unit: func FetchESVersion() file: internal/pkg/es/info.go start line: 24 end line: 50 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 280 unit: func applyDefaultOptions() file: internal/pkg/es/client.go start line: 35 end line: 58 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 281 unit: func() file: internal/pkg/api/api.go start line: 99 end line: 124 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 282 unit: func getDiagConnFunc() file: internal/pkg/api/server.go start line: 123 end line: 144 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 283 unit: func() file: internal/pkg/api/handleUpload.go start line: 168 end line: 192 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 284 unit: func() file: internal/pkg/api/handleCheckin.go start line: 125 end line: 150 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 285 unit: func KeyToFile() file: internal/pkg/testing/certs/certs.go start line: 47 end line: 68 size: 20 LOC McCabe index: 5 number of parameters: 3 id: 286 unit: func ParseGetPGPKeyResponse() file: pkg/api/client.gen.go start line: 1664 end line: 1687 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 287 unit: func() file: internal/pkg/bulk/queue.go start line: 27 end line: 45 size: 19 LOC McCabe index: 8 number of parameters: 1 id: 288 unit: func() file: internal/pkg/bulk/secret.go start line: 27 end line: 47 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 289 unit: func easyjsonCef4e921Encode1() file: internal/pkg/bulk/schema_easyjson.go start line: 692 end line: 710 size: 19 LOC McCabe index: 1 number of parameters: 2 id: 290 unit: func() file: internal/pkg/dsl/node.go start line: 67 end line: 87 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 291 unit: func loadLimits() file: internal/pkg/config/env_defaults.go start line: 284 end line: 303 size: 19 LOC McCabe index: 7 number of parameters: 2 id: 292 unit: func strToLevel() file: internal/pkg/config/fleet.go start line: 72 end line: 92 size: 19 LOC McCabe index: 6 number of parameters: 1 id: 293 unit: func() file: internal/pkg/api/handleEnroll.go start line: 86 end line: 107 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 294 unit: func() file: internal/pkg/api/handleArtifacts.go start line: 212 end line: 234 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 295 unit: func() file: internal/pkg/api/handlePGPRequest.go start line: 128 end line: 148 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 296 unit: func() file: internal/pkg/api/handleCheckin.go start line: 402 end line: 420 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 297 unit: func() file: internal/pkg/api/handleCheckin.go start line: 525 end line: 545 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 298 unit: func() file: internal/pkg/api/handleAudit.go start line: 100 end line: 121 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 299 unit: func Retry() file: internal/pkg/testing/retry.go start line: 41 end line: 59 size: 19 LOC McCabe index: 4 number of parameters: 4 id: 300 unit: func() file: internal/pkg/bulk/opBulk.go start line: 145 end line: 166 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 301 unit: func() file: internal/pkg/file/uploader/jsdict.go start line: 61 end line: 78 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 302 unit: func readChunkStream() file: internal/pkg/file/delivery/es.go start line: 66 end line: 84 size: 18 LOC McCabe index: 3 number of parameters: 4 id: 303 unit: func() file: internal/pkg/dsl/tmpl.go start line: 168 end line: 190 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 304 unit: func() file: internal/pkg/dsl/sort.go start line: 20 end line: 40 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 305 unit: func() file: internal/pkg/logger/zapStub.go start line: 37 end line: 56 size: 18 LOC McCabe index: 7 number of parameters: 1 id: 306 unit: func() file: internal/pkg/logger/logger.go start line: 47 end line: 67 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 307 unit: func DeleteIndices() file: internal/pkg/es/delete.go start line: 14 end line: 33 size: 18 LOC McCabe index: 4 number of parameters: 3 id: 308 unit: func constructPolicyOutputs() file: internal/pkg/policy/parsed_policy.go start line: 112 end line: 133 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 309 unit: func() file: internal/pkg/policy/monitor.go start line: 316 end line: 337 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 310 unit: func() file: internal/pkg/policy/self.go start line: 148 end line: 165 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 311 unit: func initRuntime() file: internal/pkg/server/fleet.go start line: 313 end line: 332 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 312 unit: func checkForCA() file: internal/pkg/server/agent.go start line: 659 end line: 677 size: 18 LOC McCabe index: 10 number of parameters: 1 id: 313 unit: func() file: internal/pkg/server/agent.go start line: 705 end line: 722 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 314 unit: func NewAPIKeyFromToken() file: internal/pkg/apikey/apikey.go start line: 103 end line: 123 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 315 unit: func() file: internal/pkg/file/uploader/finalize.go start line: 77 end line: 98 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 316 unit: func() file: internal/pkg/dsl/term.go start line: 7 end line: 26 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 317 unit: func memEnvLimits() file: internal/pkg/config/env_defaults.go start line: 311 end line: 327 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 318 unit: func isIntervalStringValid() file: internal/pkg/gc/actions.go start line: 27 end line: 46 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 319 unit: func cleanupActions() file: internal/pkg/gc/actions.go start line: 64 end line: 84 size: 17 LOC McCabe index: 3 number of parameters: 4 id: 320 unit: func() file: internal/pkg/scheduler/scheduler.go start line: 99 end line: 117 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 321 unit: func RevisionFromString() file: internal/pkg/policy/revision.go start line: 30 end line: 49 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 322 unit: func() file: internal/pkg/policy/self.go start line: 167 end line: 184 size: 17 LOC McCabe index: 7 number of parameters: 1 id: 323 unit: func fetchAPIKeyRoles() file: internal/pkg/policy/policy_output.go start line: 366 end line: 386 size: 17 LOC McCabe index: 4 number of parameters: 3 id: 324 unit: func generateOutputAPIKey() file: internal/pkg/policy/policy_output.go start line: 515 end line: 531 size: 17 LOC McCabe index: 1 number of parameters: 5 id: 325 unit: func loggedRunFunc() file: internal/pkg/server/fleet.go start line: 292 end line: 311 size: 17 LOC McCabe index: 3 number of parameters: 3 id: 326 unit: func() file: internal/pkg/api/handleEnroll.go start line: 672 end line: 693 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 327 unit: func() file: internal/pkg/api/handleAck.go start line: 143 end line: 164 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 328 unit: func makeUpdatePolicyBody() file: internal/pkg/api/handleAck.go start line: 676 end line: 696 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 329 unit: func() file: internal/pkg/api/handleUpload.go start line: 194 end line: 212 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 330 unit: func newRouter() file: internal/pkg/api/router.go start line: 23 end line: 40 size: 17 LOC McCabe index: 3 number of parameters: 3 id: 331 unit: func NewClient() file: pkg/api/client.gen.go start line: 54 end line: 74 size: 17 LOC McCabe index: 5 number of parameters: 2 id: 332 unit: func NewClient() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 54 end line: 74 size: 17 LOC McCabe index: 5 number of parameters: 2 id: 333 unit: func NewBulker() file: internal/pkg/bulk/engine.go start line: 112 end line: 131 size: 16 LOC McCabe index: 1 number of parameters: 3 id: 334 unit: func parseBulkOpts() file: internal/pkg/bulk/opt.go start line: 161 end line: 178 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 335 unit: func easyjsonCef4e921EncodeGithubComElasticFleetServerV7InternalPkgEs2() file: internal/pkg/bulk/schema_easyjson.go start line: 540 end line: 555 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 336 unit: func easyjsonCef4e921EncodeGithubComElasticFleetServerV7InternalPkgBulk4() file: internal/pkg/bulk/schema_easyjson.go start line: 1064 end line: 1079 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 337 unit: func() file: internal/pkg/bulk/opApiKey.go start line: 87 end line: 104 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 338 unit: func createActionResult() file: internal/pkg/dl/action_results.go start line: 23 end line: 40 size: 16 LOC McCabe index: 4 number of parameters: 4 id: 339 unit: func getResultsFieldInt() file: internal/pkg/file/es.go start line: 236 end line: 251 size: 16 LOC McCabe index: 5 number of parameters: 2 id: 340 unit: func findFileForAgent() file: internal/pkg/file/delivery/es.go start line: 47 end line: 64 size: 16 LOC McCabe index: 3 number of parameters: 4 id: 341 unit: func() file: internal/pkg/file/delivery/delivery.go start line: 42 end line: 59 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 342 unit: func() file: internal/pkg/monitor/subscription_monitor.go start line: 117 end line: 135 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 343 unit: func configChangedServer() file: internal/pkg/server/fleet.go start line: 257 end line: 273 size: 16 LOC McCabe index: 5 number of parameters: 3 id: 344 unit: func() file: internal/pkg/server/agent.go start line: 385 end line: 405 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 345 unit: func() file: internal/pkg/api/handleEnroll.go start line: 178 end line: 194 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 346 unit: func attachPrometheusEndpoint() file: internal/pkg/api/metrics.go start line: 279 end line: 297 size: 16 LOC McCabe index: 1 number of parameters: 3 id: 347 unit: func() file: internal/pkg/api/handleUpload.go start line: 67 end line: 85 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 348 unit: func getAgentAndVerifyAPIKeyID() file: internal/pkg/api/handleCheckin.go start line: 905 end line: 922 size: 16 LOC McCabe index: 4 number of parameters: 4 id: 349 unit: func() file: internal/pkg/api/handleAudit.go start line: 53 end line: 71 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 350 unit: func CertToFile() file: internal/pkg/testing/certs/certs.go start line: 28 end line: 45 size: 16 LOC McCabe index: 4 number of parameters: 3 id: 351 unit: func initLogger() file: cmd/fleet/main.go start line: 43 end line: 60 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 352 unit: func Query() file: internal/pkg/gcheckpt/checkpoint.go start line: 36 end line: 52 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 353 unit: func() file: internal/pkg/bulk/opBulk.go start line: 125 end line: 143 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 354 unit: func FindAgent() file: internal/pkg/dl/agent.go start line: 68 end line: 85 size: 15 LOC McCabe index: 4 number of parameters: 6 id: 355 unit: func findActionsHits() file: internal/pkg/dl/actions.go start line: 184 end line: 198 size: 15 LOC McCabe index: 4 number of parameters: 6 id: 356 unit: func GetMetadata() file: internal/pkg/file/es.go start line: 64 end line: 80 size: 15 LOC McCabe index: 3 number of parameters: 4 id: 357 unit: func() file: internal/pkg/file/cbor/decode.go start line: 24 end line: 40 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 358 unit: func writeString() file: internal/pkg/file/cbor/chunk.go start line: 199 end line: 215 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 359 unit: func() file: internal/pkg/action/token_resolver.go start line: 41 end line: 58 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 360 unit: func() file: internal/pkg/dsl/node.go start line: 47 end line: 64 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 361 unit: func encoderConfig() file: internal/pkg/logger/zapStub.go start line: 18 end line: 32 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 362 unit: func() file: internal/pkg/config/input.go start line: 97 end line: 111 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 363 unit: func Schedules() file: internal/pkg/gc/schedules.go start line: 20 end line: 35 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 364 unit: func() file: internal/pkg/rollback/rollback.go start line: 41 end line: 55 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 365 unit: func() file: internal/pkg/throttle/throttle.go start line: 137 end line: 154 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 366 unit: func New() file: internal/pkg/scheduler/scheduler.go start line: 68 end line: 84 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 367 unit: func() file: internal/pkg/monitor/monitor.go start line: 391 end line: 409 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 368 unit: func replaceStringRef() file: internal/pkg/policy/secret.go start line: 235 end line: 249 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 369 unit: func() file: internal/pkg/policy/monitor.go start line: 500 end line: 517 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 370 unit: func NewSelfMonitor() file: internal/pkg/policy/self.go start line: 70 end line: 84 size: 15 LOC McCabe index: 1 number of parameters: 5 id: 371 unit: func() file: internal/pkg/server/agent.go start line: 323 end line: 337 size: 15 LOC McCabe index: 6 number of parameters: 1 id: 372 unit: func validateRequest() file: internal/pkg/api/handleEnroll.go start line: 695 end line: 713 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 373 unit: func Limiter() file: internal/pkg/api/router.go start line: 59 end line: 73 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 374 unit: func WaitAdvance() file: internal/pkg/gcheckpt/checkpoint.go start line: 54 end line: 68 size: 14 LOC McCabe index: 2 number of parameters: 5 id: 375 unit: func() file: internal/pkg/bulk/engine.go start line: 277 end line: 291 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 376 unit: func() file: internal/pkg/bulk/opApiKey.go start line: 39 end line: 52 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 377 unit: func FindAgentActions() file: internal/pkg/dl/actions.go start line: 112 end line: 127 size: 14 LOC McCabe index: 3 number of parameters: 5 id: 378 unit: func FindExpiredActionsHitsForIndex() file: internal/pkg/dl/actions.go start line: 168 end line: 182 size: 14 LOC McCabe index: 3 number of parameters: 5 id: 379 unit: func() file: internal/pkg/file/uploader/upload.go start line: 206 end line: 222 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 380 unit: func writeKey() file: internal/pkg/file/cbor/chunk.go start line: 180 end line: 196 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 381 unit: func() file: internal/pkg/action/dispatcher.go start line: 73 end line: 90 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 382 unit: func() file: internal/pkg/dsl/node.go start line: 23 end line: 37 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 383 unit: func() file: internal/pkg/checkin/bulk.go start line: 145 end line: 160 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 384 unit: func() file: internal/pkg/logger/zapStub.go start line: 62 end line: 80 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 385 unit: func TLSVersionToString() file: internal/pkg/logger/http.go start line: 269 end line: 283 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 386 unit: func() file: internal/pkg/config/config.go start line: 93 end line: 107 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 387 unit: func() file: internal/pkg/config/output.go start line: 69 end line: 82 size: 14 LOC McCabe index: 7 number of parameters: 1 id: 388 unit: func WithBackoff() file: internal/pkg/es/client.go start line: 143 end line: 158 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 389 unit: func() file: internal/pkg/monitor/monitor.go start line: 475 end line: 491 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 390 unit: func getSecretValues() file: internal/pkg/policy/secret.go start line: 23 end line: 39 size: 14 LOC McCabe index: 4 number of parameters: 3 id: 391 unit: func groupByLatest() file: internal/pkg/policy/monitor.go start line: 339 end line: 352 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 392 unit: func safeWait() file: internal/pkg/server/fleet.go start line: 275 end line: 290 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 393 unit: func hashReplaceToken() file: internal/pkg/api/handleEnroll.go start line: 757 end line: 774 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 394 unit: func createILMPolicy() file: internal/pkg/testing/esutil/ilm.go start line: 145 end line: 162 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 395 unit: func failQueue() file: internal/pkg/bulk/engine.go start line: 531 end line: 543 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 396 unit: func ReadSecret() file: internal/pkg/bulk/secret.go start line: 53 end line: 65 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 397 unit: func withAPMLinkedContext() file: internal/pkg/bulk/opt.go start line: 66 end line: 78 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 398 unit: func() file: internal/pkg/bulk/schema.go start line: 21 end line: 34 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 399 unit: func findEnrollmentAPIKey() file: internal/pkg/dl/enrollment_api_key.go start line: 54 end line: 68 size: 13 LOC McCabe index: 3 number of parameters: 6 id: 400 unit: func findEnrollmentAPIKeys() file: internal/pkg/dl/enrollment_api_key.go start line: 74 end line: 87 size: 13 LOC McCabe index: 4 number of parameters: 6 id: 401 unit: func() file: internal/pkg/danger/buf.go start line: 66 end line: 78 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 402 unit: func() file: internal/pkg/file/file.go start line: 58 end line: 72 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 403 unit: func prepareUpdateMetaDoc() file: internal/pkg/file/uploader/es.go start line: 53 end line: 66 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 404 unit: func DeleteChunk() file: internal/pkg/file/uploader/es.go start line: 164 end line: 176 size: 13 LOC McCabe index: 2 number of parameters: 5 id: 405 unit: func() file: internal/pkg/file/delivery/delivery.go start line: 61 end line: 76 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 406 unit: func offsetStartTime() file: internal/pkg/action/dispatcher.go start line: 142 end line: 155 size: 13 LOC McCabe index: 3 number of parameters: 5 id: 407 unit: func() file: internal/pkg/dsl/tmpl.go start line: 142 end line: 158 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 408 unit: func stripHTTP() file: internal/pkg/logger/http.go start line: 113 end line: 127 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 409 unit: func() file: internal/pkg/config/logging.go start line: 29 end line: 43 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 410 unit: func() file: internal/pkg/config/config.go start line: 111 end line: 126 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 411 unit: func verifyPeerCertificate() file: internal/pkg/config/instrumentation.go start line: 120 end line: 132 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 412 unit: func NewLimiter() file: internal/pkg/limit/limiter.go start line: 33 end line: 49 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 413 unit: func() file: internal/pkg/limit/limiter.go start line: 51 end line: 66 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 414 unit: func errType() file: internal/pkg/es/error.go start line: 131 end line: 145 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 415 unit: func() file: internal/pkg/monitor/monitor.go start line: 377 end line: 389 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 416 unit: func() file: internal/pkg/policy/standalone.go start line: 54 end line: 68 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 417 unit: func NewFleet() file: internal/pkg/server/fleet.go start line: 62 end line: 75 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 418 unit: func() file: internal/pkg/api/api.go start line: 145 end line: 158 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 419 unit: func() file: internal/pkg/api/api.go start line: 180 end line: 193 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 420 unit: func createFleetAgent() file: internal/pkg/api/handleEnroll.go start line: 646 end line: 660 size: 13 LOC McCabe index: 3 number of parameters: 4 id: 421 unit: func findAgentByAPIKeyID() file: internal/pkg/api/handleCheckin.go start line: 924 end line: 936 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 422 unit: func StoreActions() file: internal/pkg/testing/actions.go start line: 164 end line: 176 size: 13 LOC McCabe index: 4 number of parameters: 4 id: 423 unit: func() file: pkg/api/client.gen.go start line: 1131 end line: 1143 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 424 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 940 end line: 952 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 425 unit: func() file: internal/pkg/bulk/engine.go start line: 294 end line: 305 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 426 unit: func hitsToActions() file: internal/pkg/dl/actions.go start line: 209 end line: 221 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 427 unit: func migrateAgentMetadata() file: internal/pkg/dl/migration.go start line: 168 end line: 182 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 428 unit: func() file: internal/pkg/dsl/range.go start line: 21 end line: 35 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 429 unit: func getOutput() file: internal/pkg/logger/logger.go start line: 141 end line: 153 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 430 unit: func() file: internal/pkg/config/fleet.go start line: 59 end line: 70 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 431 unit: func() file: internal/pkg/config/config.go start line: 235 end line: 246 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 432 unit: func CopyCache() file: internal/pkg/config/cache.go start line: 61 end line: 72 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 433 unit: func() file: internal/pkg/config/pbkdf2.go start line: 16 end line: 27 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 434 unit: func minimizePatch() file: internal/pkg/ver/check.go start line: 78 end line: 89 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 435 unit: func WithRetryOnErrs() file: internal/pkg/es/client.go start line: 111 end line: 122 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 436 unit: func New() file: internal/pkg/monitor/subscription_monitor.go start line: 65 end line: 78 size: 12 LOC McCabe index: 2 number of parameters: 4 id: 437 unit: func() file: internal/pkg/monitor/subscription_monitor.go start line: 102 end line: 114 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 438 unit: func HasFleetServerInput() file: internal/pkg/policy/self.go start line: 291 end line: 302 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 439 unit: func() file: internal/pkg/server/fleet.go start line: 334 end line: 346 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 440 unit: func() file: internal/pkg/smap/smap.go start line: 19 end line: 31 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 441 unit: func() file: internal/pkg/smap/smap.go start line: 47 end line: 61 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 442 unit: func bumpMinor() file: internal/pkg/api/verConst_snapshot.go start line: 30 end line: 41 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 443 unit: func deleteAgent() file: internal/pkg/api/handleEnroll.go start line: 492 end line: 504 size: 12 LOC McCabe index: 2 number of parameters: 4 id: 444 unit: func() file: internal/pkg/api/metrics.go start line: 195 end line: 206 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 445 unit: func NewStatusT() file: internal/pkg/api/handleStatus.go start line: 58 end line: 70 size: 12 LOC McCabe index: 2 number of parameters: 4 id: 446 unit: func() file: internal/pkg/api/handlePGPRequest.go start line: 51 end line: 66 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 447 unit: func() file: internal/pkg/api/handlePGPRequest.go start line: 113 end line: 125 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 448 unit: func maximizePatch() file: internal/pkg/api/userAgent.go start line: 35 end line: 46 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 449 unit: func ExtractAPIKey() file: internal/pkg/apikey/apikey.go start line: 137 end line: 149 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 450 unit: func FreePort() file: internal/pkg/testing/port.go start line: 10 end line: 22 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 451 unit: func() file: internal/pkg/testing/esutil/strmap.go start line: 9 end line: 21 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 452 unit: func NewCommand() file: cmd/fleet/main.go start line: 139 end line: 150 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 453 unit: func() file: internal/pkg/bulk/opBulk.go start line: 86 end line: 97 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 454 unit: func FindSeqNoByDocID() file: internal/pkg/dl/seqno.go start line: 30 end line: 42 size: 11 LOC McCabe index: 3 number of parameters: 5 id: 455 unit: func Search() file: internal/pkg/dl/search.go start line: 15 end line: 27 size: 11 LOC McCabe index: 3 number of parameters: 6 id: 456 unit: func SearchWithOneParam() file: internal/pkg/dl/search.go start line: 29 end line: 40 size: 11 LOC McCabe index: 3 number of parameters: 6 id: 457 unit: func prepareQueryLatestPolicies() file: internal/pkg/dl/policies.go start line: 27 end line: 37 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 458 unit: func createBaseActionsQuery() file: internal/pkg/dl/actions.go start line: 90 end line: 103 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 459 unit: func DeleteAllChunksForFile() file: internal/pkg/file/uploader/es.go start line: 178 end line: 188 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 460 unit: func NewDispatcher() file: internal/pkg/action/dispatcher.go start line: 45 end line: 55 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 461 unit: func() file: internal/pkg/action/dispatcher.go start line: 167 end line: 181 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 462 unit: func() file: internal/pkg/config/logging.go start line: 54 end line: 64 size: 11 LOC McCabe index: 11 number of parameters: 1 id: 463 unit: func redactHeaders() file: internal/pkg/config/config.go start line: 184 end line: 194 size: 11 LOC McCabe index: 6 number of parameters: 1 id: 464 unit: func() file: internal/pkg/config/timeouts.go start line: 25 end line: 73 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 465 unit: func() file: internal/pkg/config/output.go start line: 181 end line: 192 size: 11 LOC McCabe index: 6 number of parameters: 1 id: 466 unit: func retrieveExecutableDir() file: internal/pkg/config/pgp.go start line: 32 end line: 42 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 467 unit: func() file: internal/pkg/monitor/subscription_monitor.go start line: 86 end line: 98 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 468 unit: func setSecretPath() file: internal/pkg/policy/secret.go start line: 174 end line: 188 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 469 unit: func NewStandAloneSelfMonitor() file: internal/pkg/policy/standalone.go start line: 41 end line: 51 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 470 unit: func configChangedProfiler() file: internal/pkg/server/fleet.go start line: 236 end line: 248 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 471 unit: func injectKeys() file: internal/pkg/server/agent.go start line: 644 end line: 656 size: 11 LOC McCabe index: 4 number of parameters: 3 id: 472 unit: func() file: internal/pkg/smap/smap.go start line: 34 end line: 44 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 473 unit: func() file: internal/pkg/api/api.go start line: 222 end line: 232 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 474 unit: func() file: internal/pkg/api/error.go start line: 564 end line: 574 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 475 unit: func() file: internal/pkg/api/metrics.go start line: 99 end line: 109 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 476 unit: func newGauge() file: internal/pkg/api/metrics.go start line: 117 end line: 127 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 477 unit: func newCounter() file: internal/pkg/api/metrics.go start line: 150 end line: 160 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 478 unit: func NewServer() file: internal/pkg/api/server.go start line: 33 end line: 43 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 479 unit: func validateSha2Data() file: internal/pkg/api/handleArtifacts.go start line: 249 end line: 261 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 480 unit: func invalidateAPIKeysOfInactiveAgent() file: internal/pkg/api/handleCheckin.go start line: 152 end line: 162 size: 11 LOC McCabe index: 3 number of parameters: 4 id: 481 unit: func filterActions() file: internal/pkg/api/handleCheckin.go start line: 687 end line: 697 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 482 unit: func generateSubjectKeyID() file: internal/pkg/testing/certs/certs.go start line: 117 end line: 132 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 483 unit: func MockESClient() file: internal/pkg/testing/esutil/client.go start line: 31 end line: 42 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 484 unit: func() file: internal/pkg/testing/esutil/strmap.go start line: 23 end line: 33 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 485 unit: func main() file: main.go start line: 31 end line: 41 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 486 unit: func() file: pkg/api/client.gen.go start line: 142 end line: 152 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 487 unit: func() file: pkg/api/client.gen.go start line: 154 end line: 164 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 488 unit: func() file: pkg/api/client.gen.go start line: 166 end line: 176 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 489 unit: func() file: pkg/api/client.gen.go start line: 178 end line: 188 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 490 unit: func() file: pkg/api/client.gen.go start line: 190 end line: 200 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 491 unit: func() file: pkg/api/client.gen.go start line: 202 end line: 212 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 492 unit: func() file: pkg/api/client.gen.go start line: 214 end line: 224 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 493 unit: func() file: pkg/api/client.gen.go start line: 226 end line: 236 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 494 unit: func() file: pkg/api/client.gen.go start line: 238 end line: 248 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 495 unit: func() file: pkg/api/client.gen.go start line: 250 end line: 260 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 496 unit: func() file: pkg/api/client.gen.go start line: 262 end line: 272 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 497 unit: func() file: pkg/api/client.gen.go start line: 274 end line: 284 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 498 unit: func() file: pkg/api/client.gen.go start line: 286 end line: 296 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 499 unit: func() file: pkg/api/client.gen.go start line: 298 end line: 308 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 500 unit: func() file: pkg/api/client.gen.go start line: 310 end line: 320 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 501 unit: func() file: pkg/api/client.gen.go start line: 322 end line: 332 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 502 unit: func() file: pkg/api/client.gen.go start line: 334 end line: 344 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 503 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 134 end line: 144 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 504 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 146 end line: 156 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 505 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 158 end line: 168 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 506 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 170 end line: 180 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 507 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 182 end line: 192 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 508 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 194 end line: 204 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 509 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 206 end line: 216 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 510 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 218 end line: 228 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 511 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 230 end line: 240 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 512 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 242 end line: 252 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 513 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 254 end line: 264 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 514 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 266 end line: 276 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 515 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 278 end line: 288 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 516 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 290 end line: 300 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 517 unit: func() file: internal/pkg/bulk/engine.go start line: 262 end line: 274 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 518 unit: func() file: internal/pkg/bulk/opMulti.go start line: 116 end line: 128 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 519 unit: func prepareFindByField() file: internal/pkg/dl/prepare.go start line: 9 end line: 21 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 520 unit: func prepareFindExpiredAction() file: internal/pkg/dl/actions.go start line: 65 end line: 75 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 521 unit: func getResultField() file: internal/pkg/file/es.go start line: 209 end line: 218 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 522 unit: func NewChunkWriter() file: internal/pkg/file/cbor/chunk.go start line: 29 end line: 38 size: 10 LOC McCabe index: 1 number of parameters: 5 id: 523 unit: func prepareQueryMetaByIDAndAgent() file: internal/pkg/file/delivery/es.go start line: 36 end line: 45 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 524 unit: func NewTokenResolver() file: internal/pkg/action/token_resolver.go start line: 28 end line: 38 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 525 unit: func() file: internal/pkg/action/dispatcher.go start line: 60 end line: 69 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 526 unit: func() file: internal/pkg/action/dispatcher.go start line: 94 end line: 105 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 527 unit: func() file: internal/pkg/dsl/term.go start line: 28 end line: 39 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 528 unit: func WithContext() file: internal/pkg/sleep/sleep.go start line: 14 end line: 23 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 529 unit: func defaultEnvLimits() file: internal/pkg/config/env_defaults.go start line: 103 end line: 112 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 530 unit: func NewFlag() file: internal/pkg/config/config.go start line: 282 end line: 292 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 531 unit: func CheckCompatibility() file: internal/pkg/ver/check.go start line: 32 end line: 44 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 532 unit: func cloneMap() file: internal/pkg/model/ext.go start line: 112 end line: 121 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 533 unit: func WithRetryOnStatus() file: internal/pkg/es/client.go start line: 130 end line: 141 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 534 unit: func() file: internal/pkg/es/result.go start line: 39 end line: 48 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 535 unit: func unmarshalHits() file: internal/pkg/policy/monitor.go start line: 188 end line: 198 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 536 unit: func() file: internal/pkg/policy/monitor.go start line: 200 end line: 211 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 537 unit: func() file: internal/pkg/policy/sub.go start line: 61 end line: 71 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 538 unit: func() file: internal/pkg/api/metrics.go start line: 184 end line: 193 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 539 unit: func() file: internal/pkg/api/metrics.go start line: 227 end line: 236 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 540 unit: func() file: internal/pkg/api/handleAck.go start line: 94 end line: 104 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 541 unit: func isAgentActive() file: internal/pkg/api/handleAck.go start line: 647 end line: 657 size: 10 LOC McCabe index: 2 number of parameters: 4 id: 542 unit: func NewUploadT() file: internal/pkg/api/handleUpload.go start line: 56 end line: 65 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 543 unit: func() file: internal/pkg/api/handleAudit.go start line: 41 end line: 51 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 544 unit: func init() file: internal/pkg/testing/setup.go start line: 38 end line: 47 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 545 unit: func SetupBulk() file: internal/pkg/testing/setup.go start line: 60 end line: 70 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 546 unit: func sendBody() file: internal/pkg/testing/esutil/client.go start line: 47 end line: 56 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 547 unit: func StoreRandomAction() file: internal/pkg/testing/actions.go start line: 141 end line: 150 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 548 unit: func StoreRandomActions() file: internal/pkg/testing/actions.go start line: 152 end line: 162 size: 10 LOC McCabe index: 2 number of parameters: 5 id: 549 unit: func WithBaseURL() file: pkg/api/client.gen.go start line: 1161 end line: 1170 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 550 unit: func WithBaseURL() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 970 end line: 979 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 551 unit: func() file: internal/pkg/bulk/engine.go start line: 140 end line: 148 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 552 unit: func() file: internal/pkg/bulk/engine.go start line: 553 end line: 562 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 553 unit: func() file: internal/pkg/bulk/opt.go start line: 180 end line: 188 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 554 unit: func() file: internal/pkg/bulk/opRead.go start line: 55 end line: 64 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 555 unit: func() file: internal/pkg/bulk/opApiKey.go start line: 54 end line: 63 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 556 unit: func() file: internal/pkg/bulk/opApiKey.go start line: 65 end line: 74 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 557 unit: func() file: internal/pkg/bulk/opApiKey.go start line: 76 end line: 85 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 558 unit: func prepareFindActiveEnrollmentAPIKeyByID() file: internal/pkg/dl/enrollment_api_key.go start line: 26 end line: 36 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 559 unit: func prepareFindActiveEnrollmentAPIKeyByPolicyID() file: internal/pkg/dl/enrollment_api_key.go start line: 38 end line: 48 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 560 unit: func prepareQueryArtifact() file: internal/pkg/dl/artifact.go start line: 21 end line: 30 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 561 unit: func prepareFindSeqNoByDocID() file: internal/pkg/dl/seqno.go start line: 18 end line: 28 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 562 unit: func prepareQueryPolicies() file: internal/pkg/dl/policies.go start line: 80 end line: 88 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 563 unit: func prepareFindAction() file: internal/pkg/dl/actions.go start line: 46 end line: 54 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 564 unit: func New() file: internal/pkg/file/uploader/upload.go start line: 47 end line: 55 size: 9 LOC McCabe index: 1 number of parameters: 5 id: 565 unit: func GetChunk() file: internal/pkg/file/es.go start line: 121 end line: 129 size: 9 LOC McCabe index: 2 number of parameters: 6 id: 566 unit: func parseOpts() file: internal/pkg/checkin/bulk.go start line: 84 end line: 95 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 567 unit: func splitAddr() file: internal/pkg/logger/http.go start line: 101 end line: 110 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 568 unit: func() file: internal/pkg/config/input.go start line: 114 end line: 124 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 569 unit: func() file: internal/pkg/config/fleet.go start line: 21 end line: 31 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 570 unit: func() file: internal/pkg/config/config.go start line: 81 end line: 89 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 571 unit: func FromConfig() file: internal/pkg/config/config.go start line: 257 end line: 265 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 572 unit: func() file: internal/pkg/config/cache.go start line: 75 end line: 83 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 573 unit: func() file: internal/pkg/model/ext.go start line: 33 end line: 43 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 574 unit: func WithSplayPercent() file: internal/pkg/scheduler/scheduler.go start line: 48 end line: 56 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 575 unit: func() file: internal/pkg/scheduler/scheduler.go start line: 88 end line: 97 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 576 unit: func WithUserAgent() file: internal/pkg/es/client.go start line: 92 end line: 101 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 577 unit: func() file: internal/pkg/monitor/monitor.go start line: 451 end line: 461 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 578 unit: func() file: internal/pkg/monitor/monitor.go start line: 464 end line: 473 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 579 unit: func() file: internal/pkg/server/agent.go start line: 226 end line: 234 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 580 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1273 end line: 1282 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 581 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1299 end line: 1308 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 582 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1325 end line: 1334 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 583 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1351 end line: 1360 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 584 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1387 end line: 1396 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 585 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1413 end line: 1422 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 586 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1439 end line: 1448 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 587 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1465 end line: 1474 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 588 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1491 end line: 1500 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 589 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1517 end line: 1526 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 590 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1543 end line: 1552 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 591 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1569 end line: 1578 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 592 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1595 end line: 1604 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 593 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1631 end line: 1640 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 594 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1657 end line: 1666 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 595 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1683 end line: 1692 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 596 unit: func() file: internal/pkg/api/api.go start line: 135 end line: 143 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 597 unit: func() file: internal/pkg/api/api.go start line: 160 end line: 168 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 598 unit: func() file: internal/pkg/api/api.go start line: 170 end line: 178 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 599 unit: func updateFleetAgent() file: internal/pkg/api/handleEnroll.go start line: 635 end line: 644 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 600 unit: func generateAccessAPIKey() file: internal/pkg/api/handleEnroll.go start line: 662 end line: 670 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 601 unit: func validateSha2String() file: internal/pkg/api/handleArtifacts.go start line: 236 end line: 247 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 602 unit: func NewMetadata() file: internal/pkg/apikey/metadata.go start line: 30 end line: 38 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 603 unit: func SetupIndex() file: internal/pkg/testing/setup.go start line: 72 end line: 80 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 604 unit: func NewAgentEnrollRequest() file: pkg/api/client.gen.go start line: 421 end line: 429 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 605 unit: func NewAgentAcksRequest() file: pkg/api/client.gen.go start line: 496 end line: 504 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 606 unit: func NewAuditUnenrollRequest() file: pkg/api/client.gen.go start line: 569 end line: 577 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 607 unit: func NewAgentCheckinRequest() file: pkg/api/client.gen.go start line: 642 end line: 650 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 608 unit: func NewUploadBeginRequest() file: pkg/api/client.gen.go start line: 862 end line: 870 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 609 unit: func NewUploadCompleteRequest() file: pkg/api/client.gen.go start line: 928 end line: 936 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 610 unit: func() file: pkg/api/types.gen.go start line: 1270 end line: 1279 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 611 unit: func() file: pkg/api/types.gen.go start line: 1296 end line: 1305 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 612 unit: func() file: pkg/api/types.gen.go start line: 1322 end line: 1331 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 613 unit: func() file: pkg/api/types.gen.go start line: 1348 end line: 1357 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 614 unit: func() file: pkg/api/types.gen.go start line: 1384 end line: 1393 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 615 unit: func() file: pkg/api/types.gen.go start line: 1410 end line: 1419 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 616 unit: func() file: pkg/api/types.gen.go start line: 1436 end line: 1445 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 617 unit: func() file: pkg/api/types.gen.go start line: 1462 end line: 1471 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 618 unit: func() file: pkg/api/types.gen.go start line: 1488 end line: 1497 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 619 unit: func() file: pkg/api/types.gen.go start line: 1514 end line: 1523 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 620 unit: func() file: pkg/api/types.gen.go start line: 1540 end line: 1549 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 621 unit: func() file: pkg/api/types.gen.go start line: 1566 end line: 1575 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 622 unit: func() file: pkg/api/types.gen.go start line: 1592 end line: 1601 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 623 unit: func() file: pkg/api/types.gen.go start line: 1628 end line: 1637 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 624 unit: func() file: pkg/api/types.gen.go start line: 1654 end line: 1663 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 625 unit: func() file: pkg/api/types.gen.go start line: 1680 end line: 1689 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 626 unit: func NewAgentEnrollRequest() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 303 end line: 311 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 627 unit: func NewAgentAcksRequest() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 378 end line: 386 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 628 unit: func NewAgentCheckinRequest() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 451 end line: 459 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 629 unit: func NewUploadBeginRequest() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 671 end line: 679 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 630 unit: func NewUploadCompleteRequest() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 737 end line: 745 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 631 unit: func stopTimer() file: internal/pkg/bulk/engine.go start line: 309 end line: 316 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 632 unit: func() file: internal/pkg/bulk/engine.go start line: 574 end line: 581 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 633 unit: func() file: internal/pkg/bulk/helpers.go start line: 19 end line: 27 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 634 unit: func() file: internal/pkg/state/reporter.go start line: 49 end line: 56 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 635 unit: func CreateEnrollmentAPIKey() file: internal/pkg/dl/enrollment_api_key.go start line: 90 end line: 97 size: 8 LOC McCabe index: 2 number of parameters: 4 id: 636 unit: func CreatePolicy() file: internal/pkg/dl/policies.go start line: 71 end line: 78 size: 8 LOC McCabe index: 2 number of parameters: 4 id: 637 unit: func prepareDeleteExpiredAction() file: internal/pkg/dl/actions.go start line: 56 end line: 63 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 638 unit: func prepareFindAgentActions() file: internal/pkg/dl/actions.go start line: 77 end line: 88 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 639 unit: func Migrate() file: internal/pkg/dl/migration.go start line: 48 end line: 59 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 640 unit: func migrateTov7_15() file: internal/pkg/dl/migration.go start line: 147 end line: 155 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 641 unit: func migrateToV8_5() file: internal/pkg/dl/migration.go start line: 187 end line: 199 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 642 unit: func() file: internal/pkg/danger/buf.go start line: 41 end line: 48 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 643 unit: func getResultsFieldString() file: internal/pkg/file/es.go start line: 220 end line: 227 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 644 unit: func getResultsFieldBool() file: internal/pkg/file/es.go start line: 228 end line: 235 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 645 unit: func newToken() file: internal/pkg/dsl/tmpl.go start line: 45 end line: 52 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 646 unit: func() file: internal/pkg/dsl/tmpl.go start line: 132 end line: 140 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 647 unit: func NewBulk() file: internal/pkg/checkin/bulk.go start line: 74 end line: 82 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 648 unit: func() file: internal/pkg/checkin/bulk.go start line: 99 end line: 109 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 649 unit: func NewZapStub() file: internal/pkg/logger/zapStub.go start line: 82 end line: 91 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 650 unit: func() file: internal/pkg/logger/http.go start line: 65 end line: 73 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 651 unit: func() file: internal/pkg/config/config.go start line: 71 end line: 78 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 652 unit: func() file: internal/pkg/config/output.go start line: 59 end line: 66 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 653 unit: func() file: internal/pkg/reload/reload.go start line: 35 end line: 42 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 654 unit: func() file: internal/pkg/sqn/sqn.go start line: 71 end line: 79 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 655 unit: func runSchedule() file: internal/pkg/scheduler/scheduler.go start line: 124 end line: 133 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 656 unit: func() file: internal/pkg/es/error.go start line: 33 end line: 41 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 657 unit: func() file: internal/pkg/policy/monitor.go start line: 215 end line: 222 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 658 unit: func() file: internal/pkg/policy/self.go start line: 139 end line: 146 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 659 unit: func isOutputCfgOutdated() file: internal/pkg/policy/self.go start line: 253 end line: 260 size: 8 LOC McCabe index: 3 number of parameters: 4 id: 660 unit: func NewSub() file: internal/pkg/policy/sub.go start line: 22 end line: 29 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 661 unit: func() file: internal/pkg/policy/sub.go start line: 52 end line: 59 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 662 unit: func() file: internal/pkg/policy/sub.go start line: 100 end line: 107 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 663 unit: func Parse() file: internal/pkg/smap/smap.go start line: 75 end line: 85 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 664 unit: func BuildVersionConstraint() file: internal/pkg/api/verConst_snapshot.go start line: 20 end line: 27 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 665 unit: func() file: internal/pkg/api/api.go start line: 126 end line: 133 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 666 unit: func() file: internal/pkg/api/api.go start line: 195 end line: 202 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 667 unit: func() file: internal/pkg/api/api.go start line: 204 end line: 211 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 668 unit: func() file: internal/pkg/api/api.go start line: 213 end line: 220 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 669 unit: func NewEnrollerT() file: internal/pkg/api/handleEnroll.go start line: 77 end line: 84 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 670 unit: func newMetricsRegistry() file: internal/pkg/api/metrics.go start line: 90 end line: 97 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 671 unit: func() file: internal/pkg/api/handleAck.go start line: 71 end line: 78 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 672 unit: func BuildVersionConstraint() file: internal/pkg/api/verConst.go start line: 17 end line: 24 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 673 unit: func acceptsEncoding() file: internal/pkg/api/handleCheckin.go start line: 638 end line: 645 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 674 unit: func NewFileDeliveryT() file: internal/pkg/api/handleFileDelivery.go start line: 29 end line: 36 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 675 unit: func() file: internal/pkg/api/apiVersion.go start line: 49 end line: 56 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 676 unit: func SetupES() file: internal/pkg/testing/setup.go start line: 49 end line: 58 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 677 unit: func SetupActions() file: internal/pkg/testing/actions.go start line: 178 end line: 190 size: 8 LOC McCabe index: 2 number of parameters: 4 id: 678 unit: func() file: internal/pkg/testing/rnd/rnd.go start line: 59 end line: 68 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 679 unit: func elasticsearchOptions() file: internal/pkg/bulk/engine.go start line: 246 end line: 252 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 680 unit: func() file: internal/pkg/bulk/engine.go start line: 254 end line: 260 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 681 unit: func() file: internal/pkg/bulk/engine.go start line: 545 end line: 551 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 682 unit: func WithAPIKeyMaxRequestSize() file: internal/pkg/bulk/opt.go start line: 140 end line: 146 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 683 unit: func() file: internal/pkg/bulk/opBulk.go start line: 22 end line: 29 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 684 unit: func() file: internal/pkg/bulk/opBulk.go start line: 31 end line: 37 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 685 unit: func() file: internal/pkg/bulk/block.go start line: 70 end line: 76 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 686 unit: func() file: internal/pkg/bulk/opApiKey.go start line: 269 end line: 275 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 687 unit: func newOption() file: internal/pkg/dl/common.go start line: 23 end line: 29 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 688 unit: func findActions() file: internal/pkg/dl/actions.go start line: 200 end line: 207 size: 7 LOC McCabe index: 3 number of parameters: 6 id: 689 unit: func prepareQueryChunkByBID() file: internal/pkg/file/uploader/es.go start line: 37 end line: 43 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 690 unit: func prepareQueryChunkByDoc() file: internal/pkg/file/uploader/es.go start line: 45 end line: 51 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 691 unit: func() file: internal/pkg/file/uploader/jsdict.go start line: 52 end line: 58 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 692 unit: func prepareFindMetaByUploadID() file: internal/pkg/file/es.go start line: 56 end line: 62 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 693 unit: func New() file: internal/pkg/file/delivery/delivery.go start line: 34 end line: 40 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 694 unit: func() file: internal/pkg/dsl/tmpl.go start line: 123 end line: 129 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 695 unit: func() file: internal/pkg/dsl/tmpl.go start line: 160 end line: 166 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 696 unit: func() file: internal/pkg/dsl/query.go start line: 15 end line: 21 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 697 unit: func() file: internal/pkg/dsl/query.go start line: 23 end line: 29 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 698 unit: func() file: internal/pkg/dsl/node.go start line: 39 end line: 45 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 699 unit: func Time() file: internal/pkg/build/build.go start line: 26 end line: 32 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 700 unit: func stderrOut() file: internal/pkg/logger/logger.go start line: 111 end line: 118 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 701 unit: func checkDeprecatedOptions() file: internal/pkg/config/config.go start line: 248 end line: 254 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 702 unit: func LoadFile() file: internal/pkg/config/config.go start line: 269 end line: 275 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 703 unit: func buildVersionConstraint() file: internal/pkg/ver/check.go start line: 70 end line: 76 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 704 unit: func parseVersion() file: internal/pkg/ver/check.go start line: 91 end line: 97 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 705 unit: func WithCleanupIntervalAfterExpired() file: internal/pkg/gc/actions.go start line: 48 end line: 55 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 706 unit: func InstrumentRoundTripper() file: internal/pkg/es/client.go start line: 103 end line: 109 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 707 unit: func WithFetchSize() file: internal/pkg/monitor/monitor.go start line: 141 end line: 147 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 708 unit: func() file: internal/pkg/monitor/mock/monitor.go start line: 27 end line: 33 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 709 unit: func() file: internal/pkg/monitor/mock/monitor.go start line: 44 end line: 50 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 710 unit: func() file: internal/pkg/monitor/mock/monitor.go start line: 61 end line: 67 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 711 unit: func() file: internal/pkg/monitor/mock/monitor.go start line: 69 end line: 75 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 712 unit: func() file: internal/pkg/policy/monitor.go start line: 430 end line: 436 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 713 unit: func() file: internal/pkg/policy/policy_output.go start line: 85 end line: 91 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 714 unit: func() file: internal/pkg/server/fleet.go start line: 566 end line: 572 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 715 unit: func elasticsearchOptions() file: internal/pkg/server/fleet.go start line: 615 end line: 621 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 716 unit: func NewArtifactT() file: internal/pkg/api/handleArtifacts.go start line: 51 end line: 57 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 717 unit: func NewAckResponse() file: internal/pkg/api/handleAck.go start line: 51 end line: 57 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 718 unit: func() file: internal/pkg/api/handleAck.go start line: 59 end line: 65 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 719 unit: func NewAckT() file: internal/pkg/api/handleAck.go start line: 86 end line: 92 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 720 unit: func fromPtr[T any]() file: internal/pkg/api/utils.go start line: 15 end line: 21 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 721 unit: func NewPGPRetrieverT() file: internal/pkg/api/handlePGPRequest.go start line: 43 end line: 49 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 722 unit: func() file: internal/pkg/api/handleCheckin.go start line: 674 end line: 681 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 723 unit: func NewAuditT() file: internal/pkg/api/handleAudit.go start line: 33 end line: 39 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 724 unit: func() file: internal/pkg/testing/bulk.go start line: 88 end line: 94 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 725 unit: func() file: internal/pkg/testing/bulk.go start line: 111 end line: 117 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 726 unit: func() file: internal/pkg/testing/esutil/esutil.go start line: 35 end line: 41 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 727 unit: func EnsureIndex() file: internal/pkg/testing/esutil/bootstrap.go start line: 14 end line: 20 size: 7 LOC McCabe index: 2 number of parameters: 4 id: 728 unit: func() file: internal/pkg/testing/rnd/rnd.go start line: 40 end line: 46 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 729 unit: func NewClientWithResponses() file: pkg/api/client.gen.go start line: 1152 end line: 1158 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 730 unit: func() file: pkg/api/client.gen.go start line: 1517 end line: 1523 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 731 unit: func() file: pkg/api/client.gen.go start line: 1526 end line: 1532 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 732 unit: func() file: pkg/api/client.gen.go start line: 1534 end line: 1540 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 733 unit: func() file: pkg/api/client.gen.go start line: 1543 end line: 1549 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 734 unit: func() file: pkg/api/client.gen.go start line: 1551 end line: 1557 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 735 unit: func() file: pkg/api/client.gen.go start line: 1560 end line: 1566 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 736 unit: func() file: pkg/api/client.gen.go start line: 1568 end line: 1574 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 737 unit: func() file: pkg/api/client.gen.go start line: 1577 end line: 1583 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 738 unit: func() file: pkg/api/client.gen.go start line: 1585 end line: 1591 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 739 unit: func() file: pkg/api/client.gen.go start line: 1594 end line: 1600 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 740 unit: func() file: pkg/api/client.gen.go start line: 1603 end line: 1609 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 741 unit: func() file: pkg/api/client.gen.go start line: 1612 end line: 1618 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 742 unit: func() file: pkg/api/client.gen.go start line: 1620 end line: 1626 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 743 unit: func() file: pkg/api/client.gen.go start line: 1629 end line: 1635 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 744 unit: func() file: pkg/api/client.gen.go start line: 1637 end line: 1643 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 745 unit: func() file: pkg/api/client.gen.go start line: 1646 end line: 1652 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 746 unit: func() file: pkg/api/client.gen.go start line: 1655 end line: 1661 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 747 unit: func NewClientWithResponses() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 961 end line: 967 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 748 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1265 end line: 1271 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 749 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1273 end line: 1279 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 750 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1282 end line: 1288 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 751 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1290 end line: 1296 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 752 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1299 end line: 1305 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 753 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1307 end line: 1313 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 754 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1316 end line: 1322 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 755 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1325 end line: 1331 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 756 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1334 end line: 1340 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 757 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1342 end line: 1348 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 758 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1351 end line: 1357 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 759 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1359 end line: 1365 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 760 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1368 end line: 1374 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 761 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1377 end line: 1383 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 762 unit: func() file: internal/pkg/bulk/engine.go start line: 583 end line: 590 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 763 unit: func() file: internal/pkg/bulk/engine.go start line: 593 end line: 599 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 764 unit: func() file: internal/pkg/bulk/schema.go start line: 64 end line: 70 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 765 unit: func() file: internal/pkg/bulk/schema.go start line: 93 end line: 98 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 766 unit: func FindAction() file: internal/pkg/dl/actions.go start line: 105 end line: 110 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 767 unit: func ReadDict() file: internal/pkg/file/uploader/jsdict.go start line: 15 end line: 20 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 768 unit: func() file: internal/pkg/action/dispatcher.go start line: 158 end line: 163 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 769 unit: func() file: internal/pkg/dsl/exists.go start line: 7 end line: 12 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 770 unit: func() file: internal/pkg/logger/http.go start line: 75 end line: 82 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 771 unit: func() file: internal/pkg/config/input.go start line: 54 end line: 59 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 772 unit: func() file: internal/pkg/config/input.go start line: 132 end line: 138 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 773 unit: func bindAddress() file: internal/pkg/config/input.go start line: 140 end line: 145 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 774 unit: func() file: internal/pkg/config/input.go start line: 157 end line: 162 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 775 unit: func() file: internal/pkg/config/input.go start line: 165 end line: 170 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 776 unit: func() file: internal/pkg/config/logging.go start line: 73 end line: 78 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 777 unit: func defaultCacheLimits() file: internal/pkg/config/env_defaults.go start line: 119 end line: 124 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 778 unit: func getMaxInt() file: internal/pkg/config/env_defaults.go start line: 329 end line: 334 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 779 unit: func() file: internal/pkg/config/config.go start line: 64 end line: 69 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 780 unit: func getActionsGCFunc() file: internal/pkg/gc/actions.go start line: 57 end line: 62 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 781 unit: func() file: internal/pkg/sqn/sqn.go start line: 63 end line: 68 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 782 unit: func NewThrottle() file: internal/pkg/throttle/throttle.go start line: 41 end line: 46 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 783 unit: func WithFirstRunDelay() file: internal/pkg/scheduler/scheduler.go start line: 59 end line: 64 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 784 unit: func userAgent() file: internal/pkg/es/client.go start line: 160 end line: 165 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 785 unit: func() file: internal/pkg/monitor/monitor.go start line: 192 end line: 197 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 786 unit: func RevisionFromPolicy() file: internal/pkg/policy/revision.go start line: 22 end line: 27 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 787 unit: func() file: internal/pkg/policy/monitor.go start line: 438 end line: 443 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 788 unit: func makeHead() file: internal/pkg/policy/sub.go start line: 31 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 789 unit: func() file: internal/pkg/policy/sub.go start line: 38 end line: 43 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 790 unit: func() file: internal/pkg/policy/sub.go start line: 45 end line: 50 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 791 unit: func NewIterator() file: internal/pkg/policy/sub.go start line: 93 end line: 98 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 792 unit: func() file: internal/pkg/policy/standalone.go start line: 70 end line: 76 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 793 unit: func configCacheChanged() file: internal/pkg/server/fleet.go start line: 250 end line: 255 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 794 unit: func() file: internal/pkg/smap/smap.go start line: 65 end line: 70 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 795 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1033 end line: 1038 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 796 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1041 end line: 1046 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 797 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1138 end line: 1143 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 798 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1146 end line: 1151 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 799 unit: func HandlerFromMuxWithBaseURL() file: internal/pkg/api/openapi.gen.go start line: 2779 end line: 2784 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 800 unit: func NewAPIVersion() file: internal/pkg/api/apiVersion.go start line: 34 end line: 39 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 801 unit: func() file: internal/pkg/api/apiVersion.go start line: 41 end line: 47 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 802 unit: func SetupIndexWithBulk() file: internal/pkg/testing/setup.go start line: 82 end line: 87 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 803 unit: func mustRender() file: internal/pkg/testing/esutil/ilm.go start line: 218 end line: 223 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 804 unit: func SetLogger() file: internal/pkg/testing/log/log.go start line: 15 end line: 20 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 805 unit: func() file: internal/pkg/testing/rnd/rnd.go start line: 28 end line: 33 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 806 unit: func WithHTTPClient() file: pkg/api/client.gen.go start line: 78 end line: 83 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 807 unit: func WithRequestEditorFn() file: pkg/api/client.gen.go start line: 87 end line: 92 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 808 unit: func() file: pkg/api/client.gen.go start line: 1227 end line: 1232 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 809 unit: func() file: pkg/api/client.gen.go start line: 1235 end line: 1240 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 810 unit: func() file: pkg/api/client.gen.go start line: 1254 end line: 1259 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 811 unit: func() file: pkg/api/client.gen.go start line: 1262 end line: 1267 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 812 unit: func() file: pkg/api/client.gen.go start line: 1283 end line: 1288 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 813 unit: func() file: pkg/api/client.gen.go start line: 1291 end line: 1296 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 814 unit: func() file: pkg/api/client.gen.go start line: 1309 end line: 1314 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 815 unit: func() file: pkg/api/client.gen.go start line: 1317 end line: 1322 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 816 unit: func() file: pkg/api/client.gen.go start line: 1338 end line: 1343 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 817 unit: func() file: pkg/api/client.gen.go start line: 1346 end line: 1351 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 818 unit: func() file: pkg/api/client.gen.go start line: 1366 end line: 1371 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 819 unit: func() file: pkg/api/client.gen.go start line: 1374 end line: 1379 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 820 unit: func() file: pkg/api/client.gen.go start line: 1392 end line: 1397 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 821 unit: func() file: pkg/api/client.gen.go start line: 1400 end line: 1405 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 822 unit: func() file: pkg/api/client.gen.go start line: 1420 end line: 1425 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 823 unit: func() file: pkg/api/client.gen.go start line: 1428 end line: 1433 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 824 unit: func() file: pkg/api/client.gen.go start line: 1450 end line: 1455 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 825 unit: func() file: pkg/api/client.gen.go start line: 1458 end line: 1463 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 826 unit: func() file: pkg/api/client.gen.go start line: 1477 end line: 1482 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 827 unit: func() file: pkg/api/client.gen.go start line: 1485 end line: 1490 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 828 unit: func() file: pkg/api/client.gen.go start line: 1501 end line: 1506 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 829 unit: func() file: pkg/api/client.gen.go start line: 1509 end line: 1514 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 830 unit: func() file: pkg/api/types.gen.go start line: 1030 end line: 1035 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 831 unit: func() file: pkg/api/types.gen.go start line: 1038 end line: 1043 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 832 unit: func() file: pkg/api/types.gen.go start line: 1135 end line: 1140 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 833 unit: func() file: pkg/api/types.gen.go start line: 1143 end line: 1148 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 834 unit: func WithHTTPClient() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 78 end line: 83 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 835 unit: func WithRequestEditorFn() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 87 end line: 92 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 836 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1033 end line: 1038 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 837 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1041 end line: 1046 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 838 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1061 end line: 1066 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 839 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1069 end line: 1074 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 840 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1089 end line: 1094 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 841 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1097 end line: 1102 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 842 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1117 end line: 1122 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 843 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1125 end line: 1130 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 844 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1143 end line: 1148 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 845 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1151 end line: 1156 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 846 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1170 end line: 1175 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 847 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1178 end line: 1183 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 848 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1199 end line: 1204 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 849 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1207 end line: 1212 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 850 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1225 end line: 1230 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 851 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1233 end line: 1238 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 852 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1249 end line: 1254 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 853 unit: func() file: pkg/api/versions/2023_06_01/api/client.gen.go start line: 1257 end line: 1262 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 854 unit: func() file: pkg/api/versions/2023_06_01/api/types.gen.go start line: 646 end line: 651 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 855 unit: func() file: pkg/api/versions/2023_06_01/api/types.gen.go start line: 654 end line: 659 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 856 unit: func() file: pkg/api/versions/2023_06_01/api/types.gen.go start line: 751 end line: 756 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 857 unit: func() file: pkg/api/versions/2023_06_01/api/types.gen.go start line: 759 end line: 764 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 858 unit: func() file: internal/pkg/bulk/engine.go start line: 133 end line: 137 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 859 unit: func() file: internal/pkg/bulk/engine.go start line: 154 end line: 160 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 860 unit: func WithRefresh() file: internal/pkg/bulk/opt.go start line: 33 end line: 37 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 861 unit: func WithIgnoreUnavailble() file: internal/pkg/bulk/opt.go start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 862 unit: func WithRetryOnConflict() file: internal/pkg/bulk/opt.go start line: 45 end line: 49 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 863 unit: func WithIndex() file: internal/pkg/bulk/opt.go start line: 52 end line: 56 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 864 unit: func WithWaitForCheckpoints() file: internal/pkg/bulk/opt.go start line: 60 end line: 64 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 865 unit: func WithFlushInterval() file: internal/pkg/bulk/opt.go start line: 98 end line: 102 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 866 unit: func WithFlushThresholdCount() file: internal/pkg/bulk/opt.go start line: 105 end line: 109 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 867 unit: func WithFlushThresholdSize() file: internal/pkg/bulk/opt.go start line: 112 end line: 116 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 868 unit: func WithMaxPending() file: internal/pkg/bulk/opt.go start line: 119 end line: 123 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 869 unit: func WithBlockQueueSize() file: internal/pkg/bulk/opt.go start line: 126 end line: 130 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 870 unit: func WithAPIKeyMaxParallel() file: internal/pkg/bulk/opt.go start line: 133 end line: 137 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 871 unit: func WithPolicyTokens() file: internal/pkg/bulk/opt.go start line: 149 end line: 153 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 872 unit: func WithBi() file: internal/pkg/bulk/opt.go start line: 155 end line: 159 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 873 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 138 end line: 142 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 874 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 150 end line: 154 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 875 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 248 end line: 252 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 876 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 260 end line: 264 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 877 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 390 end line: 394 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 878 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 402 end line: 406 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 879 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 1007 end line: 1011 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 880 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 1019 end line: 1023 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 881 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 1082 end line: 1086 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 882 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 1094 end line: 1098 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 883 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 1180 end line: 1184 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 884 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 1192 end line: 1196 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 885 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 1262 end line: 1266 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 886 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 1274 end line: 1278 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 887 unit: func() file: internal/pkg/bulk/opSearch.go start line: 116 end line: 121 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 888 unit: func NewLog() file: internal/pkg/state/reporter.go start line: 26 end line: 30 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 889 unit: func WithIndexName() file: internal/pkg/dl/common.go start line: 17 end line: 21 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 890 unit: func prepareFindAllAgentsActions() file: internal/pkg/dl/actions.go start line: 40 end line: 44 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 891 unit: func() file: internal/pkg/danger/buf.go start line: 35 end line: 39 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 892 unit: func CreateFileDoc() file: internal/pkg/file/uploader/es.go start line: 72 end line: 76 size: 5 LOC McCabe index: 1 number of parameters: 5 id: 893 unit: func() file: internal/pkg/dsl/filter.go start line: 7 end line: 11 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 894 unit: func() file: internal/pkg/dsl/source.go start line: 11 end line: 15 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 895 unit: func() file: internal/pkg/dsl/source.go start line: 17 end line: 21 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 896 unit: func WithRangeGT() file: internal/pkg/dsl/range.go start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 897 unit: func WithRangeLTE() file: internal/pkg/dsl/range.go start line: 15 end line: 19 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 898 unit: func() file: internal/pkg/dsl/match.go start line: 7 end line: 11 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 899 unit: func() file: internal/pkg/dsl/match.go start line: 13 end line: 17 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 900 unit: func NewTmpl() file: internal/pkg/dsl/tmpl.go start line: 37 end line: 41 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 901 unit: func() file: internal/pkg/dsl/tmpl.go start line: 54 end line: 58 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 902 unit: func() file: internal/pkg/dsl/sort.go start line: 14 end line: 18 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 903 unit: func WithFlushInterval() file: internal/pkg/checkin/bulk.go start line: 38 end line: 42 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 904 unit: func() file: internal/pkg/logger/logger.go start line: 70 end line: 74 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 905 unit: func NewReaderCounter() file: internal/pkg/logger/http.go start line: 37 end line: 41 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 906 unit: func() file: internal/pkg/logger/http.go start line: 43 end line: 47 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 907 unit: func NewResponseCounter() file: internal/pkg/logger/http.go start line: 59 end line: 63 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 908 unit: func() file: internal/pkg/config/monitor.go start line: 21 end line: 25 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 909 unit: func() file: internal/pkg/config/http.go start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 910 unit: func() file: internal/pkg/config/pbkdf2.go start line: 31 end line: 35 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 911 unit: func() file: internal/pkg/model/schema.go start line: 26 end line: 30 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 912 unit: func NewReloadManager() file: internal/pkg/reload/reload.go start line: 28 end line: 32 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 913 unit: func() file: internal/pkg/limit/limiter.go start line: 68 end line: 72 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 914 unit: func New() file: internal/pkg/rollback/rollback.go start line: 29 end line: 33 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 915 unit: func WithMaxRetries() file: internal/pkg/es/client.go start line: 124 end line: 128 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 916 unit: func WithPollTimeout() file: internal/pkg/monitor/monitor.go start line: 150 end line: 154 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 917 unit: func WithExpiration() file: internal/pkg/monitor/monitor.go start line: 157 end line: 161 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 918 unit: func WithReadyChan() file: internal/pkg/monitor/monitor.go start line: 164 end line: 168 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 919 unit: func WithAPMTracer() file: internal/pkg/monitor/monitor.go start line: 170 end line: 174 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 920 unit: func WithDebounceTime() file: internal/pkg/monitor/monitor.go start line: 176 end line: 180 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 921 unit: func() file: internal/pkg/monitor/monitor.go start line: 199 end line: 203 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 922 unit: func endTrans() file: internal/pkg/policy/monitor.go start line: 119 end line: 123 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 923 unit: func() file: internal/pkg/policy/self.go start line: 133 end line: 137 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 924 unit: func() file: internal/pkg/policy/sub.go start line: 109 end line: 113 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 925 unit: func() file: internal/pkg/policy/standalone.go start line: 78 end line: 82 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 926 unit: func() file: internal/pkg/server/fleet.go start line: 81 end line: 85 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 927 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1259 end line: 1263 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 928 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1266 end line: 1270 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 929 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1285 end line: 1289 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 930 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1292 end line: 1296 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 931 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1311 end line: 1315 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 932 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1318 end line: 1322 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 933 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1337 end line: 1341 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 934 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1344 end line: 1348 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 935 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1373 end line: 1377 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 936 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1380 end line: 1384 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 937 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1399 end line: 1403 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 938 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1406 end line: 1410 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 939 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1425 end line: 1429 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 940 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1432 end line: 1436 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 941 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1451 end line: 1455 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 942 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1458 end line: 1462 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 943 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1477 end line: 1481 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 944 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1484 end line: 1488 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 945 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1503 end line: 1507 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 946 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1510 end line: 1514 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 947 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1529 end line: 1533 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 948 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1536 end line: 1540 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 949 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1555 end line: 1559 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 950 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1562 end line: 1566 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 951 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1581 end line: 1585 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 952 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1588 end line: 1592 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 953 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1617 end line: 1621 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 954 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1624 end line: 1628 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 955 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1643 end line: 1647 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 956 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1650 end line: 1654 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 957 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1669 end line: 1673 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 958 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1676 end line: 1680 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 959 unit: func HandlerFromMux() file: internal/pkg/api/openapi.gen.go start line: 2773 end line: 2777 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 960 unit: func WithCheckin() file: internal/pkg/api/api.go start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 961 unit: func WithEnroller() file: internal/pkg/api/api.go start line: 25 end line: 29 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 962 unit: func WithArtifact() file: internal/pkg/api/api.go start line: 31 end line: 35 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 963 unit: func WithAck() file: internal/pkg/api/api.go start line: 37 end line: 41 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 964 unit: func WithStatus() file: internal/pkg/api/api.go start line: 43 end line: 47 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 965 unit: func WithUpload() file: internal/pkg/api/api.go start line: 49 end line: 53 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 966 unit: func WithFileDelivery() file: internal/pkg/api/api.go start line: 55 end line: 59 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 967 unit: func WithPGP() file: internal/pkg/api/api.go start line: 61 end line: 65 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 968 unit: func WithAudit() file: internal/pkg/api/api.go start line: 67 end line: 71 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 969 unit: func WithTracer() file: internal/pkg/api/api.go start line: 73 end line: 77 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 970 unit: func() file: internal/pkg/api/metrics.go start line: 208 end line: 212 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 971 unit: func() file: internal/pkg/api/metrics.go start line: 221 end line: 225 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 972 unit: func errLogger() file: internal/pkg/api/server.go start line: 155 end line: 159 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 973 unit: func() file: internal/pkg/api/handleArtifacts.go start line: 96 end line: 102 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 974 unit: func() file: internal/pkg/api/handleArtifacts.go start line: 150 end line: 154 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 975 unit: func WithSelfMonitor() file: internal/pkg/api/handleStatus.go start line: 46 end line: 50 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 976 unit: func WithBuildInfo() file: internal/pkg/api/handleStatus.go start line: 52 end line: 56 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 977 unit: func SetupCleanIndex() file: internal/pkg/testing/setup.go start line: 89 end line: 95 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 978 unit: func RetrySleep() file: internal/pkg/testing/retry.go start line: 27 end line: 31 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 979 unit: func RetryCount() file: internal/pkg/testing/retry.go start line: 34 end line: 38 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 980 unit: func CreateActionsWithMinAgentsCount() file: internal/pkg/testing/actions.go start line: 34 end line: 38 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 981 unit: func CreateActionsWithMaxAgentsCount() file: internal/pkg/testing/actions.go start line: 40 end line: 44 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 982 unit: func CreateActionsWithMinActionsCount() file: internal/pkg/testing/actions.go start line: 46 end line: 50 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 983 unit: func CreateActionsWithMaxActionsCount() file: internal/pkg/testing/actions.go start line: 52 end line: 56 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 984 unit: func CreateActionsWithTimestampOffset() file: internal/pkg/testing/actions.go start line: 58 end line: 62 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 985 unit: func CreateActionsWithExpirationOffset() file: internal/pkg/testing/actions.go start line: 64 end line: 68 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 986 unit: func New() file: internal/pkg/testing/rnd/rnd.go start line: 22 end line: 26 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 987 unit: func() file: pkg/api/types.gen.go start line: 1256 end line: 1260 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 988 unit: func() file: pkg/api/types.gen.go start line: 1263 end line: 1267 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 989 unit: func() file: pkg/api/types.gen.go start line: 1282 end line: 1286 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 990 unit: func() file: pkg/api/types.gen.go start line: 1289 end line: 1293 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 991 unit: func() file: pkg/api/types.gen.go start line: 1308 end line: 1312 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 992 unit: func() file: pkg/api/types.gen.go start line: 1315 end line: 1319 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 993 unit: func() file: pkg/api/types.gen.go start line: 1334 end line: 1338 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 994 unit: func() file: pkg/api/types.gen.go start line: 1341 end line: 1345 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 995 unit: func() file: pkg/api/types.gen.go start line: 1370 end line: 1374 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 996 unit: func() file: pkg/api/types.gen.go start line: 1377 end line: 1381 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 997 unit: func() file: pkg/api/types.gen.go start line: 1396 end line: 1400 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 998 unit: func() file: pkg/api/types.gen.go start line: 1403 end line: 1407 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 999 unit: func() file: pkg/api/types.gen.go start line: 1422 end line: 1426 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1000 unit: func() file: pkg/api/types.gen.go start line: 1429 end line: 1433 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1001 unit: func() file: pkg/api/types.gen.go start line: 1448 end line: 1452 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1002 unit: func() file: pkg/api/types.gen.go start line: 1455 end line: 1459 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1003 unit: func() file: pkg/api/types.gen.go start line: 1474 end line: 1478 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1004 unit: func() file: pkg/api/types.gen.go start line: 1481 end line: 1485 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1005 unit: func() file: pkg/api/types.gen.go start line: 1500 end line: 1504 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1006 unit: func() file: pkg/api/types.gen.go start line: 1507 end line: 1511 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1007 unit: func() file: pkg/api/types.gen.go start line: 1526 end line: 1530 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1008 unit: func() file: pkg/api/types.gen.go start line: 1533 end line: 1537 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1009 unit: func() file: pkg/api/types.gen.go start line: 1552 end line: 1556 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1010 unit: func() file: pkg/api/types.gen.go start line: 1559 end line: 1563 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1011 unit: func() file: pkg/api/types.gen.go start line: 1578 end line: 1582 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1012 unit: func() file: pkg/api/types.gen.go start line: 1585 end line: 1589 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1013 unit: func() file: pkg/api/types.gen.go start line: 1614 end line: 1618 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1014 unit: func() file: pkg/api/types.gen.go start line: 1621 end line: 1625 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1015 unit: func() file: pkg/api/types.gen.go start line: 1640 end line: 1644 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1016 unit: func() file: pkg/api/types.gen.go start line: 1647 end line: 1651 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1017 unit: func() file: pkg/api/types.gen.go start line: 1666 end line: 1670 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1018 unit: func() file: pkg/api/types.gen.go start line: 1673 end line: 1677 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1019 unit: func() file: internal/pkg/bulk/engine.go start line: 564 end line: 567 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1020 unit: func() file: internal/pkg/bulk/opBulk.go start line: 39 end line: 42 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1021 unit: func() file: internal/pkg/bulk/opBulk.go start line: 44 end line: 47 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1022 unit: func() file: internal/pkg/state/reporter.go start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1023 unit: func() file: internal/pkg/danger/buf.go start line: 52 end line: 55 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1024 unit: func() file: internal/pkg/danger/buf.go start line: 59 end line: 62 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1025 unit: func() file: internal/pkg/danger/buf.go start line: 82 end line: 85 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1026 unit: func() file: internal/pkg/dsl/param.go start line: 7 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1027 unit: func() file: internal/pkg/dsl/field.go start line: 7 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1028 unit: func() file: internal/pkg/dsl/size.go start line: 7 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1029 unit: func CtxStartTime() file: internal/pkg/logger/http.go start line: 96 end line: 99 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1030 unit: func() file: internal/pkg/config/input.go start line: 36 end line: 39 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1031 unit: func() file: internal/pkg/config/logging.go start line: 67 end line: 70 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1032 unit: func() file: internal/pkg/config/logging.go start line: 81 end line: 84 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1033 unit: func() file: internal/pkg/config/fleet.go start line: 34 end line: 37 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1034 unit: func() file: internal/pkg/config/pgp.go start line: 25 end line: 28 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1035 unit: func() file: internal/pkg/config/gc.go start line: 21 end line: 24 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1036 unit: func() file: internal/pkg/scheduler/scheduler.go start line: 119 end line: 122 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1037 unit: func() file: internal/pkg/monitor/mock/monitor.go start line: 56 end line: 59 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1038 unit: func() file: internal/pkg/monitor/mock/monitor.go start line: 77 end line: 80 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1039 unit: func() file: internal/pkg/policy/sub.go start line: 77 end line: 81 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1040 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1362 end line: 1365 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1041 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1367 end line: 1370 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1042 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1606 end line: 1609 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1043 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1611 end line: 1614 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1044 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1694 end line: 1697 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1045 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1699 end line: 1702 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1046 unit: func() file: internal/pkg/api/metrics.go start line: 129 end line: 132 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1047 unit: func() file: internal/pkg/api/metrics.go start line: 134 end line: 137 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1048 unit: func() file: internal/pkg/api/metrics.go start line: 139 end line: 142 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1049 unit: func() file: internal/pkg/api/metrics.go start line: 162 end line: 165 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1050 unit: func() file: internal/pkg/api/metrics.go start line: 167 end line: 170 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1051 unit: func() file: internal/pkg/api/server.go start line: 150 end line: 153 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1052 unit: func() file: internal/pkg/apikey/apikey.go start line: 126 end line: 129 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1053 unit: func() file: internal/pkg/testing/bulk.go start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1054 unit: func() file: internal/pkg/testing/bulk.go start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1055 unit: func() file: internal/pkg/testing/bulk.go start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1056 unit: func() file: internal/pkg/testing/bulk.go start line: 43 end line: 46 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1057 unit: func() file: internal/pkg/testing/bulk.go start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1058 unit: func() file: internal/pkg/testing/bulk.go start line: 53 end line: 56 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1059 unit: func() file: internal/pkg/testing/bulk.go start line: 58 end line: 61 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1060 unit: func() file: internal/pkg/testing/bulk.go start line: 63 end line: 66 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1061 unit: func() file: internal/pkg/testing/bulk.go start line: 68 end line: 71 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1062 unit: func() file: internal/pkg/testing/bulk.go start line: 73 end line: 76 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1063 unit: func() file: internal/pkg/testing/bulk.go start line: 78 end line: 81 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1064 unit: func() file: internal/pkg/testing/bulk.go start line: 83 end line: 86 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1065 unit: func() file: internal/pkg/testing/bulk.go start line: 96 end line: 99 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1066 unit: func() file: internal/pkg/testing/bulk.go start line: 101 end line: 104 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1067 unit: func() file: internal/pkg/testing/bulk.go start line: 106 end line: 109 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1068 unit: func() file: internal/pkg/testing/bulk.go start line: 119 end line: 122 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1069 unit: func() file: internal/pkg/testing/bulk.go start line: 124 end line: 127 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1070 unit: func() file: internal/pkg/testing/bulk.go start line: 129 end line: 132 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1071 unit: func() file: internal/pkg/testing/bulk.go start line: 134 end line: 137 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1072 unit: func() file: internal/pkg/testing/bulk.go start line: 139 end line: 142 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1073 unit: func() file: internal/pkg/testing/rnd/rnd.go start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1074 unit: func() file: pkg/api/types.gen.go start line: 1359 end line: 1362 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1075 unit: func() file: pkg/api/types.gen.go start line: 1364 end line: 1367 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1076 unit: func() file: pkg/api/types.gen.go start line: 1603 end line: 1606 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1077 unit: func() file: pkg/api/types.gen.go start line: 1608 end line: 1611 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1078 unit: func() file: pkg/api/types.gen.go start line: 1691 end line: 1694 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1079 unit: func() file: pkg/api/types.gen.go start line: 1696 end line: 1699 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1080 unit: func installSignalHandler() file: cmd/fleet/main.go start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1081 unit: func() file: internal/pkg/bulk/engine.go start line: 150 end line: 152 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1082 unit: func() file: internal/pkg/bulk/engine.go start line: 569 end line: 572 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1083 unit: func() file: internal/pkg/bulk/opBulk.go start line: 296 end line: 298 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1084 unit: func() file: internal/pkg/bulk/opBulk.go start line: 300 end line: 302 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1085 unit: func() file: internal/pkg/bulk/opBulk.go start line: 304 end line: 306 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1086 unit: func() file: internal/pkg/bulk/block.go start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1087 unit: func() file: internal/pkg/bulk/block.go start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1088 unit: func() file: internal/pkg/bulk/block.go start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1089 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 145 end line: 147 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1090 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 157 end line: 159 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1091 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 255 end line: 257 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1092 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 267 end line: 269 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1093 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 397 end line: 399 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1094 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 409 end line: 411 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1095 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 1014 end line: 1016 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1096 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 1026 end line: 1028 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1097 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 1089 end line: 1091 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1098 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 1101 end line: 1103 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1099 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 1187 end line: 1189 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1100 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 1199 end line: 1201 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1101 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 1269 end line: 1271 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1102 unit: func() file: internal/pkg/bulk/schema_easyjson.go start line: 1281 end line: 1283 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1103 unit: func() file: internal/pkg/bulk/schema.go start line: 122 end line: 124 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1104 unit: func() file: internal/pkg/bulk/opMulti.go start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1105 unit: func() file: internal/pkg/bulk/opMulti.go start line: 19 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1106 unit: func() file: internal/pkg/bulk/opMulti.go start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1107 unit: func() file: internal/pkg/bulk/opMulti.go start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1108 unit: func NewChained() file: internal/pkg/state/reporter.go start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1109 unit: func FindEnrollmentAPIKey() file: internal/pkg/dl/enrollment_api_key.go start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 5 id: 1110 unit: func FindEnrollmentAPIKeys() file: internal/pkg/dl/enrollment_api_key.go start line: 70 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 5 id: 1111 unit: func CreateActionResult() file: internal/pkg/dl/action_results.go start line: 19 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1112 unit: func prepareAgentFindByID() file: internal/pkg/dl/agent.go start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1113 unit: func prepareAgentFindByAccessAPIKeyID() file: internal/pkg/dl/agent.go start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1114 unit: func prepareAgentFindByEnrollmentID() file: internal/pkg/dl/agent.go start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1115 unit: func prepareAgentFindByField() file: internal/pkg/dl/agent.go start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1116 unit: func CreateOutputHealth() file: internal/pkg/dl/output_health.go start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1117 unit: func() file: internal/pkg/danger/buf.go start line: 19 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1118 unit: func() file: internal/pkg/danger/buf.go start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1119 unit: func() file: internal/pkg/danger/buf.go start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1120 unit: func() file: internal/pkg/file/file.go start line: 101 end line: 103 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 1121 unit: func SetStatus() file: internal/pkg/file/uploader/info.go start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 1122 unit: func MarkComplete() file: internal/pkg/file/uploader/info.go start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 1123 unit: func NewChunkDecoder() file: internal/pkg/file/cbor/decode.go start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1124 unit: func() file: internal/pkg/action/dispatcher.go start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1125 unit: func() file: internal/pkg/dsl/source.go start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1126 unit: func() file: internal/pkg/dsl/script.go start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1127 unit: func() file: internal/pkg/dsl/params.go start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1128 unit: func() file: internal/pkg/dsl/query.go start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1129 unit: func() file: internal/pkg/dsl/query.go start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1130 unit: func() file: internal/pkg/dsl/size.go start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1131 unit: func NewRoot() file: internal/pkg/dsl/root.go start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1132 unit: func() file: internal/pkg/dsl/top_hits.go start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1133 unit: func() file: internal/pkg/dsl/aggs.go start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1134 unit: func() file: internal/pkg/dsl/aggs.go start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1135 unit: func() file: internal/pkg/dsl/aggs.go start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1136 unit: func() file: internal/pkg/build/build.go start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1137 unit: func() file: internal/pkg/logger/zapStub.go start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1138 unit: func levelChanged() file: internal/pkg/logger/logger.go start line: 103 end line: 105 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1139 unit: func level() file: internal/pkg/logger/logger.go start line: 107 end line: 109 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1140 unit: func() file: internal/pkg/logger/logger.go start line: 159 end line: 161 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1141 unit: func() file: internal/pkg/logger/http.go start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1142 unit: func() file: internal/pkg/logger/http.go start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1143 unit: func() file: internal/pkg/logger/http.go start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1144 unit: func() file: internal/pkg/config/input.go start line: 127 end line: 129 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1145 unit: func() file: internal/pkg/config/config.go start line: 294 end line: 296 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1146 unit: func() file: internal/pkg/config/config.go start line: 299 end line: 301 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1147 unit: func() file: internal/pkg/config/config.go start line: 306 end line: 308 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1148 unit: func() file: internal/pkg/config/config.go start line: 311 end line: 313 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1149 unit: func() file: internal/pkg/config/config.go start line: 317 end line: 319 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1150 unit: func() file: internal/pkg/config/config.go start line: 323 end line: 325 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1151 unit: func() file: internal/pkg/model/ext.go start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1152 unit: func() file: internal/pkg/model/ext.go start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1153 unit: func() file: internal/pkg/model/ext.go start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1154 unit: func() file: internal/pkg/model/ext.go start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1155 unit: func() file: internal/pkg/sqn/sqn.go start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1156 unit: func() file: internal/pkg/sqn/sqn.go start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1157 unit: func() file: internal/pkg/sqn/sqn.go start line: 58 end line: 60 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1158 unit: func() file: internal/pkg/rollback/rollback.go start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1159 unit: func() file: internal/pkg/throttle/throttle.go start line: 157 end line: 159 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1160 unit: func() file: internal/pkg/monitor/monitor.go start line: 183 end line: 185 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1161 unit: func() file: internal/pkg/monitor/monitor.go start line: 188 end line: 190 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1162 unit: func NewMockSubscription() file: internal/pkg/monitor/mock/monitor.go start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1163 unit: func NewMockMonitor() file: internal/pkg/monitor/mock/monitor.go start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1164 unit: func() file: internal/pkg/monitor/mock/monitor.go start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1165 unit: func() file: internal/pkg/monitor/subscription_monitor.go start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1166 unit: func() file: internal/pkg/monitor/subscription_monitor.go start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1167 unit: func() file: internal/pkg/policy/revision.go start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1168 unit: func() file: internal/pkg/policy/monitor.go start line: 354 end line: 356 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1169 unit: func() file: internal/pkg/policy/self.go start line: 186 end line: 188 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1170 unit: func findEnrollmentAPIKeys() file: internal/pkg/policy/self.go start line: 304 end line: 306 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1171 unit: func() file: internal/pkg/policy/sub.go start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1172 unit: func() file: internal/pkg/policy/sub.go start line: 84 end line: 86 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1173 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1747 end line: 1749 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1174 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1752 end line: 1754 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1175 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1757 end line: 1759 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1176 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1763 end line: 1765 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1177 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1768 end line: 1770 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1178 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1773 end line: 1775 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1179 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1779 end line: 1781 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1180 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1785 end line: 1787 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1181 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1791 end line: 1793 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1182 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1797 end line: 1799 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1183 unit: func() file: internal/pkg/api/openapi.gen.go start line: 1802 end line: 1804 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1184 unit: func() file: internal/pkg/api/openapi.gen.go start line: 2696 end line: 2698 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1185 unit: func() file: internal/pkg/api/openapi.gen.go start line: 2700 end line: 2702 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1186 unit: func() file: internal/pkg/api/openapi.gen.go start line: 2709 end line: 2711 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1187 unit: func() file: internal/pkg/api/openapi.gen.go start line: 2713 end line: 2715 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1188 unit: func() file: internal/pkg/api/openapi.gen.go start line: 2721 end line: 2723 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1189 unit: func() file: internal/pkg/api/openapi.gen.go start line: 2730 end line: 2732 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1190 unit: func() file: internal/pkg/api/openapi.gen.go start line: 2734 end line: 2736 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1191 unit: func() file: internal/pkg/api/openapi.gen.go start line: 2743 end line: 2745 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1192 unit: func() file: internal/pkg/api/openapi.gen.go start line: 2747 end line: 2749 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1193 unit: func() file: internal/pkg/api/openapi.gen.go start line: 2756 end line: 2758 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1194 unit: func Handler() file: internal/pkg/api/openapi.gen.go start line: 2761 end line: 2763 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1195 unit: func removeDuplicateStr() file: internal/pkg/api/handleEnroll.go start line: 488 end line: 490 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1196 unit: func() file: internal/pkg/api/error.go start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1197 unit: func() file: internal/pkg/api/error.go start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1198 unit: func() file: internal/pkg/api/handleAck.go start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1199 unit: func() file: internal/pkg/api/handleAck.go start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1200 unit: func() file: internal/pkg/api/handleAck.go start line: 562 end line: 564 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1201 unit: func ptr[T any]() file: internal/pkg/api/utils.go start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1202 unit: func() file: internal/pkg/api/handleStatus.go start line: 72 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1203 unit: func() file: internal/pkg/apikey/metadata.go start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1204 unit: func() file: internal/pkg/apikey/apikey.go start line: 132 end line: 134 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1205 unit: func NewMockBulk() file: internal/pkg/testing/bulk.go start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1206 unit: func() file: internal/pkg/testing/bulk.go start line: 144 end line: 146 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1207 unit: func() file: internal/pkg/testing/bulk.go start line: 148 end line: 150 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1208 unit: func() file: internal/pkg/testing/bulk.go start line: 152 end line: 154 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1209 unit: func() file: internal/pkg/testing/bulk.go start line: 156 end line: 158 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1210 unit: func() file: internal/pkg/testing/esutil/esutil.go start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1211 unit: func GetILMPolicyName() file: internal/pkg/testing/esutil/ilm.go start line: 164 end line: 166 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1212 unit: func renderSize() file: internal/pkg/testing/esutil/ilm.go start line: 210 end line: 212 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1213 unit: func renderDays() file: internal/pkg/testing/esutil/ilm.go start line: 214 end line: 216 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1214 unit: func() file: internal/pkg/testing/esutil/client.go start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1215 unit: func sendBodyString() file: internal/pkg/testing/esutil/client.go start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1216 unit: func() file: internal/pkg/testing/rnd/rnd.go start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1217 unit: func init() file: cmd/fleet/main.go start line: 33 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1218 unit: func() file: internal/pkg/config/runtime.go start line: 14 end line: 16 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1219 unit: func noop() file: internal/pkg/limit/limiter.go start line: 99 end line: 100 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1220 unit: func() file: internal/pkg/testing/suite/suite.go start line: 18 end line: 19 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1221 unit: func() file: internal/pkg/testing/suite/suite.go start line: 21 end line: 22 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1222 unit: func() file: internal/pkg/danger/buf.go start line: 27 end line: 27 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1223 unit: func() file: internal/pkg/danger/buf.go start line: 29 end line: 29 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1224 unit: func() file: internal/pkg/file/file.go start line: 100 end line: 100 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1225 unit: func() file: internal/pkg/config/limits.go start line: 39 end line: 39 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1226 unit: func() file: internal/pkg/config/cache.go start line: 31 end line: 31 size: 1 LOC McCabe index: 1 number of parameters: 1