Skip to content

feat(authz): make v2 request limits configurable [backport to release/service/v0.11]#3656

Draft
opentdf-automation[bot] wants to merge 1 commit into
release/service/v0.11from
backport-3508-to-release/service/v0.11
Draft

feat(authz): make v2 request limits configurable [backport to release/service/v0.11]#3656
opentdf-automation[bot] wants to merge 1 commit into
release/service/v0.11from
backport-3508-to-release/service/v0.11

Conversation

@opentdf-automation

Copy link
Copy Markdown
Contributor

Description

Backport of #3508 to release/service/v0.11.

@opentdf-automation

Copy link
Copy Markdown
Contributor Author

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin backport-3508-to-release/service/v0.11
git worktree add --checkout .worktree/backport-3508-to-release/service/v0.11 backport-3508-to-release/service/v0.11
cd .worktree/backport-3508-to-release/service/v0.11
git reset --hard HEAD^
git cherry-pick -x 9d16f8062e6164748a6a27c497272209b743339f
git push --force-with-lease

@opentdf-automation opentdf-automation Bot force-pushed the backport-3508-to-release/service/v0.11 branch from 294f0bc to 5c95450 Compare June 23, 2026 14:49
@github-actions

Copy link
Copy Markdown
Contributor

X-Test Failure Report

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

The following issues were found:
  • ❌ 5 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 11 package(s) with unknown licenses.
See the Details below.

Vulnerabilities

tests-bdd/go.mod

NameVersionVulnerabilitySeverity
github.com/containerd/containerd/v22.1.5containerd user ID handling bypass allows runAsNonRoot evasionhigh
containerd CRI — image-config `LABEL` flows to restart-monitor `binary://` logger: host-root command execution from an image pullhigh
Arbitrary host CRI log file read via symlink following in CRI checkpoint restorehigh
containerd CRI checkpoint restore CDI annotation smugglinghigh
containerd image-triggered runtime DoS via unbounded group parsingmoderate
containerd: CRI checkpoint import allows local image tag poisoningmoderate
github.com/docker/cli28.5.1+incompatibleDocker CLI Plugins: Uncontrolled Search Path Element Leads to Local Privilege Escalation on Windowshigh
github.com/docker/docker28.5.1+incompatibleMoby has AuthZ plugin bypass when provided oversized request bodieshigh
Docker: `PUT /containers/{id}/archive` executes container binary on the hosthigh
Docker: Race condition in docker cp allows bind mount redirection to host pathhigh
Moby has an Off-by-one error in its plugin privilege validationmoderate
Docker: Race condition in docker cp allows creation of arbitrary empty files on the host via symlink swapmoderate
github.com/moby/buildkit0.25.1BuildKit's Malicious frontend can cause file escape outside of storage roothigh
BuildKit Git URL subdir component can cause access to restricted fileshigh
golang.org/x/crypto0.43.0golang.org/x/crypto/ssh allows an attacker to cause unbounded memory consumptionmoderate
golang.org/x/crypto/ssh/agent vulnerable to panic if message is malformed due to out of bounds readmoderate

License Issues

tests-bdd/go.mod

PackageVersionLicenseIssue Type
github.com/containerd/containerd/v22.1.5NullUnknown License
github.com/docker/cli28.5.1+incompatibleNullUnknown License
github.com/docker/docker28.5.1+incompatibleNullUnknown License
github.com/moby/buildkit0.25.1NullUnknown License
github.com/docker/compose/v22.40.2NullUnknown License
github.com/docker/go-connections0.6.0NullUnknown License
github.com/spf13/cobra1.10.1NullUnknown License
github.com/spf13/pflag1.0.10NullUnknown License
github.com/stretchr/testify1.11.1NullUnknown License
github.com/testcontainers/testcontainers-go0.39.0NullUnknown License
github.com/zclconf/go-cty1.17.0NullUnknown License
Denied Licenses: GPL-2.0, AGPL-1.0, AGPL-1.0-or-later, AGPL-1.0-only, AGPL-3.0, AGPL-3.0-only, AGPL-3.0-or-later, GPL-1.0, GPL-1.0+, GPL-1.0-only, GPL-1.0-or-later, CNRI-Python-GPL-Compatible, GPL-2.0+, GPL-2.0-only, GPL-2.0-or-later, GPL-2.0-with-GCC-exception, GPL-2.0-with-autoconf-exception, GPL-2.0-with-bison-exception, GPL-2.0-with-classpath-exception, GPL-2.0-with-font-exception, GPL-3.0, GPL-3.0+, GPL-3.0-only, GPL-3.0-or-later, GPL-3.0-with-GCC-exception, GPL-3.0-with-autoconf-exception, LGPL-2.0, LGPL-2.0+, LGPL-2.0-only, LGPL-2.0-or-later, LGPL-2.1, LGPL-2.1+, LGPL-2.1-only, LGPL-2.1-or-later, LGPL-3.0, LGPL-3.0+, LGPL-3.0-only, LGPL-3.0-or-later, LGPLLR, NGPL
Excluded from license check: pkg:githubactions/SonarSource/sonarqube-scan-action

