Scans
Manage Scans
Last updated
Was this helpful?
Manage Scans
Last updated
Was this helpful?
This API endpoint allows users to create a new scan within an organization. By providing the organization ID and a scan object containing the scan details, users can initiate a new scan. The endpoint returns a JSON object containing the scan ID and project ID upon successful creation of the scan. In case of an error, the endpoint raises an exception with an routerropriate error message.
/api/v1/organization/{org_id}/group/{group_id}/scan
^(((https|http):\/\/)|(git@))[a-zA-Z0-9\.:\/_-]{1,250}$
No body
This API endpoint allows users to generate a PDF report for a specific scan within an organization. By providing the organization ID and scan ID, users can generate a PDF report for the specified scan. The endpoint returns a JSON object containing the report details. If the report is not found, the endpoint returns an empty JSON object.
/api/v1/organization/{org_id}/scan/{scan_id}/report
No body
This API endpoint allows users to fetch a list of scans for a specific project within an organization. By providing the organization ID, group ID, and project ID, users can retrieve a list of scans associated with the specified project. The endpoint returns a JSON object containing the list of scans. If no scans are found, the endpoint returns an empty list.
/api/v1/organization/{org_id}/group/{group_id}/project/{project_id}/scans
No body
This API endpoint allows users to fetch details of a specific scan within an organization. By providing the organization ID, group ID, project ID, and scan ID, users can retrieve the details of the specified scan. The endpoint returns a JSON object containing the scan details. If the scan is not found, the endpoint returns an empty JSON object.
/api/v1/organization/{org_id}/scan/{scan_id}
No body