Skip to content

Conversation

@Piskoo
Copy link
Collaborator

@Piskoo Piskoo commented Dec 22, 2025

Adds information about cas backend used in attestation process to the attestation

Part of attestation statement

  "predicate": {
    "casBackend": {
      "casBackendId": "07ddd65b-ed78-43ab-8914-659aab11f5c3",
      "casBackendName": "casb",
      "fallback": false
    },

Closes #2631

Signed-off-by: Sylwester Piskozub <[email protected]>
@Piskoo Piskoo changed the title feat: store cas backend information in atttestation feat: store cas backend information in attestation Dec 22, 2025
@Piskoo Piskoo requested review from jiparis and migmartri December 22, 2025 14:03
@Piskoo Piskoo marked this pull request as ready for review December 22, 2025 14:03
Signed-off-by: Sylwester Piskozub <[email protected]>

message CASBackend {
// UUID of the CAS backend
string cas_backend_id = 1 [(buf.validate.field).string = {min_len: 1}];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should use the uuid validation here instead

Copy link
Member

@migmartri migmartri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ptal at the my comments.

Thanks!

}

type CASBackend struct {
CASBackendID string `json:"casBackendId"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
CASBackendID string `json:"casBackendId"`
CASBackendID string `json:"casBackendID"`

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.

feat: add cas backend tracking to attestations

3 participants