Skip to content

Conversation

@opentdf-automation
Copy link
Contributor

Description

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

### Proposed Changes

Individual resources should be denied for these cases, instead of an
overall error response
* attribute value FQN not found
* registered resource value FQN not found
* registered resource missing action attribute values altogether
* registered resource missing action attribute values that relate to
request action (i.e. `read ->
https://example.com/attr/attr1/value/value1` but request was for
`delete` action)

### Checklist

- [ ] I have added or updated unit tests
- [ ] I have added or updated integration tests (if appropriate)
- [ ] I have added or updated documentation

### Testing Instructions

(cherry picked from commit fad4437)
@opentdf-automation opentdf-automation bot force-pushed the backport-2835-to-release/service/v0.11 branch from 84f71ed to e730547 Compare October 29, 2025 17:42
@github-actions
Copy link
Contributor

Benchmark results, click to expand

Benchmark authorization.GetDecisions Results:

Metric Value
Approved Decision Requests 1000
Denied Decision Requests 0
Total Time 176.628655ms

Benchmark authorization.v2.GetMultiResourceDecision Results:

Metric Value
Approved Decision Requests 1000
Denied Decision Requests 0
Total Time 103.92866ms

Standard Benchmark Metrics Skipped or Failed

Bulk Benchmark Results

Metric Value
Total Decrypts 100
Successful Decrypts 100
Failed Decrypts 0
Total Time 371.133721ms
Throughput 269.44 requests/second

TDF3 Benchmark Results:

Metric Value
Total Requests 5000
Successful Requests 5000
Failed Requests 0
Concurrent Requests 50
Total Time 39.387839541s
Average Latency 391.755456ms
Throughput 126.94 requests/second

NANOTDF Benchmark Results:

Metric Value
Total Requests 5000
Successful Requests 5000
Failed Requests 0
Concurrent Requests 50
Total Time 27.667532531s
Average Latency 275.708778ms
Throughput 180.72 requests/second

@github-actions
Copy link
Contributor

Benchmark results, click to expand

Benchmark authorization.GetDecisions Results:

Metric Value
Approved Decision Requests 1000
Denied Decision Requests 0
Total Time 177.596443ms

Benchmark authorization.v2.GetMultiResourceDecision Results:

Metric Value
Approved Decision Requests 1000
Denied Decision Requests 0
Total Time 100.829608ms

Standard Benchmark Metrics Skipped or Failed

Bulk Benchmark Results

Metric Value
Total Decrypts 100
Successful Decrypts 100
Failed Decrypts 0
Total Time 367.110437ms
Throughput 272.40 requests/second

TDF3 Benchmark Results:

Metric Value
Total Requests 5000
Successful Requests 5000
Failed Requests 0
Concurrent Requests 50
Total Time 38.68888538s
Average Latency 385.754474ms
Throughput 129.24 requests/second

NANOTDF Benchmark Results:

Metric Value
Total Requests 5000
Successful Requests 5000
Failed Requests 0
Concurrent Requests 50
Total Time 27.967593707s
Average Latency 278.519325ms
Throughput 178.78 requests/second

@jakedoublev jakedoublev merged commit a4ad9dd into release/service/v0.11 Oct 29, 2025
34 checks passed
@jakedoublev jakedoublev deleted the backport-2835-to-release/service/v0.11 branch October 29, 2025 17:58
c-r33d pushed a commit that referenced this pull request Oct 29, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.11.1](service/v0.11.0...service/v0.11.1)
(2025-10-29)


### Features

* **core:** Actually use KeyManager ProviderConfig [backport to
release/service/v0.11]
([#2842](#2842))
([da1c0b1](da1c0b1))


### Bug Fixes

* **authz:** handle individual resource edge cases in decisions
[backport to release/service/v0.11]
([#2846](#2846))
([a4ad9dd](a4ad9dd))
* **policy:** Return the correct total during list responses. [backport
to release/service/v0.11]
([#2843](#2843))
([ebe6469](ebe6469))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants