Skip to content

QHelp Fix: InsecureExecutionPolicy.qhelp #20019

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1,005 commits into from
Closed

Conversation

ropwareJB
Copy link
Contributor

Terminates an unterminated p tag.

MathiasVP and others added 30 commits April 9, 2025 15:20
Sync Main Error Handling Improvement
PS: Fix a couple of missing local flow sources
@Copilot Copilot AI review requested due to automatic review settings July 10, 2025 17:37
@ropwareJB ropwareJB requested review from a team as code owners July 10, 2025 17:37
@ropwareJB ropwareJB closed this Jul 10, 2025
@ropwareJB ropwareJB deleted the jb1/qhelpfix branch July 10, 2025 17:37
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new PowerShell extractor for CodeQL that adds comprehensive parsing and extraction capabilities for PowerShell scripts. The main purpose is to enable static analysis of PowerShell code by providing C# extraction tools and related infrastructure.

  • Adds complete PowerShell extractor infrastructure including a C# .NET extraction library and standalone extraction tool
  • Implements comprehensive AST parsing for PowerShell syntax elements including expressions, statements, commands, and metadata
  • Provides CodeQL database schema, build scripts, and configuration files for multi-platform PowerShell analysis

Reviewed Changes

Copilot reviewed 254 out of 4160 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
powershell/extractor/* Core PowerShell extraction library with C# entity classes for AST parsing
powershell/downgrades/* Database schema versioning and upgrade infrastructure
powershell/build-*.ps1 Multi-platform build scripts for Windows, Linux, and macOS
powershell/codeql-extractor.yml PowerShell extractor configuration and file type definitions
misc/scripts/prepare-db-upgrade.sh Updated script to include PowerShell in schema upgrade process
javascript/ql/lib/* Removal of deprecated annotations from JavaScript codebase (cleanup)
Comments suppressed due to low confidence (1)

powershell/extractor/Microsoft.Extractor.Tests/Traps.cs:182

  • The property 'x' should be renamed to 'Item2' for consistency with the tuple structure used elsewhere in the method.
            if (expected.Item1 is null || expected.x is null)

<RootNamespace>Semmle.Extraction.PowerShell.Standalone</RootNamespace>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<RuntimeIdentifiers>win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
<RuntimeIdentifiers>win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
Copy link
Preview

Copilot AI Jul 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The RuntimeIdentifiers property is duplicated on lines 9 and 10. Remove the duplicate entry to avoid potential build configuration issues.

Suggested change
<RuntimeIdentifiers>win-x64;linux-x64;osx-x64</RuntimeIdentifiers>

Copilot uses AI. Check for mistakes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants