API to initiate code scan, email report and create tfs bugs

SonarQube 8.9 (onprem enterprise edition)

  1. Is it possible to initiate a code scan via API call instead of build task by providing source code TFS Path or git path. Or source code path to a local folder
  2. After the scan is completed, can the sonarQube emails report
  3. Can the SonarQube creates TFS bug for each security issue it finds

Hi,

Welcome to the community!

Analysis doesn’t take place within SonarQube, so there’s no API to call.

  1. Some emails are/can be sent after analysis, but the available scopes are limited to Issues, Quality Gate status and background task failures. The entire “report” isn’t one of the choices.

No.

 
HTH,
Ann