curl --request PATCH \
--url https://us.infisical.com/api/v2/secret-scanning/findings/{findingId} \
--header 'Content-Type: application/json' \
--data '{
"status": "resolved",
"remarks": "<string>"
}'
{
"finding": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dataSourceName": "<string>",
"resourceName": "<string>",
"rule": "<string>",
"severity": "<string>",
"status": "unresolved",
"remarks": "<string>",
"fingerprint": "<string>",
"projectId": "<string>",
"scanId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"resourceType": "repository",
"dataSourceType": "github",
"details": {
"description": "<string>",
"startLine": 123,
"endLine": 123,
"startColumn": 123,
"endColumn": 123,
"file": "<string>",
"link": "<string>",
"symlinkFile": "<string>",
"commit": "<string>",
"entropy": 123,
"author": "<string>",
"email": "<string>",
"date": "<string>",
"message": "<string>",
"tags": [
"<string>"
],
"ruleID": "<string>",
"fingerprint": "<string>"
}
}
}
Update the specified Secret Scanning Finding.
curl --request PATCH \
--url https://us.infisical.com/api/v2/secret-scanning/findings/{findingId} \
--header 'Content-Type: application/json' \
--data '{
"status": "resolved",
"remarks": "<string>"
}'
{
"finding": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dataSourceName": "<string>",
"resourceName": "<string>",
"rule": "<string>",
"severity": "<string>",
"status": "unresolved",
"remarks": "<string>",
"fingerprint": "<string>",
"projectId": "<string>",
"scanId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"resourceType": "repository",
"dataSourceType": "github",
"details": {
"description": "<string>",
"startLine": 123,
"endLine": 123,
"startColumn": 123,
"endColumn": 123,
"file": "<string>",
"link": "<string>",
"symlinkFile": "<string>",
"commit": "<string>",
"entropy": 123,
"author": "<string>",
"email": "<string>",
"date": "<string>",
"message": "<string>",
"tags": [
"<string>"
],
"ruleID": "<string>",
"fingerprint": "<string>"
}
}
}
The ID of the Secret Scanning Finding to update.
1
Default Response
The response is of type object
.
Was this page helpful?