Skip to content

fix: run unit tests in CI, repair unrunnable scripts, and correct false-pass connector evaluations - #216

Open
ethanolivertroy wants to merge 9 commits into
mainfrom
cursor/fix-ci-gap-and-connector-defects-92a4
Open

fix: run unit tests in CI, repair unrunnable scripts, and correct false-pass connector evaluations#216
ethanolivertroy wants to merge 9 commits into
mainfrom
cursor/fix-ci-gap-and-connector-defects-92a4

Conversation

@ethanolivertroy

@ethanolivertroy ethanolivertroy commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

A review of the repo surfaced one root cause and three families of defects sitting behind it.

Nothing ever ran the node:test suites. CI ran the schema validator and the shell validators only, so tests/wiz-inspector-collect.test.js has been green-by-default since it landed, and any test file a contributor adds under tests/ is silently skipped today. That is also why the defects below survived: none of them are subtle, they were simply never executed.

With that fixed, the rest of this PR repairs what the gap was hiding.

Three grc-engineer scripts could not run at all. scan-iac.js, test-control.js, and cross-framework-analyzer.js are CommonJS while the root package.json declares "type": "module", so each threw ReferenceError: require is not defined before executing a line. npm run scan-iac and npm run test-control were both dead, as were the /grc-engineer:scan-iac and :test-control workflows documented in CLAUDE.md. Converting scan-iac.js exposed a second fault behind the first: the rules database binds this.checkK8sEncryption, which was never implemented, so the constructor threw on every invocation.

Seven connectors returned confident wrong compliance verdicts. These are the worst failure mode for this repo, because an operator sees a green control rather than an error. Each one is now covered by a regression test in tests/connector-evaluation-logic.test.mjs.

Connector Defect Effect
okta-inspector filter(Boolean) dropped session values of 0 0 is how Okta encodes unlimited — the worst case passed
okta-inspector Math.max over session minutes ranked unlimited as the strictest setting
splunk-inspector fell back to maxGlobalDataSizeMB for retention divided megabytes by 86400 as if seconds
datadog-inspector compared integer priority to string 'p1' never matched; degraded to a name regex
tenable-inspector unparseable dates aged as 0 undated vulnerabilities counted as fresh
tenable, crowdstrike flat YAML matcher rejected indented keys the defaults: block their own setup.sh writes was ignored
snowflake-inspector no account validation emitted findings violating finding.schema.json
wiz-inspector unbounded pagination a stuck hasNextPage loops until OOM
gcp-inspector unsorted staleKeys[0] "Oldest key" named whichever was found first

Verified pre-fix behaviour, reproduced directly:

--- OKTA: policy with unlimited session lifetime (0) ---
  OLD longest = null -> falls to else-branch => PASS
--- SPLUNK: index with only maxGlobalDataSizeMB=500000 ---
  OLD retention_days = 5 (megabytes divided by 86400)
--- DATADOG: monitor {priority:1, name:"checkout latency"} ---
  OLD isCritical = false
--- TENABLE: vulnerability with no last_seen ---
  OLD ageDays(undefined) = 0 -> 0 > 30 is false => counted as FRESH
--- TENABLE/CROWDSTRIKE: flat YAML parser on nested defaults ---
  OLD parsed = {"defaults":""}
  OLD config.defaults?.limit = undefined

Docs described a different repo, and a link had rotted. CLAUDE.md and docs/ARCHITECTURE.md claimed 30 plugins / 21 frameworks / 4 connectors; the marketplace registers 65 / 35 / 15. Separately, github.com/VantaInc/vanta-mcp-plugin began returning 404 after 2026-07-27 and was failing the link-check workflow on every open PR, including this one before the fix.

Type of change

  • Connector
  • Framework plugin
  • Persona plugin
  • Documentation
  • CI / automation
  • Community / governance
  • Other

Schema impact

  • No schema changes

snowflake-inspector now fails closed instead of emitting documents that violate the existing resource.id requirement, so this moves it into conformance rather than changing the contract.

Test plan

Full suite locally:

test:unit                 PASS
test:schema-validator     PASS
test:contract             PASS
test:plugin-manifests     PASS
test:grc-diagrams         PASS
test:contract:findings    PASS
test:wiz-inspector        PASS

The new step running in CI on Node 20, picking up the suite that had never executed:

> npm run test:unit
> bash tests/run-unit-tests.sh

Running 3 unit test suite(s):
  tests/connector-evaluation-logic.test.mjs
  tests/schema-validator.test.mjs
  tests/wiz-inspector-collect.test.js
ok 1 - okta: unlimited session lifetime (0) is not discarded as falsy

The runner auto-discovers suites and fails the build correctly (verified with a deliberately failing canary, then removed):

EXIT CODE = 1
Running 3 unit test suite(s):
# tests 13
# pass 12
# fail 1

Previously-dead scripts, now exercised end to end:

$ node plugins/grc-engineer/scripts/scan-iac.js /tmp/tf SOC2,PCI-DSS summary
Compliance: 70% (7/10 controls)
Violations: 3
Files scanned: 1

$ node plugins/grc-engineer/scripts/cross-framework-analyzer.js map access_control_account_management
{ "name": "Account Management", "category": "Access Control", ... }

$ node plugins/grc-engineer/scripts/test-control.js access_control_account_management aws
Total Tests: 15  Passed: 4  Failed: 2

All 15 connectors still behave correctly as CLIs after the import guards (each reports missing config rather than crashing), and snowflake-inspector now exits 5 on a config with no account. Markdown lint is unchanged at the pre-existing 31 errors, none in files touched here. All GitHub checks pass on this branch.

CHANGELOG

  • I added a CHANGELOG entry

Notes for reviewers

The connector changes are worth the closest look. Connectors that called main() at import time now guard on CLI invocation so their helpers can be unit tested; the guard tolerates an undefined process.argv[1] rather than throwing inside pathToFileURL, which is a latent crash the existing pattern has whenever the module is imported outside a normal CLI entry point.

Two judgement calls that change verdicts rather than just fixing mechanics, in case you disagree:

  • An Okta policy that declares no session setting now reports inconclusive instead of pass. It was passing on no evidence.
  • A Splunk index with no frozenTimePeriodInSecs now reports inconclusive instead of a fabricated day count.

Both follow the repo's existing convention that absence of evidence is not evidence of compliance, but they will move numbers on existing dashboards.

Deliberately left alone as out of scope: the pre-existing MD022 markdown lint warnings, and testssl-inspector's option-injection surface where a --target beginning with -- is passed through to testssl.sh as another flag.

Open in Web Open in Cursor 

Summary by CodeRabbit

  • Bug Fixes

    • Improved connector evaluations for session timeouts, monitor criticality, vulnerability age, retention settings, nested configuration, and stale access keys.
    • Added Kubernetes persistent-storage encryption findings to infrastructure scans.
    • Prevented incomplete or repeated cloud inventory pagination from producing misleading results.
    • Corrected connector configuration validation and account handling.
  • Documentation

    • Updated architecture, marketplace, framework coverage, connector, licensing, roadmap, and changelog documentation.
  • Tests

    • Added automated unit-test coverage for connector evaluation scenarios and integrated all unit suites into contract-test checks.

cursoragent and others added 4 commits August 1, 2026 18:59
The contract-test and manifest workflows ran the schema validator and the
shell validators, but nothing ever invoked the node:test suites. That left
tests/wiz-inspector-collect.test.js green-by-default since it was added, and
any test file a contributor adds under tests/ would be silently skipped.

Discovery is by filename rather than a directory or glob argument because
Node 20, the CI baseline, expands neither.

Co-authored-by: Ethan Troy <ethanolivertroy@users.noreply.github.com>
…nalyzer runnable

All three were written as CommonJS while the root package.json declares
"type": "module", so every entry point threw ReferenceError: require is not
defined before running a single line. npm run scan-iac and npm run test-control
were both dead, as were the documented /grc-engineer:scan-iac and
:test-control workflows.

Converting scan-iac.js surfaced a second failure behind the first: the rules
database binds this.checkK8sEncryption, which was never implemented, so the
constructor threw on every invocation. Implemented it against the same
signature as the sibling validators.

Co-authored-by: Ethan Troy <ethanolivertroy@users.noreply.github.com>
…erdicts

Each of these produced a confident wrong answer rather than an error, which is
the worst failure mode for a compliance connector:

- okta: filter(Boolean) dropped maxSession*Minutes values of 0, which is how
  Okta encodes 'unlimited'. The unlimited case was the one the code below it
  meant to fail, and it passed instead. Math.max also ranked 0 as the
  strictest setting. Policies declaring no session setting now report
  inconclusive rather than pass on no evidence.
- splunk: retention fell back to maxGlobalDataSizeMB, a size cap, and divided
  it by 86400 as though it were seconds. Retention is now unknown when
  frozenTimePeriodInSecs is absent.
- datadog: monitor priority is an integer 1-5, so comparing it to the string
  'p1' never matched and the check silently degraded to a name regex.
- tenable: vulnerabilities with an unparseable last-seen date aged as 0 and
  counted as fresh; they are now reported as undated.
- tenable, crowdstrike: the flat YAML matcher only accepted unindented keys,
  so the nested 'defaults:' block written by setup.sh parsed as "" and every
  configured default was ignored.
- snowflake: a config without 'account' emitted findings whose resource.id was
  undefined, which JSON.stringify drops, producing documents that violate the
  finding schema. Now fails at startup.
- wiz: connection pagination had no page cap or cursor-repeat check.
- gcp: the 'oldest key' named in the message was whichever key was found first.

Connectors that called main() at import time now guard on CLI invocation so
their helpers can be unit tested. The guard tolerates an undefined
process.argv[1] instead of throwing inside pathToFileURL.

Co-authored-by: Ethan Troy <ethanolivertroy@users.noreply.github.com>
CLAUDE.md and docs/ARCHITECTURE.md described a repo of 30 plugins, 21
frameworks, and 4 connectors. The marketplace registers 65, 35, and 15.

The hand-maintained lists are what drifted, so they are replaced with pointers
to marketplace.json and the generated FRAMEWORK-COVERAGE.md rather than
refreshed in place. Also corrects claims contradicted by the tree: cis-controls
is not MIT, Node scripts are not confined to persona plugins, fedramp-20x is
not prompt-only, and grc-auditor/grc-internal/grc-tprm have neither scripts/
nor config/ despite being documented as script-backed personas.

Drops references to a fedramp-docs plugin (the OSCAL plugin is fedramp-ssp)
and to config/crosswalk-overrides.yaml; neither exists.

Co-authored-by: Ethan Troy <ethanolivertroy@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Aug 1, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@cursor[bot], you've reached your PR review limit, so we couldn't start this review.

Next review available in: 14 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 58c58704-abd6-4a6d-9cc0-fdd573bafee2

📥 Commits

Reviewing files that changed from the base of the PR and between 38ef6f3 and eafd1c8.

📒 Files selected for processing (19)
  • CLAUDE.md
  • docs/ARCHITECTURE.md
  • plugins/connectors/crowdstrike-inspector/scripts/collect.js
  • plugins/connectors/datadog-inspector/scripts/collect.js
  • plugins/connectors/tenable-inspector/scripts/collect.js
  • plugins/connectors/wiz-inspector/scripts/collect.js
  • plugins/grc-engineer/scripts/cross-framework-analyzer.js
  • plugins/grc-engineer/scripts/scan-iac.js
  • plugins/grc-engineer/scripts/test-control.js
  • tests/connector-evaluation-logic.test.mjs
  • tests/fixtures/wiz-api/truncated-cursor/auth.json
  • tests/fixtures/wiz-api/truncated-cursor/cloudResources-1.json
  • tests/fixtures/wiz-api/truncated-cursor/cloudResources-2.json
  • tests/fixtures/wiz-api/truncated-cursor/configurationFindings-1.json
  • tests/fixtures/wiz-api/truncated-cursor/configurationFindings-2.json
  • tests/fixtures/wiz-api/truncated-cursor/issues-1.json
  • tests/fixtures/wiz-api/truncated-cursor/vulnerabilities-1.json
  • tests/scan-iac-kubernetes.test.mjs
  • tests/wiz-inspector-collect.test.js
