Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pb-4468: Added support changes to support sseType option of kopia #313

Merged
merged 2 commits into from
Oct 4, 2023

Conversation

siva-portworx
Copy link
Contributor

Screenshot 2023-10-03 at 9 58 34 PM
What this PR does / why we need it:

pb-4468: Added support changes to support sseType option of kopia

            - Added changes to include sse type in the credential secret
              used by kopia job pod.
            - Added --sseType option support of kopia tool to pass the sse
              type to kopia
            - Checked in the modified kopia tool binary with sseType option support.
            - Modified the Dockerfile.kopia to pick up the new modified
              kopia binary with sseType. Used v0.14.1 version of kopia release.

Which issue(s) this PR fixes (optional)
Closes # pb-4468

Special notes for your reviewer:
Testing:

  1. Tested portworx to take kdmp backup with ENABLE_PX_GENERIC_BACKUP: "true" in kdmp-config.
    Screenshot 2023-10-03 at 9 59 08 PM
    Screenshot 2023-10-03 at 9 58 53 PM

Screenshot 2023-10-03 at 9 58 40 PM

The changes done in the Kopia source code: ( v0.14.1). Will decide how to park this changes.

root@ip-10-13-108-165:~/go/src/github.com/kopia# git diff
diff --git a/cli/storage_s3.go b/cli/storage_s3.go
index 7522851d..1ab72cdf 100644
--- a/cli/storage_s3.go
+++ b/cli/storage_s3.go
@@ -29,6 +29,7 @@ func (c *storageS3Flags) Setup(svc StorageProviderServices, cmd *kingpin.CmdClau
        cmd.Flag("prefix", "Prefix to use for objects in the bucket. Put trailing slash (/) if you want to use prefix as directory. e.g my-backup-dir/ would put repository contents inside my-backup-dir directory").StringVar(&c.s3options.Prefix)
        cmd.Flag("disable-tls", "Disable TLS security (HTTPS)").BoolVar(&c.s3options.DoNotUseTLS)
        cmd.Flag("disable-tls-verification", "Disable TLS (HTTPS) certificate verification").BoolVar(&c.s3options.DoNotVerifyTLS)
+       cmd.Flag("sseType", "SSE types, only SSE-S3 is supported.").Required().StringVar(&c.s3options.SseType)

        commonThrottlingFlags(cmd, &c.s3options.Limits)

diff --git a/repo/blob/s3/s3_options.go b/repo/blob/s3/s3_options.go
index 626afb51..b4293c28 100644
--- a/repo/blob/s3/s3_options.go
+++ b/repo/blob/s3/s3_options.go
@@ -22,6 +22,7 @@ type Options struct {
        AccessKeyID     string `json:"accessKeyID"`
        SecretAccessKey string `json:"secretAccessKey" kopia:"sensitive"`
        SessionToken    string `json:"sessionToken"    kopia:"sensitive"`
+       SseType string `json:"sseType"    kopia:"sensitive"`

        // Region is an optional region to pass in authorization header.
        Region string `json:"region,omitempty"`
diff --git a/repo/blob/s3/s3_storage.go b/repo/blob/s3/s3_storage.go
index d267a8a3..1e118397 100644
--- a/repo/blob/s3/s3_storage.go
+++ b/repo/blob/s3/s3_storage.go
@@ -15,6 +15,7 @@
        "github.com/minio/minio-go/v7"
        "github.com/minio/minio-go/v7/pkg/credentials"
        "github.com/pkg/errors"
+       "github.com/minio/minio-go/v7/pkg/encrypt"

        "github.com/kopia/kopia/internal/clock"
        "github.com/kopia/kopia/internal/gather"
@@ -169,6 +170,11 @@ func (s *s3Storage) putBlob(ctx context.Context, b blob.ID, data blob.Bytes, opt
                retainUntilDate = clock.Now().Add(opts.RetentionPeriod).UTC()
        }

+       var sse encrypt.ServerSide
+       if s.SseType == "SSE-S3" {
+               sse = encrypt.NewSSE()
+       }
+
        uploadInfo, err := s.cli.PutObject(ctx, s.BucketName, s.getObjectNameString(b), data.Reader(), int64(data.Length()), minio.PutObjectOptions{
                ContentType: "application/x-kopia",
                // Kopia already splits snapshot contents into small blobs to improve
@@ -183,6 +189,7 @@ func (s *s3Storage) putBlob(ctx context.Context, b blob.ID, data blob.Bytes, opt
                StorageClass:    storageClass,
                RetainUntilDate: retainUntilDate,
                Mode:            retentionMode,
+               ServerSideEncryption: sse,
        })

        if isInvalidCredentials(err) {
root@ip-10-13-108-165:~/go/src/github.com/kopia#

@github-actions
Copy link

github-actions bot commented Oct 3, 2023

OSS Scan Results:

Title Severity Package Name CVEs Fix version Introduced

Total issues: 0

@github-actions
Copy link

github-actions bot commented Oct 3, 2023

License Evaluation Results:

Title Package Name Package Version Severity License Info Introduced
MPL-2.0 license github.com/hashicorp/errwrap 1.1.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#72cf75320066', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#72cf75320066', 'github.com/hashicorp/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-multierror 1.1.1 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#72cf75320066', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#72cf75320066', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/version@#72cf75320066', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#72cf75320066', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/k8sutils@#72cf75320066', 'github.com/libopenstorage/stork/pkg/version@#72cf75320066', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/resourcecollector@#72cf75320066', 'github.com/libopenstorage/stork/pkg/version@#72cf75320066', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#72cf75320066', 'github.com/libopenstorage/stork/pkg/version@#72cf75320066', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume@#72cf75320066', 'github.com/libopenstorage/stork/pkg/k8sutils@#72cf75320066', 'github.com/libopenstorage/stork/pkg/version@#72cf75320066', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/aws@#72cf75320066', 'github.com/libopenstorage/stork/pkg/k8sutils@#72cf75320066', 'github.com/libopenstorage/stork/pkg/version@#72cf75320066', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/azure@#72cf75320066', 'github.com/libopenstorage/stork/pkg/k8sutils@#72cf75320066', 'github.com/libopenstorage/stork/pkg/version@#72cf75320066', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#72cf75320066', 'github.com/libopenstorage/stork/pkg/k8sutils@#72cf75320066', 'github.com/libopenstorage/stork/pkg/version@#72cf75320066', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/gcp@#72cf75320066', 'github.com/libopenstorage/stork/pkg/k8sutils@#72cf75320066', 'github.com/libopenstorage/stork/pkg/version@#72cf75320066', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#72cf75320066', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#72cf75320066', 'github.com/libopenstorage/stork/pkg/version@#72cf75320066', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/snapshotter@#72cf75320066', 'github.com/libopenstorage/stork/pkg/k8sutils@#72cf75320066', 'github.com/libopenstorage/stork/pkg/version@#72cf75320066', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#72cf75320066', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#72cf75320066', 'github.com/libopenstorage/stork/pkg/k8sutils@#72cf75320066', 'github.com/libopenstorage/stork/pkg/version@#72cf75320066', 'github.com/hashicorp/[email protected]']
Unknown license github.com/rancher/wrangler/pkg/name 1.1.0 high Unknown ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#72cf75320066', 'github.com/libopenstorage/stork/pkg/platform/rancher@#72cf75320066', 'github.com/rancher/rancher/pkg/client/generated/management/v3@#a67566517525', 'github.com/rancher/norman/types@#275a3e921940', 'github.com/rancher/wrangler/pkg/[email protected]']
Unknown license github.com/rancher/wrangler/pkg/name 1.1.0 high Unknown ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#72cf75320066', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#72cf75320066', 'github.com/libopenstorage/stork/pkg/platform/rancher@#72cf75320066', 'github.com/rancher/rancher/pkg/client/generated/management/v3@#a67566517525', 'github.com/rancher/norman/types@#275a3e921940', 'github.com/rancher/wrangler/pkg/[email protected]']
Unknown license github.com/rancher/wrangler/pkg/name 1.1.0 high Unknown ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#72cf75320066', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#72cf75320066', 'github.com/libopenstorage/stork/pkg/platform/rancher@#72cf75320066', 'github.com/rancher/rancher/pkg/client/generated/management/v3@#a67566517525', 'github.com/rancher/norman/types@#275a3e921940', 'github.com/rancher/wrangler/pkg/[email protected]']

Total License Issues: 19

@github-actions
Copy link

github-actions bot commented Oct 4, 2023

OSS Scan Results:

Title Severity Package Name CVEs Fix version Introduced

Total issues: 0

@github-actions
Copy link

github-actions bot commented Oct 4, 2023

License Evaluation Results:

Title Package Name Package Version Severity License Info Introduced
MPL-2.0 license github.com/hashicorp/errwrap 1.1.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#29f495ef07e2', 'github.com/hashicorp/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-multierror 1.1.1 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/resourcecollector@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/aws@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/azure@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/gcp@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/snapshotter@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#29f495ef07e2', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
Unknown license github.com/rancher/wrangler/pkg/name 1.1.0 high Unknown ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/platform/rancher@#29f495ef07e2', 'github.com/rancher/rancher/pkg/client/generated/management/v3@#a67566517525', 'github.com/rancher/norman/types@#275a3e921940', 'github.com/rancher/wrangler/pkg/[email protected]']
Unknown license github.com/rancher/wrangler/pkg/name 1.1.0 high Unknown ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/platform/rancher@#29f495ef07e2', 'github.com/rancher/rancher/pkg/client/generated/management/v3@#a67566517525', 'github.com/rancher/norman/types@#275a3e921940', 'github.com/rancher/wrangler/pkg/[email protected]']
Unknown license github.com/rancher/wrangler/pkg/name 1.1.0 high Unknown ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/platform/rancher@#29f495ef07e2', 'github.com/rancher/rancher/pkg/client/generated/management/v3@#a67566517525', 'github.com/rancher/norman/types@#275a3e921940', 'github.com/rancher/wrangler/pkg/[email protected]']

Total License Issues: 19

Dockerfile.kopia Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Oct 4, 2023

OSS Scan Results:

Title Severity Package Name CVEs Fix version Introduced

Total issues: 0

@github-actions
Copy link

github-actions bot commented Oct 4, 2023

License Evaluation Results:

Title Package Name Package Version Severity License Info Introduced
MPL-2.0 license github.com/hashicorp/errwrap 1.1.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#29f495ef07e2', 'github.com/hashicorp/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-multierror 1.1.1 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/resourcecollector@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/aws@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/azure@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/gcp@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/snapshotter@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#29f495ef07e2', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
Unknown license github.com/rancher/wrangler/pkg/name 1.1.0 high Unknown ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/platform/rancher@#29f495ef07e2', 'github.com/rancher/rancher/pkg/client/generated/management/v3@#a67566517525', 'github.com/rancher/norman/types@#275a3e921940', 'github.com/rancher/wrangler/pkg/[email protected]']
Unknown license github.com/rancher/wrangler/pkg/name 1.1.0 high Unknown ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/platform/rancher@#29f495ef07e2', 'github.com/rancher/rancher/pkg/client/generated/management/v3@#a67566517525', 'github.com/rancher/norman/types@#275a3e921940', 'github.com/rancher/wrangler/pkg/[email protected]']
Unknown license github.com/rancher/wrangler/pkg/name 1.1.0 high Unknown ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/platform/rancher@#29f495ef07e2', 'github.com/rancher/rancher/pkg/client/generated/management/v3@#a67566517525', 'github.com/rancher/norman/types@#275a3e921940', 'github.com/rancher/wrangler/pkg/[email protected]']

Total License Issues: 19

sivakumar subraani added 2 commits October 4, 2023 14:09
	- Added changes to include sse type in the credential secret
	  used by kopia job pod.
	- Added --sseType option support of kopia tool to pass the sse
	  type to kopia
	- Checked in the modified kopia tool binary with sseType option support.
	- Modified the Dockerfile.kopia to pick up the new modified
	  kopia binary with sseType. Used v0.14.1 version of kopia release.
@github-actions
Copy link

github-actions bot commented Oct 4, 2023

OSS Scan Results:

Title Severity Package Name CVEs Fix version Introduced

Total issues: 0

@github-actions
Copy link

github-actions bot commented Oct 4, 2023

License Evaluation Results:

Title Package Name Package Version Severity License Info Introduced
MPL-2.0 license github.com/hashicorp/errwrap 1.1.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#29f495ef07e2', 'github.com/hashicorp/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-multierror 1.1.1 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/resourcecollector@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/aws@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/azure@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/gcp@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/snapshot/controllers@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/snapshotter@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
MPL-2.0 license github.com/hashicorp/go-version 1.6.0 medium MPL-2.0 ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#29f495ef07e2', 'github.com/libopenstorage/stork/drivers/volume/kdmp@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/k8sutils@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/version@#29f495ef07e2', 'github.com/hashicorp/[email protected]']
Unknown license github.com/rancher/wrangler/pkg/name 1.1.0 high Unknown ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/platform/rancher@#29f495ef07e2', 'github.com/rancher/rancher/pkg/client/generated/management/v3@#a67566517525', 'github.com/rancher/norman/types@#275a3e921940', 'github.com/rancher/wrangler/pkg/[email protected]']
Unknown license github.com/rancher/wrangler/pkg/name 1.1.0 high Unknown ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/csi@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/platform/rancher@#29f495ef07e2', 'github.com/rancher/rancher/pkg/client/generated/management/v3@#a67566517525', 'github.com/rancher/norman/types@#275a3e921940', 'github.com/rancher/wrangler/pkg/[email protected]']
Unknown license github.com/rancher/wrangler/pkg/name 1.1.0 high Unknown ['github.com/portworx/[email protected]', 'github.com/libopenstorage/stork/drivers/volume/portworx@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/applicationmanager/controllers@#29f495ef07e2', 'github.com/libopenstorage/stork/pkg/platform/rancher@#29f495ef07e2', 'github.com/rancher/rancher/pkg/client/generated/management/v3@#a67566517525', 'github.com/rancher/norman/types@#275a3e921940', 'github.com/rancher/wrangler/pkg/[email protected]']

Total License Issues: 19

@siva-portworx siva-portworx merged commit 758b06e into master Oct 4, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants