Skip to content

ci: add validated reusable central security ingress - #2651

Open
seonghobae wants to merge 1 commit into
mainfrom
seonghobae/security4-reusable-ingress-20261014
Open

seonghobae wants to merge 1 commit into
mainfrom
seonghobae/security4-reusable-ingress-20261014

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

Adds workflow_call to the existing central security bundle with an unprivileged PR identity admission before scanner checkout. Preserves scanner bodies, permissions, hard/soft gates, scope and valid closed-PR behavior. Invalid event/repository/PR/SHA contexts fail closed.\n\nActual verification: invalid-context RED 7 failures plus 3 controls; successor source cohort 23 passed; independent supplier-only whole-source review PASS with 18 focused cases; actionlint exit 0 with shellcheck/pyflakes disabled; byte preservation and diff check passed. Reviewed commit 31a9aef.\n\nUnfinished: consumer immutable pin/caller permissions, per-scanner exact required-context binding, actual isolated runner/cleanjob Actions execution, literal-auto AI review and formal independent App approval. Scope-skipped jobs and soft Scorecard posture are not fabricated scanner PASS. No runner/protection/key/deployment changes. Inherited normal-PR Gitleaks helper trust risk is outside this source slice and not claimed repaired. Original SRC2 source cap and runtime/scientific acceptance are unchanged.

@coderabbitai

coderabbitai Bot commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

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

Next included review available in 44 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: af3bd961-7ed1-4880-94c5-b935ee78d8e2
📥 Commits

Reviewing files that changed from the base of the PR and between acb8b34 and 31a9aef.

📒 Files selected for processing: 2
  • .github/workflows/security-scan.yml
  • tests/test_security_bundle_reusable_entrypoint.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@opencode-agent opencode-agent 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.

Pull request overview

OpenCode reviewed the current-head product diff. Coverage is a separate gate.

Changed files

  • .github/workflows/security-scan.yml — GitHub Actions review job
  • tests/test_security_bundle_reusable_entrypoint.py — regression suite

Changed behavior

flowchart LR
  PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
  Evidence --> S1["Workflow: security-scan.yml"]
  S1 --> I1["GitHub Actions review job"]
  I1 --> R1["Review risk: Workflow: security-scan.yml"]
  R1 --> V1["actionlint plus required checks"]
  Evidence --> S2["Test: test_security_bundle_reusable_entrypoint.py"]
  S2 --> I2["regression suite"]
  I2 --> R2["Review risk: Test: test_security_bundle_reusable_entrypoint.py"]
  R2 --> V2["targeted test run"]
Loading

Findings

No source-backed product finding is synthesized from the coverage gate. A coverage miss belongs in the status comment.

  • Head SHA: 31a9aefd8d075295c2ad09ac2a9a71949810c9e8
  • Workflow run: 38511858474
  • Workflow attempt: 1
  • Coverage gate: failure

Review outcome

Coverage is a gate, not the review. This body reviews the changed product files.

Changed-File Evidence Map

flowchart LR
  PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
  Evidence --> S1["Workflow: security-scan.yml"]
  S1 --> I1["GitHub Actions review job"]
  I1 --> R1["Review risk: Workflow: security-scan.yml"]
  R1 --> V1["actionlint plus required checks"]
  Evidence --> S2["Test: test_security_bundle_reusable_entrypoint.py"]
  S2 --> I2["regression suite"]
  I2 --> R2["Review risk: Test: test_security_bundle_reusable_entrypoint.py"]
  R2 --> V2["targeted test run"]
Loading

@opencode-agent

opencode-agent Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

OpenCode Review Overview

Coverage evidence did not pass, so approval is blocked. The formal pull-request review is the source-backed diff review, not this status comment.

This branch has not been deployed

No deployments
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.

1 participant