OpenSSF Scorecard

Scorecard details
PackageVersionScoreDetails
gomod/github.com/opentdf/platform/sdk 0.10.1 UnknownUnknown
gomod/github.com/containerd/containerd/v2 2.1.5 UnknownUnknown
gomod/github.com/docker/cli 28.5.1+incompatible UnknownUnknown
gomod/github.com/docker/docker 28.5.1+incompatible UnknownUnknown
gomod/github.com/moby/buildkit 0.25.1 UnknownUnknown
gomod/golang.org/x/crypto 0.43.0 UnknownUnknown
gomod/github.com/compose-spec/compose-go/v2 2.9.1 🟢 5.2
Details
CheckScoreReason
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1packaging workflow not detected
Maintained🟢 1018 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
Code-Review🟢 9Found 18/19 approved changesets -- score normalized to 9
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Binary-Artifacts🟢 10no binaries found in the repo
Security-Policy⚠️ 0security policy file not detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Pinned-Dependencies🟢 7dependency not pinned by hash detected -- score normalized to 7
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
gomod/github.com/docker/buildx 0.29.1 🟢 8.1
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Packaging⚠️ -1packaging workflow not detected
Maintained🟢 1030 commit(s) and 10 issue activity found in the last 90 days -- score normalized to 10
Security-Policy🟢 10security policy file detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Binary-Artifacts🟢 9binaries present in source code
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Signed-Releases🟢 85 out of the last 5 releases have a total of 5 signed artifacts.
SAST🟢 8SAST tool detected but not run on all commits
Pinned-Dependencies🟢 4dependency not pinned by hash detected -- score normalized to 4
gomod/github.com/docker/compose/v2 2.40.2 UnknownUnknown
gomod/github.com/docker/go-connections 0.6.0 UnknownUnknown
gomod/github.com/shirou/gopsutil/v4 4.25.6 🟢 7.4
Details
CheckScoreReason
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1packaging workflow not detected
Maintained🟢 1030 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
Security-Policy🟢 10security policy file detected
Code-Review🟢 6Found 6/9 approved changesets -- score normalized to 6
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Binary-Artifacts🟢 10no binaries found in the repo
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies🟢 10all dependencies are pinned
Fuzzing🟢 10project is fuzzed
License🟢 9license file detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Signed-Releases⚠️ -1no releases found
SAST🟢 3SAST tool is not run on all commits -- score normalized to 3
gomod/github.com/spf13/cobra 1.10.1 UnknownUnknown
gomod/github.com/spf13/pflag 1.0.10 UnknownUnknown
gomod/github.com/stretchr/testify 1.11.1 UnknownUnknown
gomod/github.com/testcontainers/testcontainers-go 0.39.0 UnknownUnknown
gomod/github.com/testcontainers/testcontainers-go/modules/compose 0.39.1 🟢 6.1
Details
CheckScoreReason
Maintained🟢 1030 commit(s) and 13 issue activity found in the last 90 days -- score normalized to 10
Dependency-Update-Tool🟢 10update tool detected
Code-Review🟢 3Found 6/16 approved changesets -- score normalized to 3
Packaging⚠️ -1packaging workflow not detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies🟢 9dependency not pinned by hash detected -- score normalized to 9
CII-Best-Practices⚠️ 2badge detected: InProgress
Signed-Releases⚠️ -1no releases found
SAST🟢 9SAST tool detected but not run on all commits
Fuzzing⚠️ 0project is not fuzzed
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Security-Policy⚠️ 0security policy file not detected
License🟢 10license file detected
CI-Tests🟢 1027 out of 27 merged PRs checked by a CI test -- score normalized to 10
Vulnerabilities⚠️ 036 existing vulnerabilities detected
Contributors🟢 10project has 60 contributing companies or organizations
gomod/github.com/zclconf/go-cty 1.17.0 UnknownUnknown
gomod/go.uber.org/mock 0.6.0 UnknownUnknown
gomod/golang.org/x/net 0.45.0 UnknownUnknown
gomod/golang.org/x/sync 0.17.0 UnknownUnknown
gomod/golang.org/x/sys 0.37.0 UnknownUnknown
gomod/golang.org/x/term 0.36.0 UnknownUnknown
gomod/golang.org/x/text 0.30.0 UnknownUnknown
gomod/google.golang.org/protobuf 1.36.9 UnknownUnknown

Scanned Files

  • service/go.mod
  • tests-bdd/go.mod

@github-actions

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants