Commit Graph
9340 Commits
Author SHA1 Message Date
github-actions[bot]andadityapatwardhan 6c33ebd51f Update to the latest NOTICES file (#17275)
Co-authored-by: adityapatwardhan <adityapatwardhan@users.noreply.github.com>
2022-05-09 21:41:51 +00:00
Travis Plunk 4af204f574 Switch to using GitHub action to verify markdown links for PRs (#17281) 2022-05-09 11:42:15 -07:00
Travis PlunkandAditya Patwardhan a33b5d32b0 Put Secure supply chain analysis at correct place (#17273)
* Update releaseBuild.yml

* Add nuget security analysis to where it should be

* Add a display name

* Update tools/releaseBuild/azureDevOps/releaseBuild.yml

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2022-05-06 11:54:04 -07:00
Travis Plunk 3bff8c0e69 Fix build id variable name when selecting CI container (#17279) 2022-05-06 11:47:42 -07:00
Dongbo Wang 4c6c4f30af Fix formatting truncation to handle strings with VT sequences (#17251) 2022-05-06 11:40:34 -07:00
Travis Plunk c000fc5430 Add rotation between the two mariner images (#17277)
* Add rotation between the two mariner images

* Add comments and fix issues

* select the tag that works with test-deps
2022-05-06 11:24:24 -07:00
Travis Plunk e08edcb82d Update to use mcr.microsoft.com (#17272) 2022-05-05 15:27:59 -07:00
Dongbo Wang 8cfb727a0c Update engine working group members (#17271) 2022-05-05 14:58:47 -07:00
0ff843da99 Bump PSReadLine from 2.2.2 to 2.2.5 in /src/Modules (#17252)
* Bump PSReadLine from 2.2.2 to 2.2.5 in /src/Modules

Bumps PSReadLine from 2.2.2 to 2.2.5.

---
updated-dependencies:
- dependency-name: PSReadLine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update files.wxs

* Cleanup

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2022-05-05 10:31:42 -07:00
github-actions[bot]andadityapatwardhan 0ea03f560d Update the cgmanifest (#17268)
Co-authored-by: adityapatwardhan <adityapatwardhan@users.noreply.github.com>
2022-05-05 17:29:12 +00:00
Travis Plunk d092aa96b3 Update timeout for daily (#17263)
* Update timeout for daily

* put timeout on job
2022-05-05 10:11:02 -07:00
dependabot[bot] 855b3ea569 Bump NJsonSchema from 10.6.9 to 10.6.10 (#16902)
Bumps [NJsonSchema](https://github.com/RicoSuter/NJsonSchema) from 10.6.9 to 10.6.10.
- [Release notes](https://github.com/RicoSuter/NJsonSchema/releases)
- [Commits](https://github.com/RicoSuter/NJsonSchema/compare/v10.6.9...v10.6.10)

---
updated-dependencies:
- dependency-name: NJsonSchema
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 15:41:51 -07:00
github-actions[bot]andTravisEz13 bb72e4990d Update the cgmanifest (#17260)
Co-authored-by: TravisEz13 <TravisEz13@users.noreply.github.com>
2022-05-04 22:38:19 +00:00
Andrew e8c85a175b Merged PR 20274: Fix Generate checksum file for packages build failure - v7.1.7 (#17219)
Fix Generate checksum file for packages build failure
2022-05-04 15:33:31 -07:00
Travis Plunk 41062a588b Move cgmanifest generation to daily (#17258)
* Move cgmanifest generation to daily

* fix PR title
2022-05-04 14:57:19 -07:00
Patrick Meinecke 99f3bb7a6a Fix line breakpoints for return statements without a value (#17179) 2022-05-04 10:56:55 -07:00
Ryne Andal 2550a3a23a Add check for ScriptBlock wrapped in PSObject to $using used in ForEach-Object -Parallel (#17234) 2022-05-04 10:51:45 -07:00
dependabot[bot] de04e8dd2b Bump Microsoft.CodeAnalysis.NetAnalyzers (#17245)
Bumps [Microsoft.CodeAnalysis.NetAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 7.0.0-preview1.22202.1 to 7.0.0-preview1.22252.2.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/main/PostReleaseActivities.md)
- [Commits](https://github.com/dotnet/roslyn-analyzers/commits)

---
updated-dependencies:
- dependency-name: Microsoft.CodeAnalysis.NetAnalyzers
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-03 12:06:42 -07:00
github-actions[bot]andadityapatwardhan b9c24db730 Update to the latest notice file (#17238)
Co-authored-by: adityapatwardhan <adityapatwardhan@users.noreply.github.com>
2022-05-03 11:57:13 -07:00
Travis Plunk 156757c93d Add container to Linux CI (#17233) 2022-05-02 15:59:23 -07:00
Dongbo Wang 36fcec3bdd Fix ForEach method to set property on a scalar object (#17213) 2022-05-02 10:07:12 -07:00
AndrewandTravis Plunk c3b7e10fd0 Merged PR 20126: Fix for partial PowerShell module search paths, that can be resolved to CWD locations (#17231)
The problem is .NET will return empty strings for special folders that don't exist in some accounts (like System account), and the module path code appends path locations without first checking if the root path is non-empty.  This results in partial paths in the PSModulePath list, which are then interpreted by .NET file APIs as rooted in the current working directory.  And this in turn can allow low privilege users to drop modules in locations that higher privilege accounts will load from, thus gaining escalated privilege code execution.

These changes detect this non-rooted condition and prevents partial paths from being included in search lists.

Cherry picked from !17201

Co-authored-by: Travis Plunk <tplunk@microsoft.com>
2022-05-01 13:04:58 +05:00
Andrewandtravis plunk 956c2efc3e Mark Microsoft.Management.Infrastructure.Runtime.Win as a developer dependency to hide in notice file (#17230)
Co-authored-by: travis plunk <github@ez13.net>
2022-04-29 18:40:59 +00:00
Staffan Gustafsson edc489a790 Fixing dotnet SDK version parsing in build.psm1 (#17198) 2022-04-29 10:07:57 -07:00
Andrew 5d7b8b95ec Fixed package names verification to support multi-digit versions (#17220)
Fixed package names verification to support multi-digit versions.

Currently "Validate RPM package names" release step is failing because of version "7.0.10" in these examples:
WARNING: powershell-7.0.10-1.centos.8.x86_64.rpm is not a valid package name
WARNING: powershell-7.0.10-1.rhel.7.x86_64.rpm is not a valid package name
WARNING: powershell-lts-7.0.10-1.centos.8.x86_64.rpm is not a valid package name
WARNING: powershell-lts-7.0.10-1.rhel.7.x86_64.rpm is not a valid package name
2022-04-29 00:30:08 +00:00
dependabot[bot] 669d15b95c Bump Microsoft.CodeAnalysis.CSharp from 4.2.0-1.final to 4.2.0-4.final (#17210)
Bumps [Microsoft.CodeAnalysis.CSharp](https://github.com/dotnet/roslyn) from 4.2.0-1.final to 4.2.0-4.final.
- [Release notes](https://github.com/dotnet/roslyn/releases)
- [Changelog](https://github.com/dotnet/roslyn/blob/main/docs/Breaking%20API%20Changes.md)
- [Commits](https://github.com/dotnet/roslyn/commits)

---
updated-dependencies:
- dependency-name: Microsoft.CodeAnalysis.CSharp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 17:25:49 -07:00
Andrew 83edc101ed MakeNameObscurerTelemetryInitializer internal (#17214)
Making NameObscurerTelemetryInitializer internal
2022-04-28 17:07:25 -07:00
James Truher [MSFT] f22e475f53 Change logic in the testing helper module for determining whether PSHOME is writable (#17218) 2022-04-28 17:02:57 -07:00
Travis Plunk 42ad8b97e2 Add backport action (#17212) 2022-04-28 15:37:38 -07:00
AndrewandDongbo Wang 8fb34e87e5 Updated change logs for v7.0.9 / v7.0.10 / v7.1.6 / v7.1.7 / v7.2.2 / v7.2.3 (#17207)
* Merged PR 19472: Update change log for the v7.2.2 release

Update change log for the v7.2.2 release

* Merged PR 20440: Changelog for v7.2.3

Changelog for 7.2.3

* Update change log for v7.1.6 release

* Merged PR 20441: Changelog for v7.1.7

Changelog for 7.1.7

* Update change log for v7.0.9 release

* Merged PR 20442: Changelog for v7.0.10

Changelog for 7.0.10

* Cleaned merge conflicts in spelling file

* Cleaned conflicts in spelling file

Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2022-04-28 11:16:16 -07:00
Andrew f4e38e8fa7 Updated metadata.json and README.md for v7.2.3 and v7.0.10 (#17158) 2022-04-26 20:01:53 -07:00
m1k0net 0067decae8 Fix Sort-Object -Stable -Unique to actually do stable sorting (#17189) 2022-04-26 16:58:37 -07:00
Anam Navied ad5a6ffbf2 Update package fallback list for ubuntu (from those updated for ubuntu 22.04) (deb) (#17180) 2022-04-25 17:55:25 +00:00
Dongbo Wang b898da8842 Make a variable assignment in a ParenExpression to return the variable value (#17174) 2022-04-22 10:55:38 -07:00
Paul Higinbotham db1c8658fb Update wix to include security extensions package (#17171) 2022-04-21 18:01:45 +00:00
Travis Plunk 89ae02de40 Update rebase.yml (#17170) 2022-04-21 10:24:01 -07:00
Patrick MeineckeandAndrew Menagarishvili 1c568d42d8 Make NameObscurerTelemetryInitializer internal (#17167)
Making NameObscurerTelemetryInitializer internal

Co-authored-by: Andrew Menagarishvili <anmenaga@microsoft.com>
2022-04-21 09:54:50 -07:00
8c238652b5 Adds sha256 digests to RPM packages (#16896)
Co-authored-by: Nick Hall <nhall@optumserve.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2022-04-21 09:50:04 -07:00
Travis Plunk 6c171610a3 Make mariner packages Framework dependent (#17151) 2022-04-21 09:46:28 -07:00
github-actions[bot]andadityapatwardhan 3446e55667 Update to the latest notice file (#17169)
Co-authored-by: adityapatwardhan <adityapatwardhan@users.noreply.github.com>
2022-04-21 09:44:02 -07:00
8d453da283 Use new Windows signature APIs from Microsoft.Security.Extensions package (#17159)
Co-authored-by: Anam Navied <anam.naviyou@gmail.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2022-04-20 21:26:57 +00:00
github-actions[bot]andadityapatwardhan c2e11e9329 Update to the latest notice file (#17146)
Co-authored-by: adityapatwardhan <adityapatwardhan@users.noreply.github.com>
2022-04-20 14:20:12 -07:00
Patrick Meinecke b9b3d5f72b Update link to PowerShell remoting in depth video (#17166) 2022-04-20 14:17:44 -07:00
Travis Plunk 94c632866f Replace . in notices container name (#17154) 2022-04-18 10:37:54 -07:00
James Truher [MSFT] 84e73b2b45 Do not include node names when sending telemetry. (#16981) 2022-04-14 10:02:55 -07:00
Charlton Stanley 5134410d79 Correct Typo in the resource string PathResolvedToMultiple (#17098) 2022-04-12 16:46:23 -07:00
Ikko Ashimine 2bc1308772 Fix typo in ComRuntimeHelpers.cs (#17104) 2022-04-12 16:45:18 -07:00
James Truher [MSFT] 9c13c0494f Allow multiple installations of dotnet. (#17141)
* Allow multiple installations of dotnet.

A new flag for removal is now provided, but by default we will add a new version of dotnet.

* Add updated CG manifest.
2022-04-12 14:26:52 -07:00
Stéphane BARIZIEN 4acf6b39d4 Support forward slashes in network share (UNC path) completion (#17111) (#17117) 2022-04-12 21:00:16 +05:00
Dongbo Wang 7cc9c87473 Do not generate clean block in proxy function when the feature is disabled (#17112) 2022-04-05 12:00:41 -07:00