cURL
curl --request GET \ --url https://example.com/api/pr/scan/{pr_scan_id} \ --header 'Authorization: Bearer <token>'
{ "pr_id": 123, "vc_id": 123, "webhook_id": 123, "repo_id": 123, "vc_type": "<string>", "scan_type": "SECRET", "id": 123, "created_at": "2023-11-07T05:31:56Z", "pr": { "pr_id": 123, "pr_name": "<string>", "repo_id": 123, "pr_link": "<string>", "vctype": "gitlab", "vc_id": 123, "webhook_id": 123, "id": 123, "created_at": "2023-11-07T05:31:56Z", "last_scan": "2023-11-07T05:31:56Z", "secret_count": 123, "vulnerability_count": 123 }, "vc_name": "<string>", "repo_name": "<string>", "status": "pending", "block_status": true, "other_details": {}, "stat_url": "<string>", "secret_count": 0, "vulnerability_count": 0 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
SECRET
VULNERABILITY
Show child attributes
gitlab
github
bitbucket
pending
completed
processing
failed