Skip to main content

CreateSastFindingInput

Autogenerated input type of CreateSastFinding

input CreateSastFindingInput {
assetId: Int!
title: String!
description: String!
reference: String
category: String
patterns: [String!]
controlSyncStatusId: ID
fingerprint: String
solution: String
impactLevel: ImpactLevelCategory
probabilityLevel: ProbabilityLevelCategory
severity: SeverityCategory
originalIssueIdFromTool: String
toolType: ToolTypeCategory
codeSnippet: String!
vulnerableLine: Int!
firstLine: Int!
fileName: String!
source: String
sink: String
commitRef: String
deployId: String
status: IssueStatusLabel
branch: String
clientMutationId: String
}

Fields​

CreateSastFindingInput.assetId ● Int! non-null scalar​

CreateSastFindingInput.title ● String! non-null scalar​

CreateSastFindingInput.description ● String! non-null scalar​

CreateSastFindingInput.reference ● String scalar​

CreateSastFindingInput.category ● String scalar​

CWE Category

CreateSastFindingInput.patterns ● [String!] list scalar​

OWASP Patterns

CreateSastFindingInput.controlSyncStatusId ● ID scalar​

CreateSastFindingInput.fingerprint ● String scalar​

CreateSastFindingInput.solution ● String scalar​

CreateSastFindingInput.impactLevel ● ImpactLevelCategory enum​

CreateSastFindingInput.probabilityLevel ● ProbabilityLevelCategory enum​

CreateSastFindingInput.severity ● SeverityCategory enum​

CreateSastFindingInput.originalIssueIdFromTool ● String scalar​

CreateSastFindingInput.toolType ● ToolTypeCategory enum​

CreateSastFindingInput.codeSnippet ● String! non-null scalar​

CreateSastFindingInput.vulnerableLine ● Int! non-null scalar​

CreateSastFindingInput.firstLine ● Int! non-null scalar​

CreateSastFindingInput.fileName ● String! non-null scalar​

CreateSastFindingInput.source ● String scalar​

CreateSastFindingInput.sink ● String scalar​

CreateSastFindingInput.commitRef ● String scalar​

CreateSastFindingInput.deployId ● String scalar​

CreateSastFindingInput.status ● IssueStatusLabel enum​

CreateSastFindingInput.branch ● String scalar​

Name of the Git branch this finding was found on, e.g. "main" or "release/2.0". Optional: when omitted, the finding is recorded on the Asset's default branch, exactly as before. The branch is created if it does not exist yet. The same finding reported on two branches is kept as two findings, so each branch keeps its own results; sending id to update an existing finding never moves it to another branch. Ignored for Assets that are not linked to a Git repository.

CreateSastFindingInput.clientMutationId ● String scalar​

A unique identifier for the client performing the mutation.

Member Of​

createSastFinding mutation

Contribute to the Docs

Found something outdated or missing? Help us improve the documentation with a quick suggestion or edit.

How to contribute