cURL
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>", "fingerprint": "<string>", "projectId": "<string>", "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>" }, "status": "unresolved", "remarks": "<string>", "scanId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } }
Update the specified Secret Scanning Finding.
The ID of the Secret Scanning Finding to update.
1
The updated status of the specified Secret Scanning Finding.
resolved
unresolved
false-positive
ignore
Remarks pertaining to the status of this finding.
Default Response
Show child attributes
Was this page helpful?