Skip to main content

Initiating a Scan

SAST:

  1. Click /scan/start in the scan section.

  2. Click Try it out.

  3. 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.

  4. Provide the UUID of the project where the scan will be launched.

  5. Specify additional settings.

  6. Click Execute.

DAST:

  1. Click /dastProjects/{id}/scans in the dast section.

  2. Click Try it out.

  3. 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.

  4. In the request body, specify the analysis settings in JSON format.

  5. Click Execute.

SCA:

  1. Go to the sca section.

  2. 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.
  3. Click Try it out.

  4. In the request parameters, specify the SCA project ID where the scan will be launched.

  5. 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.

  6. Specify additional settings.

  7. Click Execute.