Skip to main content

addCveDispositionComment

Mutation

Adds a note to a disposition of a CVE identified in your org. You are recorded as the author, with the current time; the note cannot be edited or removed afterwards. Notes do not change the finding's status and do not send notifications. Returns the new comment's id.

addCveDispositionComment(comment: CVEDispositionCommentInput, dispositionId: String, identifiedCveId: String): CVEAddDispositionCommentResponse

Arguments​

ArgumentTypeDefaultDescription
commentCVEDispositionCommentInputOnly comment (the text, at most 10,000 characters, not blank) is used. id, author and date are set by the server; values sent for them are ignored.
dispositionIdStringThe id of the disposition to comment on, from the finding's dispositions.
identifiedCveIdStringThe identified CVE's id.

Returns​

CVEAddDispositionCommentResponse

Example​

Request
mutation AddCveDispositionComment($comment: CVEDispositionCommentInput) {
addCveDispositionComment(comment: $comment) {
id
}
}