Skip to content

fix(kas): Only hit authorization if data attributes not empty #6524

fix(kas): Only hit authorization if data attributes not empty

fix(kas): Only hit authorization if data attributes not empty #6524

Triggered via pull request November 13, 2024 05:46
Status Failure
Total duration 9m 21s
Artifacts 1

checks.yaml

on: pull_request
Matrix: go
integration tests
4m 43s
integration tests
image build
1m 50s
image build
platform-xtest  /  cross-client-test
9m 1s
platform-xtest / cross-client-test
otdfctl e2e tests
4m 26s
otdfctl e2e tests
Protocol Buffer Lint and Gencode Up-to-date check
26s
Protocol Buffer Lint and Gencode Up-to-date check
license check
1m 4s
license check
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 9 warnings
go (service): service/kas/access/accessPdp.go#L18
S1009: should omit nil check; len() for []string is defined as zero (gosimple)
go (service): service/kas/access/accessPdp.go#L22
S1009: should omit nil check; len() for []github.com/opentdf/platform/service/kas/access.Attribute is defined as zero (gosimple)
go (service)
issues found
go (sdk)
The job was canceled because "service" failed.
go (sdk)
The operation was canceled.
ci
Process completed with exit code 1.
otdfctl e2e tests
Restore cache failed: Dependencies file is not found in /home/runner/work/platform/platform. Supported file pattern: go.sum
otdfctl e2e tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
otdfctl e2e tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
otdfctl e2e tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
otdfctl e2e tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
integration tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
integration tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
integration tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
integration tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2

Artifacts

Produced during runtime
Name Size
opentdf~platform~CMVQL0.dockerbuild
15 KB