Repository navigation
👷 chore(ci): harden CI install steps (SEC-04j) - #150
Merged
Merged
Conversation
CodeQL/SonarCloud CI-hardening findings not in the original KO list: - .devcontainer/post-install.sh: kind/kubebuilder/kubectl curl downloads enforce HTTPS end-to-end (--proto '=https' --proto-redir '=https' --tlsv1.2) so a redirect cannot downgrade to plaintext. - .github/actions/kind-e2e-setup/action.yml: kind download curl enforces HTTPS. - .github/workflows/e2e-nightly.yaml: npm ci --ignore-scripts blocks dependency postinstall scripts in CI (npm ci already pins to the lockfile); build verified unaffected (vite/esbuild/rollup use optionalDependencies; Playwright browsers install explicitly in the next step). - .github/workflows/docs.yaml: pip install --only-binary=:all: refuses to build any dependency from source (wheels only). Gates: shellcheck clean; actionlint clean (both workflows); sonar_ko_06 docs-perms and sonar_ko_08 workflow-perms guards intact.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
konih
added a commit
that referenced
this pull request
Jul 31, 2026
Bump chart version/appVersion 0.10.0 -> 0.11.0 for the next minor. Unreleased since v0.10.0: feat(netguard) NET-01 --allow-private-sinks opt-in (#146) + fix(controller) inventory store source Start non-blocking / DR-FIND-01 (#143), plus DR-FIND-03 lab-bootstrap docs (#148), UI-TEST-01 (#147), SEC-04j CI-hardening (#150).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



SEC-04j (P1) — CI-hardening findings
CodeQL/SonarCloud CI-hardening findings not in the original KO list:
.devcontainer/post-install.sh— kind/kubebuilder/kubectl curl downloads enforce HTTPS end-to-end (--proto '=https' --proto-redir '=https' --tlsv1.2) so a redirect can't downgrade to plaintext..github/actions/kind-e2e-setup/action.yml— kind download curl enforces HTTPS..github/workflows/e2e-nightly.yaml—npm ci --ignore-scriptsblocks dependency postinstall scripts in CI (npm ci is lockfile-pinned). Build verified unaffected (vite/esbuild/rollup use optionalDependencies; Playwright browsers install explicitly next step)..github/workflows/docs.yaml—pip install --only-binary=:all:refuses source builds (wheels only).Gates: shellcheck ✅ · actionlint (both workflows) ✅ ·
sonar_ko_06docs-perms +sonar_ko_08workflow-perms guards ✅. Independent review APPROVE, no P0/P1.Follow-up (P3, non-blocking, from review):
--ignore-scriptsalso skips the repo's rootpostinstall(link-openapi.mjs) that copiesopenapi/v1alpha1/inventory.yaml→ui/openapi/and the logo intoui/public/. Those copies are git-tracked and currently in sync, so no break — but consider a CI drift-check so a future un-committed source edit can't build against stale copies.