Initiates a scan for a given project, specified by the projectId. Returns the taskId corresponding to the scan task. The taskId can be used to check the scan status. Only Project Admin and Analyst can invoke a scan of a project.
Security
bearerAuth
- Mock serverhttps://codeinsightapi.redocly.app/_mock/swagger/scanResource/projectScan/{projectId}
- Code Insight REST API Serverhttps://codeinsightapi.redocly.app/codeinsight/api/scanResource/projectScan/{projectId}
curl -i -X POST \
'https://codeinsightapi.redocly.app/_mock/swagger/scanResource/projectScan/1?fullRescan=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"property1": "string",
"property2": "string"
}'