-
Notifications
You must be signed in to change notification settings - Fork 24
feat(kas): Add nano policy binding to rewrap audit. #2870
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
Conversation
Summary of ChangesHello @c-r33d, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request enhances the auditing capabilities for Nano TDF rewrap operations by integrating the Nano policy binding directly into the audit logs. This change ensures that critical policy information is captured and available for review, improving the traceability and security posture of key access server activities. The modifications involve updating data structures and audit event generation to consistently include this new detail. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Policy now bound, Audit logs reveal the truth, Security grows. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request adds the nano TDF policy binding to the rewrap audit logs. The changes in service/kas/access/rewrap.go correctly propagate the policy binding from the nano TDF header to the audit event parameters. The implementation looks correct. My main feedback is the lack of unit tests for this new functionality. Adding tests is crucial to ensure the correctness of the auditing and prevent future regressions. I've added a specific comment with a suggestion on how to test this.
Benchmark results, click to expandBenchmark authorization.GetDecisions Results:
Benchmark authorization.v2.GetMultiResourceDecision Results:
Standard Benchmark Metrics Skipped or FailedBulk Benchmark Results
TDF3 Benchmark Results:
NANOTDF Benchmark Results:
|
Benchmark results, click to expandBenchmark authorization.GetDecisions Results:
Benchmark authorization.v2.GetMultiResourceDecision Results:
Standard Benchmark Metrics Skipped or FailedBulk Benchmark Results
TDF3 Benchmark Results:
NANOTDF Benchmark Results:
|
|
Successfully created backport PR for |
### Proposed Changes
1.) Add nano policy binding to audit rewrap logs
2.) Bump sdk to version 0.10.1
### Examples
#### Nano - Encrypted Policy - Gmac
```json
{
"time": "2025-11-03T12:53:39.67596-06:00",
"level": "AUDIT",
"msg": "rewrap",
"namespace": "kas",
"audit": {
"object": {
"type": "key_object",
"id": "ff1a2fe2-a942-11f0-9751-a6a754e79d24",
"name": "",
"attributes": {
"assertions": [],
"attrs": [
"https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger"
],
"permissions": []
}
},
"action": {
"type": "rewrap",
"result": "error"
},
"actor": {
"id": "260a3342-65d8-4056-8d17-b362c932b9dc",
"attributes": []
},
"eventMetaData": {
"algorithm": "ec:secp256r1",
"keyID": "e1",
"policyBinding": "69750779a948846a",
"tdfFormat": "Nano"
},
"clientInfo": {
"userAgent": "connect-go/1.18.1 (go1.24.6)",
"platform": "kas",
"requestIP": "None"
},
"original": null,
"updated": null,
"requestID": "1eb13e08-963e-4abd-acfc-5a30fb3cb876",
"timestamp": "2025-11-03T12:53:39-06:00"
}
}
```
#### Nano - Encrypted policy - ECDSA
```json
{
"time": "2025-11-03T13:06:52.920043-06:00",
"level": "AUDIT",
"msg": "rewrap",
"namespace": "kas",
"audit": {
"object": {
"type": "key_object",
"id": "3c370940-b8e8-11f0-b395-a6a754e79d24",
"name": "",
"attributes": {
"assertions": [],
"attrs": [
"https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger"
],
"permissions": []
}
},
"action": {
"type": "rewrap",
"result": "success"
},
"actor": {
"id": "260a3342-65d8-4056-8d17-b362c932b9dc",
"attributes": []
},
"eventMetaData": {
"algorithm": "ec:secp256r1",
"keyID": "e1",
"policyBinding": "07eb1084ee0e3f982d9374c184e88840abe5caa272cde5dd14798224db13107a",
"tdfFormat": "Nano"
},
"clientInfo": {
"userAgent": "connect-go/1.18.1 (go1.24.6)",
"platform": "kas",
"requestIP": "None"
},
"original": null,
"updated": null,
"requestID": "c27a751d-44a9-4866-beef-451b2fbef5ae",
"timestamp": "2025-11-03T13:06:52-06:00"
}
}
```
#### Nano - Plaintext policy - GMAC
```json
{
"time": "2025-11-03T13:01:27.938945-06:00",
"level": "AUDIT",
"msg": "rewrap",
"namespace": "kas",
"audit": {
"object": {
"type": "key_object",
"id": "7857a624-b8e7-11f0-aa9c-a6a754e79d24",
"name": "",
"attributes": {
"assertions": [],
"attrs": [
"https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger"
],
"permissions": []
}
},
"action": {
"type": "rewrap",
"result": "success"
},
"actor": {
"id": "260a3342-65d8-4056-8d17-b362c932b9dc",
"attributes": []
},
"eventMetaData": {
"algorithm": "ec:secp256r1",
"keyID": "e1",
"policyBinding": "342b5951d82676fa",
"tdfFormat": "Nano"
},
"clientInfo": {
"userAgent": "connect-go/1.18.1 (go1.24.6)",
"platform": "kas",
"requestIP": "None"
},
"original": null,
"updated": null,
"requestID": "652cc0d2-fec8-49a4-8e0d-e5f01794bdaa",
"timestamp": "2025-11-03T13:01:27-06:00"
}
}
```
#### Nano - Plaintext policy - ECDSA
```json
{
"time": "2025-11-03T13:03:17.645969-06:00",
"level": "AUDIT",
"msg": "rewrap",
"namespace": "kas",
"audit": {
"object": {
"type": "key_object",
"id": "bb58d92a-b8e7-11f0-8556-a6a754e79d24",
"name": "",
"attributes": {
"assertions": [],
"attrs": [
"https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger"
],
"permissions": []
}
},
"action": {
"type": "rewrap",
"result": "success"
},
"actor": {
"id": "260a3342-65d8-4056-8d17-b362c932b9dc",
"attributes": []
},
"eventMetaData": {
"algorithm": "ec:secp256r1",
"keyID": "e1",
"policyBinding": "7f50b172ceae7cb4eff9cff1849fed1022bb0f1abeb924060f50fdd5876bb09b",
"tdfFormat": "Nano"
},
"clientInfo": {
"userAgent": "connect-go/1.18.1 (go1.24.6)",
"platform": "kas",
"requestIP": "None"
},
"original": null,
"updated": null,
"requestID": "5a038826-43e8-42b6-9239-bd0cf3066cfd",
"timestamp": "2025-11-03T13:03:17-06:00"
}
}
```
### 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 a12d1d4)
### Proposed Changes
1.) Add nano policy binding to audit rewrap logs
2.) Bump sdk to version 0.10.1
### Examples
#### Nano - Encrypted Policy - Gmac
```json
{
"time": "2025-11-03T12:53:39.67596-06:00",
"level": "AUDIT",
"msg": "rewrap",
"namespace": "kas",
"audit": {
"object": {
"type": "key_object",
"id": "ff1a2fe2-a942-11f0-9751-a6a754e79d24",
"name": "",
"attributes": {
"assertions": [],
"attrs": [
"https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger"
],
"permissions": []
}
},
"action": {
"type": "rewrap",
"result": "error"
},
"actor": {
"id": "260a3342-65d8-4056-8d17-b362c932b9dc",
"attributes": []
},
"eventMetaData": {
"algorithm": "ec:secp256r1",
"keyID": "e1",
"policyBinding": "69750779a948846a",
"tdfFormat": "Nano"
},
"clientInfo": {
"userAgent": "connect-go/1.18.1 (go1.24.6)",
"platform": "kas",
"requestIP": "None"
},
"original": null,
"updated": null,
"requestID": "1eb13e08-963e-4abd-acfc-5a30fb3cb876",
"timestamp": "2025-11-03T12:53:39-06:00"
}
}
```
#### Nano - Encrypted policy - ECDSA
```json
{
"time": "2025-11-03T13:06:52.920043-06:00",
"level": "AUDIT",
"msg": "rewrap",
"namespace": "kas",
"audit": {
"object": {
"type": "key_object",
"id": "3c370940-b8e8-11f0-b395-a6a754e79d24",
"name": "",
"attributes": {
"assertions": [],
"attrs": [
"https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger"
],
"permissions": []
}
},
"action": {
"type": "rewrap",
"result": "success"
},
"actor": {
"id": "260a3342-65d8-4056-8d17-b362c932b9dc",
"attributes": []
},
"eventMetaData": {
"algorithm": "ec:secp256r1",
"keyID": "e1",
"policyBinding": "07eb1084ee0e3f982d9374c184e88840abe5caa272cde5dd14798224db13107a",
"tdfFormat": "Nano"
},
"clientInfo": {
"userAgent": "connect-go/1.18.1 (go1.24.6)",
"platform": "kas",
"requestIP": "None"
},
"original": null,
"updated": null,
"requestID": "c27a751d-44a9-4866-beef-451b2fbef5ae",
"timestamp": "2025-11-03T13:06:52-06:00"
}
}
```
#### Nano - Plaintext policy - GMAC
```json
{
"time": "2025-11-03T13:01:27.938945-06:00",
"level": "AUDIT",
"msg": "rewrap",
"namespace": "kas",
"audit": {
"object": {
"type": "key_object",
"id": "7857a624-b8e7-11f0-aa9c-a6a754e79d24",
"name": "",
"attributes": {
"assertions": [],
"attrs": [
"https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger"
],
"permissions": []
}
},
"action": {
"type": "rewrap",
"result": "success"
},
"actor": {
"id": "260a3342-65d8-4056-8d17-b362c932b9dc",
"attributes": []
},
"eventMetaData": {
"algorithm": "ec:secp256r1",
"keyID": "e1",
"policyBinding": "342b5951d82676fa",
"tdfFormat": "Nano"
},
"clientInfo": {
"userAgent": "connect-go/1.18.1 (go1.24.6)",
"platform": "kas",
"requestIP": "None"
},
"original": null,
"updated": null,
"requestID": "652cc0d2-fec8-49a4-8e0d-e5f01794bdaa",
"timestamp": "2025-11-03T13:01:27-06:00"
}
}
```
#### Nano - Plaintext policy - ECDSA
```json
{
"time": "2025-11-03T13:03:17.645969-06:00",
"level": "AUDIT",
"msg": "rewrap",
"namespace": "kas",
"audit": {
"object": {
"type": "key_object",
"id": "bb58d92a-b8e7-11f0-8556-a6a754e79d24",
"name": "",
"attributes": {
"assertions": [],
"attrs": [
"https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger"
],
"permissions": []
}
},
"action": {
"type": "rewrap",
"result": "success"
},
"actor": {
"id": "260a3342-65d8-4056-8d17-b362c932b9dc",
"attributes": []
},
"eventMetaData": {
"algorithm": "ec:secp256r1",
"keyID": "e1",
"policyBinding": "7f50b172ceae7cb4eff9cff1849fed1022bb0f1abeb924060f50fdd5876bb09b",
"tdfFormat": "Nano"
},
"clientInfo": {
"userAgent": "connect-go/1.18.1 (go1.24.6)",
"platform": "kas",
"requestIP": "None"
},
"original": null,
"updated": null,
"requestID": "5a038826-43e8-42b6-9239-bd0cf3066cfd",
"timestamp": "2025-11-03T13:03:17-06:00"
}
}
```
### 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 a12d1d4)
### Proposed Changes
1.) Add nano policy binding to audit rewrap logs
2.) Bump sdk to version 0.10.1
### Examples
#### Nano - Encrypted Policy - Gmac
```json
{
"time": "2025-11-03T12:53:39.67596-06:00",
"level": "AUDIT",
"msg": "rewrap",
"namespace": "kas",
"audit": {
"object": {
"type": "key_object",
"id": "ff1a2fe2-a942-11f0-9751-a6a754e79d24",
"name": "",
"attributes": {
"assertions": [],
"attrs": [
"https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger"
],
"permissions": []
}
},
"action": {
"type": "rewrap",
"result": "error"
},
"actor": {
"id": "260a3342-65d8-4056-8d17-b362c932b9dc",
"attributes": []
},
"eventMetaData": {
"algorithm": "ec:secp256r1",
"keyID": "e1",
"policyBinding": "69750779a948846a",
"tdfFormat": "Nano"
},
"clientInfo": {
"userAgent": "connect-go/1.18.1 (go1.24.6)",
"platform": "kas",
"requestIP": "None"
},
"original": null,
"updated": null,
"requestID": "1eb13e08-963e-4abd-acfc-5a30fb3cb876",
"timestamp": "2025-11-03T12:53:39-06:00"
}
}
```
#### Nano - Encrypted policy - ECDSA
```json
{
"time": "2025-11-03T13:06:52.920043-06:00",
"level": "AUDIT",
"msg": "rewrap",
"namespace": "kas",
"audit": {
"object": {
"type": "key_object",
"id": "3c370940-b8e8-11f0-b395-a6a754e79d24",
"name": "",
"attributes": {
"assertions": [],
"attrs": [
"https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger"
],
"permissions": []
}
},
"action": {
"type": "rewrap",
"result": "success"
},
"actor": {
"id": "260a3342-65d8-4056-8d17-b362c932b9dc",
"attributes": []
},
"eventMetaData": {
"algorithm": "ec:secp256r1",
"keyID": "e1",
"policyBinding": "07eb1084ee0e3f982d9374c184e88840abe5caa272cde5dd14798224db13107a",
"tdfFormat": "Nano"
},
"clientInfo": {
"userAgent": "connect-go/1.18.1 (go1.24.6)",
"platform": "kas",
"requestIP": "None"
},
"original": null,
"updated": null,
"requestID": "c27a751d-44a9-4866-beef-451b2fbef5ae",
"timestamp": "2025-11-03T13:06:52-06:00"
}
}
```
#### Nano - Plaintext policy - GMAC
```json
{
"time": "2025-11-03T13:01:27.938945-06:00",
"level": "AUDIT",
"msg": "rewrap",
"namespace": "kas",
"audit": {
"object": {
"type": "key_object",
"id": "7857a624-b8e7-11f0-aa9c-a6a754e79d24",
"name": "",
"attributes": {
"assertions": [],
"attrs": [
"https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger"
],
"permissions": []
}
},
"action": {
"type": "rewrap",
"result": "success"
},
"actor": {
"id": "260a3342-65d8-4056-8d17-b362c932b9dc",
"attributes": []
},
"eventMetaData": {
"algorithm": "ec:secp256r1",
"keyID": "e1",
"policyBinding": "342b5951d82676fa",
"tdfFormat": "Nano"
},
"clientInfo": {
"userAgent": "connect-go/1.18.1 (go1.24.6)",
"platform": "kas",
"requestIP": "None"
},
"original": null,
"updated": null,
"requestID": "652cc0d2-fec8-49a4-8e0d-e5f01794bdaa",
"timestamp": "2025-11-03T13:01:27-06:00"
}
}
```
#### Nano - Plaintext policy - ECDSA
```json
{
"time": "2025-11-03T13:03:17.645969-06:00",
"level": "AUDIT",
"msg": "rewrap",
"namespace": "kas",
"audit": {
"object": {
"type": "key_object",
"id": "bb58d92a-b8e7-11f0-8556-a6a754e79d24",
"name": "",
"attributes": {
"assertions": [],
"attrs": [
"https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger"
],
"permissions": []
}
},
"action": {
"type": "rewrap",
"result": "success"
},
"actor": {
"id": "260a3342-65d8-4056-8d17-b362c932b9dc",
"attributes": []
},
"eventMetaData": {
"algorithm": "ec:secp256r1",
"keyID": "e1",
"policyBinding": "7f50b172ceae7cb4eff9cff1849fed1022bb0f1abeb924060f50fdd5876bb09b",
"tdfFormat": "Nano"
},
"clientInfo": {
"userAgent": "connect-go/1.18.1 (go1.24.6)",
"platform": "kas",
"requestIP": "None"
},
"original": null,
"updated": null,
"requestID": "5a038826-43e8-42b6-9239-bd0cf3066cfd",
"timestamp": "2025-11-03T13:03:17-06:00"
}
}
```
### 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 a12d1d4)
|
/backport |
|
Successfully created backport PR for |
### Proposed Changes
1.) Add nano policy binding to audit rewrap logs
2.) Bump sdk to version 0.10.1
### Examples
#### Nano - Encrypted Policy - Gmac
```json
{
"time": "2025-11-03T12:53:39.67596-06:00",
"level": "AUDIT",
"msg": "rewrap",
"namespace": "kas",
"audit": {
"object": {
"type": "key_object",
"id": "ff1a2fe2-a942-11f0-9751-a6a754e79d24",
"name": "",
"attributes": {
"assertions": [],
"attrs": [
"https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger"
],
"permissions": []
}
},
"action": {
"type": "rewrap",
"result": "error"
},
"actor": {
"id": "260a3342-65d8-4056-8d17-b362c932b9dc",
"attributes": []
},
"eventMetaData": {
"algorithm": "ec:secp256r1",
"keyID": "e1",
"policyBinding": "69750779a948846a",
"tdfFormat": "Nano"
},
"clientInfo": {
"userAgent": "connect-go/1.18.1 (go1.24.6)",
"platform": "kas",
"requestIP": "None"
},
"original": null,
"updated": null,
"requestID": "1eb13e08-963e-4abd-acfc-5a30fb3cb876",
"timestamp": "2025-11-03T12:53:39-06:00"
}
}
```
#### Nano - Encrypted policy - ECDSA
```json
{
"time": "2025-11-03T13:06:52.920043-06:00",
"level": "AUDIT",
"msg": "rewrap",
"namespace": "kas",
"audit": {
"object": {
"type": "key_object",
"id": "3c370940-b8e8-11f0-b395-a6a754e79d24",
"name": "",
"attributes": {
"assertions": [],
"attrs": [
"https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger"
],
"permissions": []
}
},
"action": {
"type": "rewrap",
"result": "success"
},
"actor": {
"id": "260a3342-65d8-4056-8d17-b362c932b9dc",
"attributes": []
},
"eventMetaData": {
"algorithm": "ec:secp256r1",
"keyID": "e1",
"policyBinding": "07eb1084ee0e3f982d9374c184e88840abe5caa272cde5dd14798224db13107a",
"tdfFormat": "Nano"
},
"clientInfo": {
"userAgent": "connect-go/1.18.1 (go1.24.6)",
"platform": "kas",
"requestIP": "None"
},
"original": null,
"updated": null,
"requestID": "c27a751d-44a9-4866-beef-451b2fbef5ae",
"timestamp": "2025-11-03T13:06:52-06:00"
}
}
```
#### Nano - Plaintext policy - GMAC
```json
{
"time": "2025-11-03T13:01:27.938945-06:00",
"level": "AUDIT",
"msg": "rewrap",
"namespace": "kas",
"audit": {
"object": {
"type": "key_object",
"id": "7857a624-b8e7-11f0-aa9c-a6a754e79d24",
"name": "",
"attributes": {
"assertions": [],
"attrs": [
"https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger"
],
"permissions": []
}
},
"action": {
"type": "rewrap",
"result": "success"
},
"actor": {
"id": "260a3342-65d8-4056-8d17-b362c932b9dc",
"attributes": []
},
"eventMetaData": {
"algorithm": "ec:secp256r1",
"keyID": "e1",
"policyBinding": "342b5951d82676fa",
"tdfFormat": "Nano"
},
"clientInfo": {
"userAgent": "connect-go/1.18.1 (go1.24.6)",
"platform": "kas",
"requestIP": "None"
},
"original": null,
"updated": null,
"requestID": "652cc0d2-fec8-49a4-8e0d-e5f01794bdaa",
"timestamp": "2025-11-03T13:01:27-06:00"
}
}
```
#### Nano - Plaintext policy - ECDSA
```json
{
"time": "2025-11-03T13:03:17.645969-06:00",
"level": "AUDIT",
"msg": "rewrap",
"namespace": "kas",
"audit": {
"object": {
"type": "key_object",
"id": "bb58d92a-b8e7-11f0-8556-a6a754e79d24",
"name": "",
"attributes": {
"assertions": [],
"attrs": [
"https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger"
],
"permissions": []
}
},
"action": {
"type": "rewrap",
"result": "success"
},
"actor": {
"id": "260a3342-65d8-4056-8d17-b362c932b9dc",
"attributes": []
},
"eventMetaData": {
"algorithm": "ec:secp256r1",
"keyID": "e1",
"policyBinding": "7f50b172ceae7cb4eff9cff1849fed1022bb0f1abeb924060f50fdd5876bb09b",
"tdfFormat": "Nano"
},
"clientInfo": {
"userAgent": "connect-go/1.18.1 (go1.24.6)",
"platform": "kas",
"requestIP": "None"
},
"original": null,
"updated": null,
"requestID": "5a038826-43e8-42b6-9239-bd0cf3066cfd",
"timestamp": "2025-11-03T13:03:17-06:00"
}
}
```
### 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 a12d1d4)
Proposed Changes
1.) Add nano policy binding to audit rewrap logs
2.) Bump sdk to version 0.10.1
Examples
Nano - Encrypted Policy - Gmac
{ "time": "2025-11-03T12:53:39.67596-06:00", "level": "AUDIT", "msg": "rewrap", "namespace": "kas", "audit": { "object": { "type": "key_object", "id": "ff1a2fe2-a942-11f0-9751-a6a754e79d24", "name": "", "attributes": { "assertions": [], "attrs": [ "https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger" ], "permissions": [] } }, "action": { "type": "rewrap", "result": "error" }, "actor": { "id": "260a3342-65d8-4056-8d17-b362c932b9dc", "attributes": [] }, "eventMetaData": { "algorithm": "ec:secp256r1", "keyID": "e1", "policyBinding": "69750779a948846a", "tdfFormat": "Nano" }, "clientInfo": { "userAgent": "connect-go/1.18.1 (go1.24.6)", "platform": "kas", "requestIP": "None" }, "original": null, "updated": null, "requestID": "1eb13e08-963e-4abd-acfc-5a30fb3cb876", "timestamp": "2025-11-03T12:53:39-06:00" } }Nano - Encrypted policy - ECDSA
{ "time": "2025-11-03T13:06:52.920043-06:00", "level": "AUDIT", "msg": "rewrap", "namespace": "kas", "audit": { "object": { "type": "key_object", "id": "3c370940-b8e8-11f0-b395-a6a754e79d24", "name": "", "attributes": { "assertions": [], "attrs": [ "https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger" ], "permissions": [] } }, "action": { "type": "rewrap", "result": "success" }, "actor": { "id": "260a3342-65d8-4056-8d17-b362c932b9dc", "attributes": [] }, "eventMetaData": { "algorithm": "ec:secp256r1", "keyID": "e1", "policyBinding": "07eb1084ee0e3f982d9374c184e88840abe5caa272cde5dd14798224db13107a", "tdfFormat": "Nano" }, "clientInfo": { "userAgent": "connect-go/1.18.1 (go1.24.6)", "platform": "kas", "requestIP": "None" }, "original": null, "updated": null, "requestID": "c27a751d-44a9-4866-beef-451b2fbef5ae", "timestamp": "2025-11-03T13:06:52-06:00" } }Nano - Plaintext policy - GMAC
{ "time": "2025-11-03T13:01:27.938945-06:00", "level": "AUDIT", "msg": "rewrap", "namespace": "kas", "audit": { "object": { "type": "key_object", "id": "7857a624-b8e7-11f0-aa9c-a6a754e79d24", "name": "", "attributes": { "assertions": [], "attrs": [ "https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger" ], "permissions": [] } }, "action": { "type": "rewrap", "result": "success" }, "actor": { "id": "260a3342-65d8-4056-8d17-b362c932b9dc", "attributes": [] }, "eventMetaData": { "algorithm": "ec:secp256r1", "keyID": "e1", "policyBinding": "342b5951d82676fa", "tdfFormat": "Nano" }, "clientInfo": { "userAgent": "connect-go/1.18.1 (go1.24.6)", "platform": "kas", "requestIP": "None" }, "original": null, "updated": null, "requestID": "652cc0d2-fec8-49a4-8e0d-e5f01794bdaa", "timestamp": "2025-11-03T13:01:27-06:00" } }Nano - Plaintext policy - ECDSA
{ "time": "2025-11-03T13:03:17.645969-06:00", "level": "AUDIT", "msg": "rewrap", "namespace": "kas", "audit": { "object": { "type": "key_object", "id": "bb58d92a-b8e7-11f0-8556-a6a754e79d24", "name": "", "attributes": { "assertions": [], "attrs": [ "https://test.obligations/attr/test_attr_for_triggers/value/test_valu_for_trigger" ], "permissions": [] } }, "action": { "type": "rewrap", "result": "success" }, "actor": { "id": "260a3342-65d8-4056-8d17-b362c932b9dc", "attributes": [] }, "eventMetaData": { "algorithm": "ec:secp256r1", "keyID": "e1", "policyBinding": "7f50b172ceae7cb4eff9cff1849fed1022bb0f1abeb924060f50fdd5876bb09b", "tdfFormat": "Nano" }, "clientInfo": { "userAgent": "connect-go/1.18.1 (go1.24.6)", "platform": "kas", "requestIP": "None" }, "original": null, "updated": null, "requestID": "5a038826-43e8-42b6-9239-bd0cf3066cfd", "timestamp": "2025-11-03T13:03:17-06:00" } }Checklist
Testing Instructions