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

feat(issueVariant): Allow for issue variant creation with just severity rating #361

Closed
4 tasks done
Tracked by #320
BlakePatterson opened this issue Nov 8, 2024 · 1 comment · Fixed by #362
Closed
4 tasks done
Tracked by #320
Assignees

Comments

@BlakePatterson
Copy link
Collaborator

BlakePatterson commented Nov 8, 2024

Task Description
Currently the severity input type for creating issue variants only accepts a cvss vector. Add a rating field alongside vector and update the resolver methods to allow for creating a new issue variant where vector is not provided.

Acceptance Criteria:

  • Add a "rating" field of type SeverityValues to SeverityInput
  • Add a new "NewSeverityFromRating" function that creates a severity with only the rating field and not the vector
  • Add logic to handle between when a vector is provided and when only a rating is provided
  • Be able to create a new IssueVariant with only a rating
@lolaapenna
Copy link
Collaborator

Review comments have been added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants