Skip to content

Update Annotation Schema to Include "Tag" and "Layer" Fields #12

@tsconn23

Description

@tsconn23

To align with other SDK implementations

Summary

This issue proposes an enhancement to the annotation schema by adding two new fields: "tag" and "layer". These additions aim to enrich our annotations with metadata that links scores across different stack layers and provides additional context.

Proposed Change

Introducing the following new fields to the annotation schema:

  • Tag: A field designed to associate annotations with specific metadata, aiding in linking scores. It will allow us to find the scores of the lower layers of the stack that affect the current layer score.
  • Layer: A field that specifies the stack layer at which the annotations are produced. It is passed to the SDK through the configuration and accepts an enumerated value of either "app", "cicd", "os", or "host".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions