BazelBuildDsl

open class BazelBuildDsl

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Single Bazel target label to build and inspect, for example "//activities/foo:foo_activity". Set this for normal element analysis; stigAnalysisP1BuildNativeTarget builds this label before source-code analysis and uses it as the default compilation-database target when compdbTargets is not set.

Link copied to clipboard

Optional Bazel target pattern used by consumers that expand a broader package or target set. Prefer target for one concrete element target; use this only when the build integration needs a package pattern instead of a single label.

Link copied to clipboard

When true (default after cascading), STIG runs the native Bazel target and fingerprints the C++ compile-action inputs from Bazel aquery. Source-code-analysis tasks consume that fingerprint, so changes in headers, generated files, BUILD graph inputs, command lines, or selected source files invalidate stale analysis outputs without hand-maintained Gradle source lists.

Link copied to clipboard

Bazel workspace directory for this target. Relative paths are resolved from the configured STIG source repo root; absolute paths are used as-is. Leave unset when the source repo root itself is the Bazel workspace.