Skip to content
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

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

Open
tsconn23 opened this issue Apr 8, 2024 · 0 comments
Open

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

tsconn23 opened this issue Apr 8, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@tsconn23
Copy link
Contributor

tsconn23 commented Apr 8, 2024

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".
@tsconn23 tsconn23 added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant