Repository navigation
docs(security): document PSGallery module staleness check - #3219
Mohammed Alkindi (MohammedAlkindi) wants to merge 3 commits into
Conversation
Describe the psModules check in Test-SHAStaleness.ps1 and the HVE_PSGALLERY_REPOSITORY override, and list Get-PSGalleryApiBase in the SecurityHelpers function table. Closes microsoft#1434
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3219 +/- ##
==========================================
- Coverage 81.90% 81.74% -0.17%
==========================================
Files 125 109 -16
Lines 17625 17317 -308
Branches 63 0 -63
==========================================
- Hits 14436 14156 -280
+ Misses 3178 3161 -17
+ Partials 11 0 -11
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
nit: can you also update the ms.date to go along?
Head branch was pushed to by a user without write access
There was a problem hiding this comment.
Hi Mohammed Alkindi (@MohammedAlkindi), thank you for this contribution and for all the fixes you've been sending lately. They're much appreciated! Before we continue with the review, could you please take care of a few process items:
1. Complete all required checks
The Required Local Checks in the description are still unchecked. Please run these locally, fix anything they report, and tick each box once it passes (or mark it N/A with a short reason):
npm run validate:localnpm run validate:docs(if docs changed)npm run spell-checknpm run lint:md-links
2. Issue link
Thanks for linking #1434 with a closing keyword. That part is all set, so please keep it in the regenerated description.
Thanks again! I'm happy to take another look as soon as these are in place.
Pull Request
Description
Test-SHAStaleness.ps1also checks thepsModulespins intool-checksums.jsonagainst the PowerShell Gallery throughGet-PSModuleStaleness, but the security README only describes the action check. This adds the module check and theHVE_PSGALLERY_REPOSITORYoverride to its Features list, and addsGet-PSGalleryApiBaseto the SecurityHelpers function table.Related Issue(s)
Fixes #1434
Type of Change
Sample Prompts (for AI Artifact Contributions)
N/A
Testing
markdownlint-cli2, cspell and
Validate-MarkdownFrontmatter.ps1pass on the changed file.Checklist
Required Checks
AI Artifact Contributions
N/A
Required Local Checks
npm run validate:localnpm run validate:docsnpm run spell-checknpm run lint:md-linksSecurity Considerations
Additional Notes
None.