curl --request GET \
--url https://semgrep.dev/api/agent/deployments/{deploymentId}/issues/v2/{issueId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://semgrep.dev/api/agent/deployments/{deploymentId}/issues/v2/{issueId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://semgrep.dev/api/agent/deployments/{deploymentId}/issues/v2/{issueId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://semgrep.dev/api/agent/deployments/{deploymentId}/issues/v2/{issueId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://semgrep.dev/api/agent/deployments/{deploymentId}/issues/v2/{issueId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://semgrep.dev/api/agent/deployments/{deploymentId}/issues/v2/{issueId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://semgrep.dev/api/agent/deployments/{deploymentId}/issues/v2/{issueId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"ref": "<string>",
"syntacticId": "<string>",
"matchBasedId": "<string>",
"ruleId": "<string>",
"status": "ISSUE_STATUS_FIXED",
"repository": {
"name": "<string>",
"id": "<string>",
"type": "SCM_TYPE_GITHUB",
"primaryRef": {
"id": "<string>",
"ref": "<string>"
}
},
"firstSeenScan": {
"id": "<string>",
"meta": {}
},
"triageState": "FINDING_TRIAGE_STATE_UNTRIAGED",
"triageReason": "FINDING_TRIAGE_REASON_FALSE_POSITIVE",
"relevantSince": "2023-11-07T05:31:56Z",
"aggregateState": "AGGREGATE_ISSUE_STATE_OPEN",
"note": "<string>",
"externalTicket": {
"url": "<string>",
"externalSlug": "<string>",
"id": "<string>",
"linkedIssueIds": [
"<string>"
]
},
"vulnGroupKey": "<string>",
"isBlocking": true,
"autotriage": {
"id": "<string>",
"issueId": "<string>",
"verdict": "VERDICT_TRUE_POSITIVE",
"reason": "<string>",
"feedback": {
"autotriageId": "<string>",
"rating": "RATING_GOOD",
"note": "<string>",
"issueId": "1234"
},
"matchBasedId": "<string>",
"memoryIdsReferenced": [
"<string>"
],
"memoryIdsRendered": [
"<string>"
]
},
"aiTags": {
"id": "<string>",
"path": "<string>",
"tags": "<string>",
"sensitivity": "SENSITIVITY_HIGH_SENSITIVITY"
},
"lineOfCodeUrl": "<string>",
"codeSnippet": "<string>",
"dataflowTrace": {
"taintSource": [
{
"path": "<string>",
"start": {
"line": "<string>",
"col": "<string>",
"offset": "<string>"
},
"end": {
"line": "<string>",
"col": "<string>",
"offset": "<string>"
},
"locationUrl": "<string>"
}
],
"intermediateVars": [
{
"path": "<string>",
"start": {
"line": "<string>",
"col": "<string>",
"offset": "<string>"
},
"end": {
"line": "<string>",
"col": "<string>",
"offset": "<string>"
},
"locationUrl": "<string>"
}
],
"taintSink": [
{
"path": "<string>",
"start": {
"line": "<string>",
"col": "<string>",
"offset": "<string>"
},
"end": {
"line": "<string>",
"col": "<string>",
"offset": "<string>"
},
"locationUrl": "<string>"
}
]
},
"commitUrl": "<string>",
"activityHistory": [
{
"date": "2023-11-07T05:31:56Z",
"title": "<string>",
"triageReason": "<string>",
"note": "<string>",
"actor": "<string>",
"historyType": "HISTORY_TYPE_STATUS",
"actorVia": "ACTOR_VIA_MCP",
"exceptionRequestDetails": {
"actionSource": "FINDING_EXCEPTION_REQUEST_SOURCE_SCM_COMMENT"
}
}
],
"relatedIssues": [
{
"id": "<string>",
"ref": "<string>",
"pullRequestId": "<string>",
"aggregateState": "AGGREGATE_ISSUE_STATE_OPEN",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"remediation": {
"issueId": "<string>",
"matchBasedId": "<string>",
"autofix": {
"id": "<string>",
"fixCode": "<string>",
"fixDiff": "<string>",
"explanation": "<string>",
"url": "<string>"
},
"guidance": {
"id": "<string>",
"summary": "<string>",
"guidanceText": "<string>",
"memoryIdsUsed": [
"<string>"
]
}
},
"lastSeenScan": {
"id": "<string>",
"meta": {}
},
"filePath": "<string>",
"line": 123,
"endLine": 123,
"column": 123,
"endColumn": 123,
"severity": "SEVERITY_HIGH",
"message": "<string>",
"rulePath": "<string>",
"confidence": "CONFIDENCE_HIGH",
"ruleUrl": "<string>",
"ruleReferences": [
"<string>"
],
"ruleOrigin": "RULE_ORIGIN_CUSTOM",
"ruleHashId": "<string>",
"ruleCweNames": [
"<string>"
],
"ruleOwaspNames": [
"<string>"
],
"ruleset": "<string>",
"policySlug": "<string>",
"category": "<string>",
"ruleSupersededBy": [
{
"product": "RULE_TYPE_SAST",
"rulePath": "<string>"
}
],
"issueType": "ISSUE_TYPE_SAST",
"issueParentId": "<string>",
"ticketAttempts": [
{
"attemptedAt": "2023-11-07T05:31:56Z",
"responseMessage": "<string>"
}
],
"sastAttributes": {},
"scaAttributes": {
"severity": "SEVERITY_HIGH",
"vulnDatabaseIdentifier": "<string>",
"reachability": "REACHABILITY_CONDITIONALLY_REACHABLE",
"reachableCondition": "<string>",
"cwes": [
"<string>"
],
"foundDependency": {
"package": "<string>",
"version": "<string>",
"transitivity": "UNKNOWN_TRANSITIVITY",
"lockfileLineUrl": "<string>",
"filePath": "<string>",
"ecosystem": "no_package_manager",
"manifestFilePath": "<string>"
},
"fixRecommendations": [
{
"package": "<string>",
"version": "<string>"
}
],
"bestFix": {
"package": "<string>",
"version": "<string>"
},
"epssScore": {
"score": 123,
"percentile": 123,
"updatedAt": "2023-11-07T05:31:56Z",
"categorization": "EPSS_PROBABILITY_LOW"
},
"rulePublishDate": "2023-11-07T05:31:56Z",
"scaRuleKind": "SCA_RULE_KIND_REACHABLE",
"scaMatchInfo": {
"matchKind": "SCA_MATCH_KIND_LOCKFILE_ONLY",
"analyzedPackages": [
{
"package": "<string>",
"version": "<string>",
"transitivity": "UNKNOWN_TRANSITIVITY",
"lockfileLineUrl": "<string>",
"filePath": "<string>",
"ecosystem": "no_package_manager",
"manifestFilePath": "<string>"
}
],
"transitiveMatches": [
{
"dependency": {
"package": "<string>",
"version": "<string>",
"transitivity": "UNKNOWN_TRANSITIVITY",
"lockfileLineUrl": "<string>",
"filePath": "<string>",
"ecosystem": "no_package_manager",
"manifestFilePath": "<string>"
},
"path": "<string>",
"line": "<string>"
}
]
},
"introducedBy": [
{
"package": "<string>",
"version": "<string>"
}
]
},
"secretsAttributes": {
"validationState": "VALIDATION_STATE_CONFIRMED_VALID",
"secretType": "<string>",
"historicalInfo": {
"gitCommit": "<string>",
"gitCommitTimestamp": "2023-11-07T05:31:56Z",
"gitBlob": "<string>"
}
},
"subcategories": [
"<string>"
],
"refUrl": "<string>",
"codeSnippets": [
{
"path": "<string>",
"content": "<string>"
}
],
"ruleExplanation": {
"id": "<string>",
"summary": "<string>",
"explanation": "<string>"
},
"ruleDisplayName": "<string>",
"clickToFixPrUrl": "<string>",
"aiImpact": "<string>",
"aiExploitConditions": [
{
"description": "<string>",
"confirmed": true
}
],
"clickToFixCommitMsg": "<string>",
"exceptionRequest": {
"exceptionState": "FINDING_EXCEPTION_REQUEST_STATE_REQUESTED",
"requesterLogin": "<string>",
"requesterName": "<string>",
"requesterNote": "<string>",
"requesterTriageReason": "FINDING_TRIAGE_REASON_FALSE_POSITIVE",
"requesterActionSource": "FINDING_EXCEPTION_REQUEST_SOURCE_SCM_COMMENT",
"reviewerLogin": "<string>",
"reviewerName": "<string>",
"reviewerNote": "<string>",
"requestId": "<string>",
"reviewId": "<string>",
"issueId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"reviewedAt": "2023-11-07T05:31:56Z"
},
"clickToFixPrId": "<string>",
"triagePermission": "TRIAGE_PERMISSION_IGNORE",
"isArchived": true,
"firstDetectedAt": "2023-11-07T05:31:56Z"
}Get issue
Get a single issue by ID with details
curl --request GET \
--url https://semgrep.dev/api/agent/deployments/{deploymentId}/issues/v2/{issueId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://semgrep.dev/api/agent/deployments/{deploymentId}/issues/v2/{issueId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://semgrep.dev/api/agent/deployments/{deploymentId}/issues/v2/{issueId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://semgrep.dev/api/agent/deployments/{deploymentId}/issues/v2/{issueId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://semgrep.dev/api/agent/deployments/{deploymentId}/issues/v2/{issueId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://semgrep.dev/api/agent/deployments/{deploymentId}/issues/v2/{issueId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://semgrep.dev/api/agent/deployments/{deploymentId}/issues/v2/{issueId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"ref": "<string>",
"syntacticId": "<string>",
"matchBasedId": "<string>",
"ruleId": "<string>",
"status": "ISSUE_STATUS_FIXED",
"repository": {
"name": "<string>",
"id": "<string>",
"type": "SCM_TYPE_GITHUB",
"primaryRef": {
"id": "<string>",
"ref": "<string>"
}
},
"firstSeenScan": {
"id": "<string>",
"meta": {}
},
"triageState": "FINDING_TRIAGE_STATE_UNTRIAGED",
"triageReason": "FINDING_TRIAGE_REASON_FALSE_POSITIVE",
"relevantSince": "2023-11-07T05:31:56Z",
"aggregateState": "AGGREGATE_ISSUE_STATE_OPEN",
"note": "<string>",
"externalTicket": {
"url": "<string>",
"externalSlug": "<string>",
"id": "<string>",
"linkedIssueIds": [
"<string>"
]
},
"vulnGroupKey": "<string>",
"isBlocking": true,
"autotriage": {
"id": "<string>",
"issueId": "<string>",
"verdict": "VERDICT_TRUE_POSITIVE",
"reason": "<string>",
"feedback": {
"autotriageId": "<string>",
"rating": "RATING_GOOD",
"note": "<string>",
"issueId": "1234"
},
"matchBasedId": "<string>",
"memoryIdsReferenced": [
"<string>"
],
"memoryIdsRendered": [
"<string>"
]
},
"aiTags": {
"id": "<string>",
"path": "<string>",
"tags": "<string>",
"sensitivity": "SENSITIVITY_HIGH_SENSITIVITY"
},
"lineOfCodeUrl": "<string>",
"codeSnippet": "<string>",
"dataflowTrace": {
"taintSource": [
{
"path": "<string>",
"start": {
"line": "<string>",
"col": "<string>",
"offset": "<string>"
},
"end": {
"line": "<string>",
"col": "<string>",
"offset": "<string>"
},
"locationUrl": "<string>"
}
],
"intermediateVars": [
{
"path": "<string>",
"start": {
"line": "<string>",
"col": "<string>",
"offset": "<string>"
},
"end": {
"line": "<string>",
"col": "<string>",
"offset": "<string>"
},
"locationUrl": "<string>"
}
],
"taintSink": [
{
"path": "<string>",
"start": {
"line": "<string>",
"col": "<string>",
"offset": "<string>"
},
"end": {
"line": "<string>",
"col": "<string>",
"offset": "<string>"
},
"locationUrl": "<string>"
}
]
},
"commitUrl": "<string>",
"activityHistory": [
{
"date": "2023-11-07T05:31:56Z",
"title": "<string>",
"triageReason": "<string>",
"note": "<string>",
"actor": "<string>",
"historyType": "HISTORY_TYPE_STATUS",
"actorVia": "ACTOR_VIA_MCP",
"exceptionRequestDetails": {
"actionSource": "FINDING_EXCEPTION_REQUEST_SOURCE_SCM_COMMENT"
}
}
],
"relatedIssues": [
{
"id": "<string>",
"ref": "<string>",
"pullRequestId": "<string>",
"aggregateState": "AGGREGATE_ISSUE_STATE_OPEN",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"remediation": {
"issueId": "<string>",
"matchBasedId": "<string>",
"autofix": {
"id": "<string>",
"fixCode": "<string>",
"fixDiff": "<string>",
"explanation": "<string>",
"url": "<string>"
},
"guidance": {
"id": "<string>",
"summary": "<string>",
"guidanceText": "<string>",
"memoryIdsUsed": [
"<string>"
]
}
},
"lastSeenScan": {
"id": "<string>",
"meta": {}
},
"filePath": "<string>",
"line": 123,
"endLine": 123,
"column": 123,
"endColumn": 123,
"severity": "SEVERITY_HIGH",
"message": "<string>",
"rulePath": "<string>",
"confidence": "CONFIDENCE_HIGH",
"ruleUrl": "<string>",
"ruleReferences": [
"<string>"
],
"ruleOrigin": "RULE_ORIGIN_CUSTOM",
"ruleHashId": "<string>",
"ruleCweNames": [
"<string>"
],
"ruleOwaspNames": [
"<string>"
],
"ruleset": "<string>",
"policySlug": "<string>",
"category": "<string>",
"ruleSupersededBy": [
{
"product": "RULE_TYPE_SAST",
"rulePath": "<string>"
}
],
"issueType": "ISSUE_TYPE_SAST",
"issueParentId": "<string>",
"ticketAttempts": [
{
"attemptedAt": "2023-11-07T05:31:56Z",
"responseMessage": "<string>"
}
],
"sastAttributes": {},
"scaAttributes": {
"severity": "SEVERITY_HIGH",
"vulnDatabaseIdentifier": "<string>",
"reachability": "REACHABILITY_CONDITIONALLY_REACHABLE",
"reachableCondition": "<string>",
"cwes": [
"<string>"
],
"foundDependency": {
"package": "<string>",
"version": "<string>",
"transitivity": "UNKNOWN_TRANSITIVITY",
"lockfileLineUrl": "<string>",
"filePath": "<string>",
"ecosystem": "no_package_manager",
"manifestFilePath": "<string>"
},
"fixRecommendations": [
{
"package": "<string>",
"version": "<string>"
}
],
"bestFix": {
"package": "<string>",
"version": "<string>"
},
"epssScore": {
"score": 123,
"percentile": 123,
"updatedAt": "2023-11-07T05:31:56Z",
"categorization": "EPSS_PROBABILITY_LOW"
},
"rulePublishDate": "2023-11-07T05:31:56Z",
"scaRuleKind": "SCA_RULE_KIND_REACHABLE",
"scaMatchInfo": {
"matchKind": "SCA_MATCH_KIND_LOCKFILE_ONLY",
"analyzedPackages": [
{
"package": "<string>",
"version": "<string>",
"transitivity": "UNKNOWN_TRANSITIVITY",
"lockfileLineUrl": "<string>",
"filePath": "<string>",
"ecosystem": "no_package_manager",
"manifestFilePath": "<string>"
}
],
"transitiveMatches": [
{
"dependency": {
"package": "<string>",
"version": "<string>",
"transitivity": "UNKNOWN_TRANSITIVITY",
"lockfileLineUrl": "<string>",
"filePath": "<string>",
"ecosystem": "no_package_manager",
"manifestFilePath": "<string>"
},
"path": "<string>",
"line": "<string>"
}
]
},
"introducedBy": [
{
"package": "<string>",
"version": "<string>"
}
]
},
"secretsAttributes": {
"validationState": "VALIDATION_STATE_CONFIRMED_VALID",
"secretType": "<string>",
"historicalInfo": {
"gitCommit": "<string>",
"gitCommitTimestamp": "2023-11-07T05:31:56Z",
"gitBlob": "<string>"
}
},
"subcategories": [
"<string>"
],
"refUrl": "<string>",
"codeSnippets": [
{
"path": "<string>",
"content": "<string>"
}
],
"ruleExplanation": {
"id": "<string>",
"summary": "<string>",
"explanation": "<string>"
},
"ruleDisplayName": "<string>",
"clickToFixPrUrl": "<string>",
"aiImpact": "<string>",
"aiExploitConditions": [
{
"description": "<string>",
"confirmed": true
}
],
"clickToFixCommitMsg": "<string>",
"exceptionRequest": {
"exceptionState": "FINDING_EXCEPTION_REQUEST_STATE_REQUESTED",
"requesterLogin": "<string>",
"requesterName": "<string>",
"requesterNote": "<string>",
"requesterTriageReason": "FINDING_TRIAGE_REASON_FALSE_POSITIVE",
"requesterActionSource": "FINDING_EXCEPTION_REQUEST_SOURCE_SCM_COMMENT",
"reviewerLogin": "<string>",
"reviewerName": "<string>",
"reviewerNote": "<string>",
"requestId": "<string>",
"reviewId": "<string>",
"issueId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"reviewedAt": "2023-11-07T05:31:56Z"
},
"clickToFixPrId": "<string>",
"triagePermission": "TRIAGE_PERMISSION_IGNORE",
"isArchived": true,
"firstDetectedAt": "2023-11-07T05:31:56Z"
}Authorizations
Query Parameters
Response
OK
The issue's scan-controlled status, before triage is taken into account. Prefer aggregateState, which combines this field with triageState into the single state shown in Semgrep AppSec Platform.
| value | description |
|---|---|
| ISSUE_STATUS_FIXED | The most recent scan no longer detected the issue. |
| ISSUE_STATUS_MUTED | The most recent scan detected the issue, but a nosemgrep comment in the scanned code suppresses it. |
| ISSUE_STATUS_REMOVED | The most recent scan no longer detected the issue. Typically: the file was not scanned, the rule did not run, the rule's pattern changed, or the pull request was closed. |
| ISSUE_STATUS_UNRESOLVED | The most recent scan detected the issue. |
ISSUE_STATUS_FIXED, ISSUE_STATUS_MUTED, ISSUE_STATUS_REMOVED, ISSUE_STATUS_UNRESOLVED The issue's current triage state. Prefer aggregateState, which combines this field with status into the single state shown in Semgrep AppSec Platform.
| value | description |
|---|---|
| FINDING_TRIAGE_STATE_UNTRIAGED | The finding has not been triaged. |
| FINDING_TRIAGE_STATE_IGNORED | The finding was triaged as ignored. |
| FINDING_TRIAGE_STATE_REOPENED | The finding was previously ignored and has been triaged back to open. |
| FINDING_TRIAGE_STATE_UNKNOWN | |
| FINDING_TRIAGE_STATE_REVIEWING | The finding was triaged as being reviewed. |
| FINDING_TRIAGE_STATE_FIXING | The finding was triaged as needing to be fixed. |
| FINDING_TRIAGE_STATE_PROVISIONALLY_IGNORED | Semgrep determined the finding is very likely safe to ignore. Triage it to ignored to confirm, or reopen it. |
FINDING_TRIAGE_STATE_UNTRIAGED, FINDING_TRIAGE_STATE_IGNORED, FINDING_TRIAGE_STATE_REOPENED, FINDING_TRIAGE_STATE_UNKNOWN, FINDING_TRIAGE_STATE_REVIEWING, FINDING_TRIAGE_STATE_FIXING, FINDING_TRIAGE_STATE_PROVISIONALLY_IGNORED The reason the issue was triaged.
| value | description |
|---|---|
| FINDING_TRIAGE_REASON_FALSE_POSITIVE | |
| FINDING_TRIAGE_REASON_NO_TIME | |
| FINDING_TRIAGE_REASON_ACCEPTABLE_RISK | |
| FINDING_TRIAGE_REASON_NO_TRIAGE_REASON | |
| FINDING_TRIAGE_REASON_UNKNOWN | |
| FINDING_TRIAGE_REASON_DUPLICATE |
FINDING_TRIAGE_REASON_FALSE_POSITIVE, FINDING_TRIAGE_REASON_NO_TIME, FINDING_TRIAGE_REASON_ACCEPTABLE_RISK, FINDING_TRIAGE_REASON_NO_TRIAGE_REASON, FINDING_TRIAGE_REASON_UNKNOWN, FINDING_TRIAGE_REASON_DUPLICATE The overall state of the issue, accounting for status (controlled by scans), triaging, external events like PR closes, etc. TODO: use the AggregateState enum instead of raw strings.
| value | description |
|---|---|
| AGGREGATE_ISSUE_STATE_OPEN | The issue is still detected and has not been triaged into another state. |
| AGGREGATE_ISSUE_STATE_FIXED | The issue is no longer detected. |
| AGGREGATE_ISSUE_STATE_REMOVED | The issue is no longer detected; typically the file was not scanned, the rule did not run, the rule's pattern changed, or the pull request was closed. Removed issues are excluded from issue lists unless you filter for this value explicitly. |
| AGGREGATE_ISSUE_STATE_IGNORED_APP | The issue was triaged as ignored in Semgrep AppSec Platform, through the API, or by an automation. |
| AGGREGATE_ISSUE_STATE_IGNORED_CODE | The issue is suppressed by a nosemgrep comment in the scanned code. Shown as "Ignored via nosemgrep" in Semgrep AppSec Platform. |
| AGGREGATE_ISSUE_STATE_UNKNOWN | |
| AGGREGATE_ISSUE_STATE_REVIEWING | The issue was triaged as being reviewed. |
| AGGREGATE_ISSUE_STATE_FIXING | The issue was triaged as needing to be fixed. Shown as "To fix" in Semgrep AppSec Platform. |
| AGGREGATE_ISSUE_STATE_PROVISIONALLY_IGNORED_APP | Semgrep determined the issue is very likely safe to ignore. Triage it to ignored to confirm, or reopen it to undo. |
AGGREGATE_ISSUE_STATE_OPEN, AGGREGATE_ISSUE_STATE_FIXED, AGGREGATE_ISSUE_STATE_REMOVED, AGGREGATE_ISSUE_STATE_IGNORED_APP, AGGREGATE_ISSUE_STATE_IGNORED_CODE, AGGREGATE_ISSUE_STATE_UNKNOWN, AGGREGATE_ISSUE_STATE_REVIEWING, AGGREGATE_ISSUE_STATE_FIXING, AGGREGATE_ISSUE_STATE_PROVISIONALLY_IGNORED_APP The product which owns this issue, e.g. SAST (code), SCA (supply chain), etc.
| value | description |
|---|---|
| ISSUE_TYPE_SAST | Detected by Code rules |
| ISSUE_TYPE_SCA | Detected by Supply Chain rules |
| ISSUE_TYPE_SECRETS | Detected by Secrets rules |
| ISSUE_TYPE_RESEARCH | Detected by research rules or scanners |
| ISSUE_TYPE_AI_SAST | Detected by AI detection code scanning |
ISSUE_TYPE_SAST, ISSUE_TYPE_SCA, ISSUE_TYPE_SECRETS, ISSUE_TYPE_RESEARCH, ISSUE_TYPE_AI_SAST The triage permission for this issue: whether a developer may ignore it themselves, must request an exception, or cannot triage it at all. Only defined when the developer approvals feature is enabled.
| value | description |
|---|---|
| TRIAGE_PERMISSION_IGNORE | |
| TRIAGE_PERMISSION_REQUEST | |
| TRIAGE_PERMISSION_NONE |
TRIAGE_PERMISSION_IGNORE, TRIAGE_PERMISSION_REQUEST, TRIAGE_PERMISSION_NONE Was this page helpful?