Backup and migrate Kubernetes applications and their persistent volumes
This report summarizes scanner evidence for velero-io/velero, a Go project with 10,364 GitHub stars. SynthScan examined 529,436 lines of code across 3218 source files, recording 634 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 1.8 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 458 finding(s).
Are imports declared and package/API names verified? 109 finding(s).
Are wrappers, guards, and repeated structures necessary? 67 finding(s).
Which changes need focused human review? 634 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 634 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .goreleaser.yml | 1 | # Copyright 2018 the Velero contributors. | COMMENT |
| LOW | .golangci.yaml | 1 | # This file contains all available configuration options | COMMENT |
| LOW | design/new-prepost-backuprestore-plugin-hooks.md | 181 | // StartTimestamp records the time the plugin started. | COMMENT |
| LOW | design/new-prepost-backuprestore-plugin-hooks.md | 221 | (...) | COMMENT |
| LOW | design/Implemented/cluster-scope-resource-filter.md | 341 | // +optional | COMMENT |
| LOW | design/Implemented/cluster-scope-resource-filter.md | 361 | // resource type names to exclude from the backup. | COMMENT |
| LOW | design/Implemented/general-progress-monitoring.md | 321 | Three new methods will be added to the BackupItemAction interface, and the Execute() return signature | COMMENT |
| LOW | design/Implemented/general-progress-monitoring.md | 341 | Progress(operationID string, backup *api.Backup) (velero.OperationProgress, error) | COMMENT |
| LOW | …plemented/plugin-backup-and-restore-progress-design.md | 101 | // +optional | COMMENT |
| LOW | …plemented/plugin-backup-and-restore-progress-design.md | 241 | // +nullable | COMMENT |
| LOW | …plemented/plugin-backup-and-restore-progress-design.md | 321 | Message string `json:"message,omitempty"` | COMMENT |
| LOW | design/Implemented/concurrent-backup-processing.md | 181 | 4) If we get here, remove the backup from the queue by setting Phase to `ReadyToStart` and `QueuePosition` to zero. Decr | COMMENT |
| LOW | design/Implemented/wait-for-additional-items.md | 81 | // AppliesTo returns information about which resources this action should be invoked for. | COMMENT |
| LOW | design/Implemented/wait-for-additional-items.md | 141 | // be restored. | COMMENT |
| LOW | design/CLI/PoC/base/minio.yaml | 1 | # Copyright 2017 the Velero contributors. | COMMENT |
| LOW | test/types.go | 41 | StorageClassFile = "" | COMMENT |
| LOW | test/util/velero/velero_utils.go | 801 | actualCount := 0 | COMMENT |
| LOW | test/util/providers/common.go | 181 | COMMENT | |
| LOW | test/util/kibishii/kibishii_utils.go | 281 | } | COMMENT |
| LOW | test/pkg/client/factory.go | 41 | // BindFlags binds common flags (--kubeconfig, --namespace) to the passed-in FlagSet. | COMMENT |
| LOW | internal/resourcepolicies/resource_policies.go | 221 | // Refer to the comment in the velerov1api.BackupSpec for more details. | COMMENT |
| LOW | internal/resourcepolicies/resource_policies.go | 281 | default: | COMMENT |
| LOW | internal/resourcepolicies/resource_policies.go | 381 | // that same empty representation to mean the opposite - "a configured includedNamespacesByLabel | COMMENT |
| LOW | internal/hook/hook_tracker.go | 41 | // HookName is only for hooks specified in the backup/restore spec. | COMMENT |
| LOW | hack/changelog-check.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hack/update-3generated-crd-code.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hack/update-1fmt.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hack/run-e2e-kind.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/run-e2e-kind.sh | 21 | # | COMMENT |
| LOW | hack/update-2proto.sh | 1 | #!/bin/bash -e | COMMENT |
| LOW | hack/lint.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hack/build.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hack/verify-generated-issue-template.sh | 1 | #!/bin/bash -e | COMMENT |
| LOW | hack/verify-fmt.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hack/verify-build-image-tool-checksums.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/verify-all.sh | 1 | #!/bin/bash -e | COMMENT |
| LOW | hack/test.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hack/docker-push.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hack/update-all.sh | 1 | #!/bin/bash -e | COMMENT |
| LOW | hack/update-4generated-issue-template.sh | 1 | #!/bin/bash -e | COMMENT |
| LOW | hack/install-csi-hostpath.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/release-tools/changelog.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hack/release-tools/gen-docs.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hack/release-tools/gen-docs.sh | 21 | # directory, to establish a useful baseline to diff against. | COMMENT |
| LOW | hack/release-tools/goreleaser.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hack/release-tools/tag-release.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/release-tools/tag-release.sh | 21 | # - create a git tag | COMMENT |
| LOW | examples/nginx-app/with-pv.yaml | 1 | # Copyright 2017 the Velero contributors. | COMMENT |
| LOW | examples/nginx-app/base.yaml | 1 | # Copyright 2017 the Velero contributors. | COMMENT |
| LOW | examples/minio/00-minio-deployment.yaml | 1 | # Copyright 2017 the Velero contributors. | COMMENT |
| LOW | .github/workflows/backport.yml | 1 | name: Backport merged pull request | COMMENT |
| LOW | .github/workflows/backport.yml | 21 | # and `/backport release-1.17` are equivalent. This works generically for | COMMENT |
| LOW | .github/workflows/backport.yml | 201 | COMMENT | |
| LOW | .github/workflows/e2e-test-kind.yaml | 141 | csi-matrix: ${{ steps.set-matrix.outputs.csi-matrix }} | COMMENT |
| LOW | site/content/docs/v0.7.0/api-types/backup.md | 41 | includedResources: | COMMENT |
| LOW | site/content/docs/v0.7.0/api-types/backup.md | 61 | component: server | COMMENT |
| LOW | site/content/docs/v0.7.0/api-types/backup.md | 101 | # The type of hook. This must be "exec". | COMMENT |
| LOW | site/content/docs/v1.3.1/api-types/restore.md | 41 | # Array of resources to include in the restore. Resources may be shortcuts (e.g. 'po' for 'pods') | COMMENT |
| LOW | site/content/docs/v1.3.1/api-types/restore.md | 61 | matchLabels: | COMMENT |
| LOW | site/content/docs/v1.3.1/api-types/schedule.md | 41 | # Array of namespaces to exclude from the scheduled backup. Optional. | COMMENT |
| 366 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/backport.yml | 68 | # ── Pre-merge: convert a /backport or /cherrypick comment into labels ─────── | COMMENT |
| MEDIUM | .github/workflows/backport.yml | 124 | # ── Post-merge: create backport PRs ───────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.16/backup-reference.md | 38 | # ┌───────────── minute (0 - 59) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.16/backup-reference.md | 39 | # │ ┌───────────── hour (0 - 23) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.16/backup-reference.md | 40 | # │ │ ┌───────────── day of the month (1 - 31) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.16/backup-reference.md | 41 | # │ │ │ ┌───────────── month (1 - 12) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.16/backup-reference.md | 42 | # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday; | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.11/backup-reference.md | 33 | # ┌───────────── minute (0 - 59) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.11/backup-reference.md | 34 | # │ ┌───────────── hour (0 - 23) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.11/backup-reference.md | 35 | # │ │ ┌───────────── day of the month (1 - 31) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.11/backup-reference.md | 36 | # │ │ │ ┌───────────── month (1 - 12) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.11/backup-reference.md | 37 | # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday; | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.18/backup-reference.md | 38 | # ┌───────────── minute (0 - 59) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.18/backup-reference.md | 39 | # │ ┌───────────── hour (0 - 23) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.18/backup-reference.md | 40 | # │ │ ┌───────────── day of the month (1 - 31) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.18/backup-reference.md | 41 | # │ │ │ ┌───────────── month (1 - 12) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.18/backup-reference.md | 42 | # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday; | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.10/backup-reference.md | 33 | # ┌───────────── minute (0 - 59) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.10/backup-reference.md | 34 | # │ ┌───────────── hour (0 - 23) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.10/backup-reference.md | 35 | # │ │ ┌───────────── day of the month (1 - 31) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.10/backup-reference.md | 36 | # │ │ │ ┌───────────── month (1 - 12) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.10/backup-reference.md | 37 | # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday; | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.17/backup-reference.md | 38 | # ┌───────────── minute (0 - 59) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.17/backup-reference.md | 39 | # │ ┌───────────── hour (0 - 23) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.17/backup-reference.md | 40 | # │ │ ┌───────────── day of the month (1 - 31) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.17/backup-reference.md | 41 | # │ │ │ ┌───────────── month (1 - 12) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.17/backup-reference.md | 42 | # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday; | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.9/backup-reference.md | 33 | # ┌───────────── minute (0 - 59) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.9/backup-reference.md | 34 | # │ ┌───────────── hour (0 - 23) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.9/backup-reference.md | 35 | # │ │ ┌───────────── day of the month (1 - 31) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.9/backup-reference.md | 36 | # │ │ │ ┌───────────── month (1 - 12) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.9/backup-reference.md | 37 | # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday; | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.7/backup-reference.md | 33 | # ┌───────────── minute (0 - 59) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.7/backup-reference.md | 34 | # │ ┌───────────── hour (0 - 23) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.7/backup-reference.md | 35 | # │ │ ┌───────────── day of the month (1 - 31) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.7/backup-reference.md | 36 | # │ │ │ ┌───────────── month (1 - 12) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.7/backup-reference.md | 37 | # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday; | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.8/backup-reference.md | 33 | # ┌───────────── minute (0 - 59) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.8/backup-reference.md | 34 | # │ ┌───────────── hour (0 - 23) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.8/backup-reference.md | 35 | # │ │ ┌───────────── day of the month (1 - 31) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.8/backup-reference.md | 36 | # │ │ │ ┌───────────── month (1 - 12) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.8/backup-reference.md | 37 | # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday; | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.12/backup-reference.md | 33 | # ┌───────────── minute (0 - 59) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.12/backup-reference.md | 34 | # │ ┌───────────── hour (0 - 23) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.12/backup-reference.md | 35 | # │ │ ┌───────────── day of the month (1 - 31) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.12/backup-reference.md | 36 | # │ │ │ ┌───────────── month (1 - 12) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.12/backup-reference.md | 37 | # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday; | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.15/backup-reference.md | 38 | # ┌───────────── minute (0 - 59) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.15/backup-reference.md | 39 | # │ ┌───────────── hour (0 - 23) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.15/backup-reference.md | 40 | # │ │ ┌───────────── day of the month (1 - 31) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.15/backup-reference.md | 41 | # │ │ │ ┌───────────── month (1 - 12) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.15/backup-reference.md | 42 | # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday; | COMMENT |
| MEDIUM⚡ | site/content/docs/main/backup-reference.md | 65 | # ┌───────────── minute (0 - 59) | COMMENT |
| MEDIUM⚡ | site/content/docs/main/backup-reference.md | 66 | # │ ┌───────────── hour (0 - 23) | COMMENT |
| MEDIUM⚡ | site/content/docs/main/backup-reference.md | 67 | # │ │ ┌───────────── day of the month (1 - 31) | COMMENT |
| MEDIUM⚡ | site/content/docs/main/backup-reference.md | 68 | # │ │ │ ┌───────────── month (1 - 12) | COMMENT |
| MEDIUM⚡ | site/content/docs/main/backup-reference.md | 69 | # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday; | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.14/backup-reference.md | 38 | # ┌───────────── minute (0 - 59) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.14/backup-reference.md | 39 | # │ ┌───────────── hour (0 - 23) | COMMENT |
| MEDIUM⚡ | site/content/docs/v1.14/backup-reference.md | 40 | # │ │ ┌───────────── day of the month (1 - 31) | COMMENT |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | pkg/cmd/cli/datamover/restore_test.go | 48 | ddName: "fake-name", | CODE |
| LOW⚡ | pkg/cmd/cli/datamover/restore_test.go | 50 | expectedMessage: "Failed to create data path service for DataDownload fake-name: fake-create-data-path-error", | CODE |
| LOW⚡ | pkg/cmd/cli/datamover/restore_test.go | 54 | ddName: "fake-name", | CODE |
| LOW⚡ | pkg/cmd/cli/datamover/restore_test.go | 56 | expectedMessage: "Failed to init data path service for DataDownload fake-name: fake-init-data-path-error", | CODE |
| LOW⚡ | pkg/cmd/cli/datamover/restore_test.go | 60 | ddName: "fake-name", | CODE |
| LOW⚡ | pkg/cmd/cli/datamover/restore_test.go | 62 | expectedMessage: "Failed to run data path service for DataDownload fake-name: fake-run-data-path-error", | CODE |
| LOW⚡ | pkg/cmd/cli/datamover/restore_test.go | 66 | ddName: "fake-name", | CODE |
| LOW⚡ | pkg/cmd/cli/datamover/backup_test.go | 104 | duName: "fake-name", | CODE |
| LOW⚡ | pkg/cmd/cli/datamover/backup_test.go | 106 | expectedMessage: "Failed to create data path service for DataUpload fake-name: fake-create-data-path-error", | CODE |
| LOW⚡ | pkg/cmd/cli/datamover/backup_test.go | 110 | duName: "fake-name", | CODE |
| LOW⚡ | pkg/cmd/cli/datamover/backup_test.go | 112 | expectedMessage: "Failed to init data path service for DataUpload fake-name: fake-init-data-path-error", | CODE |
| LOW⚡ | pkg/cmd/cli/datamover/backup_test.go | 116 | duName: "fake-name", | CODE |
| LOW⚡ | pkg/cmd/cli/datamover/backup_test.go | 118 | expectedMessage: "Failed to run data path service for DataUpload fake-name: fake-run-data-path-error", | CODE |
| LOW⚡ | pkg/cmd/cli/datamover/backup_test.go | 122 | duName: "fake-name", | CODE |
| LOW⚡ | pkg/cmd/cli/podvolume/restore_test.go | 48 | pvrName: "fake-name", | CODE |
| LOW⚡ | pkg/cmd/cli/podvolume/restore_test.go | 50 | expectedMessage: "Failed to create data path service for PVR fake-name: fake-create-data-path-error", | CODE |
| LOW⚡ | pkg/cmd/cli/podvolume/restore_test.go | 54 | pvrName: "fake-name", | CODE |
| LOW⚡ | pkg/cmd/cli/podvolume/restore_test.go | 56 | expectedMessage: "Failed to init data path service for PVR fake-name: fake-init-data-path-error", | CODE |
| LOW⚡ | pkg/cmd/cli/podvolume/restore_test.go | 60 | pvrName: "fake-name", | CODE |
| LOW⚡ | pkg/cmd/cli/podvolume/restore_test.go | 62 | expectedMessage: "Failed to run data path service for PVR fake-name: fake-run-data-path-error", | CODE |
| LOW⚡ | pkg/cmd/cli/podvolume/restore_test.go | 66 | pvrName: "fake-name", | CODE |
| LOW⚡ | pkg/cmd/cli/podvolume/backup_test.go | 85 | pvbName: "fake-name", | CODE |
| LOW⚡ | pkg/cmd/cli/podvolume/backup_test.go | 87 | expectedMessage: "Failed to create data path service for PVB fake-name: fake-create-data-path-error", | CODE |
| LOW⚡ | pkg/cmd/cli/podvolume/backup_test.go | 91 | pvbName: "fake-name", | CODE |
| LOW⚡ | pkg/cmd/cli/podvolume/backup_test.go | 93 | expectedMessage: "Failed to init data path service for PVB fake-name: fake-init-data-path-error", | CODE |
| LOW⚡ | pkg/cmd/cli/podvolume/backup_test.go | 97 | pvbName: "fake-name", | CODE |
| LOW⚡ | pkg/cmd/cli/podvolume/backup_test.go | 99 | expectedMessage: "Failed to run data path service for PVB fake-name: fake-run-data-path-error", | CODE |
| LOW⚡ | pkg/cmd/cli/podvolume/backup_test.go | 103 | pvbName: "fake-name", | CODE |
| LOW⚡ | pkg/repository/udmrepo/kopialib/backend/utils_test.go | 44 | key: "fake-key", | CODE |
| LOW⚡ | pkg/repository/udmrepo/kopialib/backend/utils_test.go | 50 | key: "fake-key", | CODE |
| LOW⚡ | pkg/repository/udmrepo/kopialib/backend/utils_test.go | 52 | "fake-key": "true", | CODE |
| LOW⚡ | pkg/repository/udmrepo/kopialib/backend/utils_test.go | 58 | key: "fake-key", | CODE |
| LOW⚡ | pkg/repository/udmrepo/kopialib/backend/utils_test.go | 60 | "fake-key": "fake-value", | CODE |
| LOW⚡ | pkg/repository/udmrepo/kopialib/backend/utils_test.go | 69 | expectMsg: "Ignore fake-key, value [fake-value] is invalid, err strconv.ParseBool: parsing \"fake-value\": invalid sy | CODE |
| LOW⚡ | pkg/repository/udmrepo/kopialib/backend/utils_test.go | 107 | key: "fake-key", | CODE |
| LOW⚡ | pkg/repository/udmrepo/kopialib/backend/utils_test.go | 114 | key: "fake-key", | CODE |
| LOW⚡ | pkg/repository/udmrepo/kopialib/backend/utils_test.go | 116 | "fake-key": "1000", | CODE |
| LOW⚡ | pkg/repository/udmrepo/kopialib/backend/utils_test.go | 122 | key: "fake-key", | CODE |
| LOW⚡ | pkg/repository/udmrepo/kopialib/backend/utils_test.go | 124 | "fake-key": "fake-value", | CODE |
| LOW⚡ | pkg/repository/udmrepo/kopialib/backend/utils_test.go | 133 | expectMsg: "Ignore fake-key, value [fake-value] is invalid, err strconv.ParseInt: parsing \"fake-value\": invalid | CODE |
| LOW | pkg/repository/udmrepo/kopialib/backend/common_test.go | 142 | udmrepo.GenOptionOwnerName: "fake-user", | CODE |
| LOW | pkg/repository/udmrepo/kopialib/backend/common_test.go | 148 | Username: "fake-user", | CODE |
| LOW | pkg/repository/udmrepo/kopialib/backend/s3_test.go | 60 | udmrepo.StoreOptionS3Token: "fake-token", | CODE |
| LOW | pkg/repository/udmrepo/kopialib/backend/s3_test.go | 69 | SessionToken: "fake-token", | CODE |
| LOW | pkg/util/velero/velero_test.go | 902 | Labels: map[string]string{"fake-key": "fake-value"}, | CODE |
| LOW | pkg/util/velero/velero_test.go | 914 | result := GetVeleroServerLabelValue(tt.deployment, "fake-key") | CODE |
| LOW | pkg/util/kube/pvc_pv_test.go | 2060 | Key: "fake-key", | CODE |
| LOW | pkg/util/kube/pvc_pv_test.go | 2157 | Key: "fake-key", | CODE |
| LOW | pkg/util/logging/log_merge_hook_test.go | 49 | Data: logrus.Fields{"fake-key": "fake-value"}, | CODE |
| LOW | pkg/datamover/backup_micro_service_test.go | 96 | dataUploadName := "fake-data-upload" | CODE |
| LOW | pkg/datamover/backup_micro_service_test.go | 107 | expectedErr := "Data path for data upload fake-data-upload failed: fake-error" | CODE |
| LOW | pkg/datamover/backup_micro_service_test.go | 109 | expectedEventMsg := "Data path for data upload fake-data-upload failed, error fake-error" | CODE |
| LOW | pkg/datamover/backup_micro_service_test.go | 120 | dataUploadName := "fake-data-upload" | CODE |
| LOW | pkg/datamover/backup_micro_service_test.go | 133 | expectedEventMsg := "Data path for data upload fake-data-upload canceled" | CODE |
| LOW | pkg/datamover/backup_micro_service_test.go | 167 | dataUploadName := "fake-data-upload" | CODE |
| LOW | pkg/datamover/backup_micro_service_test.go | 221 | dataUploadName := "fake-data-upload" | CODE |
| LOW | pkg/datamover/backup_micro_service_test.go | 259 | expectedEventMsg: "Data path for fake-data-upload exited without start", | CODE |
| LOW | pkg/datamover/backup_micro_service_test.go | 266 | dataUploadName := "fake-data-upload" | CODE |
| LOW | pkg/datamover/backup_micro_service_test.go | 291 | dataUploadName := "fake-data-upload" | CODE |
| LOW | pkg/datamover/backup_micro_service_test.go | 357 | err: errors.New("fake-data-path-error"), | CODE |
| 49 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .golangci.yaml | 1 | # This file contains all available configuration options | COMMENT |
| MEDIUM | .golangci.yaml | 407 | # This file contains all available configuration options | COMMENT |
| MEDIUM | .github/labels.yaml | 1 | # This file is used by [prow github action](https://github.com/jpmcb/prow-github-actions/) in .github/workflows/prow-act | COMMENT |
| MEDIUM | .github/labeler.yml | 1 | # This file is used by Auto Label PRs action. | COMMENT |
| MEDIUM | .github/workflows/backport.yml | 118 | # Create the label if it does not exist yet (idempotent). | COMMENT |
| MEDIUM⚡ | pkg/cmd/cli/schedule/create.go | 58 | Example: ` # Create a backup every 6 hours. | CODE |
| MEDIUM⚡ | pkg/cmd/cli/schedule/create.go | 61 | # Create a backup every 6 hours with the @every notation. | COMMENT |
| MEDIUM⚡ | pkg/cmd/cli/schedule/create.go | 64 | # Create a daily backup of the web namespace. | COMMENT |
| MEDIUM⚡ | pkg/cmd/cli/schedule/create.go | 67 | # Create a weekly backup, each living for 90 days (2160 hours). | COMMENT |
| MEDIUM⚡ | pkg/cmd/cli/backup/create.go | 69 | Example: ` # Create a backup containing all resources. | CODE |
| MEDIUM⚡ | pkg/cmd/cli/backup/create.go | 72 | # Create a backup including only the nginx namespace. | COMMENT |
| MEDIUM⚡ | pkg/cmd/cli/backup/create.go | 75 | # Create a backup excluding the velero and default namespaces. | COMMENT |
| MEDIUM⚡ | pkg/cmd/cli/backup/create.go | 78 | # Create a backup based on a schedule named daily-backup. | COMMENT |
| MEDIUM⚡ | pkg/cmd/cli/restore/create.go | 53 | Example: ` # Create a restore named "restore-1" from backup "backup-1". | CODE |
| MEDIUM⚡ | pkg/cmd/cli/restore/create.go | 56 | # Create a restore with a default name ("backup-1-<timestamp>") from backup "backup-1". | COMMENT |
| MEDIUM⚡ | pkg/cmd/cli/restore/create.go | 59 | # Create a restore from the latest successful backup triggered by schedule "schedule-1". | COMMENT |
| MEDIUM⚡ | pkg/cmd/cli/restore/create.go | 62 | # Create a restore from the latest successful OR partially-failed backup triggered by schedule "schedule-1". | COMMENT |
| MEDIUM⚡ | pkg/cmd/cli/restore/create.go | 65 | # Create a restore for only persistentvolumeclaims and persistentvolumes within a backup. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | design/Implemented/multiple-arch-build-with-windows.md | 28 | ### Step 1: Build Separate Manifests | COMMENT |
| LOW⚡ | design/Implemented/multiple-arch-build-with-windows.md | 38 | ### Step 2: Create All-In-One Manifest List | COMMENT |
| LOW⚡ | design/Implemented/multiple-arch-build-with-windows.md | 43 | ### Step 3: Push All-In-One Manifest List | COMMENT |
| LOW | …sign/Implemented/priority-class-name-support_design.md | 540 | # Step 1: Create priority classes in your cluster (if not already existing) | COMMENT |
| LOW | …sign/Implemented/priority-class-name-support_design.md | 567 | # Step 2: Create the namespace | COMMENT |
| LOW | …sign/Implemented/priority-class-name-support_design.md | 570 | # Step 3: Create ConfigMaps for data movers and maintenance jobs | COMMENT |
| LOW | …sign/Implemented/priority-class-name-support_design.md | 585 | # Step 4: Install Velero with priority class configuration | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pkg/controller/backup_controller_test.go | 596 | // the full prepareBackupRequest scaffold (fake client, discovery helper, resource policy | COMMENT |
| MEDIUM | pkg/controller/suite_test.go | 44 | // +kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | …a/v1/elasticsearches.elasticsearch.k8s.elastic.co.json | 7 | "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"apiextensions.k8s.io/v1beta1\",\"kind | CODE |
| MEDIUM | …eta1/elasticsearches.elasticsearch.k8s.elastic.co.json | 17 | "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"apiextensions.k8s.io/v1beta1\",\"kind\":\"C | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pkg/controller/backup_controller.go | 537 | // Essentially, adding the label velero.io/exclude-from-backup=true to a namespace would be equivalent to setting spec. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/run-e2e-kind.sh | 29 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/release-tools/brew-update.sh | 8 | # Check if brew is found on the user's $PATH; exit if not. | COMMENT |