Proxy and Dev Tools CLion 6 min read

Audit Bazel BUILD visibility and wildcard globs in CLion

Monorepo build times creep up because internal packages default to //visibility:public and broad glob patterns. Inspect BUILD.bazel files locally inside CLion to enforce package-group visibility and explicit srcs lists.

Engineering context

Why local IDE checks beat late CI failures

Applies to IntelliJ Platform 2025.2+ through 2026.3+.

Unscoped visibility lets leaf services depend on internal C++ headers, destroying remote cache hit rates. Catching these configuration bugs inside CLion takes seconds instead of waiting 15 minutes for a remote CI pipeline or rolling back a broken deploy. Every Zovo plugin runs 100% locally on IntelliJ Platform 2025.2+ through 2026.3+ so sensitive configs never leave disk.

Need custom internal rules for bazel build visibility audit or an air-gapped signed ZIP build? Book a Public Feature Sprint ($4,999) or a Private Fork (from $25,000) on /custom/.

Implementation walkthrough

Four-step production setup

Tested against JetBrains Plugin Verifier and offline enterprise policies.

1

Install the matching Zovo inspector in CLion

Open Settings, select Plugins, and install the Zovo plugin directly from JetBrains Marketplace or your internal updatePlugins.xml repository. Core parsing stays free forever with no login.

2

Scan target configuration files before git commit

Inspect BUILD.bazel files locally inside CLion to enforce package-group visibility and explicit srcs lists. Review severity badges in the sidebar tool window and jump straight to the exact line causing drift or security exposure.

3

Export structured JSON or Markdown findings for PR review

With Personal Pro ($29/yr) or Organization Pro ($59/yr per seat), export audit reports straight into pull requests or InfoSec tickets without uploading repository files to third-party clouds.

4

Lock team standards across CI and air-gapped workstations

Pair local IDE checks with your repository policy or commission a custom PSI inspection pack so every engineer gets identical feedback on day one.

BUILD.bazel (scoped package visibility)
cc_library(
  name = "crypto_core",
  srcs = ["aes_gcm.cc"],
  hdrs = ["aes_gcm.h"],
  visibility = ["//services/auth:__subpackages__"],
)

Plugins referenced in this guide

More CLion plugins

Bazel BUILD File Auditor icon

Bazel BUILD File Auditor

com.notemods.bazel-build-auditor
Live ID 36715 Proxy and Dev Tools

Parse Bazel BUILD and BUILD.bazel files, catch non-hermetic local = True rules, unbounded glob(**) wildcards, public visibility overuse, missing test size or timeout, and deprecated native rule calls inside your JetBrains IDE.

Makefile Target Runner icon

Makefile Target Runner

com.notemods.makefile-target-runner
Queued Proxy and Dev Tools

Parse Makefiles, inspect targets and prerequisites, and catch recipe indentation and dependency bugs inside your JetBrains IDE.

SBOM CycloneDX Auditor icon

SBOM CycloneDX Auditor

com.notemods.sbom-cyclonedx-auditor
Queued Security and CI

Parse CycloneDX JSON SBOM manifests, catch outdated spec versions, missing metadata components, missing purl identifiers, copyleft GPL or AGPL licenses, and missing cryptographic hashes inside your JetBrains IDE.

Git Commit Gate icon

Git Commit Gate

com.notemods.git-commit-gate
Live ID 36776 Security and CI

Validate Conventional Commit messages, block WIP or fixup commits, enforce ticket references, and group release changelogs inside your JetBrains IDE.

FREEMIUM Native JetBrains Marketplace licensing

$29/yr Personal · $59/yr Org (30-day free trial, zero telemetry)

Core parsers and sidebar inspectors stay free forever with no account required. Upgrade inside JetBrains Marketplace for deep security audits, secret leak scanners, breaking-change guards, and JSON or Markdown report exports. Need a private air-gapped plugin or custom PSI inspection engine for your company?

Related JetBrains engineering guides

View all 65 guides