Skip to content

Add support for Oryx Build Safety Checker - #3043

Open
Vijay Saayi (vijaysaayi) wants to merge 11 commits into
mainfrom
user/visaayir/safeoryxbuilds
Open

Add support for Oryx Build Safety Checker#3043
Vijay Saayi (vijaysaayi) wants to merge 11 commits into
mainfrom
user/visaayir/safeoryxbuilds

Conversation

@vijaysaayi

@vijaysaayi Vijay Saayi (vijaysaayi) commented Aug 26, 2026

Copy link
Copy Markdown
Contributor
  • The purpose of this PR is explained in this message or in an issue. If an issue please include a reference as #<issue_number>.
  • Tests are included and/or updated for code changes.
  • Proper license headers are included in each file.

Added support for Oryx Build Safety Checker.

Reference Id: 1d4b9227-0a6d-414e-8730-bcb87c43102f
@vijaysaayi
Vijay Saayi (vijaysaayi) requested a review from a team as a code owner August 26, 2026 13:03
Resolve Python dependencies before installation, assess them with the packaged checker, and install using generated frozen constraints. Support audit and block modes with fail-open handling for operational failures. Update generated-script and platform tests.
Handle checker exit code 42 separately from package installation failures and report that Oryx SafeBuild blocked deployment because critical vulnerabilities were found. Update generated Python build-script coverage.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1d4b9227-0a6d-414e-8730-bcb87c43102f
Stop passing an exceptions file to the SafeBuild checker and verify generated Python build scripts omit the exceptions argument.
Log dependency resolution, advisory assessment, and total SafeBuild elapsed time across successful, blocked, timed-out, and fail-open paths.
Update build properties, generated scripts, checker invocation, and tests to use SecureBuild naming.
Comment thread src/BuildScriptGenerator/Python/PythonBashBuildSnippet.sh.tpl
Comment thread src/BuildScriptGenerator/Python/PythonBashBuildSnippet.sh.tpl Outdated
Comment thread src/BuildScriptGenerator/Python/PythonBashBuildSnippet.sh.tpl Outdated
Comment thread src/BuildScriptGenerator/Python/PythonBashBuildSnippet.sh.tpl Outdated
Comment thread src/BuildScriptGenerator/Python/PythonBashBuildSnippet.sh.tpl Outdated
Comment thread src/BuildScriptGenerator/Python/PythonBashBuildSnippet.sh.tpl Outdated
Comment thread src/BuildScriptGenerator/Python/PythonBashBuildSnippet.sh.tpl Outdated
Capture resolved Python dependencies for replay and SecureBuild assessment, publish deployment-scoped metadata, and expose the output directory through the build CLI.
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