Complete container management platform
249 matches across 11 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | generate.go | 1 | //go:generate go run pkg/codegen/buildconfig/writer.go pkg/codegen/buildconfig/main.go |
| LOW | chart/values.yaml | 41 | # Optional: Image-specific pullPolicy Override |
| LOW | chart/values.yaml | 61 | # - name: CATTLE_TLS_MIN_VERSION |
| LOW | chart/values.yaml | 81 | # Defaults to true; options: true, false |
| LOW | chart/values.yaml | 121 | # protocol: HTTPS |
| LOW | chart/values.yaml | 141 | # When set true, you must also set `ingress.servicePort` to 443 and the appropriate ingress annotation to use HTTPS |
| LOW | chart/values.yaml | 161 | noProxy: 127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,.svc,.cluster.local |
| LOW | chart/values.yaml | 181 | # options: Always, Never, IfNotPresent |
| LOW | chart/values.yaml | 201 | # - external |
| LOW | chart/values.yaml | 301 | # Required for EKS clusters using non-VPC CNIs (e.g. Calico). |
| LOW | chart/values.yaml | 321 | # spec: |
| LOW | chart/values.yaml | 341 | # policyTypes: |
| LOW | tests/v2/integration/rbac/projects_test.go | 741 | }, |
| LOW | tests/pkg/serviceaccounttoken/mitigation_test.go | 21 | ) |
| LOW | pkg/settings/setting.go | 161 | // AuthUserInfoMaxAgeSeconds represents the maximum age of a users auth tokens before an auth provider group membership |
| LOW | pkg/settings/setting.go | 181 | |
| LOW | pkg/settings/setting.go | 401 | // account. Setting it to false is only recommended for testing and development environments. |
| LOW | pkg/rbac/common.go | 321 | // |
| LOW | pkg/cluster/private_registry.go | 161 | // |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 21 | // This field is only populated for provisioned and custom clusters. |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 41 | // auth endpoint. |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 61 | // AdmissionConfiguration resource as yaml, and create a |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 81 | // Calico; other CNIs apply host network policies using pod CIDRs. |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 101 | type ClusterAPIConfig struct { |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 121 | // +optional |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 141 | |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 161 | // +optional |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 181 | // in non-Secret API objects. |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 201 | |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 221 | DrainBeforeDeleteTimeout *metav1.Duration `json:"drainBeforeDeleteTimeout,omitempty"` |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 241 | // Deprecated: this field is currently unused and will be removed in a |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 261 | // +nullable |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 281 | AutoscalingMaxSize *int32 `json:"autoscalingMaxSize,omitempty"` |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 301 | // unhealthy. |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 321 | // +nullable |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 341 | // machines in this pool. |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 361 | // starts. Once new machines are ready, old MachineSet can be scaled |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 381 | // at any time during the update is at most 130% of desired machines. |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 401 | } |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 421 | OverrideResourceRequirements *corev1.ResourceRequirements `json:"overrideResourceRequirements,omitempty"` |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 461 | // An eviction is allowed if at least "minAvailable" will still be |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 481 | } |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 501 | // set to the value of the annotation. |
| LOW | pkg/apis/provisioning.cattle.io/v1/cluster_types.go | 521 | // provisioning cluster spec. |
| LOW | pkg/apis/catalog.cattle.io/v1/plugin.go | 41 | // +kubebuilder:default:=false |
| LOW | pkg/apis/management.cattle.io/v3/oidc_provider_types.go | 61 | // TokenExpirationSeconds specifies the duration (in seconds) before |
| LOW | pkg/apis/management.cattle.io/v3/machine_types.go | 161 | // +genclient:nonNamespaced |
| LOW | pkg/apis/management.cattle.io/v3/machine_types.go | 181 | } |
| LOW | pkg/apis/management.cattle.io/v3/machine_types.go | 221 | // +optional |
| LOW | pkg/apis/management.cattle.io/v3/machine_types.go | 241 | AddCloudCredential bool `json:"addCloudCredential,omitempty"` |
| LOW | pkg/apis/management.cattle.io/v3/condition.go | 1 | package v3 |
| LOW | pkg/apis/management.cattle.io/v3/condition.go | 21 | // +kubebuilder:validation:Required |
| LOW | pkg/apis/management.cattle.io/v3/condition.go | 41 | // +kubebuilder:validation:Type=string |
| LOW | pkg/apis/management.cattle.io/v3/authz_types.go | 21 | |
| LOW | pkg/apis/management.cattle.io/v3/authz_types.go | 101 | // +kubebuilder:validation:Required |
| LOW | pkg/apis/management.cattle.io/v3/authz_types.go | 121 | // +optional |
| LOW | pkg/apis/management.cattle.io/v3/authz_types.go | 161 | |
| LOW | pkg/apis/management.cattle.io/v3/authz_types.go | 181 | |
| LOW | pkg/apis/management.cattle.io/v3/authz_types.go | 201 | // ResourceRules rules granted in all backing namespaces for all fleet workspaces besides the local one. |
| LOW | pkg/apis/management.cattle.io/v3/authz_types.go | 221 | Summary string `json:"summary,omitempty"` |
| 112 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | pkg/capr/planner/etcdrestore.go | 746 | if !deletingEtcdNode.Machine.Spec.Bootstrap.ConfigRef.IsDefined() { |
| CRITICAL | pkg/telemetry/telemetry.go | 107 | cpuQ := n.n.Status.InternalNodeStatus.Capacity.Cpu() |
| CRITICAL | pkg/telemetry/telemetry.go | 115 | memQ := n.n.Status.InternalNodeStatus.Capacity.Memory() |
| CRITICAL | pkg/controllers/managementuser/rbac/project_handler.go | 141 | _, err := p.m.workload.Management.Management.Projects(p.m.workload.ClusterName).Update(project) |
| CRITICAL | …/controllers/managementuser/rbac/legacy_crb_cleaner.go | 35 | grCache: m.workload.Management.Wrangler.Mgmt.GlobalRole().Cache(), |
| CRITICAL | …/controllers/managementuser/rbac/legacy_crb_cleaner.go | 36 | grbCache: m.workload.Management.Wrangler.Mgmt.GlobalRoleBinding().Cache(), |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/integration/suite/test_cluster_defaults.py | 8 | def check_cluster_kubernetes_version(admin_mc): |
| LOW | tests/integration/suite/test_cluster_defaults.py | 22 | def test_generic_initial_defaults(admin_mc): |
| LOW | tests/integration/suite/test_cluster_defaults.py | 79 | def test_import_initial_conditions(admin_mc, remove_resource): |
| LOW | tests/integration/suite/test_cluster_scan.py | 5 | def test_run_scan_not_available_on_not_ready_cluster(admin_mc, |
| LOW | tests/integration/suite/conftest.py | 323 | def raw_remove_custom_resource(admin_mc, request): |
| LOW | tests/integration/suite/test_namespaced_secrets.py | 69 | def test_namespaced_certificates(admin_pc, admin_cc_client): |
| LOW | tests/integration/suite/test_namespaced_secrets.py | 114 | def test_namespaced_docker_credential(admin_pc, admin_cc_client): |
| LOW | tests/integration/suite/test_namespaced_secrets.py | 167 | def test_namespaced_basic_auth(admin_pc, admin_cc_client): |
| LOW | tests/integration/suite/test_etcdbackups.py | 27 | def test_standard_users_cannot_access_backups(admin_mc, user_factory): |
| LOW | tests/integration/suite/test_pod_security_policies.py | 10 | def remove_pspt_from_cluster_and_delete(cluster): |
| LOW | tests/integration/suite/test_pod_security_policies.py | 23 | def check_cluster_kubernetes_version(admin_mc): |
| LOW | tests/integration/suite/test_pod_security_policies.py | 77 | def service_account_has_role_binding(rbac, pspt): |
| LOW | tests/integration/suite/test_pod_security_policies.py | 87 | def test_service_accounts_have_role_binding(admin_mc, request): |
| LOW | tests/integration/suite/test_pod_security_policies.py | 112 | def test_pod_security_policy_template_del(admin_mc, admin_pc, remove_resource, |
| LOW | tests/integration/suite/test_pod_security_policies.py | 243 | def test_project_action_set_pspt(admin_mc, admin_pc, |
| LOW | …integration/suite/test_kontainer_engine_annotations.py | 36 | def assert_cluster_annotation(expected, admin_mc, remove_resource, config): |
| LOW | tests/integration/suite/common.py | 112 | def wait_for_template_to_be_created(client, name, timeout=45): |
| LOW | tests/integration/suite/common.py | 127 | def wait_for_template_versions_to_be_created(client, version, timeout=45): |
| LOW | tests/integration/suite/common.py | 142 | def wait_for_template_to_be_deleted(client, name, timeout=60): |
| LOW | tests/integration/suite/common.py | 167 | def wait_for_atleast_workload(pclient, nsid, timeout=60, count=0): |
| LOW | tests/integration/suite/test_secrets.py | 272 | def test_secret_creation_kubectl(admin_mc, admin_cc, remove_resource): |
| LOW | tests/integration/suite/test_secrets.py | 308 | def test_malformed_secret_parse(admin_mc, admin_cc, remove_resource): |
| LOW | tests/integration/suite/test_persistent_volume_claim.py | 7 | def test_cannot_create_azure_no_accountstoragetype(admin_pc, admin_cc, |
| LOW | tests/integration/suite/test_persistent_volume_claim.py | 50 | def test_can_create_azure_any_accountstoragetype(admin_pc, admin_cc, |
| LOW | tests/integration/suite/test_persistent_volume_claim.py | 109 | def test_can_create_pvc_no_storage_no_vol(admin_pc, remove_resource): |
| LOW | tests/integration/suite/test_deployment.py | 7 | def test_dep_creation_kubectl(admin_mc, admin_cc, remove_resource): |
| LOW | tests/integration/suite/test_tokens.py | 55 | def test_kubeconfig_token_ttl(admin_mc, user_mc): |
| LOW | tests/integration/suite/test_kontainer_drivers.py | 29 | def test_kontainer_driver_lifecycle(admin_mc, list_remove_resource): |
| LOW | tests/integration/suite/test_kontainer_drivers.py | 108 | def test_enabling_driver_exposes_schema(admin_mc, wait_remove_resource): |
| LOW | tests/integration/suite/test_kontainer_drivers.py | 153 | def test_upgrade_changes_schema(admin_mc, wait_remove_resource): |
| LOW | tests/integration/suite/test_kontainer_drivers.py | 191 | def test_create_duplicate_driver_conflict(admin_mc, wait_remove_resource): |
| LOW | tests/integration/suite/test_kontainer_drivers.py | 220 | def test_update_duplicate_driver_conflict(admin_mc, wait_remove_resource): |
| LOW | tests/integration/suite/test_kontainer_drivers.py | 283 | def verify_driver_not_in_types(client, kd): |
| LOW | tests/integration/suite/test_workloads.py | 9 | def test_workload_image_change_private_registry(admin_pc): |
| LOW | tests/integration/suite/test_workloads.py | 66 | def test_workload_ports_change(admin_pc): |
| LOW | tests/integration/suite/test_workloads.py | 201 | def test_statefulset_workload_volumemount_subpath(admin_pc): |
| LOW | tests/integration/suite/test_workloads.py | 344 | def test_perform_workload_action_read_only(admin_mc, admin_pc, remove_resource, |
| LOW | tests/integration/suite/test_workloads.py | 439 | def wait_for_service_cluserip_set(client, name, timeout=30): |
| LOW | tests/integration/suite/test_workloads.py | 450 | def wait_for_service_cluserip_reset(client, name, timeout=30): |
| LOW | tests/integration/suite/test_persistent_volume.py | 4 | def test_persistent_volume_update(admin_cc, remove_resource): |
| LOW | tests/integration/suite/test_node.py | 62 | def test_amazon_node_driver_schema(admin_mc): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/integration/suite/alert_common.py | 14 | except Exception: |
| MEDIUM | .github/scripts/list-ci-failures-for-pr.py | 13 | print("Error: GH_TOKEN environment variable not set") |
| LOW | .github/scripts/list-ci-failures-for-pr.py | 212 | except Exception as exc: |
| MEDIUM | .github/scripts/list-ci-failures-for-pr.py | 214 | print(f"Error processing job {job['name']}: {exc}") |
| MEDIUM | .github/scripts/list-ci-failures-for-pr.py | 223 | print(f"Error fetching Pull Request details: {pr_response.status_code}") |
| MEDIUM | .github/scripts/list-ci-failures-for-pr.py | 234 | print(f"Error fetching workflow runs: {runs_response.status_code}") |
| LOW | .github/scripts/list-ci-failures-for-pr.py | 267 | except Exception as exc: |
| MEDIUM | .github/scripts/list-ci-failures-for-pr.py | 269 | print(f"Error processing workflow {workflow_name} attempt {attempt_num}: {exc}") |
| MEDIUM | .github/scripts/list-ci-failures-for-pr.py | 299 | print("Error: Repository not specified. Use --repo option or set the REPOSITORY environment variable") |
| MEDIUM | .github/scripts/list-ci-failures-for-pr.py | 305 | print("Error: Repository must be in the format 'owner/name'") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | pkg/auth/providers/scim/filter_test.go | 155 | filter: `userName eq "user@example.com"`, |
| LOW | pkg/auth/providers/scim/filter_test.go | 159 | Value: "user@example.com", |
| LOW | pkg/auth/providers/scim/user_test.go | 739 | userMGR.EXPECT().EnsureUser("okta_user://john.doe", "John Doe").Return(&v3.User{ |
| LOW | pkg/auth/providers/scim/user_test.go | 765 | "displayName": "John Doe", |
| LOW | pkg/auth/providers/scim/user_test.go | 2679 | assert.Equal(t, "John Doe", u.DisplayName) |
| LOW | pkg/auth/providers/scim/user_test.go | 2692 | "Operations": [{"op": "add", "path": "displayName", "value": "John Doe"}] |
| LOW | pkg/auth/providers/keycloakoidc/keycloak_server_test.go | 127 | "email": "user@example.com", |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | chart/values.yaml | 312 | # Create a dynamic manifests via values: |
| MEDIUM | tests/integration/suite/test_workloads.py | 360 | # Create a read-only user binding. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | pkg/settings/setting.go | 115 | SystemAgentInstallScript = NewSetting("system-agent-install-script", "https://github.com/rancher/system-agen |
| MEDIUM | pkg/auth/providers/keycloakoidc/keycloak_client.go | 154 | // you must have a group's id to utilize the keycloak by id search endpoint. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | pkg/catalogv2/content/content.go | 6 | - Auto-generated code by Wrangler, encapsulated in high-level functions. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | chart/values.yaml | 191 | # Set priorityClassName to avoid eviction |
| LOW | scripts/only-ui-bumps.sh | 6 | # Check if there is only one changed file and if its 'package/Dockerfile' |
| LOW | scripts/only-ui-bumps.sh | 9 | # Check if only CATTLE_UI_VERSION and CATTLE_DASHBOARD_UI_VERSION are changed in 'package/Dockerfile' |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/integration/suite/common.py | 157 | |
| LOW | tests/integration/suite/test_kontainer_drivers.py | 251 | |
| LOW | .github/scripts/list-ci-failures-for-pr.py | 187 | |
| LOW | .github/scripts/list-ci-failures-for-pr.py | 218 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ontrollers/capr/managesystemagent/managesystemagent.go | 539 | // Step 1: uninstall the system-agent bundle |