fix: refresh dependency and CI security metadata#3896
Draft
bbingz wants to merge 1 commit into
Draft
Conversation
28b90dc to
0681a36
Compare
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.
This is a smaller slice split out of the broader security hardening draft PR (#3895). It keeps the scope limited to dependency/security metadata plus the minimal CI/build hygiene needed to validate those updates in the existing Azure pipeline.
Changes:
src/SSCMS.WebWebApplicationFactoryconfiguration so the upgraded web integration tests run with an isolated test security keyApplicationIconbuild inputs from CLI/Web projects and skip Docker image push outsidemasterValidation run locally:
/opt/homebrew/opt/dotnet@8/bin/dotnet restore sscms.sln/opt/homebrew/opt/dotnet@8/bin/dotnet list /Users/bing/-Code-/cms-pr-dependency-hygiene/sscms.sln package --vulnerable --include-transitive-> no vulnerable packages/opt/homebrew/opt/dotnet@8/bin/dotnet list /Users/bing/-Code-/cms-pr-dependency-hygiene/sscms.sln package --deprecated-> no deprecated packagesnpm audit --jsonat repo root -> 0 vulnerabilitiesnpm audit --jsoninsrc/SSCMS.Web-> 0 vulnerabilitiesnpm ci-> passed, 0 vulnerabilitiesnode -e "require(./'gulpfile.js'); console.log('gulpfile ok')"-> passed/opt/homebrew/opt/dotnet@8/bin/dotnet publish src/SSCMS.Cli/SSCMS.Cli.csproj -c Release -o /tmp/sscms-cli-publish-check-> passed/opt/homebrew/opt/dotnet@8/bin/dotnet publish src/SSCMS.Web/SSCMS.Web.csproj -c Release -o /tmp/sscms-web-publish-check-> passed/opt/homebrew/opt/dotnet@8/bin/dotnet test tests/SSCMS.Web.Tests/SSCMS.Web.Tests.csproj -c Release --no-restore-> passed, 2/2 tests; xUnit1051 warnings only