From 084c868c8f6aa6fa8c3483116ae9a4448e061772 Mon Sep 17 00:00:00 2001 From: Mathias Vorreiter Pedersen Date: Thu, 5 Sep 2024 18:21:43 +0100 Subject: [PATCH] PS: Add consistency queries. --- powershell/ql/consistency-queries/CfgConsistency.ql | 1 + powershell/ql/consistency-queries/qlpack.yml | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 powershell/ql/consistency-queries/CfgConsistency.ql create mode 100644 powershell/ql/consistency-queries/qlpack.yml diff --git a/powershell/ql/consistency-queries/CfgConsistency.ql b/powershell/ql/consistency-queries/CfgConsistency.ql new file mode 100644 index 000000000000..3aba6c202eba --- /dev/null +++ b/powershell/ql/consistency-queries/CfgConsistency.ql @@ -0,0 +1 @@ +import semmle.code.powershell.controlflow.internal.ControlFlowGraphImpl::Consistency diff --git a/powershell/ql/consistency-queries/qlpack.yml b/powershell/ql/consistency-queries/qlpack.yml new file mode 100644 index 000000000000..846635f7a70f --- /dev/null +++ b/powershell/ql/consistency-queries/qlpack.yml @@ -0,0 +1,9 @@ +name: codeql/powershell-consistency-queries +groups: + - powershell + - microsoft-all + - test + - consistency-queries +dependencies: + microsoft-sdl/powershell-all: ${workspace} +warnOnImplicitThis: true