Skip to content

No findings when manual (bazel) build-mode #17458

Closed
@Pabloo-ss

Description

@Pabloo-ss

Description of the issue

I am trying to use code scanning in two of my projects (a Java and a Go app), both using bazel as building tool. I set manual as build-mode and write the building command:

bazel build //<target>

The problems I encountered are:

  • Java app fail at running the building bazel command and I couldn't figure out why.
  • Go app compilation is successfully completed but no alert is created (I manually included vulnerable code). Nonetheless, when I set buid-mode to autobuild, an alert is created.

What I want to know if codeQL (and therefore GH code scanning) works properly when bazel comes into play? Does it need additional set up?

Thanks in advance!!

Metadata

Metadata

Assignees

Labels

GoJavaquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions