Skip to content

Remove Scala and Kotlin from spotbugs-sast rules

What does this MR do and why?

As part of Bump SAST Analyzer major version for 17.0 and r... (#455489 - closed) • Craig Smith • 17.0, the Kotlin rules and scala rules were moved to semgrep, however, **/*.scala and **/*.kt should have been removed from the spotbugs CI job so that Spotbugs is no longer triggered when projects include those file types.

This MR updates the SAST.gitlab-ci.yml and SAST.latest.gitlab-ci.yml by removing **/*.scala and **/*.kt so that spotbugs no longer runs for projects that include Kotlin and Scala.

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 Craig Smith

Merge request reports