diff --git a/CHANGELOG.md b/CHANGELOG.md index 0670ff2b86..e014d09ab8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ This file records changes to what chant prints or writes for a plain project, th ## Unreleased +- [#5118](https://github.com/INTENTIUS/chant/issues/5118) `chant audit` and `chant lint` take `--preset pull-request` and `--baseline `. The preset reports only its rules, each as merge-blocking or report-only, with `LEX002` and `EVL001` as tool notices, drops findings below `warning`, and fails the run on a merge-blocking finding (`chant audit` unless `--fail-on` is given). With `--baseline`, the JSON or SARIF report of the same command on the base, only findings whose identity is not in it are reported. A preset run's JSON and SARIF findings carry `gate`, and `chant lint`'s carry `identity` (SARIF `partialFingerprints`). Without `--preset` nothing changes, except that `chant lint --format json` gives a post-synth finding its `locator`. - [#5094](https://github.com/INTENTIUS/chant/issues/5094) `chant workspace graph` stamps an Application an ApplicationSet generates with the `helmReferences` the reader gives one written by hand, so its chart joins the chart node and its values files are read by the Helm rule, under `k8s:K8s::Argo::Application:helmReferences.valuesFiles[]`, in place of the path rule. A values file it names that exists becomes a `Helm::Values` node, with a node for each object under its `extraObjects`, at `/values/` in the ApplicationSet's member and with `generatedBy` naming the generated Application and `generator: "file"`. A catalog's generate rule takes `files`, and the pass takes a `readFile`. - [#5094](https://github.com/INTENTIUS/chant/issues/5094) The terraform lexicon's evaluator reads `a == b` and `a != b` over two values the files determine, with Terraform's rule that values of different types are not equal, so `count = var.is_prod_cluster == "true" ? 1 : 0` gets its instance nodes: `chant graph` draws `google_container_cluster.prod_cluster[0]` where it drew the block alone, and the catalog matches the instance. A `count` or `for_each` that comes to zero plans nothing, so its block carries `evaluated: { instances: {} }` and the catalog matches none of its arguments; the test block beside a prod block of the same name is no longer an ambiguous match. A comparison with an unknown side stays unknown and names that side's reference. - [terragucci#1461](https://github.com/INTENTIUS/terragucci/issues/1461) The product pipeline takes `commentAllow: { allow, tokenSecret? }`, which limits `/ plan`, `apply`, `lock`, `unlock` and `agent` to the logins and `team:/` entries `allow` names per command, with `default` for the ones it leaves out, on GitHub and Forgejo. Before, those comment jobs checked write access alone. The map is written into the workflow as `CHANT_COMMENT_ALLOW`, in the comment job, the product plan's re-plan decision and the agent's jobs, so it is read from the workflow on the default branch and a pull request cannot add its author. The comment job replies to a commenter the list leaves out; the re-plan and the agent stay silent. `ForgeReads.teamMember` reads a team (GitHub needs a token that can read the organization's members, Forgejo `read:organization`); `tokenSecret` names the secret that holds it, else the job's own token is used, and a team the forge cannot answer for fails closed with a message that says what to fix. A pipeline with no `commentAllow` writes the same workflow as before. Floor `COMMENT_ALLOW_FLOOR`. diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index e4f88bfd2a..8f77a8c38e 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -194,6 +194,7 @@ export default defineConfig({ collapsed: true, items: [ { label: 'Linting & Type-Checking', slug: 'guide/linting' }, + { label: 'Check Every Pull Request', slug: 'guide/pull-request-check' }, { label: 'Organizational Policy', slug: 'guide/organizational-policy' }, { label: 'Custom Rules', slug: 'lint-rules/custom-rules' }, { label: 'Auto-Fix', slug: 'lint-rules/auto-fix' }, diff --git a/docs/src/content/docs/cli/audit.mdx b/docs/src/content/docs/cli/audit.mdx index 7ba4529fa6..79b45270bd 100644 --- a/docs/src/content/docs/cli/audit.mdx +++ b/docs/src/content/docs/cli/audit.mdx @@ -91,6 +91,8 @@ The **expanded** (HTML) report renders the same findings with badges, cards, and | `--template ` | `html` only: a full HTML template override (see below) | | `--theme ` | `html` only: a JSON file of theme knobs (`title`, `logo`, `accent`, `footer`) | | `--max-files ` | Local path only: how many files the walk takes before it stops (default `1000`). See [Scan limits](#scan-limits) | +| `--preset ` | Report only the rules of a named preset, each as merge-blocking or report-only, and exit 1 on a merge-blocking finding unless `--fail-on` says otherwise. `pull-request` is the one preset. See [Check every pull request](/chant/guide/pull-request-check/) | +| `--baseline ` | With `--preset`: the JSON or SARIF report of the same audit on the pull request's base. Only findings whose `identity` is not in it are reported | | `--agents` | Audit this machine's **agent configuration** instead of a repository (see below) | | `--scope ` | `--agents` only: comma-separated `system`, `user`, `project` (default: all) | | `--runtime ` | `--agents` only: comma-separated `claude`, `codex`, `gemini`, `opencode`, `cursor` (default: all) | @@ -387,6 +389,10 @@ chant audit https://github.com/owner/repo -f html --theme theme.json -o report.h # Only the PR-worthy findings, as JSON, failing CI if any exist chant audit . --tier merge-worthy --json --fail-on merge-worthy + +# Only what a pull request added, under the pull request preset +chant audit ../base --preset pull-request --json -o base.json --fail-on none +chant audit . --preset pull-request --baseline base.json ``` ## Exit codes @@ -394,6 +400,7 @@ chant audit . --tier merge-worthy --json --fail-on merge-worthy | `--fail-on` | Exit 1 when… | |-------------|--------------| | `none` (default) | never (read-only) | +| not given, with `--preset` | any merge-blocking finding of the preset exists | | `merge-worthy` | any merge-worthy finding exists | | `warning` | any error- or warning-severity finding exists | | `error` | any error-severity finding exists (chant #2113) | diff --git a/docs/src/content/docs/cli/lint.mdx b/docs/src/content/docs/cli/lint.mdx index accafc133c..0edc1127da 100644 --- a/docs/src/content/docs/cli/lint.mdx +++ b/docs/src/content/docs/cli/lint.mdx @@ -23,6 +23,8 @@ chant lint [path] [flags] | `-w, --watch` | `bool` | `false` | Watch for file changes and re-lint | | `--root-only` | `bool` | `false` | At the root of a declared workspace, lint the root project alone instead of refusing. See [At a workspace root](#at-a-workspace-root) | | `--sandbox` | `bool` | `false` | Run any project source the lint has to execute in one isolated child process rather than in the chant process. The same boundary as [`chant build --sandbox`](/chant/cli/build/#sandboxed-execution); composes with `--watch` | +| `--preset ` | `string` | | Report only the rules of a named preset, each as merge-blocking or report-only. `pull-request` is the one preset. See [Check every pull request](/chant/guide/pull-request-check/) | +| `--baseline ` | `string` | | With `--preset`: the JSON or SARIF report of the same command on the pull request's base. Only findings whose identity is not in it are reported | ## Usage @@ -69,4 +71,4 @@ At the root of a [declared workspace](/chant/reference/workspace-declaration/), | Code | Meaning | |------|---------| | 0 | No errors found | -| 1 | Lint errors found, including a lexicon post-synth error, a declared lexicon that could not be resolved, a lint path that does not build (`LEX002`), or `WSP000` at a workspace root | +| 1 | Lint errors found, including a lexicon post-synth error, a declared lexicon that could not be resolved, a lint path that does not build (`LEX002`), or `WSP000` at a workspace root. With `--preset`, only a merge-blocking finding exits 1, and `LEX002` is a tool notice | diff --git a/docs/src/content/docs/guide/pull-request-check.mdx b/docs/src/content/docs/guide/pull-request-check.mdx new file mode 100644 index 0000000000..733200415f --- /dev/null +++ b/docs/src/content/docs/guide/pull-request-check.mdx @@ -0,0 +1,80 @@ +--- +title: Check Every Pull Request +description: Run chant audit and chant lint under the pull-request preset on a pull request's base and head, and report only the findings the change added +diataxis: how-to +prompt: | + Read https://intentius.io/chant/guide/pull-request-check/. + Add a pull request job that runs `chant audit` on the base with `--preset pull-request --json -o base.json --fail-on none`, then on the head with `--preset pull-request --baseline base.json --format sarif -o chant.sarif`, and uploads the SARIF. + Show me the job and one run's output before you open the pull request. + Never deploy to a real cloud account or shared environment (with `chant run`, `chant components` or a platform's own CLI), approve (a pull request review, `chant approve` or `chant run approve`), override a policy denial (`chant approve policy-override`), or merge; never cut or publish a release (`chant release cut --yes` or `chant release publish`), push or delete a `ci/*` tag (`chant ci tick` pushes them), or change the value of an existing flag; never touch `.chant/allowed_signers` or `chant/lifecycle`. +--- + +`chant audit` runs every rule it has, and on a repository that chant did not write most of what it reports was there before any one pull request. The `pull-request` preset ([#5118](https://github.com/INTENTIUS/chant/issues/5118)) is a named rule set and a severity floor for a check that runs on every pull request. With a baseline from the pull request's base, it reports only the findings the change added, and it fails only on the rules that were right most of the time on a replay of real history. + +## What the preset reports + +The preset puts each rule in one of three sets ([source](https://github.com/INTENTIUS/chant/blob/main/packages/core/src/audit/pull-request-preset.ts)). A rule in no set is off, so a rule added to chant later stays off here until a replay shows it meets the bar. + +| Set | Rules | Effect | +|---|---|---| +| Merge-blocking | `WK8501` (fields the API server prunes), `GRAF103` (a dashboard variable the dashboard does not define), `SEC001` to `SEC009` (secrets in a known format) | Reported, and the run exits 1 | +| Report-only | `WK8203`, `WK8204`, `WK8205` (container security context), `GRAF104`, `GRAF105` (duplicate and overlapping panels), `TF002` (provider pins), `WK8102`, `WK8104`, `WK8105`, `WK8201`, `WK8301`, `WK8302`, `WK8003`, `TF006`, `TF010`, `TF011`, `TF012`, `TF017`, `TF020`, `TF022`, `TF039`, `PROM217` | Reported, never fails the run | +| Tool notice | `LEX002`, `EVL001` | Printed apart from the findings: a file chant could not import or build | + +The severity floor is `warning`, so an `info` finding is not reported in any set. Each off rule carries its measured reason in the preset's source. `COR001`, for example, had 116 findings on the replay and none was true, since it judges the TypeScript that `chant import` wrote. Each of the 6 `SEC010` findings was a URL or an ARN or a similar name. + +## Run it on a pull request + +Check out the base beside the head, audit the base, then audit the head against it: + +```sh +git worktree add ../base "$BASE_SHA" +chant audit ../base --preset pull-request --json -o base.json --fail-on none +chant audit . --preset pull-request --baseline base.json +``` + +The second command prints the findings that are new in the head, split into merge-blocking and report-only, and ends with one line that counts the merge-blocking and report-only findings, the findings already on the base, and the ones the preset left out It exits 1 when there is a merge-blocking finding. `--fail-on none` keeps it read-only, and any other `--fail-on` value works as it does without a preset. + +A finding is new when its `identity` is not in the baseline. The identity names the rule and where the finding sits in the object. It leaves out the message, so a finding that only moved lines or changed wording is not reported again ([#5106](https://github.com/INTENTIUS/chant/issues/5106)). `--baseline` reads the JSON report (`findings[].identity`) or the SARIF report (`partialFingerprints`) of the same command. A file that is neither is refused rather than read as an empty baseline. + +For a SARIF upload, write the head's report with `--format sarif -o chant.sarif`. Each result carries its set in `properties.gate`. + +## Run it on chant source + +`chant lint` takes the same two flags: + +```sh +chant lint ../base/src --preset pull-request --format json > base.json +chant lint src --preset pull-request --baseline base.json +``` + +Under the preset, lint exits 1 only on a merge-blocking finding, and `LEX002` (a lint path that does not build) is a tool notice. Paths in the identity are relative to the project root, so the base can be linted in another checkout. A plain `chant lint --format json` has no identities, so the base must be linted with `--preset` too. + +## Render stability + +On a Helm values change, run `chant helm localize --values ` on both sides. A render that was deterministic on the base and is unstable on the head is a merge-blocking result under the preset: the replay's one true Helm finding was a removed `existingSecret` that made the chart generate a new admin password on every render. + +## How the bar was set + +The rule lists were measured on a replay of merged changes to a public Kubernetes infrastructure repository, with `chant audit`, per-file `chant lint` and `chant helm localize` run on the parent and the commit of each change ([test/pr-preset-replay](https://github.com/INTENTIUS/chant/tree/main/test/pr-preset-replay)). Each merge-blocking finding was labelled by hand with its reason, and every other finding by its rule. + +The bar is at least 35% precision on the merge-blocking findings, every true finding kept, and at most 10 of the 159 changes in the first window blocked. `test/pr-preset-replay/bar.test.ts` scores the labelled findings against the preset in the unit suite, so a change to the rule lists that misses the bar fails there. + +| Window | Changes | Every rule on | Merge-blocking as first proposed | Merge-blocking, this preset | +|---|---|---|---|---| +| 2026-05-12 to 2026-11-12 | 159 | 17 true of 721 (2.4%) | 17 of 46 (37.0%), 7 changes blocked | 17 of 17, 3 changes blocked | +| 2025-11-12 to 2026-05-12 | 91 | 0 true of 1020 | 0 of 123, 8 changes blocked | none, no change blocked | + +The first proposal on #5118 also made `GRAF104`, `GRAF105`, `WK8203`, `WK8204`, `WK8205` and `TF002` merge-blocking. It met the bar on the first window by a small margin. On the second it blocked 8 changes with nothing true, and none of the 158 findings those six rules raised across both windows was true, so they report and do not block. Most of the second window's were manifests moved to a new path in a Flux-to-Argo CD migration, which identity reads as new because it includes the file, and node DaemonSets that need root by design. + +The true findings in the first window are 3 defects. One dashboard's queries used variables it did not define, which gave 14 `GRAF103` findings and was fixed by the next change the same day. An `ApplicationSet` field the API server pruned was found by both audit and lint (`WK8501`) and fixed four months later. The localize result is a values change that made a chart's admin password Secret change on every render. The second window has no true finding with every rule on, so it shows what the preset costs on a quiet half year: nothing blocked. Three defects are a small sample, so a replay of other history is worth running before the preset gates a busy repository. + +## Replay another window + +The replay harness takes any corpus built the same way: a git bundle with a `c/` tag for each parent and commit, a `changes.json` listing the changes and their files, and the Helm charts the localize check renders. + +```sh +just replay-pr-preset --labels --record findings.json +``` + +A cold run of the first window took about an hour on a busy laptop; `` keeps each commit's report, so a second run reads them. `--record` writes every new finding with its label, or `UNLABELLED` where the labels file has none. Label the merge-blocking ones by hand, with the reason, and run again. The harness exits 1 while a merge-blocking finding has no label, when precision is below the bar, or when a true finding is no longer found. diff --git a/docs/src/content/docs/reference/level-0-exceptions.mdx b/docs/src/content/docs/reference/level-0-exceptions.mdx index 34fbe8a1a1..da52619353 100644 --- a/docs/src/content/docs/reference/level-0-exceptions.mdx +++ b/docs/src/content/docs/reference/level-0-exceptions.mdx @@ -75,6 +75,7 @@ The `version` field has shipped, and `v0.80.0` is the warning release for the ot | `chant --help` lists `query`, which was an unknown-command error. `chant query ""` is new and only reads: one SQL statement over the local `chant/lifecycle` branch, loaded into `node:sqlite` with table schema version 1. `parseRunLedger` is exported from the run ledger. A project that never runs it sees no change | [#4297](https://github.com/INTENTIUS/chant/issues/4297) | none: accepted without a warning release, as chant's breaking changes are. No golden moves | | The otel lexicon's collector pin moves from collector-contrib v0.130.0 to v0.162.0 (`COLLECTOR_PIN`), and its built-in config types are generated from upstream `config.schema.yaml` at that release. `COLLECTOR_IMAGE`, the default image of the k8s, docker and fly collector composites, moves from `otel/opentelemetry-collector-contrib:0.130.0` to `:0.162.0`, so the image those composites write moves with it. Fields the lexicon typed change on the way: the prometheus receiver's `use_start_time_metric` and `start_time_metric_regex` are gone (removed in v0.143.0); the prometheus exporter ignores `add_metric_suffixes` by default (v0.154.0), so `spanMetricsNames()`, `serviceGraphNames()` and PROM301 read `translation_strategy` for it, and `resource_to_telemetry_conversion` is deprecated (v0.160.0) for `resource_constant_labels`; the routing connector's `request` context (v0.156.0), the `k8snode` detector (v0.154.0, alias of `k8s_api`) and the flat confighttp keepalive fields (v0.160.0) are deprecated; tail_sampling's inverted decisions lost their gate (v0.155.0); and `error_mode` defaults to `ignore` for filter, transform and routing (v0.157.0). OTEL126 and OTEL127 check against the v0.162.0 lists, which add `k8s.cronjob.uid`, `container.image.tags` and the detectors added since v0.130.0 | [#3361](https://github.com/INTENTIUS/chant/issues/3361) ([#2525](https://github.com/INTENTIUS/chant/issues/2525#issuecomment-6376504335)) | none: the maintainer accepted it without a warning release on 2026-10-23, as chant has few users. No CLI golden runs a collector composite; the composites' tests read `COLLECTOR_IMAGE` | | One [exit-code table](/chant/reference/exit-codes/) for every command. A step that refuses a plan that moved since it was approved makes `chant run --components`, `fan-out`, `promote`, `rollback`, `redeploy` and `pr-apply` exit 4 where they exited 3, and `pr-apply` exits 4 for a digest that moved after its approval. `chant lock`, and `pr-apply` under `ci.locks`, exit 5 for a target another pull request holds, where they exited 3. A policy denial exits 7 at `pr-plan` (where it exited 1) and at `pr-apply` (where it exited 3). `chant lifecycle drift` refuses a read with 1 in place of 3. A gate, a decision point and every other wait keep 3, and `--gated-exit` still remaps only 3 | [#4553](https://github.com/INTENTIUS/chant/issues/4553) | none: accepted without a warning release, as chant's breaking changes are, by the 2026-10-27 ruling on #4553. No CLI golden runs a moved plan, a lock, a policy or a refused drift read | +| `chant lint --format json` gives a lexicon post-synth finding its `locator`, the place in the object (a container, for the `WK82*` checks) the check named, so `chant lint --preset` names the finding as `chant audit` does. A finding with no locator is unchanged, and the only golden that moved is `getting-started/lint-format-json.golden`, whose `WK8105` and `WK8203` findings gain it, and also the `entity` that [behold#919](https://github.com/INTENTIUS/behold/issues/919) added and the golden had not caught up with | [#5118](https://github.com/INTENTIUS/chant/issues/5118) | shipped without a warning release: the field is additive | ## Landing a listed change diff --git a/justfile b/justfile index f3aa2f841c..b23a073b52 100644 --- a/justfile +++ b/justfile @@ -115,6 +115,14 @@ fold-differential: _ensure-gen sandbox-differential: _ensure-gen npx vitest run examples/sandbox-differential.e2e.test.ts --reporter=verbose +# chant #5118 — the pull request preset replay. Reruns chant audit, per-file +# chant lint and chant helm localize over a saved corpus of merged changes, +# on both sides of each, and fails when the preset's merge-blocking findings +# miss the bar in test/pr-preset-replay/score.ts. On demand; the corpus lives +# outside the repo. `work` keeps the per-commit reports between runs. +replay-pr-preset corpus work="" *args: _ensure-gen + npx tsx test/pr-preset-replay/replay.ts --corpus {{corpus}} {{ if work != "" { "--work " + work } else { "" } }} {{args}} + # chant #1067 — the lexicon completeness contract, actually enforced. Runs # each lexicon's own tsconfig.build.json build, then `chant dev check-lexicon` # (all tier-1 checks, including intrinsic-foldability validation and "every diff --git a/packages/core/src/audit/core.ts b/packages/core/src/audit/core.ts index b0b5560b08..3ba4acae2b 100644 --- a/packages/core/src/audit/core.ts +++ b/packages/core/src/audit/core.ts @@ -99,6 +99,14 @@ export interface AuditFinding { missing?: { kind: string; scope: string }; /** Carried verbatim from the producing `PostSynthDiagnostic.locator` (#5106); one input of the finding's identity. */ locator?: string; + /** + * Set by a `--preset` run (#5118), which computes identities over every + * finding of the run before it leaves any out, so a report holding only the + * new findings still names each one as a whole run would. + */ + identity?: string; + /** The preset set the finding is in, on a `--preset` run (#5118). */ + gate?: "merge-blocking" | "report-only" | "notice"; } /** diff --git a/packages/core/src/audit/pull-request-preset.test.ts b/packages/core/src/audit/pull-request-preset.test.ts new file mode 100644 index 0000000000..89629761e9 --- /dev/null +++ b/packages/core/src/audit/pull-request-preset.test.ts @@ -0,0 +1,99 @@ +import { describe, expect, test } from "vitest"; +import { findingIdentities, IDENTITY_FINGERPRINT_KEY } from "./identity"; +import { + applyRulePreset, + presetGate, + presetSummary, + PULL_REQUEST_PRESET, + readBaselineIdentities, + resolveRulePreset, + type PresetInput, +} from "./pull-request-preset"; + +const f = (checkId: string, over: Partial = {}): PresetInput => ({ checkId, file: "a.yaml", severity: "error", ...over }); + +describe("the pull request preset (#5118)", () => { + test("resolves by name", () => { + expect(resolveRulePreset("pull-request")).toBe(PULL_REQUEST_PRESET); + expect(resolveRulePreset("strict")).toBeUndefined(); + }); + + test("places a rule in its set, and leaves out a rule in none", () => { + expect(presetGate(PULL_REQUEST_PRESET, "WK8501", "error")).toBe("merge-blocking"); + expect(presetGate(PULL_REQUEST_PRESET, "SEC007", "error")).toBe("merge-blocking"); + expect(presetGate(PULL_REQUEST_PRESET, "WK8102", "warning")).toBe("report-only"); + // Proposed as merge-blocking, none true on two windows of the replay. + expect(presetGate(PULL_REQUEST_PRESET, "WK8203", "warning")).toBe("report-only"); + expect(presetGate(PULL_REQUEST_PRESET, "TF002", "warning")).toBe("report-only"); + expect(presetGate(PULL_REQUEST_PRESET, "LEX002", "error")).toBe("notice"); + expect(presetGate(PULL_REQUEST_PRESET, "COR001", "warning")).toBeUndefined(); + expect(presetGate(PULL_REQUEST_PRESET, "SEC010", "error")).toBeUndefined(); + expect(presetGate(PULL_REQUEST_PRESET, "NEW999", "error")).toBeUndefined(); + }); + + test("the floor leaves out an info finding of a merge-blocking rule", () => { + expect(presetGate(PULL_REQUEST_PRESET, "GRAF103", "info")).toBeUndefined(); + expect(presetGate(PULL_REQUEST_PRESET, "GRAF103", "warning")).toBe("merge-blocking"); + }); + + test("no rule is in two sets, and no off rule is in a set", () => { + const sets = [PULL_REQUEST_PRESET.mergeBlocking, PULL_REQUEST_PRESET.reportOnly, PULL_REQUEST_PRESET.notices]; + const all = sets.flat(); + expect(new Set(all).size).toBe(all.length); + for (const id of Object.keys(PULL_REQUEST_PRESET.off)) expect(all).not.toContain(id); + }); + + test("a baseline drops the findings the base already had, by identity", () => { + const base = [f("WK8501", { entity: "app" }), f("WK8102", { entity: "app", severity: "warning" })]; + const head = [...base, f("WK8501", { entity: "other" }), f("COR001", { severity: "warning" })]; + const baseline = new Set(findingIdentities(base)); + const r = applyRulePreset(PULL_REQUEST_PRESET, head, baseline); + expect(r.mergeBlocking.map((x) => x.entity)).toEqual(["other"]); + expect(r.reportOnly).toEqual([]); + expect(r.unchanged).toBe(2); + expect(r.off).toBe(1); + }); + + test("identities are computed over the whole run, so a new second finding is told from the old first", () => { + const one = f("WK8501", { entity: "app", locator: "spec.x" }); + const r = applyRulePreset(PULL_REQUEST_PRESET, [one, { ...one }], new Set(findingIdentities([one]))); + expect(r.mergeBlocking).toHaveLength(1); + expect(r.mergeBlocking[0].identity).toBe(findingIdentities([one, one])[1]); + }); + + test("a tool notice is reported whatever the baseline holds", () => { + const n = f("LEX002"); + const r = applyRulePreset(PULL_REQUEST_PRESET, [n], new Set(findingIdentities([n]))); + expect(r.notices).toHaveLength(1); + expect(r.mergeBlocking).toHaveLength(0); + }); + + test("summary line", () => { + const r = applyRulePreset(PULL_REQUEST_PRESET, [f("WK8501"), f("COR001")], new Set()); + expect(presetSummary(PULL_REQUEST_PRESET, r, true)).toBe( + "Preset pull-request: 1 merge-blocking finding, 0 report-only, 0 already on the base, 1 left out by the preset.", + ); + }); +}); + +describe("readBaselineIdentities", () => { + test("reads an audit JSON report", () => { + expect([...readBaselineIdentities(JSON.stringify({ findings: [{ identity: "a" }, { identity: "b" }] }))]).toEqual(["a", "b"]); + }); + + test("reads SARIF partialFingerprints", () => { + const sarif = { runs: [{ results: [{ partialFingerprints: { [IDENTITY_FINGERPRINT_KEY]: "x" } }, {}] }] }; + expect([...readBaselineIdentities(JSON.stringify(sarif))]).toEqual(["x"]); + }); + + test("reads the lint --preset JSON array, and refuses a plain lint array", () => { + expect([...readBaselineIdentities(JSON.stringify([{ identity: "y" }]))]).toEqual(["y"]); + expect(readBaselineIdentities("[]").size).toBe(0); + expect(() => readBaselineIdentities(JSON.stringify([{ ruleId: "COR001" }]))).toThrow(/--preset/); + }); + + test("refuses text that is no report, rather than reading an empty baseline", () => { + expect(() => readBaselineIdentities("not json")).toThrow(/not JSON/); + expect(() => readBaselineIdentities("{}")).toThrow(/findings/); + }); +}); diff --git a/packages/core/src/audit/pull-request-preset.ts b/packages/core/src/audit/pull-request-preset.ts new file mode 100644 index 0000000000..fb2cea89f6 --- /dev/null +++ b/packages/core/src/audit/pull-request-preset.ts @@ -0,0 +1,241 @@ +/** + * The pull request preset (#5118): a named rule set and a severity floor that + * `chant audit --preset pull-request` and `chant lint --preset pull-request` + * both read, so a check that runs on every pull request reports what the + * change introduced and blocks only on rules that were right most of the time + * on a replay of real history. + * + * Each rule is in one of three sets. A merge-blocking finding fails the run. + * A report-only finding is printed and never fails it. A tool notice (an + * import or a build that chant could not finish) is printed apart from the + * findings, since it says what chant could not read rather than what is wrong + * with the change. Every other rule is off, so a rule added later stays off + * here until a replay shows it meets the bar. + * + * With a baseline (the same command's JSON or SARIF report on the pull + * request's base), only findings whose identity (`identity.ts`, #5106) is not + * in the baseline are reported. A finding that was there before the change + * is not the change's to fix. + * + * The lists, and the measured reason each off rule is off, come from the + * replay in `test/pr-preset-replay/`. `test/pr-preset-replay/bar.test.ts` + * fails if a change to these lists drops the replay's precision below the bar. + */ + +import type { Severity } from "../lint/rule"; +import { findingIdentities, IDENTITY_FINGERPRINT_KEY } from "./identity"; + +export type PresetGate = "merge-blocking" | "report-only" | "notice"; + +export interface RulePreset { + name: string; + /** Findings below this severity are not reported in any set. */ + floor: Severity; + mergeBlocking: readonly string[]; + reportOnly: readonly string[]; + /** Ids that report a tool failure, not a defect. */ + notices: readonly string[]; + /** Rules this preset leaves out on purpose, with the measured reason. Any id in no set is off too. */ + off: Readonly>; +} + +export const PULL_REQUEST_PRESET_NAME = "pull-request"; + +const SECRET_FORMATS = ["SEC001", "SEC002", "SEC003", "SEC004", "SEC005", "SEC006", "SEC007", "SEC008", "SEC009"]; + +export const PULL_REQUEST_PRESET: RulePreset = { + name: PULL_REQUEST_PRESET_NAME, + floor: "warning", + mergeBlocking: [ + // Fields the API server prunes from a CRD-backed object. + "WK8501", + // A dashboard variable the dashboard does not define. + "GRAF103", + // Secrets in a known format. + ...SECRET_FORMATS, + ], + reportOnly: [ + "WK8102", + "WK8104", + "WK8105", + "WK8201", + "WK8301", + "WK8302", + "WK8003", + "TF010", + "TF011", + "TF012", + "TF017", + "TF020", + "TF039", + "PROM217", + // Silent on the replay since their fixes (#5081, #5080): no finding to + // measure, so they report and never block. + "TF006", + "TF022", + // Proposed as merge-blocking on #5118 and measured on two six-month + // windows of the replay: none of their findings was true, so they report + // and never block. Counts are new findings, the first window then the second. + // Duplicate panel ids and overlapping panels: 21 and 5, none true. + // Grafana renumbers and moves the panels when it loads the dashboard. + "GRAF104", + "GRAF105", + // Container security context: 6 and 116, none true. Most of the second + // window's came from manifests moved to a new path, or node DaemonSets + // that need root by design. + "WK8203", + "WK8204", + "WK8205", + // Provider version pins: 2 and 2, none true. Two of the four were a pin + // missing before the change, reported again because a new provider block + // moved the finding's identity. + "TF002", + ], + notices: ["LEX002", "EVL001"], + off: { + COR001: "judges the TypeScript chant import wrote, not the change: 116 new findings on the replay, none true", + COR004: "judges the TypeScript chant import wrote, not the change: 88 new findings on the replay, none true", + COR009: "judges the TypeScript chant import wrote, not the change: 1 new finding on the replay, not true", + COR013: "judges the TypeScript chant import wrote, not the change", + WK8001: "a namespace written in a manifest is normal: 21 new findings on the replay, none true", + GRAF101: "an imported dashboard needs no datasource variable: 29 new findings on the replay, none true", + GRAF107: "keys Grafana still accepts that the pinned schema lacks: 131 new findings on the replay, none true", + SEC010: "high-entropy strings on the replay were URLs, ARNs, a managed policy name and a secret path: 6 new findings, none true", + TF007: "no new finding on the replay since #5081, but it still reports a UUID default such as a subscription id", + TF009: "an HMAC key id fed from secret_data, which the provider already marks sensitive: 6 new findings on the replay, none true", + ARGO003: "needs the cluster list from another file, which a per-file run cannot see: 1 new finding on the replay, not true", + ARGO005: "a per-file run cannot see the directory a source.path names: 1 new finding on the replay, not true", + WK8503: "needs the ExternalSecret in another file of the kustomization: 1 new finding on the replay, not true", + }, +}; + +const PRESETS: Readonly> = { [PULL_REQUEST_PRESET_NAME]: PULL_REQUEST_PRESET }; + +/** The preset a `--preset ` names, or undefined. */ +export function resolveRulePreset(name: string): RulePreset | undefined { + return PRESETS[name]; +} + +/** Every preset name, for an error message. */ +export function rulePresetNames(): string[] { + return Object.keys(PRESETS); +} + +const RANK: Record = { info: 0, warning: 1, error: 2 }; + +/** Which set a finding falls in under `preset`, or undefined when the preset leaves it out. */ +export function presetGate(preset: RulePreset, checkId: string, severity: Severity): PresetGate | undefined { + if (preset.notices.includes(checkId)) return "notice"; + if (RANK[severity] < RANK[preset.floor]) return undefined; + if (preset.mergeBlocking.includes(checkId)) return "merge-blocking"; + if (preset.reportOnly.includes(checkId)) return "report-only"; + return undefined; +} + +/** What a finding needs for the preset to place it and to compute its identity. */ +export interface PresetInput { + checkId: string; + file: string; + severity: Severity; + entity?: string; + locator?: string; + fingerprint?: string; + missing?: { kind: string; scope: string }; +} + +export type PresetFinding = T & { identity: string; gate: PresetGate }; + +export interface PresetResult { + /** Findings that fail the run: merge-blocking and not in the baseline. */ + mergeBlocking: PresetFinding[]; + reportOnly: PresetFinding[]; + notices: PresetFinding[]; + /** Findings in a set whose identity the baseline already had. */ + unchanged: number; + /** Findings the preset leaves out, by rule or by the floor. */ + off: number; +} + +/** + * Place each finding under the preset. `findings` must be in the order the + * command emitted them, since identity tells equal findings apart by their + * order. With `baseline`, a finding whose identity it holds is counted in + * `unchanged` and not reported. + */ +export function applyRulePreset( + preset: RulePreset, + findings: readonly T[], + baseline?: ReadonlySet, +): PresetResult { + const identities = findingIdentities(findings); + const result: PresetResult = { mergeBlocking: [], reportOnly: [], notices: [], unchanged: 0, off: 0 }; + findings.forEach((f, i) => { + const gate = presetGate(preset, f.checkId, f.severity); + if (gate === undefined) { + result.off++; + return; + } + const identity = identities[i]; + if (gate !== "notice" && baseline?.has(identity)) { + result.unchanged++; + return; + } + const placed = { ...f, identity, gate }; + if (gate === "merge-blocking") result.mergeBlocking.push(placed); + else if (gate === "report-only") result.reportOnly.push(placed); + else result.notices.push(placed); + }); + return result; +} + +/** + * The finding identities in a baseline report: a `chant audit --format json` + * report (`findings[].identity`), a SARIF report from `chant audit` or from + * `chant lint --preset` (`partialFingerprints`), or the JSON array `chant lint + * --preset --format json` prints. + * Throws on text that is none of these, so a wrong file is not read as an + * empty baseline that reports every finding as new. + */ +export function readBaselineIdentities(text: string): Set { + let parsed: unknown; + try { + parsed = JSON.parse(text); + } catch { + throw new Error("the baseline is not JSON; pass the JSON or SARIF report of the same command run on the base"); + } + const ids = new Set(); + // `chant lint --preset --format json` prints the diagnostics as an array. + if (Array.isArray(parsed)) { + for (const d of parsed as Array<{ identity?: unknown }>) if (typeof d?.identity === "string") ids.add(d.identity); + if (parsed.length > 0 && ids.size === 0) throw new Error("the baseline's findings carry no identity; run the base with --preset too"); + return ids; + } + const doc = parsed as { findings?: unknown; runs?: unknown }; + if (Array.isArray(doc.findings)) { + for (const f of doc.findings as Array<{ identity?: unknown }>) if (typeof f?.identity === "string") ids.add(f.identity); + return ids; + } + if (Array.isArray(doc.runs)) { + for (const run of doc.runs as Array<{ results?: Array<{ partialFingerprints?: Record }> }>) { + for (const r of run.results ?? []) { + const id = r.partialFingerprints?.[IDENTITY_FINGERPRINT_KEY]; + if (typeof id === "string") ids.add(id); + } + } + return ids; + } + throw new Error("the baseline has no findings[] or SARIF runs[]; pass the JSON or SARIF report of the same command run on the base"); +} + +/** One line for a run under the preset, for the end of a text report. */ +export function presetSummary(preset: RulePreset, result: PresetResult, withBaseline: boolean): string { + const n = (k: number, word: string) => `${k} ${word}${k === 1 ? "" : "s"}`; + const parts = [ + `${n(result.mergeBlocking.length, "merge-blocking finding")}`, + `${result.reportOnly.length} report-only`, + ...(result.notices.length > 0 ? [n(result.notices.length, "tool notice")] : []), + ...(withBaseline ? [`${result.unchanged} already on the base`] : []), + `${result.off} left out by the preset`, + ]; + return `Preset ${preset.name}: ${parts.join(", ")}.`; +} diff --git a/packages/core/src/audit/report-model.ts b/packages/core/src/audit/report-model.ts index be3f177269..a2518847dc 100644 --- a/packages/core/src/audit/report-model.ts +++ b/packages/core/src/audit/report-model.ts @@ -110,6 +110,8 @@ export interface SerializedFinding { identity: string; /** Set when the finding is an absence rather than a defect — see `PostSynthDiagnostic.missing` (chant #2113). */ missing?: { kind: string; scope: string }; + /** On a `--preset` run (#5118): `merge-blocking` fails the run, `report-only` does not. */ + gate?: "merge-blocking" | "report-only" | "notice"; lexicon: string; tier: Tier; fixKind: FixKind; @@ -269,7 +271,7 @@ export interface BuildModelOptions { export function buildReportModel(findings: AuditFinding[], opts: BuildModelOptions = {}): ReportModel { const catalog = opts.catalog ?? RULE_CATALOG; const identities = findingIdentities(findings); - const enriched: EnrichedFinding[] = findings.map((f, i) => ({ ...f, identity: identities[i], meta: metaFor(f.checkId, catalog) })); + const enriched: EnrichedFinding[] = findings.map((f, i) => ({ ...f, identity: f.identity ?? identities[i], meta: metaFor(f.checkId, catalog) })); const contents = new Map((opts.files ?? []).map((f) => [f.path, f.content])); const mergeWorthy = enriched.filter((f) => f.meta.tier === "merge-worthy"); @@ -348,6 +350,7 @@ export function buildReportJson( fingerprint: f.fingerprint, identity: f.identity, missing: f.missing, + gate: f.gate, lexicon: f.lexicon, tier: f.meta.tier, fixKind: f.meta.fixKind, diff --git a/packages/core/src/cli/commands/audit-preset.test.ts b/packages/core/src/cli/commands/audit-preset.test.ts new file mode 100644 index 0000000000..2e318fce6b --- /dev/null +++ b/packages/core/src/cli/commands/audit-preset.test.ts @@ -0,0 +1,105 @@ +import { afterEach, beforeAll, describe, expect, test } from "vitest"; +import { mkdtempSync, rmSync, writeFileSync } from "node:fs"; +import { join } from "node:path"; +import { tmpdir } from "node:os"; +import { auditCommand } from "./audit"; +import { loadAuditPlugins } from "../../audit/discover"; +import { PULL_REQUEST_PRESET, readBaselineIdentities } from "../../audit/pull-request-preset"; + +/** + * #5118: `chant audit --preset pull-request --baseline ` reports + * only the preset's rules, only the findings the head added, and fails on a + * merge-blocking one. + */ +const dirs: string[] = []; +afterEach(() => { + for (const d of dirs.splice(0)) rmSync(d, { recursive: true, force: true }); +}); + +let plugins: Awaited>; +beforeAll(async () => { + plugins = await loadAuditPlugins(["k8s"]); +}, 120_000); + +/** + * An Argo CD ApplicationSet with a field the API server prunes (WK8501, + * merge-blocking) and no labels (WK8102, report-only), as on the replay. + */ +const deployment = (name: string) => `apiVersion: argoproj.io/v1alpha1 +kind: ApplicationSet +metadata: + name: ${name} + namespace: argocd +spec: + generators: + - list: + elements: + - cluster: in-cluster + template: + metadata: + name: ${name} + spec: + project: default + managedNamespaceMetadata: + labels: + istio-injection: enabled + source: + repoURL: https://example.com/repo.git + path: apps/${name} + targetRevision: main + destination: + name: in-cluster + namespace: ${name} +`; + +function tree(...names: string[]): string { + const dir = mkdtempSync(join(tmpdir(), "chant-5118-")); + dirs.push(dir); + for (const n of names) writeFileSync(join(dir, `${n}.yaml`), deployment(n)); + return dir; +} + +const run = (path: string, extra: Partial[0]> = {}) => + auditCommand({ path, format: "json", now: "2026-11-15T00:00:00.000Z", toolVersion: "0.0.0", plugins, preset: PULL_REQUEST_PRESET, ...extra }); + +describe("chant audit --preset pull-request (#5118)", () => { + test("reports only the preset's rules, each with its gate", async () => { + const r = await run(tree("web")); + expect(r.findings.length).toBeGreaterThan(0); + for (const f of r.findings) expect(["merge-blocking", "report-only"]).toContain(f.gate); + expect(r.findings.some((f) => f.checkId === "WK8501" && f.gate === "merge-blocking")).toBe(true); + const all = await auditCommand({ path: tree("web"), format: "json", plugins }); + expect(all.findings.every((f) => f.gate === undefined)).toBe(true); + }); + + test("with a baseline, reports what the head added and fails on a merge-blocking finding", async () => { + const base = await run(tree("web")); + const baseline = readBaselineIdentities(base.output); + const head = await run(tree("web", "worker"), { baseline }); + expect(head.findings.length).toBeGreaterThan(0); + expect(head.findings.every((f) => f.file === "worker.yaml")).toBe(true); + expect(head.findings.some((f) => f.gate === "merge-blocking")).toBe(true); + expect(head.exitCode).toBe(1); + const json = JSON.parse(head.output) as { findings: Array<{ identity: string; gate: string }> }; + for (const f of json.findings) expect(baseline.has(f.identity)).toBe(false); + }); + + test("an unchanged tree reports nothing and passes", async () => { + const base = await run(tree("web")); + const head = await run(tree("web"), { baseline: readBaselineIdentities(base.output) }); + expect(head.findings).toEqual([]); + expect(head.exitCode).toBe(0); + }); + + test("--fail-on none keeps a preset run read-only", async () => { + const r = await run(tree("web"), { failOn: "none" }); + expect(r.findings.some((f) => f.gate === "merge-blocking")).toBe(true); + expect(r.exitCode).toBe(0); + }); + + test("the text report splits merge-blocking from report-only and ends with the preset's line", async () => { + const r = await run(tree("web"), { format: "stylish" }); + expect(r.output).toContain("Merge-blocking:"); + expect(r.output).toMatch(/Preset pull-request: \d+ merge-blocking finding/); + }); +}); diff --git a/packages/core/src/cli/commands/audit.ts b/packages/core/src/cli/commands/audit.ts index d0cffcb8f2..cb4817248c 100644 --- a/packages/core/src/cli/commands/audit.ts +++ b/packages/core/src/cli/commands/audit.ts @@ -11,6 +11,7 @@ import { auditFiles, describeSkip, type AuditSkip, type AuditInput, type AuditFi import { AUDIT_LEXICONS, classifyFiles, loadAuditPlugins, unclaimedFiles, walkCandidates, type CandidateWalk, type DetectPlugin, type RepoFile, type UnclaimedFile } from "../../audit/discover"; import { RULE_CATALOG, resolveAuditCatalog, type RuleMeta } from "../../audit/catalog"; import { findingIdentities, IDENTITY_FINGERPRINT_KEY } from "../../audit/identity"; +import { applyRulePreset, presetSummary, type RulePreset } from "../../audit/pull-request-preset"; import { scanForSecrets, parseSecretsConfig, type SecretsScanOptions } from "../../audit/secrets"; import { auditWranglerConfigs } from "../../audit/wrangler"; import { auditNginxConfigs } from "../../audit/nginx"; @@ -80,6 +81,18 @@ export interface AuditCommandOptions { * (`--max-files`, #2528). Defaults to 1000. Local paths only. */ maxFiles?: number; + /** + * A named rule set and severity floor (`--preset`, #5118). Findings outside + * it are left out, and the run fails on a merge-blocking finding unless + * `failOn` says otherwise. + */ + preset?: RulePreset; + /** + * Finding identities from the same audit on the pull request's base + * (`--baseline`, #5118). Only findings not among them are reported. + * Applies with `preset`. + */ + baseline?: ReadonlySet; } /** @@ -292,7 +305,9 @@ function isMergeWorthy(f: AuditFinding, catalog: Record = RULE return catalog[f.checkId]?.tier === "merge-worthy"; } -function exitCodeFor(findings: AuditFinding[], failOn: AuditFailOn, catalog: Record = RULE_CATALOG): number { +function exitCodeFor(findings: AuditFinding[], failOn: AuditFailOn | undefined, catalog: Record = RULE_CATALOG, preset?: RulePreset): number { + // A preset run with no --fail-on fails on its merge-blocking findings (#5118). + if (failOn === undefined) return preset && findings.some((f) => f.gate === "merge-blocking") ? 1 : 0; if (failOn === "merge-worthy") return findings.some((f) => isMergeWorthy(f, catalog)) ? 1 : 0; if (failOn === "warning") { return findings.some((f) => f.severity === "error" || f.severity === "warning") ? 1 : 0; @@ -337,16 +352,19 @@ export function coverageNotes(inputs: AuditInput[]): string[] { return notes; } -function renderStylish(findings: AuditFinding[], scanned: string[], notes: string[], catalog: Record = RULE_CATALOG): string { +function renderStylish(findings: AuditFinding[], scanned: string[], notes: string[], catalog: Record = RULE_CATALOG, preset?: RulePreset): string { const lines: string[] = []; for (const note of notes) lines.push(`Note: ${note}`); if (notes.length > 0) lines.push(""); - const mw = findings.filter((f) => isMergeWorthy(f, catalog)); - const ro = findings.filter((f) => !isMergeWorthy(f, catalog)); + // Under a preset (#5118) the split is the preset's, not the catalog tier's. + const blocks = (f: AuditFinding) => (preset ? f.gate === "merge-blocking" : isMergeWorthy(f, catalog)); + const mw = findings.filter(blocks); + const ro = findings.filter((f) => !blocks(f)); + const blockWord = preset ? "merge-blocking" : "merge-worthy"; lines.push( `Audited ${scanned.length} file${scanned.length === 1 ? "" : "s"} — ` + `${findings.length} finding${findings.length === 1 ? "" : "s"} ` + - `(${mw.length} merge-worthy, ${ro.length} report-only).`, + `(${mw.length} ${blockWord}, ${ro.length} report-only).`, ); const section = (title: string, list: AuditFinding[]) => { if (list.length === 0) return; @@ -366,7 +384,7 @@ function renderStylish(findings: AuditFinding[], scanned: string[], notes: strin lines.push(` [${f.checkId}] ${f.severity} ${where} — ${title}`); } }; - section("Merge-worthy:", mw); + section(preset ? "Merge-blocking:" : "Merge-worthy:", mw); section("Report-only:", ro); return lines.join("\n"); } @@ -404,12 +422,12 @@ function renderSarif(findings: AuditFinding[], catalog: Record const identities = findingIdentities(findings); const results = findings.map((f, i) => { const tier = catalog[f.checkId]?.tier; - const properties = { ...(tier ? { tier } : {}), ...(f.missing ? { missing: f.missing } : {}) }; + const properties = { ...(tier ? { tier } : {}), ...(f.gate ? { gate: f.gate } : {}), ...(f.missing ? { missing: f.missing } : {}) }; return { ruleId: f.checkId, level: sarifLevel(f.severity), message: { text: f.message }, - partialFingerprints: { [IDENTITY_FINGERPRINT_KEY]: identities[i] }, + partialFingerprints: { [IDENTITY_FINGERPRINT_KEY]: f.identity ?? identities[i] }, locations: [ { physicalLocation: { @@ -491,7 +509,7 @@ export function truncationNote(t: AuditTruncation, target: string): string { export async function auditCommand(options: AuditCommandOptions): Promise { const format = options.format ?? "stylish"; const tier = options.tier ?? "all"; - const failOn = options.failOn ?? "none"; + const failOn = options.failOn ?? (options.preset ? undefined : "none"); const isUrl = /^https?:\/\//.test(options.path); // chant#2589 — path lexicons the target declares, read without running its config. @@ -612,6 +630,15 @@ export async function auditCommand(options: AuditCommandOptions): Promise isMergeWorthy(f, catalog)); const notes = coverageNotes(inputs); + // #5118: the preset places every finding of the run, then the baseline drops + // the ones the base already had. Identities are computed before anything is + // left out, so they match a whole run's. + if (options.preset) { + const placed = applyRulePreset(options.preset, findings, options.baseline); + findings = [...placed.mergeBlocking, ...placed.reportOnly]; + for (const n of placed.notices) notes.push(`Tool notice ${n.checkId} in ${n.file}: ${n.message}`); + notes.push(presetSummary(options.preset, placed, options.baseline !== undefined)); + } if (truncated) notes.unshift(truncationNote(truncated, options.path)); if (missingLexiconNote) notes.push(missingLexiconNote); // A skipped lexicon is stated in the report when the report is read as text @@ -686,10 +713,10 @@ export async function auditCommand(options: AuditCommandOptions): Promise { + dir = mkdtempSync(join(tmpdir(), "chant-5118-lint-")); + process.env.NO_COLOR = "1"; +}); +afterEach(() => { + rmSync(dir, { recursive: true, force: true }); + delete process.env.NO_COLOR; +}); + +/** A rule that reports once per `// flag ` comment, under the id it is given. */ +const ruleFor = (id: string, severity: LintRule["severity"]): LintRule => ({ + id, + severity, + category: "correctness", + description: `test rule ${id}`, + check(ctx) { + const text = ctx.sourceFile.getFullText(); + return [...text.matchAll(/\/\/ flag (\w+)/g)].map((m) => ({ + file: ctx.filePath, + line: 1, + column: 1, + ruleId: id, + severity, + message: `flagged ${m[1]}`, + entity: m[1], + })); + }, +}); + +const rules = [ruleFor("WK8501", "error"), ruleFor("WK8102", "warning"), ruleFor("COR001", "warning")]; + +describe("chant lint --preset pull-request (#5118)", () => { + test("leaves out rules outside the preset and fails on a merge-blocking finding", async () => { + writeFileSync(join(dir, "a.ts"), "// flag one\nexport const x = 1;\n"); + const plain = await lintCommand({ path: dir, format: "json", rules, postSynth: false }); + expect(plain.diagnostics.map((d) => d.ruleId).sort()).toEqual(["COR001", "WK8102", "WK8501"]); + + const r = await lintCommand({ path: dir, format: "json", rules, postSynth: false, preset: PULL_REQUEST_PRESET }); + expect(r.diagnostics.map((d) => [d.ruleId, d.gate])).toEqual([ + ["WK8501", "merge-blocking"], + ["WK8102", "report-only"], + ]); + expect(r.diagnostics.every((d) => typeof d.identity === "string")).toBe(true); + expect(r.success).toBe(false); + }); + + test("with its own JSON as the baseline, only a new finding is reported", async () => { + writeFileSync(join(dir, "a.ts"), "// flag one\nexport const x = 1;\n"); + const base = await lintCommand({ path: dir, format: "json", rules, postSynth: false, preset: PULL_REQUEST_PRESET }); + const baseline = readBaselineIdentities(base.output); + + const same = await lintCommand({ path: dir, format: "json", rules, postSynth: false, preset: PULL_REQUEST_PRESET, baseline }); + expect(same.diagnostics).toEqual([]); + expect(same.success).toBe(true); + + writeFileSync(join(dir, "a.ts"), "// flag one\n// flag two\nexport const x = 1;\n"); + const head = await lintCommand({ path: dir, format: "sarif", rules, postSynth: false, preset: PULL_REQUEST_PRESET, baseline }); + expect(head.diagnostics.map((d) => [d.ruleId, d.entity])).toEqual([ + ["WK8501", "two"], + ["WK8102", "two"], + ]); + expect(head.success).toBe(false); + // The SARIF carries the identity, so it can be the next run's baseline. + expect(readBaselineIdentities(head.output).size).toBe(2); + }); + + test("a report-only finding alone passes", async () => { + const only = [ruleFor("WK8102", "warning")]; + writeFileSync(join(dir, "a.ts"), "// flag one\nexport const x = 1;\n"); + const r = await lintCommand({ path: dir, format: "stylish", rules: only, postSynth: false, preset: PULL_REQUEST_PRESET }); + expect(r.success).toBe(true); + expect(r.output).toContain("Preset pull-request: 0 merge-blocking findings, 1 report-only"); + }); +}); diff --git a/packages/core/src/cli/commands/lint.ts b/packages/core/src/cli/commands/lint.ts index c8f98b592f..a3598a385b 100644 --- a/packages/core/src/cli/commands/lint.ts +++ b/packages/core/src/cli/commands/lint.ts @@ -35,6 +35,7 @@ import { runLexiconPostSynthChecks } from "./build"; import { armSandboxPolicyExecution, runProjectPolicies } from "../../lint/policy-sandbox"; import { ensureTypeScriptLoader } from "../../ts-loader"; import { esModuleNamespace } from "../../module-interop"; +import { applyRulePreset, presetSummary, type RulePreset } from "../../audit/pull-request-preset"; // Import config loader import { loadConfig, resolveRulesForFile, resolveConfiguredSeverity, findProjectRoot } from "../../lint/config"; @@ -324,6 +325,13 @@ export interface LintOptions { * example's source rules, not for hiding findings from a user. */ postSynth?: boolean; + /** + * A named rule set and severity floor (`--preset`, #5118). Diagnostics + * outside it are left out, and lint fails only on a merge-blocking one. + */ + preset?: RulePreset; + /** Finding identities from the same lint on the pull request's base (`--baseline`, #5118). */ + baseline?: ReadonlySet; } /** @@ -780,7 +788,7 @@ async function runLexiconPostSynthDiagnostics( const declared = entity ? result.entities.get(entity) : undefined; return (declared && getProvenance(declared)?.sourceFile) || fallbackFile; }; - const toLint = (d: { checkId: string; severity: LintDiagnostic["severity"]; message: string; entity?: string; lexicon?: string }): LintDiagnostic => ({ + const toLint = (d: { checkId: string; severity: LintDiagnostic["severity"]; message: string; entity?: string; lexicon?: string; locator?: string }): LintDiagnostic => ({ file: fileOf(d.entity), line: 1, column: 1, @@ -788,6 +796,7 @@ async function runLexiconPostSynthDiagnostics( severity: d.severity, message: `${d.entity ? `[${d.entity}] ` : ""}${d.message}`, ...(d.entity ? { entity: d.entity } : {}), + ...(d.locator ? { locator: d.locator } : {}), }); for (const { plugin, diagnostics: raw } of runLexiconPostSynthChecks(withChecks, result, env, { activityContracts, telemetry, projectDir: configDir, ...(loadedConfig ? { projectConfig: loadedConfig } : {}) })) { @@ -1025,6 +1034,26 @@ export async function lintCommand(options: LintOptions): Promise { diagnostics.push(lexiconResolutionDiagnostic(projectRoot, loaded.lexiconError)); } + // #5118: the preset places every diagnostic, with identities computed over + // the whole run and paths relative to the project root, so a run on the + // base in another checkout names the same finding the same way. + let presetLine: string | undefined; + let blocking = 0; + if (options.preset) { + const inputs = diagnostics.map((d) => ({ + checkId: d.ruleId, + file: relative(projectRoot, d.file) || d.file, + severity: d.severity, + entity: d.entity, + locator: d.locator, + diag: d, + })); + const placed = applyRulePreset(options.preset, inputs, options.baseline); + blocking = placed.mergeBlocking.length; + diagnostics = [...placed.mergeBlocking, ...placed.reportOnly, ...placed.notices].map((p) => ({ ...p.diag, identity: p.identity, gate: p.gate })); + presetLine = presetSummary(options.preset, placed, options.baseline !== undefined); + } + // Count errors and warnings let errorCount = 0; let warningCount = 0; @@ -1054,11 +1083,12 @@ export async function lintCommand(options: LintOptions): Promise { case "stylish": default: output = formatStylish(diagnostics, suppressed, knowledgeBundle); + if (presetLine) output = output ? `${output}\n${presetLine}` : presetLine; break; } return { - success: errorCount === 0, + success: options.preset ? blocking === 0 : errorCount === 0, errorCount, warningCount, diagnostics, diff --git a/packages/core/src/cli/handlers/lint.ts b/packages/core/src/cli/handlers/lint.ts index 640436bc2c..d467dd3960 100644 --- a/packages/core/src/cli/handlers/lint.ts +++ b/packages/core/src/cli/handlers/lint.ts @@ -5,6 +5,7 @@ import { reportUninstalledDependencies } from "../dependencies"; import type { CommandContext } from "../registry"; import { commandBuildParams } from "../build-params-cli"; import { loadChantConfigUpward, type ChantConfig } from "../../config"; +import { resolvePresetArgs } from "../preset-args"; /** * chant #2251 — `chant lint` resolves this invocation's declared build-time @@ -37,6 +38,12 @@ export async function runLint(ctx: CommandContext): Promise { return 1; } + const presetArgs = resolvePresetArgs(args); + if (presetArgs instanceof Error) { + console.error(formatError({ message: presetArgs.message })); + return 1; + } + const buildParams = await lintBuildParams(args); if (buildParams === undefined) return 1; @@ -62,6 +69,7 @@ export async function runLint(ctx: CommandContext): Promise { format: lintFormat, sandbox: args.sandbox, buildParams, + ...presetArgs, }); // #4116: errors that are imports of uninstalled packages are led by the dependencies message. diff --git a/packages/core/src/cli/handlers/misc.ts b/packages/core/src/cli/handlers/misc.ts index 26145c3bb3..a6538d99f9 100644 --- a/packages/core/src/cli/handlers/misc.ts +++ b/packages/core/src/cli/handlers/misc.ts @@ -15,6 +15,7 @@ import { formatError, formatSuccess, formatWarning, formatBold } from "../format import type { CommandContext } from "../registry"; import { listComponents, describeComponent } from "../../components/cli-support"; import { CHANT_VERSION } from "../version"; +import { resolvePresetArgs } from "../preset-args"; const AUDIT_FORMATS: AuditFormat[] = ["stylish", "json", "sarif", "markdown", "html"]; const AUDIT_TIERS: AuditTier[] = ["merge-worthy", "all"]; @@ -71,12 +72,19 @@ export async function runAudit(ctx: CommandContext): Promise { console.error(formatError({ message: `Invalid --tier: ${tier}. Expected one of ${AUDIT_TIERS.join(", ")}.` })); return 1; } - const failOn = (args.failOn ?? "none") as AuditFailOn; - if (!AUDIT_FAIL_ON.includes(failOn)) { + // #5118: a preset run with no --fail-on fails on its merge-blocking findings. + const failOn = (args.failOn ?? (args.preset !== undefined ? undefined : "none")) as AuditFailOn | undefined; + if (failOn !== undefined && !AUDIT_FAIL_ON.includes(failOn)) { console.error(formatError({ message: `Invalid --fail-on: ${failOn}. Expected one of ${AUDIT_FAIL_ON.join(", ")}.` })); return 1; } + const presetArgs = resolvePresetArgs(args); + if (presetArgs instanceof Error) { + console.error(formatError({ message: presetArgs.message })); + return 1; + } + // `--agents` switches the subject from a repo to this machine's agent // configuration. Same formats, tiers, and fail-on policy — a different thing // being audited, not a different report. @@ -95,7 +103,7 @@ export async function runAudit(ctx: CommandContext): Promise { const result = auditAgentsCommand({ format, tier, - failOn, + failOn: failOn ?? "none", scopes, runtimes, projectRoots: resolveProjectRoots(args), @@ -156,6 +164,7 @@ export async function runAudit(ctx: CommandContext): Promise { theme, toolVersion: CHANT_VERSION, maxFiles, + ...presetArgs, }); printAuditResult(result); return result.exitCode; diff --git a/packages/core/src/cli/main.ts b/packages/core/src/cli/main.ts index 96b53e023a..ee8125b852 100644 --- a/packages/core/src/cli/main.ts +++ b/packages/core/src/cli/main.ts @@ -163,7 +163,9 @@ Commands: At a declared workspace root it refuses with WSP000; --root-only builds the root project alone lint Check specifications for issues - (at a declared workspace root: WSP000 unless --root-only) + (at a declared workspace root: WSP000 unless --root-only; + --preset pull-request --baseline reports + only new findings of the pull request preset) list List discovered entities describe Show the effective config for one component explain Summarize discovered entities (--format markdown|json|okf; @@ -219,7 +221,10 @@ Commands: (--format stylish|json|sarif|markdown|html, -o , --tier merge-worthy|all, --fail-on merge-worthy|warning|error|none, --template / --theme for the html report, - --max-files to walk more than 1000 files) + --max-files to walk more than 1000 files, + --preset pull-request --baseline to report + only the findings a pull request adds, failing on the + merge-blocking ones) --agents audits this machine's agent configuration — instruction files, MCP servers, skills, plugins, permissions — instead of a repository diff --git a/packages/core/src/cli/parse-args.ts b/packages/core/src/cli/parse-args.ts index a08e2035e1..3e54743493 100644 --- a/packages/core/src/cli/parse-args.ts +++ b/packages/core/src/cli/parse-args.ts @@ -412,6 +412,12 @@ export function parseArgs(args: string[]): ParsedArgs { result.runtime = args[++i]; } else if (arg === "--fail-on") { result.failOn = args[++i]; + } else if (arg === "--preset") { + result.preset = args[++i]; + if (!result.preset || result.preset.startsWith("-")) throw new Error("--preset needs a name: --preset pull-request"); + } else if (arg === "--baseline") { + result.baseline = args[++i]; + if (!result.baseline || result.baseline.startsWith("-")) throw new Error("--baseline needs a file: --baseline "); } else if (arg === "--max-files") { // Validated by the audit handler, like `--limit` below. result.maxFiles = Number(args[++i]); diff --git a/packages/core/src/cli/preset-args.ts b/packages/core/src/cli/preset-args.ts new file mode 100644 index 0000000000..2044629355 --- /dev/null +++ b/packages/core/src/cli/preset-args.ts @@ -0,0 +1,34 @@ +/** + * `--preset` and `--baseline` for `chant audit` and `chant lint` (#5118): the + * named rule set, and the identities of the findings the base already had. + */ + +import { readFileSync } from "fs"; +import { readBaselineIdentities, resolveRulePreset, rulePresetNames, type RulePreset } from "../audit/pull-request-preset"; + +export interface PresetArgs { + preset?: RulePreset; + baseline?: Set; +} + +/** Resolve the two flags, or an Error to print. `--baseline` without `--preset` is refused. */ +export function resolvePresetArgs(args: { preset?: string; baseline?: string }): PresetArgs | Error { + if (args.baseline !== undefined && args.preset === undefined) { + return new Error("--baseline compares findings under a preset; add --preset pull-request"); + } + if (args.preset === undefined) return {}; + const preset = resolveRulePreset(args.preset); + if (!preset) return new Error(`Unknown --preset: ${args.preset}. Expected one of ${rulePresetNames().join(", ")}.`); + if (args.baseline === undefined) return { preset }; + let text: string; + try { + text = readFileSync(args.baseline, "utf-8"); + } catch (err) { + return new Error(`Failed to read --baseline ${args.baseline}: ${err instanceof Error ? err.message : String(err)}`); + } + try { + return { preset, baseline: readBaselineIdentities(text) }; + } catch (err) { + return new Error(`--baseline ${args.baseline}: ${err instanceof Error ? err.message : String(err)}`); + } +} diff --git a/packages/core/src/cli/registry.ts b/packages/core/src/cli/registry.ts index aae4ebf72b..c1154d8845 100644 --- a/packages/core/src/cli/registry.ts +++ b/packages/core/src/cli/registry.ts @@ -531,6 +531,10 @@ export interface ParsedArgs { failOn?: string; /** `chant audit --max-files ` (#2528) — files the local walk takes before it stops (default 1000). */ maxFiles?: number; + /** `chant audit|lint --preset ` (#5118) — a named rule set and severity floor, `pull-request` today. */ + preset?: string; + /** `chant audit|lint --baseline ` (#5118) — the same command's JSON or SARIF report on the base; only new findings are reported. */ + baseline?: string; /** `chant audit --theme ` — JSON theme knobs for the HTML report */ theme?: string; /** `chant dev surface-diff --update-snapshot` — write the fresh snapshot as the new baseline */ diff --git a/packages/core/src/cli/reporters/stylish.ts b/packages/core/src/cli/reporters/stylish.ts index fc4e720e69..b661e817b9 100644 --- a/packages/core/src/cli/reporters/stylish.ts +++ b/packages/core/src/cli/reporters/stylish.ts @@ -1,4 +1,5 @@ import type { LintDiagnostic, LintRule, Severity } from "../../lint/rule"; +import { IDENTITY_FINGERPRINT_KEY } from "../../audit/identity"; import type { OkfBundle } from "../../okf-read"; import { pathToFileURL } from "node:url"; @@ -287,6 +288,10 @@ function buildSarifResult(diag: LintDiagnostic, ruleIndex: Map) fingerprints: { "chant/v1": `${diag.ruleId}:${diag.file}:${diag.line}:${diag.column}`, }, + // #5118: a `--preset` run names each finding as `chant audit` does, so a + // base run's SARIF can be the next run's `--baseline`. + ...(diag.identity ? { partialFingerprints: { [IDENTITY_FINGERPRINT_KEY]: diag.identity } } : {}), + ...(diag.gate ? { properties: { gate: diag.gate } } : {}), }; return result; } diff --git a/packages/core/src/lint/rule.ts b/packages/core/src/lint/rule.ts index c4dcfcf9ae..edef739668 100644 --- a/packages/core/src/lint/rule.ts +++ b/packages/core/src/lint/rule.ts @@ -51,6 +51,16 @@ export interface LintDiagnostic { * (behold#919). Absent for a source-file rule. */ entity?: string; + /** + * Where inside the entity a post-synth check placed the finding (its + * `PostSynthDiagnostic.locator`), carried so `chant lint --preset` can + * compute the same finding identity `chant audit` does (#5106, #5118). + */ + locator?: string; + /** On a `chant lint --preset` run (#5118): the finding's identity, as `chant audit` computes it. */ + identity?: string; + /** On a `chant lint --preset` run (#5118): which set of the preset the finding is in. */ + gate?: "merge-blocking" | "report-only" | "notice"; /** Optional fix that can be applied */ fix?: LintFix; } diff --git a/test/level0-goldens/goldens/getting-started/lint-format-json.golden b/test/level0-goldens/goldens/getting-started/lint-format-json.golden index e8874a4797..46c4f3ea1f 100644 --- a/test/level0-goldens/goldens/getting-started/lint-format-json.golden +++ b/test/level0-goldens/goldens/getting-started/lint-format-json.golden @@ -12,7 +12,9 @@ exit: 0 "column": 1, "ruleId": "WK8105", "severity": "warning", - "message": "[web] Container \"web\" in Deployment \"web\" has no explicit imagePullPolicy — set it to \"Always\", \"IfNotPresent\", or \"Never\"" + "message": "[web] Container \"web\" in Deployment \"web\" has no explicit imagePullPolicy — set it to \"Always\", \"IfNotPresent\", or \"Never\"", + "entity": "web", + "locator": "Deployment/containers[0]" }, { "file": "/chant.config.ts", @@ -20,7 +22,9 @@ exit: 0 "column": 1, "ruleId": "WK8203", "severity": "warning", - "message": "[web] Container \"web\" in Deployment \"web\" does not set readOnlyRootFilesystem: true — set it to reduce the attack surface" + "message": "[web] Container \"web\" in Deployment \"web\" does not set readOnlyRootFilesystem: true — set it to reduce the attack surface", + "entity": "web", + "locator": "Deployment/containers[0]" } ] diff --git a/test/pr-preset-replay/bar.test.ts b/test/pr-preset-replay/bar.test.ts new file mode 100644 index 0000000000..26cb8aaa3c --- /dev/null +++ b/test/pr-preset-replay/bar.test.ts @@ -0,0 +1,43 @@ +/** + * The pull request preset's bar (#5118), scored over the labelled findings in + * `corpus.json` without running chant: the findings a replay of 159 merged + * changes found, each labelled by hand. A change to the preset's rule lists + * that lets a noisy rule block, or stops a true finding from blocking, fails + * here. `replay.ts` reruns chant over the saved corpus to check the findings + * themselves; see `replay.e2e.test.ts`. + */ + +import { readFileSync } from "node:fs"; +import { join } from "node:path"; +import { describe, expect, test } from "vitest"; +import { PULL_REQUEST_PRESET } from "../../packages/core/src/audit/pull-request-preset"; +import { BAR, barFailures, findingKey, score, type Corpus } from "./score"; + +const corpus = JSON.parse(readFileSync(join(import.meta.dirname, "corpus.json"), "utf-8")) as Corpus; + +describe("the pull request preset on the replay corpus (#5118)", () => { + test("every finding has a label and a reason", () => { + for (const f of corpus.findings) { + expect(["true", "debatable", "noise"]).toContain(f.label); + expect(f.reason.length).toBeGreaterThan(0); + if (f.reason.startsWith("@")) expect(corpus.reasons[f.reason.slice(1)]).toBeDefined(); + } + expect(new Set(corpus.findings.map(findingKey)).size).toBe(corpus.findings.length); + }); + + test("meets the bar: precision, every true finding kept, few changes blocked", () => { + const s = score(corpus.findings, PULL_REQUEST_PRESET); + expect(barFailures(s)).toEqual([]); + expect(s.precision).toBeGreaterThanOrEqual(BAR.precision); + expect(s.blockedChanges.length).toBeLessThanOrEqual(BAR.maxBlockedChanges); + expect(s.trueDropped).toEqual([]); + }); + + test("the true findings are the ones the replay recorded", () => { + expect(corpus.findings.filter((f) => f.label === "true").length).toBe(corpus.meta.trueFindings); + }); + + test("with every rule on, the same findings miss the bar by far", () => { + expect(score(corpus.findings).precision).toBeLessThan(0.1); + }); +}); diff --git a/test/pr-preset-replay/corpus.json b/test/pr-preset-replay/corpus.json new file mode 100644 index 0000000000..96493fdd6e --- /dev/null +++ b/test/pr-preset-replay/corpus.json @@ -0,0 +1,8626 @@ +{ + "meta": { + "source": "kubernetes/k8s.io, first-parent changes on main from 2026-05-12 to 2026-11-12 (head 2b3d9153) that touch Terraform, Kubernetes YAML, Helm values, Grafana, Prometheus rules or a Dockerfile", + "changes": 159, + "checks": "chant audit over the tree; per-file chant import and chant lint; chant helm localize on values files with a saved chart", + "chant": "estate/5118-pr-preset on origin/estate/int-chant-4 (d20f725b2)", + "recordedAt": "2026-11-15", + "labelling": "merge-blocking findings by hand, one by one, with the reason on each; every other finding by rule, from a reason that holds for every finding of that rule here, as the reasons table says", + "trueFindings": 17 + }, + "reasons": { + "elekto": "a new Deployment without a hardened security context; hardening is a policy and nothing about the service is broken by its absence", + "graf-copied": "the duplicate panel id or overlap is in the JSON of upstream Prow dashboards copied in whole; Grafana renumbers a duplicate id and moves an overlapping panel when it loads the dashboard, and no later change in the window touched them", + "rule-ARGO003": "the cluster is registered in kubernetes/gke-utility/argocd/clusters.yaml; a per-file run cannot see it", + "rule-ARGO005": "the source.path exists in the audited tree", + "rule-COR001": "judges the TypeScript chant import wrote, not the change", + "rule-COR004": "judges the TypeScript chant import wrote, not the change", + "rule-COR009": "judges the TypeScript chant import wrote, not the change", + "rule-EVL001": "a tool error: the import wrote an expression it then rejects", + "rule-GRAF101": "an imported dashboard declares no datasource variable, which Grafana does not need", + "rule-GRAF107": "a key the pinned Grafana schema lacks and Grafana still accepts", + "rule-PROM217": "a recording rule naming convention; the repository uses prow:pod and prow:job on purpose", + "rule-SEC010": "the high-entropy string is a URL, ARN, managed policy name, digest or secret path, not a credential", + "rule-TF009": "access_key is an HMAC key id fed from secret_data, which the provider already marks sensitive", + "rule-TF010": "a variable type constraint is a style choice; nothing breaks without it", + "rule-TF011": "a variable description is documentation style", + "rule-TF012": "an output description is documentation style", + "rule-TF017": "depends_on on a module works; the rule states a design preference", + "rule-TF020": "an unreferenced declaration is cleanup, not a defect", + "rule-TF039": "a pessimistic version range is a deliberate pinning policy here", + "rule-WK8001": "a namespace written in a manifest is normal", + "rule-WK8102": "labels are an organisational convention; no object in this repository needs them to work", + "rule-WK8104": "port naming is style", + "rule-WK8201": "resource limits are a policy; the repository sets requests on purpose", + "rule-WK8301": "probes are a policy for a small internal service", + "rule-WK8302": "a single replica is a sizing choice", + "rule-WK8503": "the Secret is made by an ExternalSecret in another file of the same kustomization" + }, + "changes": [ + "81b3fe050e5b3ee17c1f8b99d28edbc1780b055f", + "7368ac5244cc1a238b4669d8c717e0ed9a03e5fb", + "9e81b4055ddaafd5776fa501a3177e0a620933f0", + "3549bfe25a990abd44777452902781bbec96ef92", + "9524daacc0ebbee3ff80f29d101f28ab3a9cce47", + "7555eab5ef792f04dbd86644d0f3344bc14ea6da", + "3c8c19e71e2c5ab723e5f37fe2d23270c2cb4817", + "e15b0773105dd4df88b5d097949568c5c514203f", + "28a29bedd1d1eded47d8592e86e34844d59c8830", + "6d2cc92a48e2754f2158ec88f63c39a7c095239a", + "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "03eb19fc31250610af28863c7dba7bff40becb11", + "8c7de31557d2f055c721cad7d3fad13baa884317", + "2e98a75d915345b2063e157566a3169b9b3b0f8b", + "a560ee9ee902036e74afc802b440c0182f1916d2", + "4df2be25427688ba96a2331d4355bb14d55d430f", + "29872e0c94d33bac8c3ef2ad96a796bcaf830753", + "53b9965a00699a55fc470384c9e32b0c50717b8d", + "e66a6194587a0f2df45709a0951db1902ca24643", + "e35e49242a4814b00673d27e86331f2766e2f641", + "ea2539ad4544ba305ed1727762a1156cbede0903", + "a551a3a0136cefa2bf0e10e550bb429128456a22", + "ad62bcd232ae5348abbd103e25c533b28736f4b5", + "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "308ad016a0a49b0e99e300c409c8b1a803a5d2fa", + "5ccdf022a5896af8b3fae439ca50f65c9d23747c", + "596206f53abdd3b8715132d93226117a8e9d17fc", + "8620d2f76a9c84de22da684b9458cf3d18646b17", + "d3b813ed0319a644880793d5f59d653639e5d913", + "290627ed74297c0076d62da8833db4f19376d09b", + "a4e0803a67eaed81b0d0da24d9ac6a29797a91a2", + "2b71bee406f5a96a00056e030d35dd1853fdb1c3", + "55167bb0a2867208070e7b5c5b90f2381b1bf685", + "8988f3abfaaf5515da5f31ef3e6e8b845b227bd6", + "f139f7ee4722e5b76863e889512f676a07bd885e", + "31c20eadb67ab4b8a08d6fbfc2243f96f7bc5c0f", + "d58c766f498f6193654b40ff933db929eb999ad8", + "87ef7f4f9223684f887d162b6523eebe71938c8e", + "78222c2e02e5ce16c5d560a39c721a2b74234c0b", + "afebd87f9c22d613eb395ca3b594dbf2ed1b91f8", + "a3030f34bf466f178e07e924030c1c61e63b2e24", + "3ce436369209f2390f32f7d212a077a9dd58dde9", + "28bd7b0a2e46f9069852c7b96bab28914cdeb566", + "c35e2a05f7c15c9081ce3b1f76571f56456bcee9", + "c4ee3d80a9244769f782f9cffb2ba7c9a9406aaa", + "a264379fec4f475fc18cfaf382c5eec10ed67310", + "38e1c35e71188f81bab9b9062189357d22c4269d", + "94c6078dff8e8a8f6a3b7de49c64062c8e67cab6", + "76922172ae245a8d4609bcff9d1dcf355de81375", + "a4b7af3f9f2e1ba55abdac1a61031c9589f25a84", + "aec9739370b47b1e52b5e4416f1e95c62e7f4e2d", + "dae1c3a15e1971582a9134aa29934191823f9caa", + "08b796b4db1c9e44091d86506a3917b5a0f9dcd0", + "b64ea53d366b71b5e19e31bd254c9423b174bd90", + "d51dbfb68d61c3ec62a5bd8b2ce8a192c6c3d178", + "34a7457594fd9e6634f40174d9fc68b1c6ee2048", + "570920546e7dfaaff251a58e5b35608837ea53d7", + "1d7160b53fa401ff5909153b1683c9332d6c8742", + "9de67b7fd3c4f224a0a46eaad32e222e5e804452", + "c18267c2680f2139d3fe596884461dea122142be", + "e8702e4e5f41ed9326a7f0ae48c310db55b53e94", + "7e7a5e6772223ccff626c5ae144c9670cd972dee", + "bf2372ddeb66c76fc04f428e5915ba4ab77cbc4d", + "c3e49a4c4207e3b370274ad522455e6941db8877", + "d3a74a8eb72325ef3d3797bd228d7df91766a035", + "84ea63df69a2f638039fdf82312195bd5ab38179", + "b40996c63c101a62e600b1e45911b9f5ded26fa8", + "89b67a6d66848b5d2378c8785261402f203123ec", + "c086d6eca9dec1fad8f069fa323535e20a9e2f50", + "35b8d1b6156eccb9e22b31eac1894ad97c41fdd2", + "b8a2ec2ace1bac146b8287344805d6e6d938f1c6", + "bb9bf04ac8dd84f548ccd21aeaddd4872395a6e5", + "60fb3964486f282f6ecd5553ed1587fd1badae93", + "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "cdb8d38490065b0fce3df181e24e5c7578e6c8ec", + "4046258e7d54fdc156e2f39ad8da51b57be88f55", + "c94db00d520d3a64530d93d58a04e372384127a8", + "1c1ca7138ffeececf7e573af11b20b7742634f27", + "d1169cdffb50cd12f4389e6f6b7acf6c8cb86fc4", + "01b5ec2b4c2eb44ea3fecf93d42fc37266743263", + "15726fbda7113ae84a185b68608da84573de1a1d", + "0ed903352e098eabcfd6fece2db86c23b71945b7", + "f524fdd71d23682e6f6b70e4f229bb88b637fb29", + "98cecfefb8e51b5b931c191222e8f1632fb5b380", + "4c6892781a18833498476f11b8f31df919343ec2", + "61cd0563e87f50d5067d04776d9bf72e61b1d640", + "8ec1b3be150691a64884f398d8aea9d50aeb59ab", + "cb45846524191c06464813bb5b87c1e02adfb201", + "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "b94c841da293f0c2d5dfeb2ef29330780870f3ed", + "c087f38e811071004889e5dc14d15b333800c3d3", + "c2f11abfe3a55c5e48fdb2d5bdcbcffc6e485003", + "1755102b3a6b58d437fc914f5a13e2a8769acba9", + "01b0691b9ce8b643e83edd91a71ada176cd29daa", + "49404c739d7204f0113436368b2ce241d59fbd77", + "6e31af634018570e781b93462e45641cd3450f21", + "6b028a43f7e7770ac108e110225b92d3287ecf79", + "d9aa1a483e7f10b02f78f9b7d6bb0a95b14fd92d", + "7778c1199ace43fed4d8eadabf9e04191a1586c5", + "26738736f12a08f313eb73306c4c832e60c8cc7e", + "bdf6dce60ac7f9393385c813d7f0d21b1ef2ebdc", + "ee53c0bceb1ae8da3ef3e2f0e12d5d514c1d9e29", + "5267d5bb8f89eb25cdce73046c0866ae0913709a", + "4ea5c4938f88bdcb6b3d794e14c36c5d10f68630", + "a223bc53bb863898ec8fc491f7acf0e715d1234a", + "08cebe0f72e7cc6ba385c3a84c5cc69b7e61690c", + "99cc6b4f81ab85f00d2e0967312c69a4b5f87f70", + "e40e3e0261692189fedeb4f315e2c3f666f093a1", + "608c5723357ba559ee5642ebe57191f85c41153b", + "c29ad49998cbcbaaf41169dacbe9a607f62e10d2", + "061dd21493909974b353d7d5c0eefcb3b9982140", + "5696d21ed92b88157ac1891aee18868bf64fa5d5", + "06910671cadbce010159eb176672818535d9fdbe", + "f56ff251b37292adcd19ffdd9e998cfb48c61ca9", + "61dca818cf48148a2827c64ea5e0e18f92cfb87a", + "2bd19322f7c7670237b0090030dae6fd739388f1", + "8b992da0dc4f4aeaa6869972f235ba171047bd08", + "f797f687f96d7d34ae7bf6b027822a204242662e", + "18fd803d4e99e5eaf9796da1b8e26e11814a2efd", + "51be2ae2452ee0c58327b5661ee4687572931c99", + "1916008ae9b0031002c16056e5fa05fa563e3f17", + "b3e219d7ad4eb87e9f6158be4c81f6d9741aa358", + "73a51ee5ff96ace65403ddbe1632036dd06e8485", + "71eef304045e8e0037ef6fd3bb91670a1df4ab81", + "cf62694073774c75f13b9406a86348eb1dcac701", + "e277105b1f7275b5f2a37fd8536fd1bdb89257b3", + "cb3f3e4989673f3c15182d7054e155d3e439ffa9", + "871844750891d9d31439895fdfa1d9258ec1f2fd", + "0bd493d97461c85c0f90cca032de8c5361483fb0", + "fbac19d62fd1e88a7b5eb3b21f794255b9c03559", + "a3d234539e49d3de5d78cf0acfc18dea1acabee5", + "6b83680cb767a70560aa8508d933e65d989ff859", + "5475b35a144795bd95d5c1c14871f7f658049111", + "61532435e90553fceb3376c84e05ad6946429eb8", + "b8d82915350b77149c28228f86a1fd805bdde5ca", + "5820c36e7c9f6de823461947ca3c917191708a5e", + "d08bce9fde09b04edc57c84b8ce025c5a5c9d15f", + "680aed6f72075cee8298611b0cb2c31b88467def", + "dd56ee51e09623f23e2f47bd061193207a0a17f8", + "2bfa0900518f1b0cbd920c646ba34889a46d32d9", + "ea18ac63023daf70273593de8ab78daca155fd2a", + "876d3fe24ca9b65d8d2bacd4617e2b0c35bef1e5", + "f6b8efc5587c641061f6afadc05f5d71e907698a", + "8e8f840b2d69eecfedd6e840dc24711c067ae0d8", + "4682a7d731af9a42e16afcdd0abe40054b17153c", + "45495177a72a657078d4e582f224b364f76e8c94", + "64feac668f136b26b5235db1e92744cdbaad0ea8", + "c3a3f504c101dbed9d72471a61fa21015323b864", + "1a34dc0c5ae784496175e8fc427d80de1dc36afd", + "814eda17b5574510b6287f187fe20c13f41c6dd3", + "bffad75f42350446f6851787dd41c95f57f1e80e", + "eced66b1bac5a4e558c39c6a5cc67d4df0923638", + "5cb2f9cd48e908b8d16755b5c3451e03765fb71d", + "5308b869e50214538e652c69b058c9cef7fa5f1a", + "92d935df8b6c5e9029250c6a4e73e1ce1298574a", + "b76fbbab613140aa1dded7f6cd1f3a63bdc28d9b", + "6c626f162090541ccacd2f71cb3de2379cfba26e", + "8efed3a555c418e05c733a86c4696cbc28b8b74e", + "77213b5189995ad9b319d73e75d7b384dee4b2d5" + ], + "findings": [ + { + "change": "81b3fe050e5b3ee17c1f8b99d28edbc1780b055f", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/monitoring/dashboards.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "81b3fe050e5b3ee17c1f8b99d28edbc1780b055f", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/monitoring/dashboards.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "81b3fe050e5b3ee17c1f8b99d28edbc1780b055f", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-utility/monitoring/dashboards.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'configMapProwDashboards' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "81b3fe050e5b3ee17c1f8b99d28edbc1780b055f", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-utility/monitoring/dashboards.yaml", + "identity": "64a23f47cfac423912c0f4f100b034f8", + "severity": "warning", + "message": "Exported declarable 'configMapFastlyDashboards' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "7368ac5244cc1a238b4669d8c717e0ed9a03e5fb", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-utility/monitoring/alerts.yaml", + "identity": "72dd7b805afe2cb2e10fdc685f73ba62", + "severity": "warning", + "entity": "main", + "message": "AlertmanagerConfig \"main\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "7368ac5244cc1a238b4669d8c717e0ed9a03e5fb", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-utility/monitoring/secrets.yaml", + "identity": "3cb57da9d3703853fc7e0239a48ab126", + "severity": "warning", + "entity": "slack-k8s-infra-alerts-token", + "message": "ExternalSecret \"slack-k8s-infra-alerts-token\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "7368ac5244cc1a238b4669d8c717e0ed9a03e5fb", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/monitoring/alerts.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "7368ac5244cc1a238b4669d8c717e0ed9a03e5fb", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/monitoring/alerts.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "7368ac5244cc1a238b4669d8c717e0ed9a03e5fb", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-utility/monitoring/alerts.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'alertmanagerConfigMain' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "7368ac5244cc1a238b4669d8c717e0ed9a03e5fb", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-utility/monitoring/alerts.yaml", + "identity": "323e07b297feadd6b71931ead0a3ee42", + "severity": "warning", + "entity": "main", + "message": "[main] AlertmanagerConfig \"main\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "7368ac5244cc1a238b4669d8c717e0ed9a03e5fb", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/gke-utility/monitoring/secrets.yaml", + "identity": "91a4f79df9cd6dbb7558d06d7a4c2a5f", + "severity": "warning", + "message": "Hardcoded namespace \"monitoring\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "7368ac5244cc1a238b4669d8c717e0ed9a03e5fb", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-utility/monitoring/secrets.yaml", + "identity": "a83bf41bcc48a9e16595087bfe803d97", + "severity": "warning", + "entity": "slack-k8s-infra-alerts-token", + "message": "[slack-k8s-infra-alerts-token] ExternalSecret \"slack-k8s-infra-alerts-token\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "3549bfe25a990abd44777452902781bbec96ef92", + "check": "lint", + "rule": "PROM217", + "file": "kubernetes/gke-utility/mimir/rules/prow.yaml", + "identity": "fd24cf40a83e6e666e7960c8fb7b9b39", + "severity": "warning", + "entity": "prow/prow:pod", + "message": "[prow/prow:pod] recording rule prow/prow:pod is not named level:metric:operations (e.g. job:http_requests:rate5m)", + "label": "debatable", + "reason": "@rule-PROM217" + }, + { + "change": "3549bfe25a990abd44777452902781bbec96ef92", + "check": "lint", + "rule": "PROM217", + "file": "kubernetes/gke-utility/mimir/rules/prow.yaml", + "identity": "830a4138d37d0951637e53706f83a652", + "severity": "warning", + "entity": "prow/prow:job", + "message": "[prow/prow:job] recording rule prow/prow:job is not named level:metric:operations (e.g. job:http_requests:rate5m)", + "label": "debatable", + "reason": "@rule-PROM217" + }, + { + "change": "9524daacc0ebbee3ff80f29d101f28ab3a9cce47", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "04527d9d9f186188c4f78b6dc7ac4ce6", + "severity": "warning", + "entity": "autoscaling", + "message": "ServiceAccount \"autoscaling\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "9524daacc0ebbee3ff80f29d101f28ab3a9cce47", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "d059cbbccad1e0e6afc1c6f471a683f0", + "severity": "warning", + "entity": "external-dns", + "message": "ServiceAccount \"external-dns\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "9524daacc0ebbee3ff80f29d101f28ab3a9cce47", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "f7de267a8a4230c3aa115dc2d674b411", + "severity": "warning", + "entity": "metrics-server", + "message": "ServiceAccount \"metrics-server\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "9524daacc0ebbee3ff80f29d101f28ab3a9cce47", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "c363a71d691811920177d88519260228", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "9524daacc0ebbee3ff80f29d101f28ab3a9cce47", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "c263a58ae265624fc11625a2fcb7a633", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "9524daacc0ebbee3ff80f29d101f28ab3a9cce47", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "b56391130b535bef49f983cb729946e3", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "9524daacc0ebbee3ff80f29d101f28ab3a9cce47", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "6bb55396e80500f8118b1be0727817d0", + "severity": "warning", + "message": "Exported declarable 'serviceAccountSecretsStoreSync' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "9524daacc0ebbee3ff80f29d101f28ab3a9cce47", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "6cb55529615271b6d5915a8746318785", + "severity": "warning", + "message": "Exported declarable 'serviceAccountSpOperator' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "9524daacc0ebbee3ff80f29d101f28ab3a9cce47", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "75b56354f56a5f7dc429da0ef3ee3bea", + "severity": "warning", + "message": "Exported declarable 'serviceAccountTestInfra' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "9524daacc0ebbee3ff80f29d101f28ab3a9cce47", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "f526181bdc055c752e0dd44b964ae379", + "severity": "warning", + "entity": "autoscaling", + "message": "[autoscaling] ServiceAccount \"autoscaling\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "9524daacc0ebbee3ff80f29d101f28ab3a9cce47", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "5280c1525b438bc8e73b192a87e6edf5", + "severity": "warning", + "entity": "external-dns", + "message": "[external-dns] ServiceAccount \"external-dns\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "9524daacc0ebbee3ff80f29d101f28ab3a9cce47", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "6b056a3ca855a81c0ec96ee4b0fd76e7", + "severity": "warning", + "entity": "metrics-server", + "message": "[metrics-server] ServiceAccount \"metrics-server\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF002", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "77265927810d548bfb294c77ec785df4", + "severity": "warning", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/provider.ibm~powervs_wdc06", + "message": "Provider \"ibm\" is used in root module \"infra.ibmcloud.terraform.k8s-power-conformance\" but has an entry missing `version` in `required_providers`. Add `source` and `version` for it in the terraform block's `required_providers`, so a future ", + "label": "noise", + "reason": "the ibm entry had no version before the change too; TF002 names its finding after the last provider block, the change added a block (alias powervs_wdc06), so the old finding came back under a new identity" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF010", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "8b7d0f94e891303fa5abb65c54c3285a", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_1/var.datacenter", + "message": "Variable \"datacenter\" declares no `type`, so Terraform accepts any value and infers the type from whatever it is given. Add a type constraint (`string`, `number`, `bool`, `list(string)`, an `object({...})`) so a wrong value is rejected at t", + "label": "debatable", + "reason": "@rule-TF010" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF010", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "9809ba3ce0f8d74ebf4a71a41e4e52c1", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_1/var.image_name", + "message": "Variable \"image_name\" declares no `type`, so Terraform accepts any value and infers the type from whatever it is given. Add a type constraint (`string`, `number`, `bool`, `list(string)`, an `object({...})`) so a wrong value is rejected at t", + "label": "debatable", + "reason": "@rule-TF010" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF010", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "01a8543e3d6ac323e8526826cf7cd655", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_1/var.pi_workspace_name", + "message": "Variable \"pi_workspace_name\" declares no `type`, so Terraform accepts any value and infers the type from whatever it is given. Add a type constraint (`string`, `number`, `bool`, `list(string)`, an `object({...})`) so a wrong value is reject", + "label": "debatable", + "reason": "@rule-TF010" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF010", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "6f7e5c2dccb8b3f837f40e7d79ed0882", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_1/var.resource_group_id", + "message": "Variable \"resource_group_id\" declares no `type`, so Terraform accepts any value and infers the type from whatever it is given. Add a type constraint (`string`, `number`, `bool`, `list(string)`, an `object({...})`) so a wrong value is reject", + "label": "debatable", + "reason": "@rule-TF010" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF010", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "1f9be0389c39ae1ff952d9107b397713", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_1/var.tags", + "message": "Variable \"tags\" declares no `type`, so Terraform accepts any value and infers the type from whatever it is given. Add a type constraint (`string`, `number`, `bool`, `list(string)`, an `object({...})`) so a wrong value is rejected at the mod", + "label": "debatable", + "reason": "@rule-TF010" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF010", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "99b34e81145771b3fbbdff4180950dfe", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_2/var.datacenter", + "message": "Variable \"datacenter\" declares no `type`, so Terraform accepts any value and infers the type from whatever it is given. Add a type constraint (`string`, `number`, `bool`, `list(string)`, an `object({...})`) so a wrong value is rejected at t", + "label": "debatable", + "reason": "@rule-TF010" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF010", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "553a5de5c2b80692bb4464c5e0efc84b", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_2/var.image_name", + "message": "Variable \"image_name\" declares no `type`, so Terraform accepts any value and infers the type from whatever it is given. Add a type constraint (`string`, `number`, `bool`, `list(string)`, an `object({...})`) so a wrong value is rejected at t", + "label": "debatable", + "reason": "@rule-TF010" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF010", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "0e64e875c435c4e378dca605493fe223", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_2/var.pi_workspace_name", + "message": "Variable \"pi_workspace_name\" declares no `type`, so Terraform accepts any value and infers the type from whatever it is given. Add a type constraint (`string`, `number`, `bool`, `list(string)`, an `object({...})`) so a wrong value is reject", + "label": "debatable", + "reason": "@rule-TF010" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF010", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "c2408e8661af082b52d6220ef4328531", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_2/var.resource_group_id", + "message": "Variable \"resource_group_id\" declares no `type`, so Terraform accepts any value and infers the type from whatever it is given. Add a type constraint (`string`, `number`, `bool`, `list(string)`, an `object({...})`) so a wrong value is reject", + "label": "debatable", + "reason": "@rule-TF010" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF010", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "4e91c63de8d88baae7ba012d670ed6e2", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_2/var.tags", + "message": "Variable \"tags\" declares no `type`, so Terraform accepts any value and infers the type from whatever it is given. Add a type constraint (`string`, `number`, `bool`, `list(string)`, an `object({...})`) so a wrong value is rejected at the mod", + "label": "debatable", + "reason": "@rule-TF010" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF010", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "93cb774ef1a6ca72f61acba6ae373613", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_3/var.datacenter", + "message": "Variable \"datacenter\" declares no `type`, so Terraform accepts any value and infers the type from whatever it is given. Add a type constraint (`string`, `number`, `bool`, `list(string)`, an `object({...})`) so a wrong value is rejected at t", + "label": "debatable", + "reason": "@rule-TF010" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF010", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "5f12177e9419901620bb99d621bd19c0", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_3/var.image_name", + "message": "Variable \"image_name\" declares no `type`, so Terraform accepts any value and infers the type from whatever it is given. Add a type constraint (`string`, `number`, `bool`, `list(string)`, an `object({...})`) so a wrong value is rejected at t", + "label": "debatable", + "reason": "@rule-TF010" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF010", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "ff6d6534fba2b6f4ddca598c8412b9ca", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_3/var.pi_workspace_name", + "message": "Variable \"pi_workspace_name\" declares no `type`, so Terraform accepts any value and infers the type from whatever it is given. Add a type constraint (`string`, `number`, `bool`, `list(string)`, an `object({...})`) so a wrong value is reject", + "label": "debatable", + "reason": "@rule-TF010" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF010", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "b66ab2a7799952632a6c2587b4fb8672", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_3/var.resource_group_id", + "message": "Variable \"resource_group_id\" declares no `type`, so Terraform accepts any value and infers the type from whatever it is given. Add a type constraint (`string`, `number`, `bool`, `list(string)`, an `object({...})`) so a wrong value is reject", + "label": "debatable", + "reason": "@rule-TF010" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF010", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "e4e0dee67ed96545d07d75cee022de72", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_3/var.tags", + "message": "Variable \"tags\" declares no `type`, so Terraform accepts any value and infers the type from whatever it is given. Add a type constraint (`string`, `number`, `bool`, `list(string)`, an `object({...})`) so a wrong value is rejected at the mod", + "label": "debatable", + "reason": "@rule-TF010" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF011", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "34a72199e63c104664cb7599936c1a0b", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_1/var.datacenter", + "message": "Variable \"datacenter\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Callers: inf", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF011", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "844854bd243c0d167cc465fd0f8ba573", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_1/var.image_name", + "message": "Variable \"image_name\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Callers: inf", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF011", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "a43649fd4564beba2bad200d47db9c5a", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_1/var.pi_workspace_name", + "message": "Variable \"pi_workspace_name\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Calle", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF011", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "e69a400e077dd2367c4a8c961d890369", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_1/var.resource_group_id", + "message": "Variable \"resource_group_id\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Calle", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF011", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "99e89e65607249c2ec4ba6359430f29e", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_1/var.tags", + "message": "Variable \"tags\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Callers: infra.ibm", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF011", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "d2e4acace5d189a9e4a2f4344510b8b3", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_2/var.datacenter", + "message": "Variable \"datacenter\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Callers: inf", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF011", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "07f904d4409190018f2c3edc2b25ce17", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_2/var.image_name", + "message": "Variable \"image_name\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Callers: inf", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF011", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "45cac58654ea4406e2e030cef5f2b1db", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_2/var.pi_workspace_name", + "message": "Variable \"pi_workspace_name\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Calle", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF011", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "3101cd95dc416eb41854b5859c03fdee", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_2/var.resource_group_id", + "message": "Variable \"resource_group_id\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Calle", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF011", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "5d9ac8c0ae52de0e35e70c3871279502", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_2/var.tags", + "message": "Variable \"tags\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Callers: infra.ibm", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF011", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "d37a45a757d04d88d3de2997a8740927", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_3/var.datacenter", + "message": "Variable \"datacenter\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Callers: inf", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF011", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "43e6a96b43e44ff4264e4e3bb7a2b138", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_3/var.image_name", + "message": "Variable \"image_name\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Callers: inf", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF011", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "ff73f6e7f24f93fde9da0c277a697360", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_3/var.pi_workspace_name", + "message": "Variable \"pi_workspace_name\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Calle", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF011", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "6d8689ec5bbd1222cca952c4a0df52dc", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_3/var.resource_group_id", + "message": "Variable \"resource_group_id\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Calle", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF011", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "0265fb0f8ee736a5f99ec0afb24bdd98", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_3/var.tags", + "message": "Variable \"tags\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Callers: infra.ibm", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF012", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "e92acbc8aa08509a9bbdc6b00c2a5dcb", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_1/output.pvs_workspace_id", + "message": "Output \"pvs_workspace_id\" declares no `description`. Outputs are a module's public interface, so say what the value is and what a caller can rely on it for. Callers: infra.ibmcloud.terraform.k8s-power-conformance -> module.powervs_workspace", + "label": "debatable", + "reason": "@rule-TF012" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF012", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "b85c7a57cb7e52cbaea40147e39f14b0", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_2/output.pvs_workspace_id", + "message": "Output \"pvs_workspace_id\" declares no `description`. Outputs are a module's public interface, so say what the value is and what a caller can rely on it for. Callers: infra.ibmcloud.terraform.k8s-power-conformance -> module.powervs_workspace", + "label": "debatable", + "reason": "@rule-TF012" + }, + { + "change": "e15b0773105dd4df88b5d097949568c5c514203f", + "check": "audit", + "rule": "TF012", + "file": "infra/ibmcloud/terraform/k8s-power-conformance", + "identity": "4fd4e3facd1c7d5e05b01172aa5db6c4", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-power-conformance/module.powervs_workspace_wdc06_3/output.pvs_workspace_id", + "message": "Output \"pvs_workspace_id\" declares no `description`. Outputs are a module's public interface, so say what the value is and what a caller can rely on it for. Callers: infra.ibmcloud.terraform.k8s-power-conformance -> module.powervs_workspace", + "label": "debatable", + "reason": "@rule-TF012" + }, + { + "change": "6d2cc92a48e2754f2158ec88f63c39a7c095239a", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/ibm-s390x/monitoring/secrets.yaml", + "identity": "280d48b04eed593c05070d48f73dd819", + "severity": "warning", + "entity": "mimir-credentials", + "message": "ExternalSecret \"mimir-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "6d2cc92a48e2754f2158ec88f63c39a7c095239a", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/ibm-s390x/monitoring/secrets.yaml", + "identity": "4b5ab8945c68ac84f48f5cfc6d0fe16b", + "severity": "warning", + "entity": "mimir-credentials", + "message": "[mimir-credentials] ExternalSecret \"mimir-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-utility/monitoring/fastly/secrets.yaml", + "identity": "1b4e85eaf92f2d3aa55ec4f23745cc03", + "severity": "warning", + "entity": "fastly-exporter-token", + "message": "ExternalSecret \"fastly-exporter-token\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-compute.json", + "identity": "2d4891d4c916a423c532c68c5f513188", + "severity": "warning", + "entity": "FastlyCompute", + "message": "[FastlyCompute] Dashboard \"Fastly Compute\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for one t", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-compute.json", + "identity": "30b6986e2543e95e566b18f6b3a40624", + "severity": "warning", + "entity": "FastlyCompute", + "message": "[FastlyCompute] Dashboard \"Fastly Compute\" /panels/10/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-compute.json", + "identity": "31b69a01abf698a0e576630b16747873", + "severity": "warning", + "entity": "FastlyCompute", + "message": "[FastlyCompute] Dashboard \"Fastly Compute\" /panels/12/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-compute.json", + "identity": "2eb6954817deaad97420fdc0d25b7f0c", + "severity": "warning", + "entity": "FastlyCompute", + "message": "[FastlyCompute] Dashboard \"Fastly Compute\" /panels/14/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-compute.json", + "identity": "2fb696db9e915a1be9364235c2cc0caa", + "severity": "warning", + "entity": "FastlyCompute", + "message": "[FastlyCompute] Dashboard \"Fastly Compute\" /panels/16/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-dashboard.json", + "identity": "a4ab5ea760c7589dcb7f74c7cdb56647", + "severity": "warning", + "entity": "FastlyDashboard", + "message": "[FastlyDashboard] Dashboard \"Fastly Dashboard\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for o", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-dashboard.json", + "identity": "0c122f110cb65c4df6fc67212dea2e39", + "severity": "warning", + "entity": "FastlyDashboard", + "message": "[FastlyDashboard] Dashboard \"Fastly Dashboard\" /panels/8/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-dashboard.json", + "identity": "0b122d7e8603ad0aecc367849c79a7d4", + "severity": "warning", + "entity": "FastlyDashboard", + "message": "[FastlyDashboard] Dashboard \"Fastly Dashboard\" /panels/9/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-dashboard.json", + "identity": "0a122beb1a1b9ad21183881bc6f845a4", + "severity": "warning", + "entity": "FastlyDashboard", + "message": "[FastlyDashboard] Dashboard \"Fastly Dashboard\" /panels/10/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-dashboard.json", + "identity": "09122a589368eb8f4c933cbe3b94bd5e", + "severity": "warning", + "entity": "FastlyDashboard", + "message": "[FastlyDashboard] Dashboard \"Fastly Dashboard\" /panels/11/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-security.json", + "identity": "a32f521f6790dac70c81448fbacb18f3", + "severity": "warning", + "entity": "FastlySecurity", + "message": "[FastlySecurity] Dashboard \"Fastly Security\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for one", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-service.json", + "identity": "be61e00276116ef04b57cd3a266dd25e", + "severity": "warning", + "entity": "FastlyService", + "message": "[FastlyService] Dashboard \"Fastly Service\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for one t", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-service.json", + "identity": "e2b925cc2408f2729fdfd394ba56e467", + "severity": "warning", + "entity": "FastlyService", + "message": "[FastlyService] Dashboard \"Fastly Service\" /panels/17/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-service.json", + "identity": "e3b9275faabb81b47a455de995d057e8", + "severity": "warning", + "entity": "FastlyService", + "message": "[FastlyService] Dashboard \"Fastly Service\" /panels/19/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-service.json", + "identity": "e4b928f216a3b3ed51fe2c5e58a641b8", + "severity": "warning", + "entity": "FastlyService", + "message": "[FastlyService] Dashboard \"Fastly Service\" /panels/20/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-service.json", + "identity": "e5b92a859d56432f1432996b0900313e", + "severity": "warning", + "entity": "FastlyService", + "message": "[FastlyService] Dashboard \"Fastly Service\" /panels/21/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-service.json", + "identity": "deb91f803ed36f7c23f5b68000fa7a59", + "severity": "warning", + "entity": "FastlyService", + "message": "[FastlyService] Dashboard \"Fastly Service\" /panels/22/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-service.json", + "identity": "dfb92113c5861ebe212605b5db78aeaa", + "severity": "warning", + "entity": "FastlyService", + "message": "[FastlyService] Dashboard \"Fastly Service\" /panels/23/panels/0/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-service.json", + "identity": "e0b922a6316e30f71791d94a4f2ca311", + "severity": "warning", + "entity": "FastlyService", + "message": "[FastlyService] Dashboard \"Fastly Service\" /panels/23/panels/1/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-service.json", + "identity": "e1b92439b820c0393c768c87586aec3f", + "severity": "warning", + "entity": "FastlyService", + "message": "[FastlyService] Dashboard \"Fastly Service\" /panels/23/panels/2/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-service.json", + "identity": "eab93264ee73f85d668f83fc822b73f3", + "severity": "warning", + "entity": "FastlyService", + "message": "[FastlyService] Dashboard \"Fastly Service\" /panels/23/panels/3/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-service.json", + "identity": "ebb933f7752687a04d9dd671db67e5ad", + "severity": "warning", + "entity": "FastlyService", + "message": "[FastlyService] Dashboard \"Fastly Service\" /panels/24/panels/0/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-service.json", + "identity": "eb7913bda94599170fcf3f01f9b3d98d", + "severity": "warning", + "entity": "FastlyService", + "message": "[FastlyService] Dashboard \"Fastly Service\" /panels/24/panels/1/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-service.json", + "identity": "ea79122a2292e9d58aeb0ecca16e0500", + "severity": "warning", + "entity": "FastlyService", + "message": "[FastlyService] Dashboard \"Fastly Service\" /panels/24/panels/2/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-service.json", + "identity": "e97910979be05a9223822243f7a9b75e", + "severity": "warning", + "entity": "FastlyService", + "message": "[FastlyService] Dashboard \"Fastly Service\" /panels/24/panels/3/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-service.json", + "identity": "e8790f04152dab504b3133562748d49f", + "severity": "warning", + "entity": "FastlyService", + "message": "[FastlyService] Dashboard \"Fastly Service\" /panels/24/panels/4/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-thresholds.json", + "identity": "9a5abe25a2e94c79866de74570d344ef", + "severity": "warning", + "entity": "FastlyThresholds", + "message": "[FastlyThresholds] Dashboard \"Fastly Thresholds & Health\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatas", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-domains.json", + "identity": "f5d78ad5557825808f5d02c500b7dc06", + "severity": "warning", + "entity": "FastlyTopDomains", + "message": "[FastlyTopDomains] Dashboard \"Fastly Top Domains\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource fo", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-origins.json", + "identity": "1754da07af63f1abc05da427f491af95", + "severity": "warning", + "entity": "FastlyTopOrigins", + "message": "[FastlyTopOrigins] Dashboard \"Fastly Top Origins\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource fo", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-origins.json", + "identity": "693a230d951270559110b15dcf685a8c", + "severity": "warning", + "entity": "FastlyTopOrigins", + "message": "[FastlyTopOrigins] Dashboard \"Fastly Top Origins\" /panels/0/options: unknown key \"alertThreshold\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-origins.json", + "identity": "683a217a1bc51f98c9b30b1ebcd68d94", + "severity": "warning", + "entity": "FastlyTopOrigins", + "message": "[FastlyTopOrigins] Dashboard \"Fastly Top Origins\" /panels/2/options: unknown key \"alertThreshold\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-origins.json", + "identity": "673a1fe787ad31d065c55c234f12c4ea", + "severity": "warning", + "entity": "FastlyTopOrigins", + "message": "[FastlyTopOrigins] Dashboard \"Fastly Top Origins\" /panels/3/options: unknown key \"alertThreshold\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-origins.json", + "identity": "663a1e540e5fc113c24dfb54c68b6202", + "severity": "warning", + "entity": "FastlyTopOrigins", + "message": "[FastlyTopOrigins] Dashboard \"Fastly Top Origins\" /panels/4/options: unknown key \"alertThreshold\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-origins.json", + "identity": "653a1cc17a47f34b30663aa1bea0844d", + "severity": "warning", + "entity": "FastlyTopOrigins", + "message": "[FastlyTopOrigins] Dashboard \"Fastly Top Origins\" /panels/5/options: unknown key \"alertThreshold\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-origins.json", + "identity": "643a1b2e00fa828e375b6632874d9043", + "severity": "warning", + "entity": "FastlyTopOrigins", + "message": "[FastlyTopOrigins] Dashboard \"Fastly Top Origins\" /panels/6/options: unknown key \"alertThreshold\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-origins.json", + "identity": "633a199b6ce2b4c6d45ac37790857720", + "severity": "warning", + "entity": "FastlyTopOrigins", + "message": "[FastlyTopOrigins] Dashboard \"Fastly Top Origins\" /panels/7/panels/0/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-origins.json", + "identity": "623a1808f3954408297beea80acc54ca", + "severity": "warning", + "entity": "FastlyTopOrigins", + "message": "[FastlyTopOrigins] Dashboard \"Fastly Top Origins\" /panels/7/panels/1/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-origins.json", + "identity": "613a1675caa76a692d659bb523e94ce7", + "severity": "warning", + "entity": "FastlyTopOrigins", + "message": "[FastlyTopOrigins] Dashboard \"Fastly Top Origins\" /panels/7/panels/2/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-origins.json", + "identity": "603a14e2515a19acf7491076ee3dc5c4", + "severity": "warning", + "entity": "FastlyTopOrigins", + "message": "[FastlyTopOrigins] Dashboard \"Fastly Top Origins\" /panels/7/panels/3/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-origins.json", + "identity": "5d82677ed9670fb2fe1da2068f6ed874", + "severity": "warning", + "entity": "FastlyTopOrigins", + "message": "[FastlyTopOrigins] Dashboard \"Fastly Top Origins\" /panels/7/panels/4/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-origins.json", + "identity": "5e82691152b46070b4210a853686b35a", + "severity": "warning", + "entity": "FastlyTopOrigins", + "message": "[FastlyTopOrigins] Dashboard \"Fastly Top Origins\" /panels/7/panels/5/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-pops.json", + "identity": "1b51fe1ad90758a6c19930a241b55999", + "severity": "warning", + "entity": "FastlyTopPOPs", + "message": "[FastlyTopPOPs] Dashboard \"Fastly Top POPs\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for one ", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-pops.json", + "identity": "24f61f007bca2405ff7404d86e71c89f", + "severity": "warning", + "entity": "FastlyTopPOPs", + "message": "[FastlyTopPOPs] Dashboard \"Fastly Top POPs\" /panels/0/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-pops.json", + "identity": "25f62093027cd3487ca810e53eb366b4", + "severity": "warning", + "entity": "FastlyTopPOPs", + "message": "[FastlyTopPOPs] Dashboard \"Fastly Top POPs\" /panels/2/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-pops.json", + "identity": "26f62226892f628a5d32d4e658e764db", + "severity": "warning", + "entity": "FastlyTopPOPs", + "message": "[FastlyTopPOPs] Dashboard \"Fastly Top POPs\" /panels/3/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-pops.json", + "identity": "27f623b90fe211cdaa7abbab81f75394", + "severity": "warning", + "entity": "FastlyTopPOPs", + "message": "[FastlyTopPOPs] Dashboard \"Fastly Top POPs\" /panels/4/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-pops.json", + "identity": "28f6254c60ffa6fb2f86b674a7746d9b", + "severity": "warning", + "entity": "FastlyTopPOPs", + "message": "[FastlyTopPOPs] Dashboard \"Fastly Top POPs\" /panels/5/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-pops.json", + "identity": "29f626dfe7b2563d46d2a641ebaa3f3a", + "severity": "warning", + "entity": "FastlyTopPOPs", + "message": "[FastlyTopPOPs] Dashboard \"Fastly Top POPs\" /panels/6/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-pops.json", + "identity": "2af628726e64e580de5e5eb2fa52df1c", + "severity": "warning", + "entity": "FastlyTopPOPs", + "message": "[FastlyTopPOPs] Dashboard \"Fastly Top POPs\" /panels/7/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-pops.json", + "identity": "2bf62a05f51794c29ffe4307f3379fdd", + "severity": "warning", + "entity": "FastlyTopPOPs", + "message": "[FastlyTopPOPs] Dashboard \"Fastly Top POPs\" /panels/8/panels/0/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-pops.json", + "identity": "2cf62b98463529f19578851087190fa4", + "severity": "warning", + "entity": "FastlyTopPOPs", + "message": "[FastlyTopPOPs] Dashboard \"Fastly Top POPs\" /panels/8/panels/1/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-pops.json", + "identity": "2df62d2bcce7d93368f8f83d578602c5", + "severity": "warning", + "entity": "FastlyTopPOPs", + "message": "[FastlyTopPOPs] Dashboard \"Fastly Top POPs\" /panels/8/panels/2/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-pops.json", + "identity": "6575609922650006fe03e84db2bc11b9", + "severity": "warning", + "entity": "FastlyTopPOPs", + "message": "[FastlyTopPOPs] Dashboard \"Fastly Top POPs\" /panels/8/panels/3/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-pops.json", + "identity": "64755f069bb270c3c7fc93a044aa3be8", + "severity": "warning", + "entity": "FastlyTopPOPs", + "message": "[FastlyTopPOPs] Dashboard \"Fastly Top POPs\" /panels/8/panels/4/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-pops.json", + "identity": "63755d7314ffc18170ba43738f030c54", + "severity": "warning", + "entity": "FastlyTopPOPs", + "message": "[FastlyTopPOPs] Dashboard \"Fastly Top POPs\" /panels/8/panels/5/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-services.json", + "identity": "f60287b2c75509a2ec19d99a8aedf2bf", + "severity": "warning", + "entity": "FastlyTopServices", + "message": "[FastlyTopServices] Dashboard \"Fastly Top Services\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource ", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-services.json", + "identity": "18eda75caeaefcf25015a99443886b45", + "severity": "warning", + "entity": "FastlyTopServices", + "message": "[FastlyTopServices] Dashboard \"Fastly Top Services\" /panels/0/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-services.json", + "identity": "19eda8ef35618c35dd23fd650c365cdb", + "severity": "warning", + "entity": "FastlyTopServices", + "message": "[FastlyTopServices] Dashboard \"Fastly Top Services\" /panels/2/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-services.json", + "identity": "1aedaa82a149be6debb4707ee685278c", + "severity": "warning", + "entity": "FastlyTopServices", + "message": "[FastlyTopServices] Dashboard \"Fastly Top Services\" /panels/3/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-services.json", + "identity": "1bedac1527fc4db03a1c9b5f83d9d981", + "severity": "warning", + "entity": "FastlyTopServices", + "message": "[FastlyTopServices] Dashboard \"Fastly Top Services\" /panels/4/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-services.json", + "identity": "14eda110c97979fc99556cc03040d670", + "severity": "warning", + "entity": "FastlyTopServices", + "message": "[FastlyTopServices] Dashboard \"Fastly Top Services\" /panels/5/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-services.json", + "identity": "15eda2a3502c093f6e2df63176c36778", + "severity": "warning", + "entity": "FastlyTopServices", + "message": "[FastlyTopServices] Dashboard \"Fastly Top Services\" /panels/6/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-services.json", + "identity": "16eda436bc143b7790c5620a12f2aa96", + "severity": "warning", + "entity": "FastlyTopServices", + "message": "[FastlyTopServices] Dashboard \"Fastly Top Services\" /panels/7/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-services.json", + "identity": "17eda5c942c6caba1fd1db5b581305c7", + "severity": "warning", + "entity": "FastlyTopServices", + "message": "[FastlyTopServices] Dashboard \"Fastly Top Services\" /panels/8/panels/0/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-services.json", + "identity": "20edb3f47919e2dedf977cec55f9b66e", + "severity": "warning", + "entity": "FastlyTopServices", + "message": "[FastlyTopServices] Dashboard \"Fastly Top Services\" /panels/8/panels/1/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-services.json", + "identity": "21edb587ffcc9220733dcafdb1625d7c", + "severity": "warning", + "entity": "FastlyTopServices", + "message": "[FastlyTopServices] Dashboard \"Fastly Top Services\" /panels/8/panels/2/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-services.json", + "identity": "b020d70d0f02ed3b094ec0ad8e6abed1", + "severity": "warning", + "entity": "FastlyTopServices", + "message": "[FastlyTopServices] Dashboard \"Fastly Top Services\" /panels/8/panels/3/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-services.json", + "identity": "af20d57a95b59c7d50b7015cbc840e49", + "severity": "warning", + "entity": "FastlyTopServices", + "message": "[FastlyTopServices] Dashboard \"Fastly Top Services\" /panels/8/panels/4/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-fastly/fastly-top-services.json", + "identity": "ae20d3e7019daeb6164e6de76e9e0ae1", + "severity": "warning", + "entity": "FastlyTopServices", + "message": "[FastlyTopServices] Dashboard \"Fastly Top Services\" /panels/8/panels/5/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/monitoring/dashboards.yaml", + "identity": "5cea6120b2a1e3476c79d5c85ea68e53", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/monitoring/dashboards.yaml", + "identity": "5dea62b33954928a8ef57053f9cbbd4e", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/monitoring/dashboards.yaml", + "identity": "5eea6446a53ca4c235dff8ba863bc79b", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/monitoring/dashboards.yaml", + "identity": "5fea65d92bef5405deadd8f5916c7425", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-utility/monitoring/dashboards.yaml", + "identity": "3b99c9e9c333473d5ccf92a9ad4b6f94", + "severity": "warning", + "message": "Exported declarable 'configMapProwDashboards' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-utility/monitoring/dashboards.yaml", + "identity": "3a99c8563c80b7fb16be5e4afcb4b5b5", + "severity": "warning", + "message": "Exported declarable 'configMapProwDashboardsGcp' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-utility/monitoring/dashboards.yaml", + "identity": "3999c6c3d09885c220f784833a28e958", + "severity": "warning", + "message": "Exported declarable 'configMapProwDashboardsAws' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-utility/monitoring/dashboards.yaml", + "identity": "3899c53049e5f68086c6c28c96c8874d", + "severity": "warning", + "message": "Exported declarable 'configMapFastlyDashboards' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "2eb035dc551b104ead9a2b6d4be753ff48ef158e", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-utility/monitoring/fastly/secrets.yaml", + "identity": "548bf8640fd5aca313fe3c9c170a837b", + "severity": "warning", + "entity": "fastly-exporter-token", + "message": "[fastly-exporter-token] ExternalSecret \"fastly-exporter-token\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "2e98a75d915345b2063e157566a3169b9b3b0f8b", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build/prow/secrets.yaml", + "identity": "59ec2f159067d97291be47955027ac6f", + "severity": "warning", + "entity": "sfcompute-api-key", + "message": "ExternalSecret \"sfcompute-api-key\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "2e98a75d915345b2063e157566a3169b9b3b0f8b", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build/prow/secrets.yaml", + "identity": "cae3d6402fdba45fbef54138a66f79ea", + "severity": "warning", + "entity": "sfcompute-api-key", + "message": "[sfcompute-api-key] ExternalSecret \"sfcompute-api-key\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "e66a6194587a0f2df45709a0951db1902ca24643", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "ba41bd15921f2ae21e318b2588772696", + "severity": "warning", + "entity": "model-serving-signals", + "message": "ServiceAccount \"model-serving-signals\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "e66a6194587a0f2df45709a0951db1902ca24643", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "c063a264d50023cacc3613dc2e530d01", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "e66a6194587a0f2df45709a0951db1902ca24643", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "6ab5520353ed3331a1d0bd995a8c49ca", + "severity": "warning", + "message": "Exported declarable 'serviceAccountTestInfra' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "e66a6194587a0f2df45709a0951db1902ca24643", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "22000aaf960da6dde0e4ab9f345e480b", + "severity": "warning", + "entity": "model-serving-signals", + "message": "[model-serving-signals] ServiceAccount \"model-serving-signals\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "ea2539ad4544ba305ed1727762a1156cbede0903", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/prow/boskos.yaml", + "identity": "5e7629596abc9a9716639d39620b561d", + "severity": "warning", + "entity": "boskos-metrics", + "message": "ServiceMonitor \"boskos-metrics\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "ea2539ad4544ba305ed1727762a1156cbede0903", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/eks-prow-build/prow/boskos.yaml", + "identity": "9b65e126b396fb331421201ea9e76054", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "ea2539ad4544ba305ed1727762a1156cbede0903", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/eks-prow-build/prow/boskos.yaml", + "identity": "9a65df932ce44bf101b5bdc331587150", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "ea2539ad4544ba305ed1727762a1156cbede0903", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/eks-prow-build/prow/boskos.yaml", + "identity": "5d657251da272990f32bd9b9bb5a119a", + "severity": "warning", + "message": "Exported declarable 'serviceAccountBoskos' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "ea2539ad4544ba305ed1727762a1156cbede0903", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/eks-prow-build/prow/boskos.yaml", + "identity": "b2d9cba6ef8cbc044686e17e6e02f25f", + "severity": "warning", + "message": "Hardcoded namespace \"test-pods\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "ea2539ad4544ba305ed1727762a1156cbede0903", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/prow/boskos.yaml", + "identity": "f278c480b21b5b8dd3758cb846d1f572", + "severity": "warning", + "entity": "boskos-metrics", + "message": "[boskos-metrics] ServiceMonitor \"boskos-metrics\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "ad62bcd232ae5348abbd103e25c533b28736f4b5", + "check": "audit", + "rule": "SEC010", + "file": "apps/k8s-io/configmap-nginx.yaml", + "identity": "9c4ed55bd9f7c056845b37cbeeb29cba", + "severity": "warning", + "entity": "high-entropy string (~4.95 bits/char)", + "message": "Likely secret detected: high-entropy string (~4.95 bits/char) at apps/k8s-io/configmap-nginx.yaml:316 (value redacted, 64 chars, fingerprint 8188aab65727c0de). Remove it from source and rotate the credential.", + "label": "noise", + "reason": "@rule-SEC010" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "3005921babab270347312ccb294ac9e1", + "severity": "warning", + "entity": "aks", + "message": "AppProject \"aks\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "b57982afe9d47d247ff8911ffac38d59", + "severity": "warning", + "entity": "eks", + "message": "AppProject \"eks\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "c4b2b3cf1b5c5403ff86313fa0fec592", + "severity": "warning", + "entity": "gke", + "message": "AppProject \"gke\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "a39054de9d3ae1440d561be6a2b6681d", + "severity": "warning", + "entity": "ibm", + "message": "AppProject \"ibm\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/argocd/clusters.yaml", + "identity": "5ef91a85a82d439136cef3378d09ba47", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/argocd/clusters.yaml", + "identity": "5df918f2217ab44f119a497c9b4d6a3b", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-utility/argocd/clusters.yaml", + "identity": "3c99cb7c64b0738ae7e070706811993f", + "severity": "warning", + "message": "Exported declarable 'secretAksProwBuild' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/gke-utility/argocd/clusters.yaml", + "identity": "0e48022e96202d07b60201b6fb9d242c", + "severity": "warning", + "message": "Hardcoded namespace \"argocd\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "5cea6120b2a1e3476c79d5c85ea68e53", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "5dea62b33954928a8ef57053f9cbbd4e", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "5eea6446a53ca4c235dff8ba863bc79b", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "5fea65d92bef5405deadd8f5916c7425", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "60ea676ccd6c6051ad8069c47d122a98", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "61ea68ff541f0f9401e3843f4bf73538", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "62ea6a92c00721ccac11c5461fb3d388", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "63ea6c2546b9d10f3248f3317c8f4d93", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "3b99c9e9c333473d5ccf92a9ad4b6f94", + "severity": "warning", + "message": "Exported declarable 'appProjectAks' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "3a99c8563c80b7fb16be5e4afcb4b5b5", + "severity": "warning", + "message": "Exported declarable 'appProjectEks' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "3999c6c3d09885c220f784833a28e958", + "severity": "warning", + "message": "Exported declarable 'appProjectGke' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "3899c53049e5f68086c6c28c96c8874d", + "severity": "warning", + "message": "Exported declarable 'appProjectIbm' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "ac5f2e88df6d7fd00e771fe052aab717", + "severity": "warning", + "entity": "aks", + "message": "[aks] AppProject \"aks\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "ec0442a40cebf37f150d301c859ed16f", + "severity": "warning", + "entity": "eks", + "message": "[eks] AppProject \"eks\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "719721f4c2a08c8301ae8dccb1c90bcd", + "severity": "warning", + "entity": "gke", + "message": "[gke] AppProject \"gke\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "8dfc3a83ebf6bb32b4cedbb20d52e90e36ce707a", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-utility/argocd/projects.yaml", + "identity": "258cc9ad099a2f9dc9b4294d832135a9", + "severity": "warning", + "entity": "ibm", + "message": "[ibm] AppProject \"ibm\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "596206f53abdd3b8715132d93226117a8e9d17fc", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/ibm-ppc64le/kube-system/powervs-tier1-sc.yaml", + "identity": "9cc44092fc00e3ff1c59c52a57734646", + "severity": "warning", + "entity": "powervs-tier1-sc", + "message": "StorageClass \"powervs-tier1-sc\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "596206f53abdd3b8715132d93226117a8e9d17fc", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/ibm-ppc64le/monitoring/secrets.yaml", + "identity": "8ee1bd078c62550b6a7998d7c2dd935d", + "severity": "warning", + "entity": "mimir-credentials", + "message": "ExternalSecret \"mimir-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "596206f53abdd3b8715132d93226117a8e9d17fc", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/ibm-ppc64le/kube-system/powervs-tier1-sc.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "596206f53abdd3b8715132d93226117a8e9d17fc", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/ibm-ppc64le/kube-system/powervs-tier1-sc.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "596206f53abdd3b8715132d93226117a8e9d17fc", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/ibm-ppc64le/kube-system/powervs-tier1-sc.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'storageClassPowervsTier1Sc' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "596206f53abdd3b8715132d93226117a8e9d17fc", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/ibm-ppc64le/kube-system/powervs-tier1-sc.yaml", + "identity": "d37cb466132d001aa12e112e75a07bb9", + "severity": "warning", + "entity": "powervs-tier1-sc", + "message": "[powervs-tier1-sc] StorageClass \"powervs-tier1-sc\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "596206f53abdd3b8715132d93226117a8e9d17fc", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/ibm-ppc64le/monitoring/secrets.yaml", + "identity": "4b5ab8945c68ac84f48f5cfc6d0fe16b", + "severity": "warning", + "entity": "mimir-credentials", + "message": "[mimir-credentials] ExternalSecret \"mimir-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "8620d2f76a9c84de22da684b9458cf3d18646b17", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4308cd356fdcd5071ae450157d3697b0", + "severity": "warning", + "entity": "build-image", + "message": "ServiceAccount \"build-image\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "8620d2f76a9c84de22da684b9458cf3d18646b17", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "c163a3f75bb2d30d8a49a297f6ed7ab6", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "8620d2f76a9c84de22da684b9458cf3d18646b17", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "69b55070da9fc27340246032ec644bd0", + "severity": "warning", + "message": "Exported declarable 'serviceAccountTestInfra' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "8620d2f76a9c84de22da684b9458cf3d18646b17", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "0c0ffa37f890d5db02c74537a5e1e40c", + "severity": "warning", + "entity": "build-image", + "message": "[build-image] ServiceAccount \"build-image\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "290627ed74297c0076d62da8833db4f19376d09b", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/kube-system/nodepools.yaml", + "identity": "22a3c887f28d047d2d38477790c6743f", + "severity": "warning", + "entity": "build", + "message": "NodePool \"build\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "290627ed74297c0076d62da8833db4f19376d09b", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/kube-system/nodepools.yaml", + "identity": "6dc96307e726c37be783b3d7c5f77028", + "severity": "warning", + "entity": "build", + "message": "[build] NodePool \"build\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "55167bb0a2867208070e7b5c5b90f2381b1bf685", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/serviceaccounts.yaml", + "identity": "ad2f1daf08bc85be63b33e1f6ccec58b", + "severity": "warning", + "entity": "k8s-infra-image-promotion", + "message": "ServiceAccount \"k8s-infra-image-promotion\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "55167bb0a2867208070e7b5c5b90f2381b1bf685", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/serviceaccounts.yaml", + "identity": "326b119f6205d1d4a9c8295b471e9f2d", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "55167bb0a2867208070e7b5c5b90f2381b1bf685", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/serviceaccounts.yaml", + "identity": "fcade9140b46da62e9be011e1cfd4a43", + "severity": "warning", + "message": "Exported declarable 'serviceAccountS3Sync' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "55167bb0a2867208070e7b5c5b90f2381b1bf685", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/gke-prow-build-trusted/prow/serviceaccounts.yaml", + "identity": "1dd6f815f72d516cce87c0b55cee9c15", + "severity": "warning", + "message": "Hardcoded namespace \"test-pods\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "55167bb0a2867208070e7b5c5b90f2381b1bf685", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/serviceaccounts.yaml", + "identity": "67d02e3a088e2d5c237dd3c2797ab2eb", + "severity": "warning", + "entity": "k8s-infra-image-promotion", + "message": "[k8s-infra-image-promotion] ServiceAccount \"k8s-infra-image-promotion\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "31c20eadb67ab4b8a08d6fbfc2243f96f7bc5c0f", + "check": "audit", + "rule": "TF011", + "file": "infra/gcp/terraform/k8s-infra-oci-proxy", + "identity": "ea55abdda072a4c2c94b861d02390405", + "severity": "info", + "entity": "infra.gcp.terraform.k8s-infra-oci-proxy/module.oci-proxy/var.allow_referrers", + "message": "Variable \"allow_referrers\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Callers", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "31c20eadb67ab4b8a08d6fbfc2243f96f7bc5c0f", + "check": "audit", + "rule": "TF011", + "file": "infra/gcp/terraform/k8s-infra-oci-proxy-prod", + "identity": "36b0ce3d4fb08c65f445f83d7d8cc934", + "severity": "info", + "entity": "infra.gcp.terraform.k8s-infra-oci-proxy-prod/module.oci-proxy/var.allow_referrers", + "message": "Variable \"allow_referrers\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Callers", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "3ce436369209f2390f32f7d212a077a9dd58dde9", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/aks-prow-build/monitoring/azure-disk-sc.yaml", + "identity": "1c4f0b804d79d8eac18ecb981b4079d2", + "severity": "warning", + "entity": "azure-disk-premium-retain", + "message": "StorageClass \"azure-disk-premium-retain\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "3ce436369209f2390f32f7d212a077a9dd58dde9", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/aks-prow-build/monitoring/secrets.yaml", + "identity": "1485d9a7a2c9087d7c909f672d1145ed", + "severity": "warning", + "entity": "mimir-credentials", + "message": "ExternalSecret \"mimir-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "3ce436369209f2390f32f7d212a077a9dd58dde9", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/aks-prow-build/monitoring/azure-disk-sc.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "3ce436369209f2390f32f7d212a077a9dd58dde9", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/aks-prow-build/monitoring/azure-disk-sc.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "3ce436369209f2390f32f7d212a077a9dd58dde9", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/aks-prow-build/monitoring/azure-disk-sc.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'storageClassAzureDiskPremiumRetain' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "3ce436369209f2390f32f7d212a077a9dd58dde9", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/aks-prow-build/monitoring/azure-disk-sc.yaml", + "identity": "371c68b234ef3af4a17bb77a9ead0ebd", + "severity": "warning", + "entity": "azure-disk-premium-retain", + "message": "[azure-disk-premium-retain] StorageClass \"azure-disk-premium-retain\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "3ce436369209f2390f32f7d212a077a9dd58dde9", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/aks-prow-build/monitoring/secrets.yaml", + "identity": "4b5ab8945c68ac84f48f5cfc6d0fe16b", + "severity": "warning", + "entity": "mimir-credentials", + "message": "[mimir-credentials] ExternalSecret \"mimir-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "c35e2a05f7c15c9081ce3b1f76571f56456bcee9", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "85323f6ad000293951a4de32608c9a0b", + "severity": "warning", + "entity": "boskos", + "message": "ServiceAccount \"boskos\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "c35e2a05f7c15c9081ce3b1f76571f56456bcee9", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "cc3f0727893b7bd21c232d07c1e30a58", + "severity": "warning", + "entity": "e2e-test-images", + "message": "ServiceAccount \"e2e-test-images\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "c35e2a05f7c15c9081ce3b1f76571f56456bcee9", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "e46f3a06b17a40455bc4fc3e5293de9b", + "severity": "warning", + "entity": "kubetest2", + "message": "ServiceAccount \"kubetest2\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "c35e2a05f7c15c9081ce3b1f76571f56456bcee9", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4b30213f32f02eb84f919d1fac171dd7", + "severity": "warning", + "entity": "prow", + "message": "ServiceAccount \"prow\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "c35e2a05f7c15c9081ce3b1f76571f56456bcee9", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "bd639dab40e85603f8a727a3092aaeb9", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "c35e2a05f7c15c9081ce3b1f76571f56456bcee9", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "bc639c18ba35a6c0851508480cd48d64", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "c35e2a05f7c15c9081ce3b1f76571f56456bcee9", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "bf63a0d14e4d9488592f16b173beeab3", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "c35e2a05f7c15c9081ce3b1f76571f56456bcee9", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "be639f3ec79ae5458c8d60fe57cb3519", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "c35e2a05f7c15c9081ce3b1f76571f56456bcee9", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "6db556bcbfd54569fc9523267e177583", + "severity": "warning", + "message": "Exported declarable 'serviceAccountResourceStateMetrics' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "c35e2a05f7c15c9081ce3b1f76571f56456bcee9", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "6eb5584f3922b6275ac4542d515ac17a", + "severity": "warning", + "message": "Exported declarable 'serviceAccountSecretsStoreSync' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "c35e2a05f7c15c9081ce3b1f76571f56456bcee9", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "6fb559e2cd3a83ee6d89bad482b3c259", + "severity": "warning", + "message": "Exported declarable 'serviceAccountSpOperator' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "c35e2a05f7c15c9081ce3b1f76571f56456bcee9", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "70b55b754687f4ac9adddebb5e1cd4cc", + "severity": "warning", + "message": "Exported declarable 'serviceAccountTestInfra' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "c35e2a05f7c15c9081ce3b1f76571f56456bcee9", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "ca13fe482bb7735c35cbce1063db725f", + "severity": "warning", + "entity": "boskos", + "message": "[boskos] ServiceAccount \"boskos\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "c35e2a05f7c15c9081ce3b1f76571f56456bcee9", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "2a412dc9a4d2751a2fe574a94630a628", + "severity": "warning", + "entity": "e2e-test-images", + "message": "[e2e-test-images] ServiceAccount \"e2e-test-images\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "c35e2a05f7c15c9081ce3b1f76571f56456bcee9", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "c5925a5076d09b0e8c51fa68ea78165c", + "severity": "warning", + "entity": "kubetest2", + "message": "[kubetest2] ServiceAccount \"kubetest2\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "c35e2a05f7c15c9081ce3b1f76571f56456bcee9", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "2f05c8e1fa1956ca88d88fc1a1736db4", + "severity": "warning", + "entity": "prow", + "message": "[prow] ServiceAccount \"prow\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "a264379fec4f475fc18cfaf382c5eec10ed67310", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "0862c6139003d4a9eaf0f08380e20237", + "severity": "warning", + "entity": "sp-operator", + "message": "ServiceAccount \"sp-operator\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "a264379fec4f475fc18cfaf382c5eec10ed67310", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "3c66a42fda5d6fa6d13cbeeb87807891", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "a264379fec4f475fc18cfaf382c5eec10ed67310", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "6eb319b81874640c9313d2ae7074d094", + "severity": "warning", + "message": "Exported declarable 'serviceAccountTestInfra' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "a264379fec4f475fc18cfaf382c5eec10ed67310", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "49eb3f41682f7f243431d9916c04e99a", + "severity": "warning", + "entity": "sp-operator", + "message": "[sp-operator] ServiceAccount \"sp-operator\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "08b796b4db1c9e44091d86506a3917b5a0f9dcd0", + "check": "audit", + "rule": "SEC010", + "file": "kubernetes/ibm-ppc64le/kube-system/secrets.yaml", + "identity": "c342b5ef814fca87d0c9a08f9e336bad", + "severity": "warning", + "entity": "high-entropy string (~4.41 bits/char)", + "message": "Likely secret detected: high-entropy string (~4.41 bits/char) at kubernetes/ibm-ppc64le/kube-system/secrets.yaml:18 (value redacted, 52 chars, fingerprint d1811393f34bd9c0). Remove it from source and rotate the credential.", + "label": "noise", + "reason": "@rule-SEC010" + }, + { + "change": "08b796b4db1c9e44091d86506a3917b5a0f9dcd0", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/ibm-ppc64le/kube-system/secrets.yaml", + "identity": "e313f1df0bb769bff88379ff390f8069", + "severity": "warning", + "entity": "powervs-csi-driver-api-key", + "message": "ExternalSecret \"powervs-csi-driver-api-key\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "08b796b4db1c9e44091d86506a3917b5a0f9dcd0", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/ibm-ppc64le/kube-system/secrets.yaml", + "identity": "91a4f79df9cd6dbb7558d06d7a4c2a5f", + "severity": "warning", + "message": "Hardcoded namespace \"kube-system\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "08b796b4db1c9e44091d86506a3917b5a0f9dcd0", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/ibm-ppc64le/kube-system/secrets.yaml", + "identity": "03c7fac957f532c8e128cad9182d9ae4", + "severity": "warning", + "entity": "powervs-csi-driver-api-key", + "message": "[powervs-csi-driver-api-key] ExternalSecret \"powervs-csi-driver-api-key\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "c3e49a4c4207e3b370274ad522455e6941db8877", + "check": "audit", + "rule": "TF009", + "file": "infra/fastly/terraform/cdn.registry.k8s.io", + "identity": "932894a9cb261004c7617dc967e95e0a", + "severity": "error", + "entity": "infra.fastly.terraform.cdn.registry.k8s.io/module.cdn/var.access_key", + "message": "Variable \"access_key\" is named like a credential but is not marked `sensitive = true`, so Terraform prints its value in plan and apply output, and from there into CI logs and plan comments. Add `sensitive = true`, and remember the value is ", + "label": "noise", + "reason": "@rule-TF009" + }, + { + "change": "c3e49a4c4207e3b370274ad522455e6941db8877", + "check": "audit", + "rule": "TF011", + "file": "infra/fastly/terraform/cdn.registry.k8s.io", + "identity": "b7f61347e3f39ca084d017075d01d925", + "severity": "info", + "entity": "infra.fastly.terraform.cdn.registry.k8s.io/module.cdn/var.datadog_config", + "message": "Variable \"datadog_config\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Callers:", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "c3e49a4c4207e3b370274ad522455e6941db8877", + "check": "audit", + "rule": "TF011", + "file": "infra/fastly/terraform/cdn.registry.k8s.io", + "identity": "45e5738c3e5b1464a6483554a447ef79", + "severity": "info", + "entity": "infra.fastly.terraform.cdn.registry.k8s.io/module.cdn/var.domain", + "message": "Variable \"domain\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Callers: infra.f", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "c3e49a4c4207e3b370274ad522455e6941db8877", + "check": "audit", + "rule": "TF011", + "file": "infra/fastly/terraform/cdn.registry.k8s.io", + "identity": "d16ee61ba87edb847d849fcb77f30350", + "severity": "info", + "entity": "infra.fastly.terraform.cdn.registry.k8s.io/module.cdn/var.shield_location", + "message": "Variable \"shield_location\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Callers", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "35b8d1b6156eccb9e22b31eac1894ad97c41fdd2", + "check": "audit", + "rule": "TF009", + "file": "infra/fastly/terraform/artifacts.k8s.dev", + "identity": "3a85cf8198f86cad027c1ac1475d8e35", + "severity": "error", + "entity": "infra.fastly.terraform.artifacts.k8s.dev/module.cdn/var.access_key", + "message": "Variable \"access_key\" is named like a credential but is not marked `sensitive = true`, so Terraform prints its value in plan and apply output, and from there into CI logs and plan comments. Add `sensitive = true`, and remember the value is ", + "label": "noise", + "reason": "@rule-TF009" + }, + { + "change": "35b8d1b6156eccb9e22b31eac1894ad97c41fdd2", + "check": "audit", + "rule": "TF009", + "file": "infra/fastly/terraform/artifacts.k8s.io", + "identity": "15655f7b534cec443407eeebb7de55d2", + "severity": "error", + "entity": "infra.fastly.terraform.artifacts.k8s.io/module.cdn/var.access_key", + "message": "Variable \"access_key\" is named like a credential but is not marked `sensitive = true`, so Terraform prints its value in plan and apply output, and from there into CI logs and plan comments. Add `sensitive = true`, and remember the value is ", + "label": "noise", + "reason": "@rule-TF009" + }, + { + "change": "35b8d1b6156eccb9e22b31eac1894ad97c41fdd2", + "check": "audit", + "rule": "TF009", + "file": "infra/fastly/terraform/cdn.registry.k8s.dev", + "identity": "356f55b7a15843db483e2c878cedde15", + "severity": "error", + "entity": "infra.fastly.terraform.cdn.registry.k8s.dev/module.cdn/var.access_key", + "message": "Variable \"access_key\" is named like a credential but is not marked `sensitive = true`, so Terraform prints its value in plan and apply output, and from there into CI logs and plan comments. Add `sensitive = true`, and remember the value is ", + "label": "noise", + "reason": "@rule-TF009" + }, + { + "change": "35b8d1b6156eccb9e22b31eac1894ad97c41fdd2", + "check": "audit", + "rule": "TF009", + "file": "infra/fastly/terraform/dl.k8s.dev", + "identity": "683bd9c70ca50e62a8d1b9f7933d3609", + "severity": "error", + "entity": "infra.fastly.terraform.dl.k8s.dev/module.cdn/var.access_key", + "message": "Variable \"access_key\" is named like a credential but is not marked `sensitive = true`, so Terraform prints its value in plan and apply output, and from there into CI logs and plan comments. Add `sensitive = true`, and remember the value is ", + "label": "noise", + "reason": "@rule-TF009" + }, + { + "change": "35b8d1b6156eccb9e22b31eac1894ad97c41fdd2", + "check": "audit", + "rule": "TF009", + "file": "infra/fastly/terraform/dl.k8s.io", + "identity": "ebf6a3a5ed142192a6873b657719cfe3", + "severity": "error", + "entity": "infra.fastly.terraform.dl.k8s.io/module.cdn/var.access_key", + "message": "Variable \"access_key\" is named like a credential but is not marked `sensitive = true`, so Terraform prints its value in plan and apply output, and from there into CI logs and plan comments. Add `sensitive = true`, and remember the value is ", + "label": "noise", + "reason": "@rule-TF009" + }, + { + "change": "35b8d1b6156eccb9e22b31eac1894ad97c41fdd2", + "check": "audit", + "rule": "TF011", + "file": "infra/fastly/terraform/cdn.registry.k8s.dev", + "identity": "712b9ab56c308a425fcee565db23dd89", + "severity": "info", + "entity": "infra.fastly.terraform.cdn.registry.k8s.dev/module.cdn/var.datadog_config", + "message": "Variable \"datadog_config\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Callers:", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "35b8d1b6156eccb9e22b31eac1894ad97c41fdd2", + "check": "audit", + "rule": "TF011", + "file": "infra/fastly/terraform/cdn.registry.k8s.dev", + "identity": "24f3760a1caab596628c4c82bcf916ef", + "severity": "info", + "entity": "infra.fastly.terraform.cdn.registry.k8s.dev/module.cdn/var.domain", + "message": "Variable \"domain\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Callers: infra.f", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "35b8d1b6156eccb9e22b31eac1894ad97c41fdd2", + "check": "audit", + "rule": "TF011", + "file": "infra/fastly/terraform/cdn.registry.k8s.dev", + "identity": "d21f2aed3cd7f3a3bb68fd2d8e375c82", + "severity": "info", + "entity": "infra.fastly.terraform.cdn.registry.k8s.dev/module.cdn/var.shield_location", + "message": "Variable \"shield_location\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Callers", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "bb9bf04ac8dd84f548ccd21aeaddd4872395a6e5", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "8775027d408f16c710903001b49bb23e", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "audit", + "rule": "PROM217", + "file": "kubernetes/eks-prow-build/monitoring/rules.yaml", + "identity": "63ac7cedf9504f1a9552090d562f29f7", + "severity": "warning", + "entity": "prow/prow:pod", + "message": "PrometheusRule prow-rules: recording rule prow/prow:pod is not named level:metric:operations (e.g. job:http_requests:rate5m)", + "label": "debatable", + "reason": "@rule-PROM217" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "audit", + "rule": "PROM217", + "file": "kubernetes/eks-prow-build/monitoring/rules.yaml", + "identity": "59f732eda7c2de37884a933d7131553c", + "severity": "warning", + "entity": "prow/prow:job", + "message": "PrometheusRule prow-rules: recording rule prow/prow:job is not named level:metric:operations (e.g. job:http_requests:rate5m)", + "label": "debatable", + "reason": "@rule-PROM217" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "audit", + "rule": "SEC010", + "file": "kubernetes/eks-prow-build/monitoring/lb.yaml", + "identity": "6ab35f3ea94031387d3d3d86f3bb2e18", + "severity": "warning", + "entity": "high-entropy string (~4.20 bits/char)", + "message": "Likely secret detected: high-entropy string (~4.20 bits/char) at kubernetes/eks-prow-build/monitoring/lb.yaml:9 (value redacted, 48 chars, fingerprint ad6397830ed172b3). Remove it from source and rotate the credential.", + "label": "noise", + "reason": "@rule-SEC010" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/monitoring/alerts.yaml", + "identity": "962a3891526e4f06ec3e0bc1561517d9", + "severity": "warning", + "entity": "main", + "message": "AlertmanagerConfig \"main\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/monitoring/rules.yaml", + "identity": "f533a073ba9081a4463f8e53ef2fc56a", + "severity": "warning", + "entity": "node-status-rules", + "message": "PrometheusRule \"node-status-rules\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/monitoring/secrets.yaml", + "identity": "7e0bdb5d1d28abcea5ac949dcbe3385c", + "severity": "warning", + "entity": "grafana-credentials", + "message": "ExternalSecret \"grafana-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/monitoring/secrets.yaml", + "identity": "d1039e9b5458608faf77097b7c3df437", + "severity": "warning", + "entity": "mimir-credentials", + "message": "ExternalSecret \"mimir-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/monitoring/secrets.yaml", + "identity": "f8d0d23e6ec8fd74975978d60a90424c", + "severity": "warning", + "entity": "slack-k8s-infra-alerts-token", + "message": "ExternalSecret \"slack-k8s-infra-alerts-token\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "2e353d63e85323ba01d35103be46f178", + "severity": "warning", + "entity": "test-infra-dashboard", + "message": "ConfigMap \"test-infra-dashboard\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/eks-prow-build/monitoring/alerts.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/eks-prow-build/monitoring/alerts.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/eks-prow-build/monitoring/alerts.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'alertmanagerConfigMain' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/monitoring/alerts.yaml", + "identity": "323e07b297feadd6b71931ead0a3ee42", + "severity": "warning", + "entity": "main", + "message": "[main] AlertmanagerConfig \"main\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/eks-prow-build/monitoring/dashboards.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/eks-prow-build/monitoring/dashboards.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'configMapProwDashboards' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/builds.json", + "identity": "e51c4a988b11dab256dc1380101c0e7c", + "severity": "warning", + "entity": "96Q8oOOZk", + "message": "[96Q8oOOZk] Dashboard \"Builds\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for one that already ", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF104", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/builds.json", + "identity": "ec455bf11e50924b74bda2b16eb28e14", + "severity": "error", + "entity": "96Q8oOOZk", + "message": "[96Q8oOOZk] Dashboard \"Builds\" has 2 panels with id 124.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/builds.json", + "identity": "e06921d2be246ab918742a6a21f45445", + "severity": "warning", + "entity": "96Q8oOOZk", + "message": "[96Q8oOOZk] Dashboard \"Builds\" /panels/1/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/builds.json", + "identity": "e169236544d719fc40bbf72ffa367f85", + "severity": "warning", + "entity": "96Q8oOOZk", + "message": "[96Q8oOOZk] Dashboard \"Builds\" /panels/5/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/builds.json", + "identity": "de691eacb0bf2c34eeb4b2a4089de6d3", + "severity": "warning", + "entity": "96Q8oOOZk", + "message": "[96Q8oOOZk] Dashboard \"Builds\" /panels/6/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/jobs.json", + "identity": "663edd8514dca61404fb5f9584eb5719", + "severity": "warning", + "entity": "53g2x7OZz", + "message": "[53g2x7OZz] Dashboard \"Jobs\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for one that already ex", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF104", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/jobs.json", + "identity": "33ff489c81ca8b4c8e3da9548568d6df", + "severity": "error", + "entity": "53g2x7OZz", + "message": "[53g2x7OZz] Dashboard \"Jobs\" has 2 panels with id 124.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF105", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/jobs.json", + "identity": "7efd1b518c1098085691c8215022f7a9", + "severity": "warning", + "entity": "53g2x7OZz", + "message": "[53g2x7OZz] Dashboard \"Jobs\" panel \"Running Jobs\" (id 124) overlaps panel \"Memory Usage per Job\" (id 299); Grafana will move one of them.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/jobs.json", + "identity": "f74d14abd029fa848d7ecaabf13fb8c9", + "severity": "warning", + "entity": "53g2x7OZz", + "message": "[53g2x7OZz] Dashboard \"Jobs\" /panels/3/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/jobs.json", + "identity": "f64d131856dc89c756b7fa4eddfde856", + "severity": "warning", + "entity": "53g2x7OZz", + "message": "[53g2x7OZz] Dashboard \"Jobs\" /panels/4/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/jobs.json", + "identity": "f94d17d1c2c4bbfffdac39498231d409", + "severity": "warning", + "entity": "53g2x7OZz", + "message": "[53g2x7OZz] Dashboard \"Jobs\" /panels/5/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/jobs.json", + "identity": "f84d163e49774b42a298a19445f914a1", + "severity": "warning", + "entity": "53g2x7OZz", + "message": "[53g2x7OZz] Dashboard \"Jobs\" /panels/8/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/jobs.json", + "identity": "fb4d1af7eaf4778ebb3479c7f0c31c60", + "severity": "warning", + "entity": "53g2x7OZz", + "message": "[53g2x7OZz] Dashboard \"Jobs\" /panels/11/panels/0/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/jobs.json", + "identity": "fa4d196471a706d13ca06e8a8df9ea3f", + "severity": "warning", + "entity": "53g2x7OZz", + "message": "[53g2x7OZz] Dashboard \"Jobs\" /panels/11/panels/1/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/organizations.json", + "identity": "43e9506e4a50e486864a8f164897942e", + "severity": "warning", + "entity": "o0Yjv7OZz", + "message": "[o0Yjv7OZz] Dashboard \"Organisations\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for one that a", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF104", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/organizations.json", + "identity": "81c4d8cf4b15f096fb3abbef625c1f63", + "severity": "error", + "entity": "o0Yjv7OZz", + "message": "[o0Yjv7OZz] Dashboard \"Organisations\" has 2 panels with id 124.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF105", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/organizations.json", + "identity": "8c00dc3a9d0d19b402b90942cd5f13f0", + "severity": "warning", + "entity": "o0Yjv7OZz", + "message": "[o0Yjv7OZz] Dashboard \"Organisations\" panel \"Running Jobs\" (id 124) overlaps panel \"Memory Usage per Organisation\" (id 140); Grafana will move one of them.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/organizations.json", + "identity": "5b60646cc384e91cacbf0e641633623c", + "severity": "warning", + "entity": "o0Yjv7OZz", + "message": "[o0Yjv7OZz] Dashboard \"Organisations\" /panels/3/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/organizations.json", + "identity": "5c6065ff4a37985fa4f40ed933fa3aaf", + "severity": "warning", + "entity": "o0Yjv7OZz", + "message": "[o0Yjv7OZz] Dashboard \"Organisations\" /panels/4/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/organizations.json", + "identity": "5d606792b61faa9702dd500a8b602570", + "severity": "warning", + "entity": "o0Yjv7OZz", + "message": "[o0Yjv7OZz] Dashboard \"Organisations\" /panels/5/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/organizations.json", + "identity": "5e6069253cd259dad8615a2f2e537e14", + "severity": "warning", + "entity": "o0Yjv7OZz", + "message": "[o0Yjv7OZz] Dashboard \"Organisations\" /panels/8/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/repositories.json", + "identity": "469647d01012a4fdee7f3348f00c4284", + "severity": "warning", + "entity": "RWJSA7dWk", + "message": "[RWJSA7dWk] Dashboard \"Repositories\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for one that al", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/repositories.json", + "identity": "ec8c2c26dcb9e9e779d0cbae26ab53a6", + "severity": "warning", + "entity": "RWJSA7dWk", + "message": "[RWJSA7dWk] Dashboard \"Repositories\" /panels/3/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/repositories.json", + "identity": "ed8c2db9636c992af775b45b1a444d44", + "severity": "warning", + "entity": "RWJSA7dWk", + "message": "[RWJSA7dWk] Dashboard \"Repositories\" /panels/4/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/repositories.json", + "identity": "ea8c2900cf54ab62f1d2e56ca8dbb8f1", + "severity": "warning", + "entity": "RWJSA7dWk", + "message": "[RWJSA7dWk] Dashboard \"Repositories\" /panels/7/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/dashboards/repositories.json", + "identity": "eb8c2a9356075aa58ac22a51b1d818af", + "severity": "warning", + "entity": "RWJSA7dWk", + "message": "[RWJSA7dWk] Dashboard \"Repositories\" /panels/8/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/eks-prow-build/monitoring/lb.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/eks-prow-build/monitoring/lb.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/eks-prow-build/monitoring/lb.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'serviceGrafanaLb' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/eks-prow-build/monitoring/lb.yaml", + "identity": "91a4f79df9cd6dbb7558d06d7a4c2a5f", + "severity": "warning", + "message": "Hardcoded namespace \"monitoring\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/eks-prow-build/monitoring/rules.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/eks-prow-build/monitoring/rules.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/eks-prow-build/monitoring/rules.yaml", + "identity": "8775027d408f16c710903001b49bb23e", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/eks-prow-build/monitoring/rules.yaml", + "identity": "867500eab9dc67840671c5f850d2b06b", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/eks-prow-build/monitoring/rules.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'prometheusRuleProwRules' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/eks-prow-build/monitoring/rules.yaml", + "identity": "64a23f47cfac423912c0f4f100b034f8", + "severity": "warning", + "message": "Exported declarable 'prometheusRuleNodeStatusRules' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/monitoring/rules.yaml", + "identity": "87df0d2adc2cb3d167428472eef6ada6", + "severity": "warning", + "entity": "node-status-rules", + "message": "[node-status-rules] PrometheusRule \"node-status-rules\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "PROM217", + "file": "kubernetes/eks-prow-build/monitoring/rules.yaml", + "identity": "fd24cf40a83e6e666e7960c8fb7b9b39", + "severity": "warning", + "entity": "prow/prow:pod", + "message": "[prow/prow:pod] PrometheusRule prow-rules: recording rule prow/prow:pod is not named level:metric:operations (e.g. job:http_requests:rate5m)", + "label": "debatable", + "reason": "@rule-PROM217" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "PROM217", + "file": "kubernetes/eks-prow-build/monitoring/rules.yaml", + "identity": "830a4138d37d0951637e53706f83a652", + "severity": "warning", + "entity": "prow/prow:job", + "message": "[prow/prow:job] PrometheusRule prow-rules: recording rule prow/prow:job is not named level:metric:operations (e.g. job:http_requests:rate5m)", + "label": "debatable", + "reason": "@rule-PROM217" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "PROM217", + "file": "kubernetes/eks-prow-build/monitoring/rules.yaml", + "identity": "fe24d0d32ef11da919bab4316fddd187", + "severity": "warning", + "entity": "prow/prow:pod", + "message": "[prow/prow:pod] recording rule prow/prow:pod is not named level:metric:operations (e.g. job:http_requests:rate5m)", + "label": "debatable", + "reason": "@rule-PROM217" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "PROM217", + "file": "kubernetes/eks-prow-build/monitoring/rules.yaml", + "identity": "840a42cb4cca7a0fcf1ef2b9d90b3366", + "severity": "warning", + "entity": "prow/prow:job", + "message": "[prow/prow:job] recording rule prow/prow:job is not named level:metric:operations (e.g. job:http_requests:rate5m)", + "label": "debatable", + "reason": "@rule-PROM217" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/eks-prow-build/monitoring/secrets.yaml", + "identity": "91a4f79df9cd6dbb7558d06d7a4c2a5f", + "severity": "warning", + "message": "Hardcoded namespace \"monitoring\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/monitoring/secrets.yaml", + "identity": "a13145fe80864a90a3812386e02bb1bf", + "severity": "warning", + "entity": "grafana-credentials", + "message": "[grafana-credentials] ExternalSecret \"grafana-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/monitoring/secrets.yaml", + "identity": "4b5ab8945c68ac84f48f5cfc6d0fe16b", + "severity": "warning", + "entity": "mimir-credentials", + "message": "[mimir-credentials] ExternalSecret \"mimir-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/monitoring/secrets.yaml", + "identity": "a83bf41bcc48a9e16595087bfe803d97", + "severity": "warning", + "entity": "slack-k8s-infra-alerts-token", + "message": "[slack-k8s-infra-alerts-token] ExternalSecret \"slack-k8s-infra-alerts-token\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'configMapTestInfraDashboard' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "EVL001", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "3e54318c61355f479f56a1f49fe65e0c", + "severity": "error", + "message": "Non-literal expression in resource constructor property \u2014 value must be statically evaluable", + "label": "noise", + "reason": "@rule-EVL001" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "91a4f79df9cd6dbb7558d06d7a4c2a5f", + "severity": "warning", + "message": "Hardcoded namespace \"monitoring\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "9e9bed030cd79ede819c85a3d041a700", + "severity": "warning", + "entity": "test-infra-dashboard", + "message": "[test-infra-dashboard] ConfigMap \"test-infra-dashboard\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "b1de686331bd3b5d347df8f3559166a7", + "severity": "warning", + "entity": "wSrfvNxWz", + "message": "[wSrfvNxWz] Dashboard \"Boskos Resource Usage\" panel \"AWS account usage status\" (id 2) has queries but no datasource; Grafana will send them to whichever datasource is its default.", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "e20b397aebf8587c0a3b7552b4bb50f9", + "severity": "warning", + "entity": "boskos-server-dashboard", + "message": "[boskos-server-dashboard] Dashboard \"Boskos Server Dashboard\" panel \"Latency distribution for instance ${instance} path ${path} and status ${status}\" (id 2) has queries but no datasource; Grafana will send them to whichever datasource is it", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "e30b3b0d6545a93a031de99b9227d877", + "severity": "warning", + "entity": "boskos-server-dashboard", + "message": "[boskos-server-dashboard] Dashboard \"Boskos Server Dashboard\" panel \"Request rate for instance ${instance}\" (id 3) has queries but no datasource; Grafana will send them to whichever datasource is its default.", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "da8c51f40530a0df0eabb94cac0ec2b5", + "severity": "warning", + "entity": "970b051d3adfd62eb592154c5ce80377", + "message": "[970b051d3adfd62eb592154c5ce80377] Dashboard \"prow dashboard\" panel \"up\" (id 2) has queries but no datasource; Grafana will send them to whichever datasource is its default.", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF103", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "0701f958bfa69d39130f6dc0bb173030", + "severity": "error", + "entity": "boskos-server-dashboard", + "message": "[boskos-server-dashboard] Dashboard \"Boskos Server Dashboard\" panel \"Latency distribution for instance ${instance} path ${path} and status ${status}\" (id 2) title uses $instance, which is not one of its variables.", + "label": "true", + "reason": "the Boskos server dashboard's queries and titles use $instance, $path and $status and its templating list is empty; the next change in the history added the variables the same day" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF103", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "0801faeb38f3edf73f596089ab2c738c", + "severity": "error", + "entity": "boskos-server-dashboard", + "message": "[boskos-server-dashboard] Dashboard \"Boskos Server Dashboard\" panel \"Latency distribution for instance ${instance} path ${path} and status ${status}\" (id 2) title uses $path, which is not one of its variables.", + "label": "true", + "reason": "the Boskos server dashboard's queries and titles use $instance, $path and $status and its templating list is empty; the next change in the history added the variables the same day" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF103", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "0901fc7eb2415eb4db39e7ca33367464", + "severity": "error", + "entity": "boskos-server-dashboard", + "message": "[boskos-server-dashboard] Dashboard \"Boskos Server Dashboard\" panel \"Latency distribution for instance ${instance} path ${path} and status ${status}\" (id 2) title uses $status, which is not one of its variables.", + "label": "true", + "reason": "the Boskos server dashboard's queries and titles use $instance, $path and $status and its templating list is empty; the next change in the history added the variables the same day" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF103", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "0a01fe112b8eaf7275ca83cb6278ac3b", + "severity": "error", + "entity": "boskos-server-dashboard", + "message": "[boskos-server-dashboard] Dashboard \"Boskos Server Dashboard\" panel \"Latency distribution for instance ${instance} path ${path} and status ${status}\" (id 2) query A uses $path, which is not one of its variables.", + "label": "true", + "reason": "the Boskos server dashboard's queries and titles use $instance, $path and $status and its templating list is empty; the next change in the history added the variables the same day" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF103", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "0b01ffa4da711a43c7787214652eeeea", + "severity": "error", + "entity": "boskos-server-dashboard", + "message": "[boskos-server-dashboard] Dashboard \"Boskos Server Dashboard\" panel \"Latency distribution for instance ${instance} path ${path} and status ${status}\" (id 2) query A uses $status, which is not one of its variables.", + "label": "true", + "reason": "the Boskos server dashboard's queries and titles use $instance, $path and $status and its templating list is empty; the next change in the history added the variables the same day" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF103", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "0c02013753be6b0135f6bc3da3f878ae", + "severity": "error", + "entity": "boskos-server-dashboard", + "message": "[boskos-server-dashboard] Dashboard \"Boskos Server Dashboard\" panel \"Latency distribution for instance ${instance} path ${path} and status ${status}\" (id 2) query A uses $instance, which is not one of its variables.", + "label": "true", + "reason": "the Boskos server dashboard's queries and titles use $instance, $path and $status and its templating list is empty; the next change in the history added the variables the same day" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF103", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "0d0202cacd0bdbbeeb27f55ec9a4efd2", + "severity": "error", + "entity": "boskos-server-dashboard", + "message": "[boskos-server-dashboard] Dashboard \"Boskos Server Dashboard\" panel \"Latency distribution for instance ${instance} path ${path} and status ${status}\" (id 2) query B uses $path, which is not one of its variables.", + "label": "true", + "reason": "the Boskos server dashboard's queries and titles use $instance, $path and $status and its templating list is empty; the next change in the history added the variables the same day" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF103", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "0e02045d46592c7ca4a7c17f60c0d82f", + "severity": "error", + "entity": "boskos-server-dashboard", + "message": "[boskos-server-dashboard] Dashboard \"Boskos Server Dashboard\" panel \"Latency distribution for instance ${instance} path ${path} and status ${status}\" (id 2) query B uses $status, which is not one of its variables.", + "label": "true", + "reason": "the Boskos server dashboard's queries and titles use $instance, $path and $status and its templating list is empty; the next change in the history added the variables the same day" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF103", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "ff01ecc0f53b974d748659a8f3386a3c", + "severity": "error", + "entity": "boskos-server-dashboard", + "message": "[boskos-server-dashboard] Dashboard \"Boskos Server Dashboard\" panel \"Latency distribution for instance ${instance} path ${path} and status ${status}\" (id 2) query B uses $instance, which is not one of its variables.", + "label": "true", + "reason": "the Boskos server dashboard's queries and titles use $instance, $path and $status and its templating list is empty; the next change in the history added the variables the same day" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF103", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "0001ee536e88e80b0659d59132853f04", + "severity": "error", + "entity": "boskos-server-dashboard", + "message": "[boskos-server-dashboard] Dashboard \"Boskos Server Dashboard\" panel \"Latency distribution for instance ${instance} path ${path} and status ${status}\" (id 2) query C uses $path, which is not one of its variables.", + "label": "true", + "reason": "the Boskos server dashboard's queries and titles use $instance, $path and $status and its templating list is empty; the next change in the history added the variables the same day" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF103", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "761de6c10d05be089d7cbb2171bfba46", + "severity": "error", + "entity": "boskos-server-dashboard", + "message": "[boskos-server-dashboard] Dashboard \"Boskos Server Dashboard\" panel \"Latency distribution for instance ${instance} path ${path} and status ${status}\" (id 2) query C uses $status, which is not one of its variables.", + "label": "true", + "reason": "the Boskos server dashboard's queries and titles use $instance, $path and $status and its templating list is empty; the next change in the history added the variables the same day" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF103", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "751de52e93b84d4a36d9a4f8c13f7d32", + "severity": "error", + "entity": "boskos-server-dashboard", + "message": "[boskos-server-dashboard] Dashboard \"Boskos Server Dashboard\" panel \"Latency distribution for instance ${instance} path ${path} and status ${status}\" (id 2) query C uses $instance, which is not one of its variables.", + "label": "true", + "reason": "the Boskos server dashboard's queries and titles use $instance, $path and $status and its templating list is empty; the next change in the history added the variables the same day" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF103", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "741de39b1a6afc8d2fb38de3903e0d66", + "severity": "error", + "entity": "boskos-server-dashboard", + "message": "[boskos-server-dashboard] Dashboard \"Boskos Server Dashboard\" panel \"Request rate for instance ${instance}\" (id 3) title uses $instance, which is not one of its variables.", + "label": "true", + "reason": "the Boskos server dashboard's queries and titles use $instance, $path and $status and its templating list is empty; the next change in the history added the variables the same day" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF103", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "731de208a11d8bcf247b7962a67be4ec", + "severity": "error", + "entity": "boskos-server-dashboard", + "message": "[boskos-server-dashboard] Dashboard \"Boskos Server Dashboard\" panel \"Request rate for instance ${instance}\" (id 3) query A uses $instance, which is not one of its variables.", + "label": "true", + "reason": "the Boskos server dashboard's queries and titles use $instance, $path and $status and its templating list is empty; the next change in the history added the variables the same day" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF105", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "528c9a16ac35de7dfa5c6bce40ae33c1", + "severity": "warning", + "entity": "boskos-server-dashboard", + "message": "[boskos-server-dashboard] Dashboard \"Boskos Server Dashboard\" panel \"Latency distribution for instance ${instance} path ${path} and status ${status}\" (id 2) overlaps panel \"Request rate for instance ${instance}\" (id 3); Grafana will move on", + "label": "debatable", + "reason": "two panels of the new Boskos dashboard overlap in the grid; Grafana moves one when it loads the dashboard, so the layout is off but nothing breaks" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "9dbd722d51e09e77d58f9ced5b2c89f3", + "severity": "warning", + "entity": "wSrfvNxWz", + "message": "[wSrfvNxWz] Dashboard \"Boskos Resource Usage\" /timepicker: unknown key \"time_options\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "98fd2a74b388178cf7745cfc73b3c9b0", + "severity": "warning", + "entity": "boskos-server-dashboard", + "message": "[boskos-server-dashboard] Dashboard \"Boskos Server Dashboard\" /timepicker: unknown key \"time_options\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "9e47ade8d72b990591326aba4f6b7ec3f0f799fc", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/eks-prow-build/monitoring/test-infra-dashboard.yaml", + "identity": "d8cbdf2e47c1da0ddad8aab6de9595a2", + "severity": "warning", + "entity": "970b051d3adfd62eb592154c5ce80377", + "message": "[970b051d3adfd62eb592154c5ce80377] Dashboard \"prow dashboard\" /timepicker: unknown key \"time_options\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "4046258e7d54fdc156e2f39ad8da51b57be88f55", + "check": "audit", + "rule": "TF039", + "file": "infra/gcp/terraform/k8s-infra-oci-proxy", + "identity": "acc5434aa12ccb79d8488042c2d007a8", + "severity": "warning", + "entity": "infra.gcp.terraform.k8s-infra-oci-proxy/module.oci-proxy/module.destination", + "message": "Module \"module.destination\" sources \"terraform-google-modules/log-export/google//modules/bigquery\" with the version range \"~> 11.1\". A release inside the range changes what the root provisions with no diff to review. Pin an exact version (`", + "label": "debatable", + "reason": "@rule-TF039" + }, + { + "change": "4046258e7d54fdc156e2f39ad8da51b57be88f55", + "check": "audit", + "rule": "TF039", + "file": "infra/gcp/terraform/k8s-infra-oci-proxy", + "identity": "1694fa91b6293fa384027a81b732eb9f", + "severity": "warning", + "entity": "infra.gcp.terraform.k8s-infra-oci-proxy/module.oci-proxy/module.log_export", + "message": "Module \"module.log_export\" sources \"terraform-google-modules/log-export/google\" with the version range \"~> 11.1\". A release inside the range changes what the root provisions with no diff to review. Pin an exact version (`version = \"1.4.0\"`)", + "label": "debatable", + "reason": "@rule-TF039" + }, + { + "change": "4046258e7d54fdc156e2f39ad8da51b57be88f55", + "check": "audit", + "rule": "TF039", + "file": "infra/gcp/terraform/k8s-infra-oci-proxy-prod", + "identity": "156eedaa26cb7627e8f32662ea42d6f9", + "severity": "warning", + "entity": "infra.gcp.terraform.k8s-infra-oci-proxy-prod/module.oci-proxy/module.destination", + "message": "Module \"module.destination\" sources \"terraform-google-modules/log-export/google//modules/bigquery\" with the version range \"~> 11.1\". A release inside the range changes what the root provisions with no diff to review. Pin an exact version (`", + "label": "debatable", + "reason": "@rule-TF039" + }, + { + "change": "4046258e7d54fdc156e2f39ad8da51b57be88f55", + "check": "audit", + "rule": "TF039", + "file": "infra/gcp/terraform/k8s-infra-oci-proxy-prod", + "identity": "bb856eb115484dd4f0e91d61bc1fa43d", + "severity": "warning", + "entity": "infra.gcp.terraform.k8s-infra-oci-proxy-prod/module.oci-proxy/module.log_export", + "message": "Module \"module.log_export\" sources \"terraform-google-modules/log-export/google\" with the version range \"~> 11.1\". A release inside the range changes what the root provisions with no diff to review. Pin an exact version (`version = \"1.4.0\"`)", + "label": "debatable", + "reason": "@rule-TF039" + }, + { + "change": "1c1ca7138ffeececf7e573af11b20b7742634f27", + "check": "audit", + "rule": "SEC010", + "file": "apps/k8s-io/configmap-nginx.yaml", + "identity": "4e876cc261e9121a45e0c55acd92d9ff", + "severity": "warning", + "entity": "high-entropy string (~5.10 bits/char)", + "message": "Likely secret detected: high-entropy string (~5.10 bits/char) at apps/k8s-io/configmap-nginx.yaml:302 (value redacted, 64 chars, fingerprint 435392e3dd8c4fd0). Remove it from source and rotate the credential.", + "label": "noise", + "reason": "@rule-SEC010" + }, + { + "change": "4c6892781a18833498476f11b8f31df919343ec2", + "check": "audit", + "rule": "TF011", + "file": "infra/gcp/terraform/k8s-infra-oci-proxy", + "identity": "00ce184833b1645c4f7460a07e392fb2", + "severity": "info", + "entity": "infra.gcp.terraform.k8s-infra-oci-proxy/module.oci-proxy/var.global_aws_base_url", + "message": "Variable \"global_aws_base_url\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Cal", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "4c6892781a18833498476f11b8f31df919343ec2", + "check": "audit", + "rule": "TF011", + "file": "infra/gcp/terraform/k8s-infra-oci-proxy-prod", + "identity": "570e48a8c10d71e3712a66c0bc88f7f4", + "severity": "info", + "entity": "infra.gcp.terraform.k8s-infra-oci-proxy-prod/module.oci-proxy/var.global_aws_base_url", + "message": "Variable \"global_aws_base_url\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Cal", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "a9693148abe9f80e07c9daf083427102", + "severity": "warning", + "entity": "agent-sandbox", + "message": "ServiceAccount \"agent-sandbox\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "d3590920bc1817a297c3eaf89558d94e", + "severity": "warning", + "entity": "agentic-net", + "message": "ServiceAccount \"agentic-net\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "2c4a225aaa9e55d16172edf21418c5c5", + "severity": "warning", + "entity": "aws-encryption-provider", + "message": "ServiceAccount \"aws-encryption-provider\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4150528056d3f081fe8201b8f6753401", + "severity": "warning", + "entity": "charts", + "message": "ServiceAccount \"charts\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "ebf3273f47e58dcd0566f92fd25fc959", + "severity": "warning", + "entity": "cloud-provider-kind", + "message": "ServiceAccount \"cloud-provider-kind\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "3b5aae2412787f6783430b0cafc62262", + "severity": "warning", + "entity": "cluster-capacity", + "message": "ServiceAccount \"cluster-capacity\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "74051d83fa8266cc25ea2f730fe923ab", + "severity": "warning", + "entity": "cluster-inventory-api", + "message": "ServiceAccount \"cluster-inventory-api\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "df8cb202c17d93c5bcedc75a6515102a", + "severity": "warning", + "entity": "contributor-site", + "message": "ServiceAccount \"contributor-site\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "f81393b89a04bdc98276b6e0a0ea6038", + "severity": "warning", + "entity": "csi-vsphere", + "message": "ServiceAccount \"csi-vsphere\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "81c14e0c43c95923087b8b1434217235", + "severity": "warning", + "entity": "dns", + "message": "ServiceAccount \"dns\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4159e98c9562448c5a254ec43c7e8ce4", + "severity": "warning", + "entity": "dra-driver-cpu", + "message": "ServiceAccount \"dra-driver-cpu\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "7319e9db390f8adaa37a88fbdfdf443d", + "severity": "warning", + "entity": "dra-driver-google", + "message": "ServiceAccount \"dra-driver-google\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "ea56b06f813a89be8cec5daff30397dd", + "severity": "warning", + "entity": "dra-driver-nvidia", + "message": "ServiceAccount \"dra-driver-nvidia\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "8a2094faa9b8deb960067712877debc6", + "severity": "warning", + "entity": "dra-example-driver", + "message": "ServiceAccount \"dra-example-driver\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "52f3515958467444b91cb5b9624c9300", + "severity": "warning", + "entity": "etcd", + "message": "ServiceAccount \"etcd\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "5e59530332ccabe6a310e4034444c986", + "severity": "warning", + "entity": "etcd-manager", + "message": "ServiceAccount \"etcd-manager\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "9b1d6f14c22fa693fb41c89ca94d23f7", + "severity": "warning", + "entity": "gateway-api", + "message": "ServiceAccount \"gateway-api\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "1e82753e4e5123d3a31dadb64bed09ca", + "severity": "warning", + "entity": "gateway-api-inference-extension", + "message": "ServiceAccount \"gateway-api-inference-extension\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "04d8813b9f0bc5babdf393bbc1227b63", + "severity": "warning", + "entity": "headlamp", + "message": "ServiceAccount \"headlamp\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "1495a624b97164c8c2e8accc3ee7d1a0", + "severity": "warning", + "entity": "inference-perf", + "message": "ServiceAccount \"inference-perf\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "fc4b10d9beff1cc6f7ace409b4927864", + "severity": "warning", + "entity": "infra-tools", + "message": "ServiceAccount \"infra-tools\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "b60bc76b8430fef5961f213b7f8e29f6", + "severity": "warning", + "entity": "ingate", + "message": "ServiceAccount \"ingate\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "a4a7952b1f50a48f3885f09b5e8841fc", + "severity": "warning", + "entity": "ingress-nginx", + "message": "ServiceAccount \"ingress-nginx\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "34a6bc54b5bd978dafdfed7c990ebe0c", + "severity": "warning", + "entity": "jobset", + "message": "ServiceAccount \"jobset\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "d30d0b1f3d2dfa7322456bbfa332f115", + "severity": "warning", + "entity": "karpenter-cluster-api", + "message": "ServiceAccount \"karpenter-cluster-api\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "7ad9d91128aaefa5e0065aa15f09a145", + "severity": "warning", + "entity": "kind", + "message": "ServiceAccount \"kind\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "8e4ba2f704d584c785fb0a97b2e8b4d1", + "severity": "warning", + "entity": "kro", + "message": "ServiceAccount \"kro\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "de80b00344388b4f48c9a9a33e141002", + "severity": "warning", + "entity": "kubemark", + "message": "ServiceAccount \"kubemark\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "623f03afd9bc832a7b4fcd3f6a5f63e5", + "severity": "warning", + "entity": "kubernetes", + "message": "ServiceAccount \"kubernetes\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "0e5431ef84e8c8186293958fc21ae533", + "severity": "warning", + "entity": "kubespray", + "message": "ServiceAccount \"kubespray\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "c3fbd81a3648ca4569cf18b2595e0dd2", + "severity": "warning", + "entity": "kueue", + "message": "ServiceAccount \"kueue\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "892cb7e71d49f6e6b2b5abb7c292deab", + "severity": "warning", + "entity": "lws", + "message": "ServiceAccount \"lws\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "fa392387f34bd24cedd99a67f07977f2", + "severity": "warning", + "entity": "maintainer-tools", + "message": "ServiceAccount \"maintainer-tools\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "bcbc20bbc78036ba5baa14fb721b7a22", + "severity": "warning", + "entity": "mcp-lifecycle-operator", + "message": "ServiceAccount \"mcp-lifecycle-operator\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "6c9152657b0525513b166c758968e1c3", + "severity": "warning", + "entity": "minikube", + "message": "ServiceAccount \"minikube\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "5288c25117780bafd48867f1bc06f50f", + "severity": "warning", + "entity": "node-readiness-controller", + "message": "ServiceAccount \"node-readiness-controller\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "9099c7a78ffd6e0916b2d5c7c170a7ea", + "severity": "warning", + "entity": "resource-state-metrics", + "message": "ServiceAccount \"resource-state-metrics\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "bc864b963a8bb70d3a5310be9930f1f6", + "severity": "warning", + "entity": "secrets-store-sync", + "message": "ServiceAccount \"secrets-store-sync\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "d0de5d7ac9cd962256205ba211434235", + "severity": "warning", + "entity": "test-infra", + "message": "ServiceAccount \"test-infra\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "a065e9055514078012a9b0a56774f26d", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "9f65e772ce61783d2555b3c2df79223f", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "9e65e5df47aec8fba79dd137dac1ea7d", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "9d65e44cc0fc39b87789057c16e67afd", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "9c65e2b93a498a764b8e965178deec27", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "9b65e126b396fb331421201ea9e76054", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "9a65df932ce44bf101b5bdc331587150", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "9965de00a631bcae8e4c70e8127e3f7f", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "a865f59d1f7f0d6c0977de4dbb82c9ba", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "a765f40a98cc7e29c42ba30aae7503e6", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "2f6b0ce6cdede40c63aab07a89fbefbf", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "306b0e7954a0934fed8b707da1bc39b9", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "2d6b09c0c088a587647b02f48522e73c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "2e6b0b53473b54ca3288e72f17c65ec6", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "336b1332e8b86116ce5553969e2ead48", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "346b14c56f6b1059261483898117623d", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "316b100cdb53229124a76600a4a8bae9", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "326b119f6205d1d4a9c8295b471e9f2d", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "376b197e0382fe21898ae7329dbc48bd", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "386b1b118a358d63705c069580db82f6", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4968f73de35b353abfc9d955abcbca0d", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4868f5aa6a0dc47d18662ff22c0c4208", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4768f417f0c073bf17f56ee7007c73ba", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4668f284777303020cbdebec1baa1239", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4568f0f1c890b830b6e70a81ea588434", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4468ef5e4f4347738d58c0ceb297c5eb", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4368edcbd5f5f6b58c5c81b31464183e", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4268ec385ca885f8512b09582804aa8c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4168eaa518f02f4ffc42b93dd8e677be", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4068e9129fa2de918842653a2261db32", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4366af342b7b04d5fc92aa6860d04c23", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4466b0c7a4c875926ffbf74348ac9879", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4566b25a1e15c6508267599e026a2a10", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4666b3ed9763370db9d4cfd1ce3ec028", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "3f66a8e810b087cbe5cf3efcf2f73147", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4066aa7b89fdf88815e40ab7517be5c4", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4166ac0e034b4946939bed42af32ab66", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4266ada17c98ba0380efea2557e72ead", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "3b66a29c61101ee9ba9f85d040dd4370", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR009", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "6499620d0073081e3d1126bda731b85f", + "severity": "warning", + "message": "File contains 39 Declarable instances (limit: 8) \u2014 consider splitting into separate files by concern", + "label": "noise", + "reason": "@rule-COR009" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "5a656d986e3f17588617da80371c27c4", + "severity": "warning", + "message": "Exported declarable 'serviceAccountAgentSandbox' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "5b656f2be78c68155c5fd927bdc63b57", + "severity": "warning", + "message": "Exported declarable 'serviceAccountAgenticNet' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "5c6570be60d9d8d3588d43523c1fa987", + "severity": "warning", + "message": "Exported declarable 'serviceAccountAwsEncryptionProvider' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "5d657251da272990f32bd9b9bb5a119a", + "severity": "warning", + "message": "Exported declarable 'serviceAccountCharts' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "5e6573e453749a4ee51d7cf4d3ffe1e6", + "severity": "warning", + "message": "Exported declarable 'serviceAccountCloudProviderKind' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "5f657577ccc1eb0bd42b485bb8ba9d5a", + "severity": "warning", + "message": "Exported declarable 'serviceAccountClusterCapacity' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "6065770a460f5bc9459b2646343a4c55", + "severity": "warning", + "message": "Exported declarable 'serviceAccountClusterInventoryApi' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "6165789dbf5cac86027b214d9973bbb2", + "severity": "warning", + "message": "Exported declarable 'serviceAccountContributorSite' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "52656100a3d4116c95492de803aaceee", + "severity": "warning", + "message": "Exported declarable 'serviceAccountCsiVsphere' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "536562931d21622aaaf0446f3c419705", + "severity": "warning", + "message": "Exported declarable 'serviceAccountDns' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "fbade781772eec9ad9eca8dfe05f7850", + "severity": "warning", + "message": "Exported declarable 'serviceAccountDraDriverCpu' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "faade5eefde19bdc763746585dadc15a", + "severity": "warning", + "message": "Exported declarable 'serviceAccountDraDriverGoogle' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "f9ade45b69c9ae15caec1c51060e3d3e", + "severity": "warning", + "message": "Exported declarable 'serviceAccountDraDriverNvidia' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "f8ade2c8f07c5d573c14e6ca20945d2b", + "severity": "warning", + "message": "Exported declarable 'serviceAccountDraExampleDriver' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "ffadedcd91f969a47e7fb013415b6fb3", + "severity": "warning", + "message": "Exported declarable 'serviceAccountEtcd' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "feadec3a18ac18e7af41d14c5f0876f1", + "severity": "warning", + "message": "Exported declarable 'serviceAccountEtcdManager' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "fdadeaa784942b1fb1393c2502ddbbfa", + "severity": "warning", + "message": "Exported declarable 'serviceAccountGatewayApi' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "fcade9140b46da62e9be011e1cfd4a43", + "severity": "warning", + "message": "Exported declarable 'serviceAccountGatewayApiInferenceExtension' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "f3addae94199f286d3b02997308d062c", + "severity": "warning", + "message": "Exported declarable 'serviceAccountHeadlamp' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "f2add956c84c81c861759ef0965e2690", + "severity": "warning", + "message": "Exported declarable 'serviceAccountInferencePerf' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "01b02f8a389c2cf289ffdbb0afcd3c53", + "severity": "warning", + "message": "Exported declarable 'serviceAccountInfraTools' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "02b0311dbf4edc34beb059573ad71432", + "severity": "warning", + "message": "Exported declarable 'serviceAccountIngate' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "ffb02c6446016b777a291d825f870261", + "severity": "warning", + "message": "Exported declarable 'serviceAccountIngressNginx' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "00b02df7ccb41ab97935a4a9b2e58285", + "severity": "warning", + "message": "Exported declarable 'serviceAccountJobset' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "fdb0293e1dd1afe86f4d38a430c7d4fc", + "severity": "warning", + "message": "Exported declarable 'serviceAccountKarpenterClusterApi' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "feb02ad1a4845f2aa69da08b1685bf8f", + "severity": "warning", + "message": "Exported declarable 'serviceAccountKind' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "fbb026182b36ee6d71b51636c4dd2acf", + "severity": "warning", + "message": "Exported declarable 'serviceAccountKro' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "fcb027abb1e99dafc87f337d9d06d8e3", + "severity": "warning", + "message": "Exported declarable 'serviceAccountKubemark' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "f9b022f2030732de7fa78518045a266b", + "severity": "warning", + "message": "Exported declarable 'serviceAccountKubernetes' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "fab0248589b9c22068d7a69f2d43a746", + "severity": "warning", + "message": "Exported declarable 'serviceAccountKubespray' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "67b30eb3d4bc0d6270c15acdfd8fe8e9", + "severity": "warning", + "message": "Exported declarable 'serviceAccountKueue' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "66b30d204e097e20b3e15fc6f3e0e415", + "severity": "warning", + "message": "Exported declarable 'serviceAccountLws' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "69b311d9c756cedd427181dbd5ce4815", + "severity": "warning", + "message": "Exported declarable 'serviceAccountMaintainerTools' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "68b3104640a43f9b5363b674bc9ec7a0", + "severity": "warning", + "message": "Exported declarable 'serviceAccountMcpLifecycleOperator' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "6bb314ffb9f190586172133912065b46", + "severity": "warning", + "message": "Exported declarable 'serviceAccountMinikube' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "6ab3136c333ee116c6d37cd2410da781", + "severity": "warning", + "message": "Exported declarable 'serviceAccountNodeReadinessController' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "6db31825ac8c51d3caa612a779f0ffca", + "severity": "warning", + "message": "Exported declarable 'serviceAccountResourceStateMetrics' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "6cb3169225d9a291f45e1400d8ed7874", + "severity": "warning", + "message": "Exported declarable 'serviceAccountSecretsStoreSync' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "6fb31b4b9f27134e122ed375f0b4d47a", + "severity": "warning", + "message": "Exported declarable 'serviceAccountTestInfra' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "7e18fdba6adf640c4554d9d240b3b314", + "severity": "warning", + "entity": "agentic-net", + "message": "[agentic-net] ServiceAccount \"agentic-net\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "33f72e42dda578f3469a5a2a803df643", + "severity": "warning", + "entity": "agent-sandbox", + "message": "[agent-sandbox] ServiceAccount \"agent-sandbox\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "b6efcf68e5088424e60bdb8077635a5b", + "severity": "warning", + "entity": "aws-encryption-provider", + "message": "[aws-encryption-provider] ServiceAccount \"aws-encryption-provider\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "3a97321294e54fc9fa05e8aad65e2492", + "severity": "warning", + "entity": "charts", + "message": "[charts] ServiceAccount \"charts\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "e01436a91acbbaf32a439d79e05a36aa", + "severity": "warning", + "entity": "cloud-provider-kind", + "message": "[cloud-provider-kind] ServiceAccount \"cloud-provider-kind\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "228b39b6685d61f36463725e6e27a393", + "severity": "warning", + "entity": "cluster-capacity", + "message": "[cluster-capacity] ServiceAccount \"cluster-capacity\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "889abf650fcc4ff1a6e312f5b028187e", + "severity": "warning", + "entity": "cluster-inventory-api", + "message": "[cluster-inventory-api] ServiceAccount \"cluster-inventory-api\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "69a2ec104135942f7daaa1c8c5d96ec2", + "severity": "warning", + "entity": "contributor-site", + "message": "[contributor-site] ServiceAccount \"contributor-site\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "b7ec345e5e0563284194002689282a30", + "severity": "warning", + "entity": "csi-vsphere", + "message": "[csi-vsphere] ServiceAccount \"csi-vsphere\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "03c39036a10f1be30c596a5eea1c1c95", + "severity": "warning", + "entity": "dns", + "message": "[dns] ServiceAccount \"dns\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "f081f10ec2c159355da396660307742e", + "severity": "warning", + "entity": "dra-driver-cpu", + "message": "[dra-driver-cpu] ServiceAccount \"dra-driver-cpu\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "d33bb1bdab273b378b98297d46162bfd", + "severity": "warning", + "entity": "dra-driver-google", + "message": "[dra-driver-google] ServiceAccount \"dra-driver-google\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "06efcea92f3f2fc8a2b6b5a98cfc70ad", + "severity": "warning", + "entity": "dra-driver-nvidia", + "message": "[dra-driver-nvidia] ServiceAccount \"dra-driver-nvidia\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "b249ca089f750047ff3a91600935938a", + "severity": "warning", + "entity": "dra-example-driver", + "message": "[dra-example-driver] ServiceAccount \"dra-example-driver\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "18208f932b588ffdb0ffe1135e93a543", + "severity": "warning", + "entity": "etcd", + "message": "[etcd] ServiceAccount \"etcd\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "6103ac216e79da1068a191612564ac2c", + "severity": "warning", + "entity": "etcd-manager", + "message": "[etcd-manager] ServiceAccount \"etcd-manager\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "4ca9e8a6fde3008c9476f9ce33edb460", + "severity": "warning", + "entity": "gateway-api", + "message": "[gateway-api] ServiceAccount \"gateway-api\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "9b9ccc7cef0eb2374fd53fb42f15f820", + "severity": "warning", + "entity": "gateway-api-inference-extension", + "message": "[gateway-api-inference-extension] ServiceAccount \"gateway-api-inference-extension\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "d92f467950b6fe8cc2557ff941cde406", + "severity": "warning", + "entity": "headlamp", + "message": "[headlamp] ServiceAccount \"headlamp\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "98d3dc666ae0638718f97d2ed439dadb", + "severity": "warning", + "entity": "inference-perf", + "message": "[inference-perf] ServiceAccount \"inference-perf\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "04d2b51bbecf48181d32602bbd1f25f4", + "severity": "warning", + "entity": "infra-tools", + "message": "[infra-tools] ServiceAccount \"infra-tools\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "feab970107c51461c81a13f1fecca8f0", + "severity": "warning", + "entity": "ingate", + "message": "[ingate] ServiceAccount \"ingate\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "a0fc8ee5de36324ba5b30e559c708e4c", + "severity": "warning", + "entity": "ingress-nginx", + "message": "[ingress-nginx] ServiceAccount \"ingress-nginx\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "a252da72eda0f445ba0e59faefa2e4eb", + "severity": "warning", + "entity": "jobset", + "message": "[jobset] ServiceAccount \"jobset\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "9f567cbd259457541d99413d8b6a5026", + "severity": "warning", + "entity": "karpenter-cluster-api", + "message": "[karpenter-cluster-api] ServiceAccount \"karpenter-cluster-api\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "0932fda70eec616f4f3734f7e5221f85", + "severity": "warning", + "entity": "kind", + "message": "[kind] ServiceAccount \"kind\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "b8d44ba5e2db994e3ba009653f740128", + "severity": "warning", + "entity": "kro", + "message": "[kro] ServiceAccount \"kro\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "ec162a51d229edaf740b08710d90abf7", + "severity": "warning", + "entity": "kubemark", + "message": "[kubemark] ServiceAccount \"kubemark\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "231687e143ba029d89649df135875ac4", + "severity": "warning", + "entity": "kubernetes", + "message": "[kubernetes] ServiceAccount \"kubernetes\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "7106bb313522ea7a4eb7b25103fe8edb", + "severity": "warning", + "entity": "kubespray", + "message": "[kubespray] ServiceAccount \"kubespray\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "bac6aee06a44279667d8f698e6d04663", + "severity": "warning", + "entity": "kueue", + "message": "[kueue] ServiceAccount \"kueue\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "097a217922c23f5b41bd56e92afc39e5", + "severity": "warning", + "entity": "lws", + "message": "[lws] ServiceAccount \"lws\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "b155a78db9e9766913d2690d79d3f281", + "severity": "warning", + "entity": "maintainer-tools", + "message": "[maintainer-tools] ServiceAccount \"maintainer-tools\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "a2de23e1af2a3f1f7c347d212bac1c28", + "severity": "warning", + "entity": "mcp-lifecycle-operator", + "message": "[mcp-lifecycle-operator] ServiceAccount \"mcp-lifecycle-operator\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "1f3021afdbdf317637b0d4bfe7189d6f", + "severity": "warning", + "entity": "minikube", + "message": "[minikube] ServiceAccount \"minikube\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "0f2cb35b422fb37fe81a5c7b44b3020f", + "severity": "warning", + "entity": "node-readiness-controller", + "message": "[node-readiness-controller] ServiceAccount \"node-readiness-controller\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "c48a8669bb189941fba83d295c5449be", + "severity": "warning", + "entity": "resource-state-metrics", + "message": "[resource-state-metrics] ServiceAccount \"resource-state-metrics\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "dbdba614c5d681e7960046dc2bc163ee", + "severity": "warning", + "entity": "secrets-store-sync", + "message": "[secrets-store-sync] ServiceAccount \"secrets-store-sync\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "cacf12a8eb706e46b0299b62e24b89c9e174d65d", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build-trusted/prow/builds-sa.yaml", + "identity": "46dca1901f46501b073a9418c73c628a", + "severity": "warning", + "entity": "test-infra", + "message": "[test-infra] ServiceAccount \"test-infra\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "e40e3e0261692189fedeb4f315e2c3f666f093a1", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-utility/monitoring/hyperdisk-sc.yaml", + "identity": "62f4595840c23ddb1a17f960a5347b15", + "severity": "warning", + "entity": "hyperdisk-balanced", + "message": "StorageClass \"hyperdisk-balanced\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "e40e3e0261692189fedeb4f315e2c3f666f093a1", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/monitoring/hyperdisk-sc.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "e40e3e0261692189fedeb4f315e2c3f666f093a1", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/monitoring/hyperdisk-sc.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "e40e3e0261692189fedeb4f315e2c3f666f093a1", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-utility/monitoring/hyperdisk-sc.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'storageClassHyperdiskBalanced' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "e40e3e0261692189fedeb4f315e2c3f666f093a1", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-utility/monitoring/hyperdisk-sc.yaml", + "identity": "6a73efc73ae83195d032c9d7b8397a98", + "severity": "warning", + "entity": "hyperdisk-balanced", + "message": "[hyperdisk-balanced] StorageClass \"hyperdisk-balanced\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "e40e3e0261692189fedeb4f315e2c3f666f093a1", + "check": "localize", + "rule": "HELM-LOCALIZE", + "file": "kubernetes/gke-utility/helm/monitoring.yaml", + "identity": "282063ffa5edcf814415b21fbca61ff2", + "severity": "warning", + "message": "unstable: 2 differing line(s), 10 renders used, stable with all pins: yes | randAlphaNum at charts/grafana/templates/_helpers.tpl:123 suppliable=no | randAlphaNum at charts/grafana/templates/_helpers.tpl:136 suppliable=yes pin: grafana.admi", + "label": "true", + "reason": "removing grafana.admin.existingSecret makes the render unstable: the chart's admin password Secret and the Deployment's checksum/secret change on every render; still unstable at the end of the window" + }, + { + "change": "c29ad49998cbcbaaf41169dacbe9a607f62e10d2", + "check": "audit", + "rule": "TF002", + "file": "infra/gcp/terraform/k8s-infra-agentic-ai", + "identity": "b38d2a76259101f96c93be0e6b9385de", + "severity": "warning", + "entity": "infra.gcp.terraform.k8s-infra-agentic-ai/time_sleep.project_services", + "message": "Provider \"time\" is used in root module \"infra.gcp.terraform.k8s-infra-agentic-ai\" but has no `required_providers` entry in `required_providers`. Add `source` and `version` for it in the terraform block's `required_providers`, so a future pr", + "label": "debatable", + "reason": "the new root uses the time provider with no required_providers entry and there is no lock file in the repository; pinning it is the team's policy, and init still picks a version" + }, + { + "change": "c29ad49998cbcbaaf41169dacbe9a607f62e10d2", + "check": "audit", + "rule": "TF039", + "file": "infra/gcp/terraform/k8s-infra-agentic-ai", + "identity": "2bdc4e92e91b6c077f82111a5868c797", + "severity": "warning", + "entity": "infra.gcp.terraform.k8s-infra-agentic-ai/module.project", + "message": "Module \"module.project\" sources \"terraform-google-modules/project-factory/google\" with the version range \"~> 18.3\". A release inside the range changes what the root provisions with no diff to review. Pin an exact version (`version = \"1.4.0\"", + "label": "debatable", + "reason": "@rule-TF039" + }, + { + "change": "c29ad49998cbcbaaf41169dacbe9a607f62e10d2", + "check": "audit", + "rule": "TF039", + "file": "infra/gcp/terraform/k8s-infra-agentic-ai", + "identity": "81c7b5973ad7a62aff531b3780467647", + "severity": "warning", + "entity": "infra.gcp.terraform.k8s-infra-agentic-ai/module.services", + "message": "Module \"module.services\" sources \"terraform-google-modules/project-factory/google//modules/project_services\" with the version range \"~> 18.3\". A release inside the range changes what the root provisions with no diff to review. Pin an exact ", + "label": "debatable", + "reason": "@rule-TF039" + }, + { + "change": "c29ad49998cbcbaaf41169dacbe9a607f62e10d2", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build/prow/build-serviceaccounts.yaml", + "identity": "64b8c24c194072c3cc9456f4ac7bdfb4", + "severity": "warning", + "entity": "agy-agent", + "message": "ServiceAccount \"agy-agent\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "c29ad49998cbcbaaf41169dacbe9a607f62e10d2", + "check": "audit", + "rule": "TF017", + "file": "infra/gcp/terraform/k8s-infra-agentic-ai", + "identity": "5a0410f7e871deb0d369c2c7ee626856", + "severity": "info", + "entity": "infra.gcp.terraform.k8s-infra-agentic-ai/module.services", + "message": "\"module.services\" uses `depends_on`, which orders every resource in the module behind the dependency, not just the one that needs it. Pass an attribute of the dependency into a module input instead, so Terraform derives the edge itself.", + "label": "debatable", + "reason": "@rule-TF017" + }, + { + "change": "c29ad49998cbcbaaf41169dacbe9a607f62e10d2", + "check": "audit", + "rule": "TF017", + "file": "infra/gcp/terraform/k8s-infra-agentic-ai", + "identity": "499b721ae925beb9c81f82b27cd5ec62", + "severity": "info", + "entity": "infra.gcp.terraform.k8s-infra-agentic-ai/module.agy_agent_service_account", + "message": "\"module.agy_agent_service_account\" uses `depends_on`, which orders every resource in the module behind the dependency, not just the one that needs it. Pass an attribute of the dependency into a module input instead, so Terraform derives the", + "label": "debatable", + "reason": "@rule-TF017" + }, + { + "change": "c29ad49998cbcbaaf41169dacbe9a607f62e10d2", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-prow-build/prow/build-serviceaccounts.yaml", + "identity": "9c65e2b93a498a764b8e965178deec27", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "c29ad49998cbcbaaf41169dacbe9a607f62e10d2", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-prow-build/prow/build-serviceaccounts.yaml", + "identity": "5e6573e453749a4ee51d7cf4d3ffe1e6", + "severity": "warning", + "message": "Exported declarable 'serviceAccountAgyAgent' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "c29ad49998cbcbaaf41169dacbe9a607f62e10d2", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build/prow/build-serviceaccounts.yaml", + "identity": "8dc8449a33d7c08cfa649e02479f5984", + "severity": "warning", + "entity": "agy-agent", + "message": "[agy-agent] ServiceAccount \"agy-agent\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "5696d21ed92b88157ac1891aee18868bf64fa5d5", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/ibm-ppc64le/prow/kyverno.yaml", + "identity": "306f28936ea5182ee4446bd38a1874ed", + "severity": "warning", + "entity": "google-adc", + "message": "ConfigMap \"google-adc\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "5696d21ed92b88157ac1891aee18868bf64fa5d5", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/ibm-s390x/prow/kyverno.yaml", + "identity": "9ff09a8e8e00e33860a1cdc6d9de9e90", + "severity": "warning", + "entity": "google-adc", + "message": "ConfigMap \"google-adc\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "5696d21ed92b88157ac1891aee18868bf64fa5d5", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/ibm-ppc64le/prow/kyverno.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "5696d21ed92b88157ac1891aee18868bf64fa5d5", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/ibm-ppc64le/prow/kyverno.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "5696d21ed92b88157ac1891aee18868bf64fa5d5", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/ibm-ppc64le/prow/kyverno.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'configMapGoogleAdc' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "5696d21ed92b88157ac1891aee18868bf64fa5d5", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/ibm-ppc64le/prow/kyverno.yaml", + "identity": "4de95d3121be8d8e075e3961976de4a0", + "severity": "warning", + "entity": "google-adc", + "message": "[google-adc] ConfigMap \"google-adc\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "5696d21ed92b88157ac1891aee18868bf64fa5d5", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/ibm-s390x/prow/kyverno.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "5696d21ed92b88157ac1891aee18868bf64fa5d5", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/ibm-s390x/prow/kyverno.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "5696d21ed92b88157ac1891aee18868bf64fa5d5", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/ibm-s390x/prow/kyverno.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'configMapGoogleAdc' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "5696d21ed92b88157ac1891aee18868bf64fa5d5", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/ibm-s390x/prow/kyverno.yaml", + "identity": "4de95d3121be8d8e075e3961976de4a0", + "severity": "warning", + "entity": "google-adc", + "message": "[google-adc] ConfigMap \"google-adc\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "5696d21ed92b88157ac1891aee18868bf64fa5d5", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/ibm-s390x/prow/secrets.yaml", + "identity": "91a4f79df9cd6dbb7558d06d7a4c2a5f", + "severity": "warning", + "message": "Hardcoded namespace \"test-pods\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "5696d21ed92b88157ac1891aee18868bf64fa5d5", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/ibm-s390x/prow/secrets.yaml", + "identity": "90a4f60a80801cfe0384f61cf711767c", + "severity": "warning", + "message": "Hardcoded namespace \"test-pods\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "5696d21ed92b88157ac1891aee18868bf64fa5d5", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/ibm-s390x/prow/secrets.yaml", + "identity": "8fa4f477ec682f3681e916d3e28540a1", + "severity": "warning", + "message": "Hardcoded namespace \"test-pods\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "06910671cadbce010159eb176672818535d9fdbe", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/apps/monitoring-utility.yaml", + "identity": "961f23213a3627f2475c8fe1b839cd0d", + "severity": "warning", + "entity": "monitoring-utility", + "message": "ApplicationSet \"monitoring-utility\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "06910671cadbce010159eb176672818535d9fdbe", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/apps/monitoring-utility.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "06910671cadbce010159eb176672818535d9fdbe", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/apps/monitoring-utility.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "06910671cadbce010159eb176672818535d9fdbe", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/apps/monitoring-utility.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'applicationSetMonitoringUtility' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "06910671cadbce010159eb176672818535d9fdbe", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/apps/monitoring-utility.yaml", + "identity": "a7addffc079827202b9dd5b4f00e7151", + "severity": "warning", + "entity": "monitoring-utility", + "message": "[monitoring-utility] ApplicationSet \"monitoring-utility\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "2bd19322f7c7670237b0090030dae6fd739388f1", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/aks-prow-build/prow/kyverno.yaml", + "identity": "f3f588835dd31117124ccb23f38ef630", + "severity": "warning", + "entity": "prow", + "message": "ClusterPolicy \"prow\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "2bd19322f7c7670237b0090030dae6fd739388f1", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/ibm-ppc64le/prow/kyverno.yaml", + "identity": "b59388e3fde5d1404a7db8d35ebacacf", + "severity": "warning", + "entity": "prow", + "message": "Policy \"prow\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "2bd19322f7c7670237b0090030dae6fd739388f1", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/ibm-s390x/prow/kyverno.yaml", + "identity": "c84fe422e1d81485a57f3f8a1ab1cb57", + "severity": "warning", + "entity": "prow", + "message": "Policy \"prow\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "2bd19322f7c7670237b0090030dae6fd739388f1", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/aks-prow-build/prow/kyverno.yaml", + "identity": "2f05c8e1fa1956ca88d88fc1a1736db4", + "severity": "warning", + "entity": "prow", + "message": "[prow] ClusterPolicy \"prow\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "2bd19322f7c7670237b0090030dae6fd739388f1", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/ibm-ppc64le/prow/kyverno.yaml", + "identity": "2f05c8e1fa1956ca88d88fc1a1736db4", + "severity": "warning", + "entity": "prow", + "message": "[prow] Policy \"prow\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "2bd19322f7c7670237b0090030dae6fd739388f1", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/ibm-s390x/prow/kyverno.yaml", + "identity": "2f05c8e1fa1956ca88d88fc1a1736db4", + "severity": "warning", + "entity": "prow", + "message": "[prow] Policy \"prow\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "51be2ae2452ee0c58327b5661ee4687572931c99", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/kube-system/nodepools.yaml", + "identity": "05e75335d299cdcb0db234151d7bd6a3", + "severity": "warning", + "entity": "amd64-latest", + "message": "NodePool \"amd64-latest\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "51be2ae2452ee0c58327b5661ee4687572931c99", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/kube-system/nodepools.yaml", + "identity": "452126eef28cc5a74d5e9cc6adf28bd1", + "severity": "warning", + "entity": "amd64-fallback", + "message": "NodePool \"amd64-fallback\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "51be2ae2452ee0c58327b5661ee4687572931c99", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/kube-system/nodepools.yaml", + "identity": "c1b2ce6ee18e28701ec5d526c5abebe0", + "severity": "warning", + "entity": "amd64-fallback", + "message": "[amd64-fallback] NodePool \"amd64-fallback\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "51be2ae2452ee0c58327b5661ee4687572931c99", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/kube-system/nodepools.yaml", + "identity": "83cbceb54d1d423847d08775182f50f0", + "severity": "warning", + "entity": "amd64-latest", + "message": "[amd64-latest] NodePool \"amd64-latest\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "b3e219d7ad4eb87e9f6158be4c81f6d9741aa358", + "check": "audit", + "rule": "TF020", + "file": "infra/aws/terraform/prow-build-cluster", + "identity": "38e154e517da5d3242ca160591c8a118", + "severity": "warning", + "entity": "infra.aws.terraform.prow-build-cluster/var.aws_account_id", + "message": "Variable \"var.aws_account_id\" is declared and never referenced in its module. Delete it, or reference it where it was meant to be used.", + "label": "debatable", + "reason": "@rule-TF020" + }, + { + "change": "b3e219d7ad4eb87e9f6158be4c81f6d9741aa358", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/kube-system/nodepools.yaml", + "identity": "3cca6bdb90e2c889a2aeb43bd7b9d4a0", + "severity": "warning", + "entity": "amd64", + "message": "NodePool \"amd64\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "b3e219d7ad4eb87e9f6158be4c81f6d9741aa358", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/kube-system/nodepools.yaml", + "identity": "1a83b3aff504dfe6a06b362f51dc9f1b", + "severity": "warning", + "entity": "arm64", + "message": "NodePool \"arm64\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "b3e219d7ad4eb87e9f6158be4c81f6d9741aa358", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/kube-system/nodepools.yaml", + "identity": "87f0065b9cc7478746da981be3958f3a", + "severity": "warning", + "entity": "amd64", + "message": "[amd64] NodePool \"amd64\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "b3e219d7ad4eb87e9f6158be4c81f6d9741aa358", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/eks-prow-build/kube-system/nodepools.yaml", + "identity": "65a94e2ff7f485b0d87f988f3134f11c", + "severity": "warning", + "entity": "arm64", + "message": "[arm64] NodePool \"arm64\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "a3d234539e49d3de5d78cf0acfc18dea1acabee5", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow/prow/external-secrets.yaml", + "identity": "38af4e93d565afd75ac407e3c77f83c0", + "severity": "warning", + "entity": "github-credentials", + "message": "ExternalSecret \"github-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "a3d234539e49d3de5d78cf0acfc18dea1acabee5", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow/prow/external-secrets.yaml", + "identity": "d8d612c94bc078b93248e659eb4d6a2c", + "severity": "warning", + "entity": "github-credentials", + "message": "[github-credentials] ExternalSecret \"github-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/builds.json", + "identity": "460b9164bb3ae910c8427f1cfe7194ae", + "severity": "warning", + "entity": "96Q8oOOZk-aws", + "message": "[96Q8oOOZk-aws] Dashboard \"Builds (AWS)\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for one tha", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF104", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/builds.json", + "identity": "829420b1ff3774d7baa952c135f8024c", + "severity": "error", + "entity": "96Q8oOOZk-aws", + "message": "[96Q8oOOZk-aws] Dashboard \"Builds (AWS)\" has 2 panels with id 124.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/builds.json", + "identity": "d577f28682b4eb1b5077796e6000c770", + "severity": "warning", + "entity": "96Q8oOOZk-aws", + "message": "[96Q8oOOZk-aws] Dashboard \"Builds (AWS)\" /panels/1/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/builds.json", + "identity": "d677f41909679a5ed8f1b0ef836fff6d", + "severity": "warning", + "entity": "96Q8oOOZk-aws", + "message": "[96Q8oOOZk-aws] Dashboard \"Builds (AWS)\" /panels/5/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/builds.json", + "identity": "d377ef60754fac96051a28a069ffcadb", + "severity": "warning", + "entity": "96Q8oOOZk-aws", + "message": "[96Q8oOOZk-aws] Dashboard \"Builds (AWS)\" /panels/6/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/jobs.json", + "identity": "f9dbb9a59a7f1fea93383925f2c70caa", + "severity": "warning", + "entity": "53g2x7OZz-aws", + "message": "[53g2x7OZz-aws] Dashboard \"Jobs (AWS)\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for one that ", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF104", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/jobs.json", + "identity": "43d92e08c651eefb1ed284d0d7b9e41d", + "severity": "error", + "entity": "53g2x7OZz-aws", + "message": "[53g2x7OZz-aws] Dashboard \"Jobs (AWS)\" has 2 panels with id 124.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF105", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/jobs.json", + "identity": "9c8f44113e9c157dda3848715b7dca09", + "severity": "warning", + "entity": "53g2x7OZz-aws", + "message": "[53g2x7OZz-aws] Dashboard \"Jobs (AWS)\" panel \"Running Jobs\" (id 124) overlaps panel \"Memory Usage per Job\" (id 299); Grafana will move one of them.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/jobs.json", + "identity": "2e74a56b2168b3ef9f009f3b900d80fa", + "severity": "warning", + "entity": "53g2x7OZz-aws", + "message": "[53g2x7OZz-aws] Dashboard \"Jobs (AWS)\" /panels/3/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/jobs.json", + "identity": "2d74a3d8a81b4331f30e4212ef66c897", + "severity": "warning", + "entity": "53g2x7OZz-aws", + "message": "[53g2x7OZz-aws] Dashboard \"Jobs (AWS)\" /panels/4/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/jobs.json", + "identity": "3074a8912ecdf2741517a589380bb924", + "severity": "warning", + "entity": "53g2x7OZz-aws", + "message": "[53g2x7OZz-aws] Dashboard \"Jobs (AWS)\" /panels/5/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/jobs.json", + "identity": "2f74a6feb58081b6997d1d90d115d6c2", + "severity": "warning", + "entity": "53g2x7OZz-aws", + "message": "[53g2x7OZz-aws] Dashboard \"Jobs (AWS)\" /panels/8/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/jobs.json", + "identity": "3274abb73c3330f9deeb6d77a13f3132", + "severity": "warning", + "entity": "53g2x7OZz-aws", + "message": "[53g2x7OZz-aws] Dashboard \"Jobs (AWS)\" /panels/11/panels/0/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/jobs.json", + "identity": "3174aa24c2e5c03b3162d18ecd635e69", + "severity": "warning", + "entity": "53g2x7OZz-aws", + "message": "[53g2x7OZz-aws] Dashboard \"Jobs (AWS)\" /panels/11/panels/1/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/organizations.json", + "identity": "65cbb772a67be4ef67dfde4a2817ba14", + "severity": "warning", + "entity": "o0Yjv7OZz-aws", + "message": "[o0Yjv7OZz-aws] Dashboard \"Organisations (AWS)\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for ", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF104", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/organizations.json", + "identity": "7d7ce01f2e2abce2aa089b2f36ed1ec5", + "severity": "error", + "entity": "o0Yjv7OZz-aws", + "message": "[o0Yjv7OZz-aws] Dashboard \"Organisations (AWS)\" has 2 panels with id 124.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF105", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/organizations.json", + "identity": "086115fe15bd20547693ba560ece8b22", + "severity": "warning", + "entity": "o0Yjv7OZz-aws", + "message": "[o0Yjv7OZz-aws] Dashboard \"Organisations (AWS)\" panel \"Running Jobs\" (id 124) overlaps panel \"Memory Usage per Organisation\" (id 140); Grafana will move one of them.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/organizations.json", + "identity": "00b91398bf5a5606e2d623e036771e21", + "severity": "warning", + "entity": "o0Yjv7OZz-aws", + "message": "[o0Yjv7OZz-aws] Dashboard \"Organisations (AWS)\" /panels/3/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/organizations.json", + "identity": "01b9152b38a7a6c49500ef196af94993", + "severity": "warning", + "entity": "o0Yjv7OZz-aws", + "message": "[o0Yjv7OZz-aws] Dashboard \"Organisations (AWS)\" /panels/4/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/organizations.json", + "identity": "02b916beccbf948b18ec4b0ec60732b1", + "severity": "warning", + "entity": "o0Yjv7OZz-aws", + "message": "[o0Yjv7OZz-aws] Dashboard \"Organisations (AWS)\" /panels/5/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/organizations.json", + "identity": "03b91851460ce549a24a43efae8cfbe0", + "severity": "warning", + "entity": "o0Yjv7OZz-aws", + "message": "[o0Yjv7OZz-aws] Dashboard \"Organisations (AWS)\" /panels/8/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/repositories.json", + "identity": "dcc0b2ecad094e727cdde4b4cedaa3bf", + "severity": "warning", + "entity": "RWJSA7dWk-aws", + "message": "[RWJSA7dWk-aws] Dashboard \"Repositories (AWS)\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for o", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/repositories.json", + "identity": "2ac7011ac3d879a651fa17f236887917", + "severity": "warning", + "entity": "RWJSA7dWk-aws", + "message": "[RWJSA7dWk-aws] Dashboard \"Repositories (AWS)\" /panels/3/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/repositories.json", + "identity": "2bc702ad4a8b08e97c1486ab67767716", + "severity": "warning", + "entity": "RWJSA7dWk-aws", + "message": "[RWJSA7dWk-aws] Dashboard \"Repositories (AWS)\" /panels/4/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/repositories.json", + "identity": "28c6fdf4b6733b21ed01a138b5a59b9c", + "severity": "warning", + "entity": "RWJSA7dWk-aws", + "message": "[RWJSA7dWk-aws] Dashboard \"Repositories (AWS)\" /panels/7/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-aws/repositories.json", + "identity": "29c6ff873d25ca64d645e3610fb672ce", + "severity": "warning", + "entity": "RWJSA7dWk-aws", + "message": "[RWJSA7dWk-aws] Dashboard \"Repositories (AWS)\" /panels/8/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/builds.json", + "identity": "1aedd1d9b5f0a5d76f5eb4897d6ce976", + "severity": "warning", + "entity": "96Q8oOOZk-gcp", + "message": "[96Q8oOOZk-gcp] Dashboard \"Builds (GCP)\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for one tha", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF104", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/builds.json", + "identity": "31eed9042ae88060d0205f3ca86848e9", + "severity": "error", + "entity": "96Q8oOOZk-gcp", + "message": "[96Q8oOOZk-gcp] Dashboard \"Builds (GCP)\" has 2 panels with id 124.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/builds.json", + "identity": "817f56eb10920dfc4640772b9e98d651", + "severity": "warning", + "entity": "96Q8oOOZk-gcp", + "message": "[96Q8oOOZk-gcp] Dashboard \"Builds (GCP)\" /panels/1/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/builds.json", + "identity": "807f555889df7eb92c4d9962ae1ce7fd", + "severity": "warning", + "entity": "96Q8oOOZk-gcp", + "message": "[96Q8oOOZk-gcp] Dashboard \"Builds (GCP)\" /panels/5/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/builds.json", + "identity": "837f5a11032ccf77f4bf45ad8daf2e44", + "severity": "warning", + "entity": "96Q8oOOZk-gcp", + "message": "[96Q8oOOZk-gcp] Dashboard \"Builds (GCP)\" /panels/6/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/jobs.json", + "identity": "761173083aa2a813614af6d0fadc5747", + "severity": "warning", + "entity": "53g2x7OZz-gcp", + "message": "[53g2x7OZz-gcp] Dashboard \"Jobs (GCP)\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for one that ", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF104", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/jobs.json", + "identity": "d0ced89d28903b9c2e7ee53d5673a2e3", + "severity": "error", + "entity": "53g2x7OZz-gcp", + "message": "[53g2x7OZz-gcp] Dashboard \"Jobs (GCP)\" has 2 panels with id 124.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF105", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/jobs.json", + "identity": "a095086492003ddda369008cd862c92e", + "severity": "warning", + "entity": "53g2x7OZz-gcp", + "message": "[53g2x7OZz-gcp] Dashboard \"Jobs (GCP)\" panel \"Running Jobs\" (id 124) overlaps panel \"Memory Usage per Job\" (id 299); Grafana will move one of them.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/jobs.json", + "identity": "31c2f126526800ef1af807be3c244a9c", + "severity": "warning", + "entity": "53g2x7OZz-gcp", + "message": "[53g2x7OZz-gcp] Dashboard \"Jobs (GCP)\" /panels/3/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/jobs.json", + "identity": "32c2f2b9cbb571acd8fbe13f17487d39", + "severity": "warning", + "entity": "53g2x7OZz-gcp", + "message": "[53g2x7OZz-gcp] Dashboard \"Jobs (GCP)\" /panels/4/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/jobs.json", + "identity": "2fc2ee004502c26a80083e849c18e294", + "severity": "warning", + "entity": "53g2x7OZz-gcp", + "message": "[53g2x7OZz-gcp] Dashboard \"Jobs (GCP)\" /panels/5/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/jobs.json", + "identity": "30c2ef93be503327a9297dfd2383188d", + "severity": "warning", + "entity": "53g2x7OZz-gcp", + "message": "[53g2x7OZz-gcp] Dashboard \"Jobs (GCP)\" /panels/8/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/jobs.json", + "identity": "35c2f772379d83e517c7f4aaf4f97702", + "severity": "warning", + "entity": "53g2x7OZz-gcp", + "message": "[53g2x7OZz-gcp] Dashboard \"Jobs (GCP)\" /panels/11/panels/0/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/jobs.json", + "identity": "36c2f905b0eaf4a2faecbe4bea4798b5", + "severity": "warning", + "entity": "53g2x7OZz-gcp", + "message": "[53g2x7OZz-gcp] Dashboard \"Jobs (GCP)\" /panels/11/panels/1/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/organizations.json", + "identity": "94700307809ca87f80f694f7ebe9b54f", + "severity": "warning", + "entity": "o0Yjv7OZz-gcp", + "message": "[o0Yjv7OZz-gcp] Dashboard \"Organisations (GCP)\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for ", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF104", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/organizations.json", + "identity": "88c4a20a859f8612fd6483a25ddd6fc4", + "severity": "error", + "entity": "o0Yjv7OZz-gcp", + "message": "[o0Yjv7OZz-gcp] Dashboard \"Organisations (GCP)\" has 2 panels with id 124.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF105", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/organizations.json", + "identity": "be711883692d6183401da713c556c3d0", + "severity": "warning", + "entity": "o0Yjv7OZz-gcp", + "message": "[o0Yjv7OZz-gcp] Dashboard \"Organisations (GCP)\" panel \"Running Jobs\" (id 124) overlaps panel \"Memory Usage per Organisation\" (id 140); Grafana will move one of them.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/organizations.json", + "identity": "187bc58da103f5de4d83f2ed649abd56", + "severity": "warning", + "entity": "o0Yjv7OZz-gcp", + "message": "[o0Yjv7OZz-gcp] Dashboard \"Organisations (GCP)\" /panels/3/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/organizations.json", + "identity": "177bc3fa27b68521a4f01974893c494e", + "severity": "warning", + "entity": "o0Yjv7OZz-gcp", + "message": "[o0Yjv7OZz-gcp] Dashboard \"Organisations (GCP)\" /panels/4/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/organizations.json", + "identity": "167bc267939eb759e27637cb2e07b5d0", + "severity": "warning", + "entity": "o0Yjv7OZz-gcp", + "message": "[o0Yjv7OZz-gcp] Dashboard \"Organisations (GCP)\" /panels/5/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/organizations.json", + "identity": "157bc0d41a51469cf5a62c622c7d1ee6", + "severity": "warning", + "entity": "o0Yjv7OZz-gcp", + "message": "[o0Yjv7OZz-gcp] Dashboard \"Organisations (GCP)\" /panels/8/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/repositories.json", + "identity": "51a25c419ec151b6f7bb0921c517d1c5", + "severity": "warning", + "entity": "RWJSA7dWk-gcp", + "message": "[RWJSA7dWk-gcp] Dashboard \"Repositories (GCP)\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for o", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/repositories.json", + "identity": "03a9fdaf509a907d909ff41f5d4bf96c", + "severity": "warning", + "entity": "RWJSA7dWk-gcp", + "message": "[RWJSA7dWk-gcp] Dashboard \"Repositories (GCP)\" /panels/3/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/repositories.json", + "identity": "02a9fc1cc9e7e13aebd4218ede11a560", + "severity": "warning", + "entity": "RWJSA7dWk-gcp", + "message": "[RWJSA7dWk-gcp] Dashboard \"Repositories (GCP)\" /panels/4/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/repositories.json", + "identity": "05aa00d5433551f8172d62e5222eaa57", + "severity": "warning", + "entity": "RWJSA7dWk-gcp", + "message": "[RWJSA7dWk-gcp] Dashboard \"Repositories (GCP)\" /panels/7/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards-gcp/repositories.json", + "identity": "04a9ff42bc82a2b566c5a1dc7412d7ab", + "severity": "warning", + "entity": "RWJSA7dWk-gcp", + "message": "[RWJSA7dWk-gcp] Dashboard \"Repositories (GCP)\" /panels/8/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/monitoring/dashboards.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/monitoring/dashboards.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/monitoring/dashboards.yaml", + "identity": "8775027d408f16c710903001b49bb23e", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-utility/monitoring/dashboards.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'configMapProwDashboards' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-utility/monitoring/dashboards.yaml", + "identity": "64a23f47cfac423912c0f4f100b034f8", + "severity": "warning", + "message": "Exported declarable 'configMapProwDashboardsGcp' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-utility/monitoring/dashboards.yaml", + "identity": "65a240da565ef17ca7f7f1ce12271476", + "severity": "warning", + "message": "Exported declarable 'configMapProwDashboardsAws' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards/builds.json", + "identity": "e51c4a988b11dab256dc1380101c0e7c", + "severity": "warning", + "entity": "96Q8oOOZk", + "message": "[96Q8oOOZk] Dashboard \"Builds\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for one that already ", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF104", + "file": "kubernetes/gke-utility/monitoring/dashboards/builds.json", + "identity": "ec455bf11e50924b74bda2b16eb28e14", + "severity": "error", + "entity": "96Q8oOOZk", + "message": "[96Q8oOOZk] Dashboard \"Builds\" has 2 panels with id 124.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards/builds.json", + "identity": "e06921d2be246ab918742a6a21f45445", + "severity": "warning", + "entity": "96Q8oOOZk", + "message": "[96Q8oOOZk] Dashboard \"Builds\" /panels/1/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards/builds.json", + "identity": "e169236544d719fc40bbf72ffa367f85", + "severity": "warning", + "entity": "96Q8oOOZk", + "message": "[96Q8oOOZk] Dashboard \"Builds\" /panels/5/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards/builds.json", + "identity": "de691eacb0bf2c34eeb4b2a4089de6d3", + "severity": "warning", + "entity": "96Q8oOOZk", + "message": "[96Q8oOOZk] Dashboard \"Builds\" /panels/6/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards/jobs.json", + "identity": "663edd8514dca61404fb5f9584eb5719", + "severity": "warning", + "entity": "53g2x7OZz", + "message": "[53g2x7OZz] Dashboard \"Jobs\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for one that already ex", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF104", + "file": "kubernetes/gke-utility/monitoring/dashboards/jobs.json", + "identity": "33ff489c81ca8b4c8e3da9548568d6df", + "severity": "error", + "entity": "53g2x7OZz", + "message": "[53g2x7OZz] Dashboard \"Jobs\" has 2 panels with id 124.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF105", + "file": "kubernetes/gke-utility/monitoring/dashboards/jobs.json", + "identity": "7efd1b518c1098085691c8215022f7a9", + "severity": "warning", + "entity": "53g2x7OZz", + "message": "[53g2x7OZz] Dashboard \"Jobs\" panel \"Running Jobs\" (id 124) overlaps panel \"Memory Usage per Job\" (id 299); Grafana will move one of them.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards/jobs.json", + "identity": "f74d14abd029fa848d7ecaabf13fb8c9", + "severity": "warning", + "entity": "53g2x7OZz", + "message": "[53g2x7OZz] Dashboard \"Jobs\" /panels/3/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards/jobs.json", + "identity": "f64d131856dc89c756b7fa4eddfde856", + "severity": "warning", + "entity": "53g2x7OZz", + "message": "[53g2x7OZz] Dashboard \"Jobs\" /panels/4/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards/jobs.json", + "identity": "f94d17d1c2c4bbfffdac39498231d409", + "severity": "warning", + "entity": "53g2x7OZz", + "message": "[53g2x7OZz] Dashboard \"Jobs\" /panels/5/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards/jobs.json", + "identity": "f84d163e49774b42a298a19445f914a1", + "severity": "warning", + "entity": "53g2x7OZz", + "message": "[53g2x7OZz] Dashboard \"Jobs\" /panels/8/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards/jobs.json", + "identity": "fb4d1af7eaf4778ebb3479c7f0c31c60", + "severity": "warning", + "entity": "53g2x7OZz", + "message": "[53g2x7OZz] Dashboard \"Jobs\" /panels/11/panels/0/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards/jobs.json", + "identity": "fa4d196471a706d13ca06e8a8df9ea3f", + "severity": "warning", + "entity": "53g2x7OZz", + "message": "[53g2x7OZz] Dashboard \"Jobs\" /panels/11/panels/1/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards/organizations.json", + "identity": "43e9506e4a50e486864a8f164897942e", + "severity": "warning", + "entity": "o0Yjv7OZz", + "message": "[o0Yjv7OZz] Dashboard \"Organisations\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for one that a", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF104", + "file": "kubernetes/gke-utility/monitoring/dashboards/organizations.json", + "identity": "81c4d8cf4b15f096fb3abbef625c1f63", + "severity": "error", + "entity": "o0Yjv7OZz", + "message": "[o0Yjv7OZz] Dashboard \"Organisations\" has 2 panels with id 124.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF105", + "file": "kubernetes/gke-utility/monitoring/dashboards/organizations.json", + "identity": "8c00dc3a9d0d19b402b90942cd5f13f0", + "severity": "warning", + "entity": "o0Yjv7OZz", + "message": "[o0Yjv7OZz] Dashboard \"Organisations\" panel \"Running Jobs\" (id 124) overlaps panel \"Memory Usage per Organisation\" (id 140); Grafana will move one of them.", + "label": "debatable", + "reason": "@graf-copied" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards/organizations.json", + "identity": "5b60646cc384e91cacbf0e641633623c", + "severity": "warning", + "entity": "o0Yjv7OZz", + "message": "[o0Yjv7OZz] Dashboard \"Organisations\" /panels/3/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards/organizations.json", + "identity": "5c6065ff4a37985fa4f40ed933fa3aaf", + "severity": "warning", + "entity": "o0Yjv7OZz", + "message": "[o0Yjv7OZz] Dashboard \"Organisations\" /panels/4/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards/organizations.json", + "identity": "5d606792b61faa9702dd500a8b602570", + "severity": "warning", + "entity": "o0Yjv7OZz", + "message": "[o0Yjv7OZz] Dashboard \"Organisations\" /panels/5/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards/organizations.json", + "identity": "5e6069253cd259dad8615a2f2e537e14", + "severity": "warning", + "entity": "o0Yjv7OZz", + "message": "[o0Yjv7OZz] Dashboard \"Organisations\" /panels/8/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF101", + "file": "kubernetes/gke-utility/monitoring/dashboards/repositories.json", + "identity": "469647d01012a4fdee7f3348f00c4284", + "severity": "warning", + "entity": "RWJSA7dWk", + "message": "[RWJSA7dWk] Dashboard \"Repositories\" uses datasource variables of type prometheus, but the build declares no datasource, so GRAF101 and GRAF102 cannot check it. Declare a Datasource to provision one, or an ExternalDatasource for one that al", + "label": "noise", + "reason": "@rule-GRAF101" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards/repositories.json", + "identity": "ec8c2c26dcb9e9e779d0cbae26ab53a6", + "severity": "warning", + "entity": "RWJSA7dWk", + "message": "[RWJSA7dWk] Dashboard \"Repositories\" /panels/3/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards/repositories.json", + "identity": "ed8c2db9636c992af775b45b1a444d44", + "severity": "warning", + "entity": "RWJSA7dWk", + "message": "[RWJSA7dWk] Dashboard \"Repositories\" /panels/4/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards/repositories.json", + "identity": "ea8c2900cf54ab62f1d2e56ca8dbb8f1", + "severity": "warning", + "entity": "RWJSA7dWk", + "message": "[RWJSA7dWk] Dashboard \"Repositories\" /panels/7/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "61532435e90553fceb3376c84e05ad6946429eb8", + "check": "lint", + "rule": "GRAF107", + "file": "kubernetes/gke-utility/monitoring/dashboards/repositories.json", + "identity": "eb8c2a9356075aa58ac22a51b1d818af", + "severity": "warning", + "entity": "RWJSA7dWk", + "message": "[RWJSA7dWk] Dashboard \"Repositories\" /panels/8/options: unknown key \"dataLinks\" (not in the pinned schema) (Grafana schema).", + "label": "noise", + "reason": "@rule-GRAF107" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/apps/elekto.yaml", + "identity": "656a66e1bdc7bf17101a4d617175890d", + "severity": "warning", + "entity": "elekto", + "message": "Application \"elekto\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-aaa/elekto/configmap.yaml", + "identity": "cb1a24321d46e6cec027f6daf90675c4", + "severity": "warning", + "entity": "elekto-config", + "message": "ConfigMap \"elekto-config\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-aaa/elekto/externalsecrets.yaml", + "identity": "fa8079946709416bc97de70c155840f1", + "severity": "warning", + "entity": "elekto-secret", + "message": "ExternalSecret \"elekto-secret\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-aaa/elekto/frontendconfig.yaml", + "identity": "60ec1d1eb1788805817c03f6765084f2", + "severity": "warning", + "entity": "elekto-ingress-security", + "message": "FrontendConfig \"elekto-ingress-security\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "audit", + "rule": "WK8104", + "file": "kubernetes/gke-aaa/elekto/deployment.yaml", + "identity": "0f800dfea32f0daff1d176762963784a", + "severity": "warning", + "entity": "elekto", + "message": "Container \"elekto\" in Deployment \"elekto\" has an unnamed port (containerPort: 8080) \u2014 add a name for clarity", + "label": "debatable", + "reason": "@rule-WK8104" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "audit", + "rule": "WK8201", + "file": "kubernetes/gke-aaa/elekto/deployment.yaml", + "identity": "36e3745c854f13823a2a7ce46f00163c", + "severity": "warning", + "entity": "elekto", + "message": "Container \"elekto\" in Deployment \"elekto\" is missing resource limits for cpu", + "label": "debatable", + "reason": "@rule-WK8201" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "audit", + "rule": "WK8203", + "file": "kubernetes/gke-aaa/elekto/deployment.yaml", + "identity": "794173528260915900f21f0a17a51d6a", + "severity": "warning", + "entity": "elekto", + "message": "Container \"elekto\" in Deployment \"elekto\" does not set readOnlyRootFilesystem: true \u2014 set it to reduce the attack surface", + "label": "debatable", + "reason": "@elekto" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "audit", + "rule": "WK8204", + "file": "kubernetes/gke-aaa/elekto/deployment.yaml", + "identity": "150a56bf428dd3e1dfe9e82f2a2d72e1", + "severity": "warning", + "entity": "elekto", + "message": "Container \"elekto\" in Deployment \"elekto\" does not set runAsNonRoot: true \u2014 set it at container or pod level", + "label": "debatable", + "reason": "@elekto" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "audit", + "rule": "WK8205", + "file": "kubernetes/gke-aaa/elekto/deployment.yaml", + "identity": "d56817a0f62a0df01fd08da88211d415", + "severity": "warning", + "entity": "elekto", + "message": "Container \"elekto\" in Deployment \"elekto\" does not drop ALL capabilities \u2014 add securityContext.capabilities.drop: [\"ALL\"]", + "label": "debatable", + "reason": "@elekto" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "audit", + "rule": "WK8301", + "file": "kubernetes/gke-aaa/elekto/deployment.yaml", + "identity": "016b5ae39d917490026c9653040c63d7", + "severity": "warning", + "entity": "elekto", + "message": "Container \"elekto\" in Deployment \"elekto\" is missing livenessProbe", + "label": "debatable", + "reason": "@rule-WK8301" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "audit", + "rule": "WK8302", + "file": "kubernetes/gke-aaa/elekto/deployment.yaml", + "identity": "ecf045900ef3997814014a3890ebaeeb", + "severity": "info", + "entity": "elekto", + "message": "Deployment \"elekto\" has 1 replica(s) \u2014 consider at least 2 for high availability", + "label": "debatable", + "reason": "@rule-WK8302" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/apps/elekto.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/apps/elekto.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/apps/elekto.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'applicationElekto' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "ARGO003", + "file": "kubernetes/apps/elekto.yaml", + "identity": "311d7bee3bf4011fee33a4861fb441b8", + "severity": "error", + "entity": "elekto", + "message": "[elekto] Application \"elekto\" targets cluster name \"gke-aaa\", which is not registered. Register it with a cluster Secret or use the in-cluster target.", + "label": "noise", + "reason": "@rule-ARGO003" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "ARGO005", + "file": "kubernetes/apps/elekto.yaml", + "identity": "de695f4486753bd6b61e560c93394dbd", + "severity": "warning", + "entity": "elekto", + "message": "[elekto] Application \"elekto\" source.path \"kubernetes/gke-aaa/elekto\" does not resolve to a directory under the build root. Confirm the path (or ignore if it lives in a different repo).", + "label": "noise", + "reason": "@rule-ARGO005" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/apps/elekto.yaml", + "identity": "1770c169c59f88727bc63589c9433ca8", + "severity": "warning", + "entity": "elekto", + "message": "[elekto] Application \"elekto\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/gke-aaa/elekto/certificate.yaml", + "identity": "91a4f79df9cd6dbb7558d06d7a4c2a5f", + "severity": "warning", + "message": "Hardcoded namespace \"elekto\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-aaa/elekto/configmap.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-aaa/elekto/configmap.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-aaa/elekto/configmap.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'configMapElektoConfig' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/gke-aaa/elekto/configmap.yaml", + "identity": "91a4f79df9cd6dbb7558d06d7a4c2a5f", + "severity": "warning", + "message": "Hardcoded namespace \"elekto\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-aaa/elekto/configmap.yaml", + "identity": "214b98cc6c7884f70d7047042154a63c", + "severity": "warning", + "entity": "elekto-config", + "message": "[elekto-config] ConfigMap \"elekto-config\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-aaa/elekto/deployment.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-aaa/elekto/deployment.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-aaa/elekto/deployment.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'deploymentElekto' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/gke-aaa/elekto/deployment.yaml", + "identity": "91a4f79df9cd6dbb7558d06d7a4c2a5f", + "severity": "warning", + "message": "Hardcoded namespace \"elekto\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "WK8104", + "file": "kubernetes/gke-aaa/elekto/deployment.yaml", + "identity": "89b90a890d0e111f579f0549201a4ba1", + "severity": "warning", + "entity": "elekto", + "message": "[elekto] Container \"elekto\" in Deployment \"elekto\" has an unnamed port (containerPort: 8080) \u2014 add a name for clarity", + "label": "debatable", + "reason": "@rule-WK8104" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "WK8201", + "file": "kubernetes/gke-aaa/elekto/deployment.yaml", + "identity": "f2779a5bc11c175d2f8e806bcd2521f8", + "severity": "warning", + "entity": "elekto", + "message": "[elekto] Container \"elekto\" in Deployment \"elekto\" is missing resource limits for cpu", + "label": "debatable", + "reason": "@rule-WK8201" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "WK8203", + "file": "kubernetes/gke-aaa/elekto/deployment.yaml", + "identity": "d79e4d35ff4dc828754dfff5199b1ee5", + "severity": "warning", + "entity": "elekto", + "message": "[elekto] Container \"elekto\" in Deployment \"elekto\" does not set readOnlyRootFilesystem: true \u2014 set it to reduce the attack surface", + "label": "debatable", + "reason": "@elekto" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "WK8204", + "file": "kubernetes/gke-aaa/elekto/deployment.yaml", + "identity": "d5406828672db2c8c9c31cd06e27faa0", + "severity": "warning", + "entity": "elekto", + "message": "[elekto] Container \"elekto\" in Deployment \"elekto\" does not set runAsNonRoot: true \u2014 set it at container or pod level", + "label": "debatable", + "reason": "@elekto" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "WK8205", + "file": "kubernetes/gke-aaa/elekto/deployment.yaml", + "identity": "94cbb057bf2919f304c4f567b367c02a", + "severity": "warning", + "entity": "elekto", + "message": "[elekto] Container \"elekto\" in Deployment \"elekto\" does not drop ALL capabilities \u2014 add securityContext.capabilities.drop: [\"ALL\"]", + "label": "debatable", + "reason": "@elekto" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "WK8301", + "file": "kubernetes/gke-aaa/elekto/deployment.yaml", + "identity": "8c96fdf4ef0aa9b798832b1ced8ab895", + "severity": "warning", + "entity": "elekto", + "message": "[elekto] Container \"elekto\" in Deployment \"elekto\" is missing livenessProbe", + "label": "debatable", + "reason": "@rule-WK8301" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "WK8302", + "file": "kubernetes/gke-aaa/elekto/deployment.yaml", + "identity": "017431ebf5bc775ac62148fb2b4de539", + "severity": "info", + "entity": "elekto", + "message": "[elekto] Deployment \"elekto\" has 1 replica(s) \u2014 consider at least 2 for high availability", + "label": "debatable", + "reason": "@rule-WK8302" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "WK8503", + "file": "kubernetes/gke-aaa/elekto/deployment.yaml", + "identity": "ef8d45be407985b06016d7564b200501", + "severity": "error", + "entity": "elekto", + "message": "[elekto] Deployment \"elekto\" consumes Secret \"elekto-secret\" (via envFrom.secretRef), but nothing in the build output produces it \u2014 the pod will fail at start. Produce it in this build, or declare its provenance: declareSecret({ name: \"elek", + "label": "noise", + "reason": "@rule-WK8503" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-aaa/elekto/externalsecrets.yaml", + "identity": "481bfc2e3c817302830c6046a211dcd1", + "severity": "warning", + "entity": "elekto-secret", + "message": "[elekto-secret] ExternalSecret \"elekto-secret\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/gke-aaa/elekto/frontendconfig.yaml", + "identity": "91a4f79df9cd6dbb7558d06d7a4c2a5f", + "severity": "warning", + "message": "Hardcoded namespace \"elekto\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-aaa/elekto/frontendconfig.yaml", + "identity": "beb02c262fc253418e0eb28e1f5e56d1", + "severity": "warning", + "entity": "elekto-ingress-security", + "message": "[elekto-ingress-security] FrontendConfig \"elekto-ingress-security\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-aaa/elekto/ingress.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-aaa/elekto/ingress.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-aaa/elekto/ingress.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'ingressElekto' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/gke-aaa/elekto/ingress.yaml", + "identity": "91a4f79df9cd6dbb7558d06d7a4c2a5f", + "severity": "warning", + "message": "Hardcoded namespace \"elekto\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-aaa/elekto/service.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-aaa/elekto/service.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-aaa/elekto/service.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'serviceElekto' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "5820c36e7c9f6de823461947ca3c917191708a5e", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/gke-aaa/elekto/service.yaml", + "identity": "91a4f79df9cd6dbb7558d06d7a4c2a5f", + "severity": "warning", + "message": "Hardcoded namespace \"elekto\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "680aed6f72075cee8298611b0cb2c31b88467def", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/apps/monitoring.yaml", + "identity": "769e79ce8b32626b67df8e482aae0286", + "severity": "warning", + "entity": "monitoring", + "message": "ApplicationSet \"monitoring\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "680aed6f72075cee8298611b0cb2c31b88467def", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-utility/monitoring/httproute.yaml", + "identity": "0d55d959ab645b4eaf6e50492648f0b4", + "severity": "warning", + "entity": "grafana", + "message": "HTTPRoute \"grafana\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "680aed6f72075cee8298611b0cb2c31b88467def", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-utility/monitoring/secrets.yaml", + "identity": "5164476c3eed6a0b084d3644642292b7", + "severity": "warning", + "entity": "grafana-credentials", + "message": "ExternalSecret \"grafana-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "680aed6f72075cee8298611b0cb2c31b88467def", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-utility/monitoring/secrets.yaml", + "identity": "d1348fd6ef251e299a6f092e42539332", + "severity": "warning", + "entity": "mimir-credentials", + "message": "ExternalSecret \"mimir-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "680aed6f72075cee8298611b0cb2c31b88467def", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/apps/monitoring.yaml", + "identity": "8775027d408f16c710903001b49bb23e", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "680aed6f72075cee8298611b0cb2c31b88467def", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/apps/monitoring.yaml", + "identity": "867500eab9dc67840671c5f850d2b06b", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "680aed6f72075cee8298611b0cb2c31b88467def", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/apps/monitoring.yaml", + "identity": "64a23f47cfac423912c0f4f100b034f8", + "severity": "warning", + "message": "Exported declarable 'applicationSetMonitoring' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "680aed6f72075cee8298611b0cb2c31b88467def", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/monitoring/httproute.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "680aed6f72075cee8298611b0cb2c31b88467def", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/monitoring/httproute.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "680aed6f72075cee8298611b0cb2c31b88467def", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-utility/monitoring/httproute.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'hTTPRouteGrafana' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "680aed6f72075cee8298611b0cb2c31b88467def", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/gke-utility/monitoring/httproute.yaml", + "identity": "91a4f79df9cd6dbb7558d06d7a4c2a5f", + "severity": "warning", + "message": "Hardcoded namespace \"monitoring\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "680aed6f72075cee8298611b0cb2c31b88467def", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-utility/monitoring/httproute.yaml", + "identity": "d350f24bff953714875354cbfa456b28", + "severity": "warning", + "entity": "grafana", + "message": "[grafana] HTTPRoute \"grafana\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "680aed6f72075cee8298611b0cb2c31b88467def", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-utility/monitoring/secrets.yaml", + "identity": "a13145fe80864a90a3812386e02bb1bf", + "severity": "warning", + "entity": "grafana-credentials", + "message": "[grafana-credentials] ExternalSecret \"grafana-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "680aed6f72075cee8298611b0cb2c31b88467def", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-utility/monitoring/secrets.yaml", + "identity": "4b5ab8945c68ac84f48f5cfc6d0fe16b", + "severity": "warning", + "entity": "mimir-credentials", + "message": "[mimir-credentials] ExternalSecret \"mimir-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "dd56ee51e09623f23e2f47bd061193207a0a17f8", + "check": "audit", + "rule": "TF011", + "file": "infra/ibmcloud/terraform/k8s-s390x-conformance", + "identity": "63017f05981f872d20b6dc751292101c", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-s390x-conformance/module.vpc/var.name", + "message": "Variable \"name\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Callers: infra.ibm", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "dd56ee51e09623f23e2f47bd061193207a0a17f8", + "check": "audit", + "rule": "TF011", + "file": "infra/ibmcloud/terraform/k8s-s390x-conformance", + "identity": "05dc3573556ed5a8d650ba0311babb6f", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-s390x-conformance/module.vpc/var.subnet_name", + "message": "Variable \"subnet_name\" declares no `description`, so the module's generated documentation and the variable prompt have nothing to show but the name. Add a description saying what the value is for and what a valid one looks like. Callers: in", + "label": "debatable", + "reason": "@rule-TF011" + }, + { + "change": "dd56ee51e09623f23e2f47bd061193207a0a17f8", + "check": "audit", + "rule": "TF012", + "file": "infra/ibmcloud/terraform/k8s-s390x-conformance", + "identity": "e2080e065ef1b507be79d61e339f8a33", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-s390x-conformance/output.boskos_resource_names", + "message": "Output \"boskos_resource_names\" declares no `description`. Outputs are a module's public interface, so say what the value is and what a caller can rely on it for.", + "label": "debatable", + "reason": "@rule-TF012" + }, + { + "change": "dd56ee51e09623f23e2f47bd061193207a0a17f8", + "check": "audit", + "rule": "TF012", + "file": "infra/ibmcloud/terraform/k8s-s390x-conformance", + "identity": "9c4075bbd41184067b94afdbe0920ceb", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-s390x-conformance/output.boskos_resource_userdata", + "message": "Output \"boskos_resource_userdata\" declares no `description`. Outputs are a module's public interface, so say what the value is and what a caller can rely on it for.", + "label": "debatable", + "reason": "@rule-TF012" + }, + { + "change": "dd56ee51e09623f23e2f47bd061193207a0a17f8", + "check": "audit", + "rule": "TF012", + "file": "infra/ibmcloud/terraform/k8s-s390x-conformance", + "identity": "2776b050c434015357559ea825f46167", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-s390x-conformance/output.boskos_resources_yaml", + "message": "Output \"boskos_resources_yaml\" declares no `description`. Outputs are a module's public interface, so say what the value is and what a caller can rely on it for.", + "label": "debatable", + "reason": "@rule-TF012" + }, + { + "change": "dd56ee51e09623f23e2f47bd061193207a0a17f8", + "check": "audit", + "rule": "TF012", + "file": "infra/ibmcloud/terraform/k8s-s390x-conformance", + "identity": "0a52915ebd51c9bb44d9d116d0f2686e", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-s390x-conformance/module.vpc/output.subnet_name", + "message": "Output \"subnet_name\" declares no `description`. Outputs are a module's public interface, so say what the value is and what a caller can rely on it for. Callers: infra.ibmcloud.terraform.k8s-s390x-conformance -> module.vpc (main.tf:57).", + "label": "debatable", + "reason": "@rule-TF012" + }, + { + "change": "dd56ee51e09623f23e2f47bd061193207a0a17f8", + "check": "audit", + "rule": "TF012", + "file": "infra/ibmcloud/terraform/k8s-s390x-conformance", + "identity": "89f45ebe3b07eb481026c35657878326", + "severity": "info", + "entity": "infra.ibmcloud.terraform.k8s-s390x-conformance/module.vpc/output.vpc_name", + "message": "Output \"vpc_name\" declares no `description`. Outputs are a module's public interface, so say what the value is and what a caller can rely on it for. Callers: infra.ibmcloud.terraform.k8s-s390x-conformance -> module.vpc (main.tf:57).", + "label": "debatable", + "reason": "@rule-TF012" + }, + { + "change": "2bfa0900518f1b0cbd920c646ba34889a46d32d9", + "check": "audit", + "rule": "WK8102", + "file": "infra/aws/terraform/prow-build-cluster/resources/monitoring/prometheus-main/mimir-credentials.yaml", + "identity": "1782a31a7f10955d7bffc452030c1ca1", + "severity": "warning", + "entity": "mimir-credentials", + "message": "ExternalSecret \"mimir-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "2bfa0900518f1b0cbd920c646ba34889a46d32d9", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build/monitoring/secrets.yaml", + "identity": "1074d5233a4b8ced803e4dc3f9c71e65", + "severity": "warning", + "entity": "mimir-credentials", + "message": "ExternalSecret \"mimir-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "2bfa0900518f1b0cbd920c646ba34889a46d32d9", + "check": "lint", + "rule": "WK8001", + "file": "infra/aws/terraform/prow-build-cluster/resources/monitoring/prometheus-main/mimir-credentials.yaml", + "identity": "91a4f79df9cd6dbb7558d06d7a4c2a5f", + "severity": "warning", + "message": "Hardcoded namespace \"monitoring\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "2bfa0900518f1b0cbd920c646ba34889a46d32d9", + "check": "lint", + "rule": "WK8102", + "file": "infra/aws/terraform/prow-build-cluster/resources/monitoring/prometheus-main/mimir-credentials.yaml", + "identity": "4b5ab8945c68ac84f48f5cfc6d0fe16b", + "severity": "warning", + "entity": "mimir-credentials", + "message": "[mimir-credentials] ExternalSecret \"mimir-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "2bfa0900518f1b0cbd920c646ba34889a46d32d9", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-prow-build/monitoring/secrets.yaml", + "identity": "4b5ab8945c68ac84f48f5cfc6d0fe16b", + "severity": "warning", + "entity": "mimir-credentials", + "message": "[mimir-credentials] ExternalSecret \"mimir-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "ea18ac63023daf70273593de8ab78daca155fd2a", + "check": "audit", + "rule": "WK8501", + "file": "kubernetes/apps/mimir.yaml", + "identity": "0dc22132646e6e2eac0f0d2a8747b6bb", + "severity": "error", + "entity": "mimir", + "message": "ApplicationSet \"mimir\": unknown field \"spec.template.spec.managedNamespaceMetadata\". The API server prunes it and the controller never sees it.", + "label": "true", + "reason": "managedNamespaceMetadata sits under spec.template.spec instead of syncPolicy, so the API server prunes it and the istio-injection namespace label is never applied; a change four months later moved it" + }, + { + "change": "ea18ac63023daf70273593de8ab78daca155fd2a", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/apps/mimir.yaml", + "identity": "930f74f7f25992105c3462e78cb7e74b", + "severity": "warning", + "entity": "mimir", + "message": "ApplicationSet \"mimir\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "ea18ac63023daf70273593de8ab78daca155fd2a", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-utility/mimir/external-secrets.yaml", + "identity": "e7e53146051fbb4191ec88ceb3a4c822", + "severity": "warning", + "entity": "mimir-credentials", + "message": "ExternalSecret \"mimir-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "ea18ac63023daf70273593de8ab78daca155fd2a", + "check": "audit", + "rule": "WK8102", + "file": "kubernetes/gke-utility/mimir/httproute.yaml", + "identity": "ac4386cb6311df99a03b99fb1efa45b5", + "severity": "warning", + "entity": "mimir", + "message": "HTTPRoute \"mimir\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "ea18ac63023daf70273593de8ab78daca155fd2a", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/apps/mimir.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "ea18ac63023daf70273593de8ab78daca155fd2a", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/apps/mimir.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "ea18ac63023daf70273593de8ab78daca155fd2a", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/apps/mimir.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'applicationSetMimir' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "ea18ac63023daf70273593de8ab78daca155fd2a", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/apps/mimir.yaml", + "identity": "ef829a3900865cc0ea4ac039f2507705", + "severity": "warning", + "entity": "mimir", + "message": "[mimir] ApplicationSet \"mimir\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "ea18ac63023daf70273593de8ab78daca155fd2a", + "check": "lint", + "rule": "WK8501", + "file": "kubernetes/apps/mimir.yaml", + "identity": "7d5ccd2a33d6e2453f2159426d211831", + "severity": "error", + "entity": "mimir", + "message": "[mimir] ApplicationSet \"mimir\": unknown field \"spec.template.spec.managedNamespaceMetadata\". The API server prunes it and the controller never sees it.", + "label": "true", + "reason": "the same pruned managedNamespaceMetadata as the audit finding, found by the per-file lint" + }, + { + "change": "ea18ac63023daf70273593de8ab78daca155fd2a", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/gke-utility/mimir/external-secrets.yaml", + "identity": "91a4f79df9cd6dbb7558d06d7a4c2a5f", + "severity": "warning", + "message": "Hardcoded namespace \"mimir\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "ea18ac63023daf70273593de8ab78daca155fd2a", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-utility/mimir/external-secrets.yaml", + "identity": "4b5ab8945c68ac84f48f5cfc6d0fe16b", + "severity": "warning", + "entity": "mimir-credentials", + "message": "[mimir-credentials] ExternalSecret \"mimir-credentials\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "ea18ac63023daf70273593de8ab78daca155fd2a", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/mimir/httproute.yaml", + "identity": "8574ff573329d8422eb98a47299296a0", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "ea18ac63023daf70273593de8ab78daca155fd2a", + "check": "lint", + "rule": "COR001", + "file": "kubernetes/gke-utility/mimir/httproute.yaml", + "identity": "8474fdc4ac7728ff64345a7e0c41351c", + "severity": "warning", + "message": "Inline object in Declarable constructor \u2014 extract to a named 'const' with 'export'. Each config value should be its own Declarable.", + "label": "noise", + "reason": "@rule-COR001" + }, + { + "change": "ea18ac63023daf70273593de8ab78daca155fd2a", + "check": "lint", + "rule": "COR004", + "file": "kubernetes/gke-utility/mimir/httproute.yaml", + "identity": "63a23db448f9b2f793eaa09c7d0b1267", + "severity": "warning", + "message": "Exported declarable 'hTTPRouteMimir' is never referenced in this file \u2014 it may be dead infrastructure code.", + "label": "noise", + "reason": "@rule-COR004" + }, + { + "change": "ea18ac63023daf70273593de8ab78daca155fd2a", + "check": "lint", + "rule": "WK8001", + "file": "kubernetes/gke-utility/mimir/httproute.yaml", + "identity": "91a4f79df9cd6dbb7558d06d7a4c2a5f", + "severity": "warning", + "message": "Hardcoded namespace \"mimir\" detected. Use a variable or configuration parameter instead.", + "label": "noise", + "reason": "@rule-WK8001" + }, + { + "change": "ea18ac63023daf70273593de8ab78daca155fd2a", + "check": "lint", + "rule": "WK8102", + "file": "kubernetes/gke-utility/mimir/httproute.yaml", + "identity": "ef829a3900865cc0ea4ac039f2507705", + "severity": "warning", + "entity": "mimir", + "message": "[mimir] HTTPRoute \"mimir\" has no metadata.labels \u2014 add labels for organizational purposes", + "label": "debatable", + "reason": "@rule-WK8102" + }, + { + "change": "4682a7d731af9a42e16afcdd0abe40054b17153c", + "check": "audit", + "rule": "TF039", + "file": "infra/gcp/terraform/k8s-infra-oci-proxy", + "identity": "6eb9e196d05d70590edbfc9e7fd0e048", + "severity": "warning", + "entity": "infra.gcp.terraform.k8s-infra-oci-proxy/module.iam", + "message": "Module \"module.iam\" sources \"terraform-google-modules/iam/google//modules/projects_iam\" with the version range \"~> 8\". A release inside the range changes what the root provisions with no diff to review. Pin an exact version (`version = \"1.4", + "label": "debatable", + "reason": "@rule-TF039" + }, + { + "change": "64feac668f136b26b5235db1e92744cdbaad0ea8", + "check": "audit", + "rule": "TF039", + "file": "infra/gcp/terraform/k8s-infra-prow", + "identity": "caa053c8bf38a9cd0021d070a478338a", + "severity": "warning", + "entity": "infra.gcp.terraform.k8s-infra-prow/module.mimir_bucket", + "message": "Module \"module.mimir_bucket\" sources \"terraform-google-modules/cloud-storage/google//modules/simple_bucket\" with the version range \"~> 11.1\". A release inside the range changes what the root provisions with no diff to review. Pin an exact v", + "label": "debatable", + "reason": "@rule-TF039" + }, + { + "change": "c3a3f504c101dbed9d72471a61fa21015323b864", + "check": "audit", + "rule": "SEC010", + "file": "infra/aws/terraform/prow-build-cluster/karpenter.tf", + "identity": "352c1868fef6e7e2d8901150894b012c", + "severity": "warning", + "entity": "high-entropy string (~4.16 bits/char)", + "message": "Likely secret detected: high-entropy string (~4.16 bits/char) at infra/aws/terraform/prow-build-cluster/karpenter.tf:35 (value redacted, 34 chars, fingerprint 45cbfe01a96c0ee9). Remove it from source and rotate the credential.", + "label": "noise", + "reason": "@rule-SEC010" + }, + { + "change": "c3a3f504c101dbed9d72471a61fa21015323b864", + "check": "audit", + "rule": "SEC010", + "file": "infra/aws/terraform/prow-build-cluster/karpenter.tf", + "identity": "908b074e57a1a7179d9c668615308df1", + "severity": "warning", + "entity": "high-entropy string (~4.34 bits/char)", + "message": "Likely secret detected: high-entropy string (~4.34 bits/char) at infra/aws/terraform/prow-build-cluster/karpenter.tf:35 (value redacted, 41 chars, fingerprint cc21d488093c8246). Remove it from source and rotate the credential.", + "label": "noise", + "reason": "@rule-SEC010" + }, + { + "change": "5308b869e50214538e652c69b058c9cef7fa5f1a", + "check": "audit", + "rule": "TF020", + "file": "infra/aws/terraform/kops-infra-ci", + "identity": "27db4f40ce364b5a764fafa85fcf2692", + "severity": "warning", + "entity": "infra.aws.terraform.kops-infra-ci/data.aws_organizations_organization.current", + "message": "Data source \"data.aws_organizations_organization.current\" is declared and never referenced in its module. Delete it. A data source is read from the provider on every plan, so an unused one costs an API call and a permission for a value noth", + "label": "debatable", + "reason": "@rule-TF020" + } + ] +} diff --git a/test/pr-preset-replay/replay.e2e.test.ts b/test/pr-preset-replay/replay.e2e.test.ts new file mode 100644 index 0000000000..9ebcac667a --- /dev/null +++ b/test/pr-preset-replay/replay.e2e.test.ts @@ -0,0 +1,32 @@ +/** + * The pull request preset replay (#5118) as an on-demand test: reruns chant + * over the saved corpus and fails when the preset misses its bar. It needs the + * corpus on disk, so it skips unless CHANT_REPLAY_CORPUS names it: + * + * CHANT_REPLAY_CORPUS= npx vitest run --project e2e test/pr-preset-replay + * + * CHANT_REPLAY_WORK keeps the per-commit reports between runs. A cold run + * takes about an hour; `just replay-pr-preset ` runs the harness alone. + */ + +import { spawnSync } from "node:child_process"; +import { join } from "node:path"; +import { describe, expect, test } from "vitest"; + +const corpus = process.env.CHANT_REPLAY_CORPUS; + +describe.skipIf(!corpus)("the pull request preset replay (#5118)", () => { + test( + "meets the bar on the saved corpus", + () => { + const r = spawnSync("npx", ["tsx", join(import.meta.dirname, "replay.ts"), "--corpus", corpus!], { + encoding: "utf-8", + env: process.env, + maxBuffer: 64 * 1024 * 1024, + }); + expect(r.stderr.split("\n").filter((l) => l.startsWith("FAIL:"))).toEqual([]); + expect(r.status).toBe(0); + }, + 4 * 60 * 60 * 1000, + ); +}); diff --git a/test/pr-preset-replay/replay.ts b/test/pr-preset-replay/replay.ts new file mode 100644 index 0000000000..0d06de9ab2 --- /dev/null +++ b/test/pr-preset-replay/replay.ts @@ -0,0 +1,558 @@ +/** + * The pull request preset replay (#5118). Runs this checkout's chant over the + * saved corpus of merged changes, on the parent and on the commit of each, + * keeps the findings that are new in the change by identity, labels them from + * `corpus.json`, and prints the precision of the preset's merge-blocking + * findings. Exits 1 when the preset misses the bar in `score.ts`, or when a + * merge-blocking finding has no label yet. + * + * npx tsx test/pr-preset-replay/replay.ts --corpus [--work ] [--jobs ] [--record ] + * + * The corpus directory holds `corpus.bundle` (a git bundle with one tag + * `c/` per parent and commit, holding the replayed directories), + * `changes.json` (the changes in scope and the files each touched) and + * `charts/` (the Helm charts the localize check renders, and the index from + * values file to chart). `--work` keeps the clone, the reports and the + * per-file projects between runs; a fresh directory reruns everything. + * `--record ` writes the findings of this run, with the labels + * `corpus.json` has for them, so a new finding can be labelled by hand. + * `--labels ` scores against another labelled file, for a corpus of + * another window of history. + * + * Three checks run, as the replay that measured 2.0% did: + * + * - `chant audit --format json` over the whole tree. A finding counts + * when it is in a touched unit: a changed file, or a Terraform root that is + * a changed directory or calls one through a local module. + * - Per changed Kubernetes manifest, Grafana dashboard and Prometheus rule + * file: `chant import`, then `chant lint --format json` on the import. + * - Per changed Helm values file with a saved chart: `chant helm localize`. + * A render that was stable on the parent and is not on the commit is a + * finding. + */ + +import { spawn } from "node:child_process"; +import { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, symlinkSync, writeFileSync } from "node:fs"; +import { tmpdir } from "node:os"; +import { dirname, join, posix, relative, resolve } from "node:path"; +import { fileURLToPath } from "node:url"; +import { loadAll } from "js-yaml"; +import { findingIdentities } from "../../packages/core/src/audit/identity"; +import { PULL_REQUEST_PRESET, resolveRulePreset } from "../../packages/core/src/audit/pull-request-preset"; +import type { Severity } from "../../packages/core/src/lint/rule"; +import { + barFailures, + findingKey, + gateOf, + LOCALIZE_CHECK_ID, + pct, + reasonOf, + score, + type Corpus, + type LabelledFinding, + type ReplayFinding, +} from "./score"; + +const HERE = dirname(fileURLToPath(import.meta.url)); +const REPO = resolve(HERE, "../.."); +const CORPUS_JSON = join(HERE, "corpus.json"); + +interface Change { + sha: string; + parent: string; + date: string; + classes: string[]; + /** [status, path, class] */ + files: Array<[string, string, string]>; +} + +interface Args { + corpus: string; + work: string; + jobs: number; + chant: string; + record?: string; + preset: string; + /** Replay only these changes (commit prefixes), for a quick look. */ + only?: string[]; + /** The labelled findings to score against; `corpus.json` here by default. */ + labels: string; +} + +function parseArgs(argv: string[]): Args { + const get = (flag: string) => { + const i = argv.indexOf(flag); + return i >= 0 ? argv[i + 1] : undefined; + }; + const corpus = get("--corpus") ?? process.env.CHANT_REPLAY_CORPUS; + if (!corpus) throw new Error("--corpus (or CHANT_REPLAY_CORPUS) names the saved corpus"); + return { + corpus: resolve(corpus), + work: resolve(get("--work") ?? process.env.CHANT_REPLAY_WORK ?? join(tmpdir(), "chant-pr-preset-replay")), + jobs: Number(get("--jobs") ?? 4), + chant: resolve(get("--chant") ?? join(REPO, "packages/core/bin/chant")), + record: get("--record"), + preset: get("--preset") ?? PULL_REQUEST_PRESET.name, + only: get("--only")?.split(","), + labels: resolve(get("--labels") ?? CORPUS_JSON), + }; +} + +interface Run { + code: number | null; + stdout: string; + stderr: string; +} + +function run(cmd: string, args: string[], opts: { cwd?: string; input?: Buffer | string; timeoutMs?: number } = {}): Promise { + return new Promise((done) => { + const child = spawn(cmd, args, { + cwd: opts.cwd, + env: { ...process.env, GIT_NO_LAZY_FETCH: "1", NO_COLOR: "1", FORCE_COLOR: "0" }, + stdio: ["pipe", "pipe", "pipe"], + }); + const out: Buffer[] = []; + const err: Buffer[] = []; + child.stdout.on("data", (b) => out.push(b)); + child.stderr.on("data", (b) => err.push(b)); + const timer = setTimeout(() => child.kill("SIGKILL"), opts.timeoutMs ?? 600_000); + child.on("close", (code) => { + clearTimeout(timer); + done({ code, stdout: Buffer.concat(out).toString("utf-8"), stderr: Buffer.concat(err).toString("utf-8") }); + }); + // A child that exits before reading its input closes the pipe; that is not an error here. + child.stdin.on("error", () => {}); + child.stdin.end(opts.input ?? ""); + }); +} + +async function pool(items: readonly T[], jobs: number, fn: (item: T) => Promise): Promise { + let next = 0; + const worker = async () => { + while (next < items.length) await fn(items[next++]); + }; + await Promise.all(Array.from({ length: Math.max(1, jobs) }, worker)); +} + +class Corpusrepo { + constructor(readonly gitDir: string) {} + async git(...args: string[]): Promise { + const r = await run("git", ["--git-dir", this.gitDir, ...args]); + if (r.code !== 0) throw new Error(`git ${args.join(" ")}: ${r.stderr}`); + return r.stdout; + } + /** The blob at `path` in commit `sha`, or undefined when the path is absent. */ + async blob(sha: string, path: string): Promise { + const r = await run("git", ["--git-dir", this.gitDir, "rev-parse", "--verify", "--quiet", `c/${sha}:${path}`]); + return r.code === 0 ? r.stdout.trim() : undefined; + } + async show(blob: string): Promise { + return this.git("cat-file", "blob", blob); + } +} + +function log(msg: string): void { + process.stderr.write(`${msg}\n`); +} + +// ---------------------------------------------------------------- audit + +interface AuditReport { + snapshot: { files: string[] }; + findings: Array<{ checkId: string; severity: Severity; message: string; file: string; entity?: string; identity: string }>; +} + +async function auditCommit(a: Args, repo: Corpusrepo, sha: string): Promise { + const out = join(a.work, "audit", `${sha}.json`); + if (existsSync(out)) return; + const tree = mkdtempSync(join(tmpdir(), "replay-tree-")); + try { + const tar = await new Promise((done) => { + const archive = spawn("git", ["--git-dir", repo.gitDir, "archive", `c/${sha}`], { env: { ...process.env, GIT_NO_LAZY_FETCH: "1" } }); + const untar = spawn("tar", ["-x", "-C", tree]); + untar.stdin.on("error", () => {}); + archive.stdout.pipe(untar.stdin); + untar.on("close", done); + }); + if (tar !== 0) throw new Error(`could not extract ${sha}`); + const started = Date.now(); + const r = await run(a.chant, ["audit", tree, "--format", "json", "--tier", "all", "--fail-on", "none", "--max-files", "100000", "-o", `${out}.tmp`], { cwd: tree }); + if (!existsSync(`${out}.tmp`)) throw new Error(`chant audit failed on ${sha}: ${r.stderr.slice(-800)}`); + writeFileSync(`${out}.log`, `exit=${r.code} secs=${((Date.now() - started) / 1000).toFixed(1)}\n${r.stderr}`); + renameSync(`${out}.tmp`, out); + } finally { + rmSync(tree, { recursive: true, force: true }); + } +} + +/** Local module directories each Terraform directory calls, followed transitively. */ +async function localModuleCalls(repo: Corpusrepo, sha: string): Promise>> { + const r = await run("git", ["--git-dir", repo.gitDir, "grep", "-n", "-E", `^[[:space:]]*source[[:space:]]*=[[:space:]]*"\\.\\.?/`, `c/${sha}`, "--", "infra/*.tf"]); + const calls = new Map>(); + for (const line of r.stdout.split("\n")) { + if (!line) continue; + const [, path, , rest] = splitGrep(line); + const m = /"(\.\.?\/[^"]*)"/.exec(rest); + if (!m) continue; + const dir = posix.dirname(path); + const target = posix.normalize(posix.join(dir, m[1].split("//")[0])); + let set = calls.get(dir); + if (!set) calls.set(dir, (set = new Set())); + set.add(target); + } + const closure = new Map>(); + for (const dir of calls.keys()) { + const seen = new Set(); + const visit = (d: string) => { + for (const t of calls.get(d) ?? []) { + if (!seen.has(t)) { + seen.add(t); + visit(t); + } + } + }; + visit(dir); + closure.set(dir, seen); + } + return closure; +} + +/** `git grep` prints `:::`; the text may hold colons. */ +function splitGrep(line: string): [string, string, string, string] { + const a = line.indexOf(":"); + const b = line.indexOf(":", a + 1); + const c = line.indexOf(":", b + 1); + return [line.slice(0, a), line.slice(a + 1, b), line.slice(b + 1, c), line.slice(c + 1)]; +} + +async function auditFindings(a: Args, repo: Corpusrepo, change: Change): Promise { + const base = JSON.parse(readFileSync(join(a.work, "audit", `${change.parent}.json`), "utf-8")) as AuditReport; + const head = JSON.parse(readFileSync(join(a.work, "audit", `${change.sha}.json`), "utf-8")) as AuditReport; + const changed = change.files.map(([, path]) => path); + const tfDirs = new Set(change.files.filter(([, , c]) => c === "terraform").map(([, path]) => posix.dirname(path))); + const units = new Set([...base.snapshot.files, ...head.snapshot.files]); + const touched = new Set(changed); + for (const sha of [change.parent, change.sha]) { + const calls = await localModuleCalls(repo, sha); + for (const d of tfDirs) { + if (units.has(d)) touched.add(d); + for (const [root, mods] of calls) if (mods.has(d) && units.has(root)) touched.add(root); + } + } + const before = new Set(base.findings.map((f) => f.identity)); + return head.findings + .filter((f) => touched.has(f.file) && !before.has(f.identity)) + .map((f) => ({ + change: change.sha, + check: "audit" as const, + rule: f.checkId, + file: f.file, + identity: f.identity, + severity: f.severity, + ...(f.entity ? { entity: f.entity } : {}), + message: f.message, + })); +} + +// ---------------------------------------------------------------- per-file lint + +type FileKind = "k8s" | "grafana" | "prom"; + +const FILE_KIND: Record = { "k8s-yaml": "k8s", grafana: "grafana", prometheus: "prom" }; +const LEXICONS: Record = { k8s: ["k8s", "prometheus", "grafana"], grafana: ["grafana"], prom: ["prometheus"] }; +const EXT: Record = { k8s: "yaml", grafana: "json", prom: "yaml" }; + +interface LintDiag { + file: string; + ruleId: string; + severity: Severity; + message: string; + entity?: string; + locator?: string; +} + +/** A YAML file is linted when one of its documents is a Kubernetes object other than a kustomization. */ +function isManifest(text: string): boolean { + let docs: unknown[]; + try { + docs = loadAll(text); + } catch { + return false; + } + return docs.some((d) => { + if (typeof d !== "object" || d === null) return false; + const o = d as Record; + if (!("apiVersion" in o) || !("kind" in o)) return false; + return !(o.kind === "Kustomization" && String(o.apiVersion).includes("kustomize.config")); + }); +} + +async function lintFile(a: Args, repo: Corpusrepo, kind: FileKind, blob: string): Promise { + const dir = join(a.work, "file", `${kind}-${blob}`); + if (existsSync(join(dir, "done"))) return; + mkdirSync(dir, { recursive: true }); + if (!existsSync(join(dir, "node_modules"))) symlinkSync(join(REPO, "node_modules"), join(dir, "node_modules")); + writeFileSync(join(dir, "package.json"), `{"name":"replay","private":true,"type":"module"}\n`); + writeFileSync(join(dir, "chant.config.ts"), `export default { lexicons: ${JSON.stringify(LEXICONS[kind])} };\n`); + const original = `original.${EXT[kind]}`; + writeFileSync(join(dir, original), await repo.show(blob)); + const imp = await run(a.chant, ["import", original, "--output", "src"], { cwd: dir, timeoutMs: 300_000 }); + writeFileSync(join(dir, "import.log"), `exit=${imp.code}\n${imp.stdout}\n${imp.stderr}`); + const lint = await run(a.chant, ["lint", "src", "--format", "json"], { cwd: dir, timeoutMs: 300_000 }); + writeFileSync(join(dir, "lint.json"), lint.stdout); + writeFileSync(join(dir, "lint.err"), `exit=${lint.code}\n${lint.stderr}`); + writeFileSync(join(dir, "done"), ""); +} + +function lintDiagnostics(a: Args, kind: FileKind, blob: string): LintDiag[] { + const dir = join(a.work, "file", `${kind}-${blob}`); + const text = readFileSync(join(dir, "lint.json"), "utf-8").trim(); + if (!text) return []; + try { + const diags = JSON.parse(text) as LintDiag[]; + // Identity reads the path inside the import project, so both sides agree. + return diags.map((d) => ({ ...d, file: relative(dir, d.file) })); + } catch { + return []; + } +} + +function lintIdentities(diags: LintDiag[]): string[] { + return findingIdentities(diags.map((d) => ({ checkId: d.ruleId, file: d.file, entity: d.entity, locator: d.locator }))); +} + +interface FileUnit { + path: string; + kind: FileKind; + before?: string; + after?: string; +} + +async function fileUnits(repo: Corpusrepo, change: Change): Promise { + const units: FileUnit[] = []; + for (const [, path, cls] of change.files) { + const kind = FILE_KIND[cls]; + if (!kind) continue; + const before = await repo.blob(change.parent, path); + const after = await repo.blob(change.sha, path); + if (kind === "k8s") { + const sides = await Promise.all([before, after].filter((b): b is string => !!b).map(async (b) => isManifest(await repo.show(b)))); + if (!sides.some(Boolean)) continue; + } + units.push({ path, kind, before, after }); + } + return units; +} + +function lintFindings(a: Args, change: Change, units: FileUnit[]): ReplayFinding[] { + const out: ReplayFinding[] = []; + for (const u of units) { + if (!u.after) continue; + const before = u.before ? lintDiagnostics(a, u.kind, u.before) : []; + const after = lintDiagnostics(a, u.kind, u.after); + const had = new Set(lintIdentities(before)); + const ids = lintIdentities(after); + after.forEach((d, i) => { + if (had.has(ids[i])) return; + out.push({ + change: change.sha, + check: "lint", + rule: d.ruleId, + file: u.path, + identity: ids[i], + severity: d.severity, + ...(d.entity ? { entity: d.entity } : {}), + message: d.message, + }); + }); + } + return out; +} + +// ---------------------------------------------------------------- helm localize + +/** Values type to the chart directory under `charts/`, as the corpus saved them. */ +const CHARTS: Record = { + KubePrometheusStackValues: "kps/kube-prometheus-stack", + MimirDistributedValues: "mimir/mimir-distributed", + DatadogValues: "datadog/datadog", + ExternalSecretsValues: "es/external-secrets", + FastlyExporterValues: "fastly/prometheus-fastly-exporter", + IstiodValues: "istiod/istiod", + KyvernoValues: "kyverno/kyverno", +}; + +const localizeCache = new Map>(); + +async function localizeStatus(a: Args, repo: Corpusrepo, chart: string, blob: string): Promise { + const key = `${chart} ${blob}`; + let p = localizeCache.get(key); + if (!p) { + p = (async () => { + const dir = join(a.work, "localize"); + mkdirSync(dir, { recursive: true }); + const out = join(dir, `${blob}-${chart.replace(/\W/g, "_")}.txt`); + if (existsSync(out)) return readFileSync(out, "utf-8"); + const values = join(dir, `${blob}.yaml`); + writeFileSync(values, await repo.show(blob)); + const project = join(a.work, "localize-project"); + mkdirSync(project, { recursive: true }); + if (!existsSync(join(project, "node_modules"))) symlinkSync(join(REPO, "node_modules"), join(project, "node_modules")); + writeFileSync(join(project, "package.json"), `{"name":"replay-helm","private":true,"type":"module"}\n`); + writeFileSync(join(project, "chant.config.ts"), `export default { lexicons: ["k8s", "helm"] };\n`); + const r = await run(a.chant, ["helm", "localize", join(a.corpus, "charts", chart), "--values", values], { cwd: project }); + const text = `${r.stdout}${r.stderr}`.trim(); + writeFileSync(out, text); + return text; + })(); + localizeCache.set(key, p); + } + return p; +} + +async function localizeFindings(a: Args, repo: Corpusrepo, change: Change, index: Map): Promise { + const out: ReplayFinding[] = []; + for (const [, path] of change.files) { + const type = index.get(path); + const chart = type ? CHARTS[type] : undefined; + if (!chart) continue; + const before = await repo.blob(change.parent, path); + const after = await repo.blob(change.sha, path); + if (!after) continue; + const b = before ? await localizeStatus(a, repo, chart, before) : "absent"; + const h = await localizeStatus(a, repo, chart, after); + if (h.startsWith("unstable") && !b.startsWith("unstable")) { + const detail = h.split("\n").filter((l) => /pin:|suppliable/.test(l)).map((l) => l.trim()).slice(0, 6); + out.push({ + change: change.sha, + check: "localize", + rule: LOCALIZE_CHECK_ID, + file: path, + identity: findingIdentities([{ checkId: LOCALIZE_CHECK_ID, file: path }])[0], + severity: "warning", + message: [h.split("\n")[0], ...detail].join(" | ").slice(0, 600), + }); + } + } + return out; +} + +// ---------------------------------------------------------------- main + +export async function replay(a: Args): Promise<{ findings: ReplayFinding[]; changes: string[] }> { + const changes = (JSON.parse(readFileSync(join(a.corpus, "changes.json"), "utf-8")) as { changes: Change[] }).changes.filter( + (c) => !a.only || a.only.some((p) => c.sha.startsWith(p)), + ); + mkdirSync(join(a.work, "audit"), { recursive: true }); + mkdirSync(join(a.work, "file"), { recursive: true }); + const gitDir = join(a.work, "corpus.git"); + if (!existsSync(gitDir)) { + const r = await run("git", ["clone", "--quiet", "--bare", join(a.corpus, "corpus.bundle"), gitDir]); + if (r.code !== 0) throw new Error(`could not clone the corpus bundle: ${r.stderr}`); + await run("git", ["--git-dir", gitDir, "fetch", "--quiet", join(a.corpus, "corpus.bundle"), "refs/tags/*:refs/tags/*"]); + } + const repo = new Corpusrepo(gitDir); + + const commits = [...new Set(changes.flatMap((c) => [c.parent, c.sha]))]; + let done = 0; + log(`auditing ${commits.length} commits`); + await pool(commits, a.jobs, async (sha) => { + await auditCommit(a, repo, sha); + if (++done % 25 === 0) log(` audited ${done} of ${commits.length}`); + }); + + const unitsByChange = new Map(); + for (const c of changes) unitsByChange.set(c.sha, await fileUnits(repo, c)); + const jobs = new Map(); + for (const units of unitsByChange.values()) { + for (const u of units) for (const b of [u.before, u.after]) if (b) jobs.set(`${u.kind}-${b}`, [u.kind, b]); + } + done = 0; + log(`linting ${jobs.size} file versions`); + await pool([...jobs.values()], a.jobs, async ([kind, blob]) => { + await lintFile(a, repo, kind, blob); + if (++done % 50 === 0) log(` linted ${done} of ${jobs.size}`); + }); + + const index = new Map( + (JSON.parse(readFileSync(join(a.corpus, "charts", "values-index.json"), "utf-8")) as Array<[string, string, string]>).map(([path, type]) => [path, type]), + ); + const findings: ReplayFinding[] = []; + for (const c of changes) { + findings.push(...(await auditFindings(a, repo, c))); + findings.push(...lintFindings(a, c, unitsByChange.get(c.sha) ?? [])); + findings.push(...(await localizeFindings(a, repo, c, index))); + } + return { findings, changes: changes.map((c) => c.sha) }; +} + +function loadCorpus(path: string): Corpus { + return JSON.parse(readFileSync(path, "utf-8")) as Corpus; +} + +async function main(): Promise { + const a = parseArgs(process.argv.slice(2)); + const preset = resolveRulePreset(a.preset); + if (!preset) throw new Error(`unknown preset ${a.preset}`); + const { findings, changes } = await replay(a); + const corpus: Corpus = existsSync(a.labels) ? loadCorpus(a.labels) : { meta: {}, reasons: {}, changes: [], findings: [] }; + const labels = new Map(corpus.findings.map((f) => [findingKey(f), f])); + + const labelled: LabelledFinding[] = []; + const unlabelled: ReplayFinding[] = []; + for (const f of findings) { + const l = labels.get(findingKey(f)); + if (l) labelled.push({ ...f, label: l.label, reason: l.reason }); + else unlabelled.push(f); + } + + if (a.record) { + const recorded: Corpus = { + meta: { ...corpus.meta, recordedAt: new Date().toISOString(), changes: changes.length }, + reasons: corpus.reasons, + changes, + findings: [...labelled, ...unlabelled.map((f) => ({ ...f, label: "noise" as const, reason: "UNLABELLED" }))], + }; + writeFileSync(a.record, `${JSON.stringify(recorded, null, 1)}\n`); + log(`wrote ${recorded.findings.length} findings to ${a.record}`); + } + + const all = score(labelled); + const gated = score(labelled, preset); + const blockingUnlabelled = unlabelled.filter((f) => gateOf(preset, f) === "merge-blocking"); + const expectedTrue = corpus.findings.filter((f) => f.label === "true"); + const seen = new Set(findings.map(findingKey)); + const lost = expectedTrue.filter((f) => !seen.has(findingKey(f))); + + const lines: string[] = []; + lines.push(`Replayed ${changes.length} changes: ${findings.length} new findings, ${unlabelled.length} without a label.`); + lines.push(`Every rule on: ${all.truePositives} of ${all.findings} true, precision ${pct(all.precision)}.`); + lines.push( + `Preset ${preset.name}, merge-blocking: ${gated.truePositives} of ${gated.findings} true, precision ${gated.findings === 0 ? "n/a" : pct(gated.precision)}, on ${gated.blockedChanges.length} of ${changes.length} changes.`, + ); + lines.push("", "Merge-blocking findings:"); + for (const f of labelled.filter((x) => gateOf(preset, x) === "merge-blocking")) { + lines.push(` ${f.change.slice(0, 10)} ${f.check} ${f.rule} ${f.file} ${f.label.toUpperCase()}: ${reasonOf(corpus, f)}`); + } + for (const f of blockingUnlabelled) lines.push(` ${f.change.slice(0, 10)} ${f.check} ${f.rule} ${f.file} NO LABEL: ${f.message.slice(0, 160)}`); + lines.push("", "By rule, merge-blocking:"); + for (const [rule, r] of Object.entries(gated.byRule).sort()) lines.push(` ${rule}: ${r.total} (${r.true} true, ${r.debatable} debatable, ${r.noise} noise)`); + console.log(lines.join("\n")); + + const failures = barFailures(gated); + if (blockingUnlabelled.length > 0) failures.push(`${blockingUnlabelled.length} merge-blocking finding(s) have no label in corpus.json`); + if (lost.length > 0) failures.push(`${lost.length} true finding(s) in corpus.json were not found again: ${lost.map((f) => `${f.rule} ${f.file}`).join("; ")}`); + for (const f of failures) console.error(`FAIL: ${f}`); + if (failures.length === 0) console.log(`\nThe preset meets the bar.`); + return failures.length === 0 ? 0 : 1; +} + +if (process.argv[1] && resolve(process.argv[1]) === fileURLToPath(import.meta.url)) { + main().then( + (code) => process.exit(code), + (err) => { + console.error(err instanceof Error ? err.message : String(err)); + process.exit(2); + }, + ); +} diff --git a/test/pr-preset-replay/score.ts b/test/pr-preset-replay/score.ts new file mode 100644 index 0000000000..a2ebbc02df --- /dev/null +++ b/test/pr-preset-replay/score.ts @@ -0,0 +1,128 @@ +/** + * Scoring for the pull request preset replay (#5118): the bar, the labelled + * corpus format, and the precision of the preset over a set of findings. + * Shared by the replay harness (`replay.ts`), which produces the findings by + * running chant over the saved corpus, and `bar.test.ts`, which scores the + * findings recorded in `corpus.json` without running anything. + */ + +import { presetGate, type PresetGate, type RulePreset } from "../../packages/core/src/audit/pull-request-preset"; +import type { Severity } from "../../packages/core/src/lint/rule"; + +/** + * The bar, from the issue's Done-when: merge-blocking findings at least 35% + * true, every true finding kept, and at most 10 of the 159 changes blocked. + */ +export const BAR = { precision: 0.35, maxBlockedChanges: 10 } as const; + +/** + * The id the harness gives an unstable `chant helm localize` render. It is not + * a lint rule; the preset runs the localize check beside its rules and treats + * a render that became unstable as merge-blocking. + */ +export const LOCALIZE_CHECK_ID = "HELM-LOCALIZE"; + +export type Label = "true" | "debatable" | "noise"; + +/** Which command produced a finding: the repository audit, the per-file lint, or the localize check. */ +export type ReplayCheck = "audit" | "lint" | "localize"; + +export interface ReplayFinding { + /** The change's commit in the corpus. */ + change: string; + check: ReplayCheck; + rule: string; + file: string; + /** `identity.ts` over the finding; for lint, over the path inside the import project. */ + identity: string; + severity: Severity; + entity?: string; + message: string; +} + +export interface LabelledFinding extends ReplayFinding { + label: Label; + /** Why, in a sentence. A key into `reasons` when it starts with `@`. */ + reason: string; +} + +export interface Corpus { + /** What was replayed, with which chant, and when. */ + meta: Record; + /** Shared reasons, referenced from findings as `@key`. */ + reasons: Record; + /** Commits of the changes in scope, in order. */ + changes: string[]; + findings: LabelledFinding[]; +} + +/** + * What names a finding in the corpus. The file is part of it because a + * per-file lint names its findings inside its own import project, so two + * files of one change can give the same identity. + */ +export function findingKey(f: Pick): string { + return `${f.change} ${f.check} ${f.file} ${f.identity}`; +} + +export function reasonOf(corpus: Pick, f: Pick): string { + return f.reason.startsWith("@") ? (corpus.reasons[f.reason.slice(1)] ?? f.reason) : f.reason; +} + +/** The set a replayed finding falls in. The localize check is merge-blocking. */ +export function gateOf(preset: RulePreset, f: Pick): PresetGate | undefined { + if (f.check === "localize") return "merge-blocking"; + return presetGate(preset, f.rule, f.severity); +} + +export interface Score { + findings: number; + truePositives: number; + precision: number; + blockedChanges: string[]; + /** True findings in the whole set that the preset does not report as merge-blocking. */ + trueDropped: LabelledFinding[]; + byRule: Record; +} + +/** Precision of `findings` with every rule on, or of its merge-blocking part under `preset`. */ +export function score(findings: readonly LabelledFinding[], preset?: RulePreset): Score { + const kept = preset ? findings.filter((f) => gateOf(preset, f) === "merge-blocking") : [...findings]; + const byRule: Score["byRule"] = {}; + for (const f of kept) { + const r = (byRule[f.rule] ??= { total: 0, true: 0, debatable: 0, noise: 0 }); + r.total++; + r[f.label]++; + } + const truePositives = kept.filter((f) => f.label === "true").length; + const keptKeys = new Set(kept.map(findingKey)); + return { + findings: kept.length, + truePositives, + precision: kept.length === 0 ? 0 : truePositives / kept.length, + blockedChanges: [...new Set(kept.map((f) => f.change))], + trueDropped: findings.filter((f) => f.label === "true" && !keptKeys.has(findingKey(f))), + byRule, + }; +} + +/** Why `s` misses the bar, one line each; empty when it meets it. */ +export function barFailures(s: Score): string[] { + const out: string[] = []; + // A window with no merge-blocking finding blocks nothing, so it cannot be wrong; the + // true findings it must keep are checked below. + if (s.findings > 0 && s.precision < BAR.precision) { + out.push(`precision ${pct(s.precision)} (${s.truePositives} of ${s.findings}) is below the bar of ${pct(BAR.precision)}`); + } + if (s.trueDropped.length > 0) { + out.push(`${s.trueDropped.length} true finding(s) are not merge-blocking: ${s.trueDropped.map((f) => `${f.rule} ${f.file}`).join("; ")}`); + } + if (s.blockedChanges.length > BAR.maxBlockedChanges) { + out.push(`${s.blockedChanges.length} changes get a merge-blocking finding, more than ${BAR.maxBlockedChanges}`); + } + return out; +} + +export function pct(x: number): string { + return `${(100 * x).toFixed(1)}%`; +} diff --git a/vitest.config.ts b/vitest.config.ts index 77a1f8d378..622d86d499 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -132,6 +132,10 @@ export const UNIT_INCLUDE = [ // or the runner key, over the github, forgejo and gitlab generators at once. // Generates YAML in memory only. "test/pr-pipeline-secrets.test.ts", + // chant #5118 — the pull request preset's bar, scored over the labelled + // findings in test/pr-preset-replay/corpus.json. Reads that file only; the + // replay that reruns chant over the saved corpus is its e2e sibling. + "test/pr-preset-replay/bar.test.ts", ]; /**