Skip to content

VSA JSON struct tags #379

@ramonpetgrave64

Description

@ramonpetgrave64

The json truck tags for VSA v1 seem like they should be in camel case, instead of snake case.

This means that for the VSA predicate in a document formatted like the slsa.dev example the only parsed fields unmarshalled successfully would be policy, and partially for verifier, which seems to be missing verifier.version.

In slsa-framework/slsa-verifier, I have defined the json struct tags that I think should be correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions