Skip to content

Update deps#64

Merged
ghaskins merged 4 commits intomanetu:mainfrom
ghaskins:update-deps
Apr 7, 2026
Merged

Update deps#64
ghaskins merged 4 commits intomanetu:mainfrom
ghaskins:update-deps

Conversation

@ghaskins
Copy link
Copy Markdown
Contributor

@ghaskins ghaskins commented Apr 7, 2026

No description provided.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 7, 2026

Codecov Report

❌ Patch coverage is 50.00000% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cmd/mpe/subcommands/lint/regal.go 37.50% 3 Missing and 2 partials ⚠️

📢 Thoughts on this report? Let us know!

ghaskins added 3 commits April 7, 2026 15:31
Signed-off-by: Greg Haskins <greg@manetu.com>
Regal uses OPA's crypto.md5 builtin internally in its own Rego rules.
Under GODEBUG=fips140=only, Go's crypto/md5 panics. Because the panic
originates in a goroutine spawned by Regal's errgroup, a defer/recover
in the caller cannot catch it.

Detect FIPS mode via GODEBUG and skip Regal linting with a warning.
Skip the TestPerformRegalLinting_InvalidRego test in FIPS mode, as it
asserts Regal-specific error codes that are never reached when linting
is bypassed.

Signed-off-by: Greg Haskins <greg@manetu.com>
exec.Command with individual args does not invoke a shell, so there is
no injection risk. The opaFlags value comes from operator-supplied CLI
flags or environment variables, not untrusted external input.

Signed-off-by: Greg Haskins <greg@manetu.com>
Signed-off-by: Greg Haskins <greg@manetu.com>
Copy link
Copy Markdown
Contributor

@muralisrini muralisrini left a comment

Choose a reason for hiding this comment

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

lgtm

@ghaskins ghaskins merged commit ccf871c into manetu:main Apr 7, 2026
16 of 17 checks passed
@ghaskins ghaskins deleted the update-deps branch April 7, 2026 19:41
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