📝 Walkthrough

Walkthrough

The PR fixes connector evaluation logic, makes collector scripts safe to import, converts GRC scripts to ES modules, adds Kubernetes encryption checks, introduces all-suite unit testing, and updates repository documentation.

Changes

Connector and validation updates

Layer / File(s) Summary
Module runtime and IaC updates
plugins/grc-engineer/scripts/*
GRC scripts now use ES module imports and exports, guarded CLI entry points, and URL-based path resolution. IaC scanning adds Kubernetes persistent-storage encryption findings.
Connector evaluation and collection logic
plugins/connectors/*/scripts/collect.js
Collectors improve YAML parsing, session and retention evaluation, monitor criticality, stale-key selection, vulnerability-age handling, configuration validation, CLI safety, and pagination limits.
Unit-test runner and regression coverage
package.json, tests/*, .github/workflows/contract-test.yml, AGENTS.md
The repository discovers and runs all direct Node test suites through npm run test:unit. Regression tests cover connector evaluation and nested YAML parsing.
Repository documentation updates
CHANGELOG.md, CLAUDE.md, ROADMAP.md, docs/*
Documentation updates describe current plugin categories, framework and connector references, corrected links, validation changes, and crosswalk contribution guidance.

Estimated code review effort: 4 (Complex) | ~45 minutes

Possibly related PRs

Suggested reviewers: ajy0127

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 15.38% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main changes: CI unit tests, script repairs, and connector evaluation fixes.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/fix-ci-gap-and-connector-defects-92a4

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

github.com/VantaInc/vanta-mcp-plugin now 404s, which fails the link-check
workflow on every pull request. The official Vanta plugin ships in
anthropics/claude-plugins-official, as the vanta-bridge removal note in
CHANGELOG.md already says.

Co-authored-by: Ethan Troy <ethanolivertroy@users.noreply.github.com>
@greptile-apps

greptile-apps Bot commented Aug 1, 2026

Copy link
Copy Markdown

Greptile Summary

This PR enables automatic Node unit-test discovery in CI, repairs ESM-incompatible GRC scripts, and tightens connector evaluation behavior.

  • Adds regression coverage for connector verdicts, Wiz pagination, and Kubernetes scanning.
  • Converts previously unrunnable scripts to ES modules and restores Kubernetes document dispatch.
  • Updates connector handling for ambiguous, missing, or malformed evidence.
  • Refreshes repository documentation and external links.

Confidence Score: 4/5

The PR is not yet safe to merge because the Kubernetes encryption check can still suppress a finding based on unrelated metadata.

The Wiz truncation and Kubernetes dispatch issues are fixed, but checkK8sEncryption evaluates the entire serialized manifest, so an annotation such as encrypted: "true" still makes an otherwise unverified PV or PVC appear to provide affirmative storage-encryption evidence.

Files Needing Attention: plugins/grc-engineer/scripts/scan-iac.js; tests/scan-iac-kubernetes.test.mjs

Important Files Changed

Filename Overview
plugins/connectors/wiz-inspector/scripts/collect.js Truncated pagination now produces inconclusive findings, records partial errors, avoids conflicting empty-result passes, and exits with the partial status.
plugins/grc-engineer/scripts/scan-iac.js Kubernetes dispatch is restored, but encryption evidence is still matched across the entire serialized resource, leaving the previously reported false-negative path reachable.
tests/scan-iac-kubernetes.test.mjs Adds dispatch and encryption regression tests, but does not cover affirmative-looking encryption fields in unrelated metadata.
tests/wiz-inspector-collect.test.js Verifies repeating-cursor truncation produces partial, inconclusive output without a coexisting blanket pass.
tests/run-unit-tests.sh Adds automatic execution of top-level Node test suites for CI.
.github/workflows/contract-test.yml Runs the newly added unit-test command as part of the contract-test workflow.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  CI["Contract-test workflow"] --> UNIT["Auto-discovered Node unit suites"]
  UNIT --> CONN["Connector evaluation regressions"]
  UNIT --> WIZ["Wiz pagination regressions"]
  UNIT --> K8S["Kubernetes scanner regressions"]
  CONN --> FIND["Schema-conforming findings"]
  WIZ --> FIND
  K8S --> REPORT["IaC compliance report"]
Loading

Reviews (5): Last reviewed commit: "fix(scan-iac): only affirmative declarat..." | Re-trigger Greptile

Comment thread plugins/connectors/wiz-inspector/scripts/collect.js
Comment thread plugins/grc-engineer/scripts/scan-iac.js
…d document test:unit

Both notes are superseded by this PR: the ESM conversion makes the
scripts runnable, and tests/run-unit-tests.sh (npm run test:unit) now
discovers every tests/*.test.* suite.

Co-authored-by: Ethan Troy <ethanolivertroy@users.noreply.github.com>
@ethanolivertroy
ethanolivertroy marked this pull request as ready for review August 7, 2026 12:41
@ethanolivertroy
ethanolivertroy requested a review from a team as a code owner August 7, 2026 12:41
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 38ef6f3. Configure here.

Comment thread plugins/connectors/wiz-inspector/scripts/collect.js
Comment thread plugins/grc-engineer/scripts/scan-iac.js Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 7

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@CLAUDE.md`:
- Around line 42-54: Update the script-backed plugin classification in the
two-pattern section to include fedramp-20x, dashboards/compliance-posture, and
knowledge-sources/gcp-docs, matching the script-bearing locations listed near
the end of the document. Alternatively, explicitly label both inventories as
examples, but ensure the classification and the later inventory remain
consistent.

In `@docs/ARCHITECTURE.md`:
- Around line 137-140: Update the plugin taxonomy section in the architecture
documentation to include the reporting/workflow, bridge, and knowledge-source
categories defined by CLAUDE.md and docs/ARCHITECTURE-V2-RFC.md. Keep the
existing categories intact and ensure the list represents the current plugin
inventory rather than a partial subset.
- Line 177: Update the crosswalk guidance near the “Don't: use SCF” text to
remove the prohibition against using SCF and align it with the document’s
canonical guidance: contributors should use SCF and submit a PR upstream when
the required control mapping is missing.

In `@plugins/connectors/datadog-inspector/scripts/collect.js`:
- Around line 248-250: Update isCriticalMonitor so critical, prod, and
production match only as complete word tokens rather than substrings, while
preserving the priority-based match. Add a regression test covering a
non-production monitor named “product” and ensure it is not classified as
critical.

In `@plugins/connectors/tenable-inspector/scripts/collect.js`:
- Around line 100-103: Update the scalar parsing logic before assigning
parent[key] so it strips inline comments only when they occur outside quoted
values, then recognizes and removes matching single or double quotes before
boolean and numeric conversion. Ensure values such as quoted URLs retain their
full content and numeric values followed by comments are converted to numbers.

In `@plugins/connectors/wiz-inspector/scripts/collect.js`:
- Around line 172-182: Update the callers of collectConnection for issues,
vulnerabilities, and configurationFindings to check res.truncated in addition to
!res.ok before creating findings. On truncation, call recordError, mark the
tenant metadata with truncated: true, and ensure the evaluation is inconclusive
so it exits via EXIT.PARTIAL.

In `@plugins/grc-engineer/scripts/scan-iac.js`:
- Around line 304-317: Update checkK8sEncryption so storageClassName alone does
not satisfy declaresEncryption; continue accepting explicit encryption or KMS
indicators, but report resources that only reference a StorageClass for manual
verification unless the referenced StorageClass is resolved and confirmed
encrypted. Preserve Kubernetes YAML manifest support and the existing issue
structure.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c3b46d5b-be36-4e59-959e-2151e95f11ca

📥 Commits

Reviewing files that changed from the base of the PR and between e98e63e and 38ef6f3.

📒 Files selected for processing (21)
  • .github/workflows/contract-test.yml
  • AGENTS.md
  • CHANGELOG.md
  • CLAUDE.md
  • ROADMAP.md
  • docs/ARCHITECTURE-V2-RFC.md
  • docs/ARCHITECTURE.md
  • package.json
  • plugins/connectors/crowdstrike-inspector/scripts/collect.js
  • plugins/connectors/datadog-inspector/scripts/collect.js
  • plugins/connectors/gcp-inspector/scripts/collect.js
  • plugins/connectors/okta-inspector/scripts/collect.js
  • plugins/connectors/snowflake-inspector/scripts/collect.js
  • plugins/connectors/splunk-inspector/scripts/collect.js
  • plugins/connectors/tenable-inspector/scripts/collect.js
  • plugins/connectors/wiz-inspector/scripts/collect.js
  • plugins/grc-engineer/scripts/cross-framework-analyzer.js
  • plugins/grc-engineer/scripts/scan-iac.js
  • plugins/grc-engineer/scripts/test-control.js
  • tests/connector-evaluation-logic.test.mjs
  • tests/run-unit-tests.sh

Comment thread CLAUDE.md Outdated
Comment thread docs/ARCHITECTURE.md
Comment thread docs/ARCHITECTURE.md Outdated
Comment thread plugins/connectors/datadog-inspector/scripts/collect.js
Comment thread plugins/connectors/tenable-inspector/scripts/collect.js Outdated
Comment thread plugins/connectors/wiz-inspector/scripts/collect.js
Comment thread plugins/grc-engineer/scripts/scan-iac.js
- scan-iac: implement the missing scanKubernetesResource dispatch and
  narrow scanYaml's try/catch to the parse, so Kubernetes documents are
  scanned instead of silently skipped (Greptile P1)
- scan-iac: stop accepting a bare storageClassName reference as
  encryption evidence; unresolvable StorageClass references now get a
  manual-verification finding (CodeRabbit)
- wiz-inspector: surface pagination truncation as an inconclusive
  tenant evaluation plus a partial error so runs exit PARTIAL, with a
  repeating-cursor fixture exercising it end to end (Bugbot, CodeRabbit)
- datadog-inspector: add word boundaries to the critical-monitor name
  regex so 'product catalog' no longer matches 'prod' (CodeRabbit)
- tenable/crowdstrike: flat YAML parser handles single-quoted scalars
  and inline comments (CodeRabbit)
- grc-engineer scripts: guard CLI detection when process.argv[1] is
  undefined, matching the connectors (Bugbot)
- docs: complete the script-backed plugin inventory in CLAUDE.md, add
  the missing plugin categories to ARCHITECTURE.md, and fix the
  ambiguous 'Don't: use SCF.' crosswalk wording (CodeRabbit)

Unit suite grows 23 -> 32 tests; all pass.

Co-authored-by: Ethan Troy <ethanolivertroy@users.noreply.github.com>
Comment thread plugins/connectors/wiz-inspector/scripts/collect.js
…sult passes

A repeating cursor with zero collected rows previously produced both an
inconclusive truncation finding and a confident 'no open findings' pass
for the same control. The empty-result pass branch is now mutually
exclusive with truncation. Fixture updated so configurationFindings
exercises the truncated-and-empty case.

Co-authored-by: Ethan Troy <ethanolivertroy@users.noreply.github.com>
Comment thread plugins/grc-engineer/scripts/scan-iac.js Outdated
…evidence

'encryption: disabled', descriptions like 'kms encryption pending', or
any value merely containing kms no longer suppress the finding. Evidence
now requires encrypted: true, an affirmative encryption: value, or a
KMS key reference (key name containing kms+key with a value).

Co-authored-by: Ethan Troy <ethanolivertroy@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants