Add clangsa script to sast component

What does this MR do and why?

(Note that this MR targets the add-clangsa branch)

This MR adds clangsa scripts in a hidden job, so that users can reuse with !reference.

The scripts include splitting jobs and appending arguments to the compilation database.

Demos:

Previous discussion / motivation

gitlab-org/security-products/demos/experiments/clangsa/cmake/OpenSceneGraph!1 (comment 2725102849)

Related issues

Create a template for compilation database prep... (gitlab-org/gitlab#567965 - closed) • Hua Yan • 18.5

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Jason Leasure

Merge request reports

Loading