Skip to content

fix: accept .yaml Security Insights files and require pvtr 0.23+ - #36

Merged
jmeridth merged 1 commit into
mainfrom
fix/yaml-insights-and-pvtr-version
Oct 9, 2026
Merged

jmeridth merged 1 commit into
mainfrom
fix/yaml-insights-and-pvtr-version

Conversation

@jmeridth

@jmeridth jmeridth commented Oct 9, 2026

Copy link
Copy Markdown
Member

What/Why

Cleaner now treats .yaml as valid and stops when both extensions exist in one directory, matching the spec. The scanner reference requires pvtr 0.23.0+, since 0.22 ignores the targets: config key and writes no results.

Proof it works

pre-commit passes. pvtr 0.22.0 produced no evaluation_results/ from this config during an argo-helm scan; the scanner plugin reads .yaml from v0.32.0 (see ossf/pvtr-github-repo-scanner#502).

Risk

Low. Skill prose only.

AI role

Claude Opus 5.5 drafted the edits; jmeridth reviewed.

Review focus

Whether "stop and ask" is the right call when both files exist.

What/Why

Cleaner now treats `.yaml` as valid and stops when both extensions exist
in one directory, matching the spec. The scanner reference requires pvtr
0.23.0+, since 0.22 ignores the `targets:` config key and writes no
results.

Proof it works

pre-commit passes. pvtr 0.22.0 produced no `evaluation_results/` from
this config during an argo-helm scan. The scanner plugin reads `.yaml`
from v0.32.0.

Risk

Low. Skill prose only.

AI role

Claude Opus 5.5 drafted the edits; jmeridth reviewed.

Review focus

Whether "stop and ask" is the right call when both files exist.

Signed-off-by: jmeridth <jmeridth@gmail.com>
@jmeridth jmeridth self-assigned this Oct 9, 2026
@github-actions
github-actions Bot marked this pull request as ready for review October 9, 2026 00:41
@github-actions
github-actions Bot requested a review from a team as a code owner October 9, 2026 00:41
@jmeridth
jmeridth merged commit 0cb2e1d into main Oct 9, 2026
5 checks passed
@jmeridth
jmeridth deleted the fix/yaml-insights-and-pvtr-version branch October 9, 2026 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant