234 matches across 5 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | hash_commands.go | 121 | return cmd |
| LOW | command.go | 1101 | } |
| LOW | options.go | 41 | Allow() error |
| LOW | options.go | 61 | // |
| LOW | options.go | 81 | Protocol int |
| LOW | options.go | 101 | // There will be a conflict between them; if CredentialsProviderContext exists, we will ignore CredentialsProvider. |
| LOW | options.go | 121 | // MinRetryBackoff is the minimum backoff between each retry. |
| LOW | options.go | 141 | |
| LOW | options.go | 161 | ReadTimeout time.Duration |
| LOW | options.go | 181 | ReadBufferSize int |
| LOW | options.go | 201 | // Default is 10 connections per every available CPU as reported by runtime.GOMAXPROCS. |
| LOW | options.go | 221 | // default: 0 |
| LOW | options.go | 241 | // If d <= 0, connections are not closed due to a connection's idle time. |
| LOW | options.go | 261 | // |
| LOW | options.go | 281 | // Deprecated: Use DisableIdentity instead. |
| LOW | options.go | 461 | // Scheme is required. |
| LOW | options.go | 481 | // names will be treated as unknown parameters |
| LOW | osscluster.go | 141 | // |
| LOW | osscluster.go | 281 | // The URL must be in the form: |
| LOW | osscluster.go | 301 | // - fields "network", "addr", "username" and "password" can only be set using other |
| LOW | hset_benchmark_test.go | 21 | // |
| LOW | sortedset_commands.go | 341 | return cmd |
| LOW | sortedset_commands.go | 361 | type ZRangeArgs struct { |
| LOW | sortedset_commands.go | 381 | // Stop: "(3", |
| LOW | sortedset_commands.go | 401 | // Start: "(def", |
| LOW | internal_maint_notif_test.go | 21 | // |
| LOW | hotkeys_commands.go | 1 | package redis |
| LOW | hotkeys_commands.go | 41 | // Duration is the auto-stop tracking after this many seconds. |
| LOW | pubsub.go | 81 | |
| LOW | osscluster_maintnotifications_test.go | 221 | // +SMIGRATED <- message name |
| LOW | pipeline.go | 1 | package redis |
| LOW | universal_test.go | 81 | // reports zero usable replicas (post-failover replicas often |
| LOW | stream_commands.go | 381 | // Must be one of [XNackModeSilent], [XNackModeFail], or [XNackModeFatal]: |
| LOW | redis.go | 101 | |
| LOW | redis.go | 121 | // hook-2: |
| LOW | redis.go | 221 | return hs.current.txPipeline(ctx, cmds) |
| LOW | redis.go | 241 | // motivated issue #3772. |
| LOW | redis.go | 581 | |
| LOW | redis.go | 1561 | } |
| LOW | redis.go | 1701 | // processPushNotifications processes all pending push notifications on a connection |
| LOW | set_commands.go | 161 | // Returns if member is a member of the set stored at key. |
| LOW | set_commands.go | 201 | } |
| LOW | set_commands.go | 241 | // This version returns up to count random members. |
| LOW | set_commands.go | 261 | return cmd |
| LOW | string_commands.go | 81 | // |
| LOW | string_commands.go | 241 | // Saturate clamps the result to LBOUND/UBOUND (or ±LDBL_MAX when no |
| LOW | string_commands.go | 481 | // MatchDigest is used with IFDEQ/IFDNE modes for digest-based compare-and-set. |
| LOW | string_commands.go | 721 | return cmd |
| LOW | string_commands.go | 761 | // and returns the previous value. |
| LOW | string_commands.go | 801 | // |
| LOW | internal_test.go | 341 | } |
| LOW | internal_test.go | 1021 | func (*stubCredentialsListener) OnNext(auth.Credentials) {} |
| LOW | internal_test.go | 1081 | } |
| LOW | universal.go | 121 | // DisableIndentity - Disable set-lib on connect. |
| LOW | universal.go | 361 | |
| LOW | sentinel.go | 141 | |
| LOW | sentinel.go | 161 | FailingTimeoutSeconds int |
| LOW | sentinel.go | 361 | // To add additional addresses, specify the query parameter, "addr" one or more times. e.g: |
| LOW | ring.go | 141 | // Smaller buffers can improve memory usage for larger pools. |
| LOW | otel.go | 41 | // poolName: name of the connection pool (e.g., "main", "pubsub") |
| 106 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | example/otel/uptrace.yml | 1 | # ============================================================================= |
| MEDIUM | example/otel/uptrace.yml | 3 | # ============================================================================= |
| MEDIUM | example/otel/uptrace.yml | 11 | # ============================================================================= |
| MEDIUM | example/otel/uptrace.yml | 13 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 15 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 21 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 23 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 246 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 248 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 255 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 257 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 42 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 44 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 67 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 69 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 85 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 87 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 142 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 144 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 185 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 187 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 201 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 203 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 225 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 227 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 274 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 276 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 333 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 335 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 350 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 352 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 377 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 379 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 405 | # ----------------------------------------------------------------------------- |
| MEDIUM | example/otel/uptrace.yml | 407 | # ----------------------------------------------------------------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tls_cert_auth_test.go | 53 | // Step 1: Create a non-TLS client to set up the ACL user |
| LOW | tls_cert_auth_test.go | 67 | // Step 2: Create ACL user with specific permissions |
| LOW | tls_cert_auth_test.go | 91 | // Step 3: Load CA certificate for server verification |
| LOW | tls_cert_auth_test.go | 97 | // Step 4: Load the pre-generated client certificate with CN=testcertuser |
| LOW | tls_cert_auth_test.go | 107 | // Step 5: Create TLS config with the client certificate |
| LOW | tls_cert_auth_test.go | 118 | // Step 6: Connect with TLS using the certificate |
| LOW | tls_cert_auth_test.go | 129 | // Step 7: Verify we're authenticated as the correct user |
| LOW | tls_cert_auth_test.go | 140 | // Step 8: Test that we can execute allowed commands |
| LOW | tls_cert_auth_test.go | 154 | // Step 9: Test that we CANNOT execute disallowed commands |
| LOW | tls_cert_auth_test.go | 183 | // Step 1: Create a non-TLS client to ensure the user does NOT exist |
| LOW | tls_cert_auth_test.go | 209 | // Step 2: Load CA certificate for server verification |
| LOW | tls_cert_auth_test.go | 215 | // Step 3: Load the client certificate with CN=testcertuser |
| LOW | tls_cert_auth_test.go | 225 | // Step 4: Create TLS config with the client certificate |
| LOW | tls_cert_auth_test.go | 236 | // Step 5: Connect with TLS using the certificate |
| LOW | tls_cert_auth_test.go | 243 | // Step 6: Verify we're authenticated as "default" (fallback) |
| LOW | tls_cert_auth_test.go | 255 | // Step 7: Verify we can execute commands as default user |
| LOW | example/tls-cert-auth/main.go | 42 | // Step 1: First, ensure the ACL user exists (using non-TLS connection) |
| LOW | example/tls-cert-auth/main.go | 60 | // Step 2: Load CA certificate |
| LOW | example/tls-cert-auth/main.go | 68 | // Step 3: Load client certificate (CN must match the Redis ACL username) |
| LOW | example/tls-cert-auth/main.go | 77 | // Step 4: Create TLS config |
| LOW | example/tls-cert-auth/main.go | 85 | // Step 5: Connect to Redis with TLS - NO username/password needed! |
| LOW | example/tls-cert-auth/main.go | 93 | // Step 6: Verify authentication |
| LOW | example/tls-cert-auth/main.go | 100 | // Step 7: Test some commands |
| LOW | maintnotifications/e2e/proxy_fault_injector_server.go | 499 | // Step 1: Inject SMIGRATING notification |
| LOW | maintnotifications/e2e/proxy_fault_injector_server.go | 519 | // Step 2: Inject SMIGRATED notification |
| LOW | maintnotifications/e2e/proxy_fault_injector_server.go | 645 | // Step 1: Inject FAILING_OVER notification |
| LOW | maintnotifications/e2e/proxy_fault_injector_server.go | 664 | // Step 2: Inject FAILED_OVER notification |
| LOW | maintnotifications/e2e/proxy_fault_injector_server.go | 688 | // Step 1: Inject MIGRATING notification (no MOVING for migrate action) |
| LOW | maintnotifications/e2e/proxy_fault_injector_server.go | 709 | // Step 2: Inject MIGRATED notification |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | osscluster_test.go | 2611 | // Values should be in the same order as requested keys |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | search_builders_test.go | 324 | client.HSet(ctx, "doc1", "title", "hello world", "body", "lorem ipsum") |
| LOW | search_test.go | 313 | client.HSet(ctx, "doc2", "f1", "very important", "f2", "lorem ipsum") |
| LOW | search_test.go | 4488 | client.HSet(ctx, "doc2", "f1", "very important", "f2", "lorem ipsum") |