Initiating a Scan
SAST:
-
Click /scan/start in the scan section.
-
Click Try it out.
-
In the request body, choose a file for analysis or specify a project link. If uploading a file, it’s important to either run the analysis from the directory containing the file or specify the path to it.
-
Provide the UUID of the project where the scan will be launched.
-
Specify additional settings.
-
Click Execute.
DAST:
-
Click /dastProjects/{id}/scans in the dast section.
-
Click Try it out.
-
In the request parameters, specify the DAST project ID where the scan will be launched. If authentication data has already been added in the project settings, it can be reused.
-
In the request body, specify the analysis settings in JSON format.
-
Click Execute.
SCA:
-
Go to the sca section.
-
Choose the appropriate request depending on the source data type:
- /sca_projects/{id}/scans/archive — for analysis using an archive with source code + the project’s SBOM file;
- /sca_projects/{id}/scans/url — for analysis via a link to an archive with source code + the project’s SBOM file;
- /sca_projects/{id}/scans/vcs — for analysis via a repository link + the project’s SBOM file;
- /sca_projects/{id}/scans/url — for analysis via a link to the project’s SBOM file.
-
Click Try it out.
-
In the request parameters, specify the SCA project ID where the scan will be launched.
-
Depending on the selected request, in the request body, choose files for analysis or specify a project link. If uploading a file, it’s important to either run the analysis from the file’s directory or specify its path.
-
Specify additional settings.
-
Click Execute.