Skip to main content

CreateOrUpdateSastFindingInput

No description

input CreateOrUpdateSastFindingInput {
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
id: ID
}

Fields​

CreateOrUpdateSastFindingInput.assetId ● Int! non-null scalar​

CreateOrUpdateSastFindingInput.title ● String! non-null scalar​

CreateOrUpdateSastFindingInput.description ● String! non-null scalar​

CreateOrUpdateSastFindingInput.reference ● String scalar​

CreateOrUpdateSastFindingInput.category ● String scalar​

CWE Category

CreateOrUpdateSastFindingInput.patterns ● [String!] list scalar​

OWASP Patterns

CreateOrUpdateSastFindingInput.controlSyncStatusId ● ID scalar​

CreateOrUpdateSastFindingInput.fingerprint ● String scalar​

CreateOrUpdateSastFindingInput.solution ● String scalar​

CreateOrUpdateSastFindingInput.impactLevel ● ImpactLevelCategory enum​

CreateOrUpdateSastFindingInput.probabilityLevel ● ProbabilityLevelCategory enum​

CreateOrUpdateSastFindingInput.severity ● SeverityCategory enum​

CreateOrUpdateSastFindingInput.originalIssueIdFromTool ● String scalar​

CreateOrUpdateSastFindingInput.toolType ● ToolTypeCategory enum​

CreateOrUpdateSastFindingInput.codeSnippet ● String! non-null scalar​

CreateOrUpdateSastFindingInput.vulnerableLine ● Int! non-null scalar​

CreateOrUpdateSastFindingInput.firstLine ● Int! non-null scalar​

CreateOrUpdateSastFindingInput.fileName ● String! non-null scalar​

CreateOrUpdateSastFindingInput.source ● String scalar​

CreateOrUpdateSastFindingInput.sink ● String scalar​

CreateOrUpdateSastFindingInput.commitRef ● String scalar​

CreateOrUpdateSastFindingInput.deployId ● String scalar​

CreateOrUpdateSastFindingInput.status ● IssueStatusLabel enum​

CreateOrUpdateSastFindingInput.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.

CreateOrUpdateSastFindingInput.id ● ID scalar​

Member Of​

CreateOrUpdateFindingPolymorphicInput input ● createOrUpdateIacFinding mutation ● createOrUpdateSastFinding mutation ● createOrUpdateSecretFinding mutation

Contribute to the Docs

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

How to contribute