mirror of
https://github.com/github/codeql.git
synced 2026-05-25 00:27:09 +02:00
PS: Fix more problems in MaD rows for sources.
This commit is contained in:
@@ -7,10 +7,6 @@ extensions:
|
||||
- ["microsoft.win32.registrykey", "Method[getvalue].ReturnValue", "windows-registry"]
|
||||
- ["microsoft.win32.registrykey", "Method[getvaluenames].ReturnValue", "windows-registry"]
|
||||
- ["microsoft.win32.registrykey", "Method[getsubkeynames].ReturnValue", "windows-registry"]
|
||||
- ["microsoft.win32.registry!", "Method[getvalue].ReturnValue", "windows-registry"]
|
||||
- ["microsoft.win32.registrykey", "Method[getvalue].ReturnValue", "windows-registry"]
|
||||
- ["microsoft.win32.registrykey", "Method[getvaluenames].ReturnValue", "windows-registry"]
|
||||
- ["microsoft.win32.registrykey", "Method[getsubkeynames].ReturnValue", "windows-registry"]
|
||||
|
||||
- addsTo:
|
||||
pack: microsoft-sdl/powershell-all
|
||||
|
||||
@@ -9,7 +9,7 @@ extensions:
|
||||
- ["system.environment!", "Method[expandenvironmentvariables].ReturnValue", "environment"]
|
||||
- ["system.environment!", "Method[getcommandlineargs].ReturnValue", "command-line"]
|
||||
- ["system.environment!", "Method[getenvironmentvariable].ReturnValue", "environment"]
|
||||
- ["system.environment!", "Method[getenvironmentvariables].ReturnValue", "environment"]
|
||||
- ["system.environment!", "Method[getenvironmentvariables].ReturnValue", "environment"]
|
||||
|
||||
- addsTo:
|
||||
pack: microsoft-sdl/powershell-all
|
||||
|
||||
@@ -19,16 +19,16 @@ extensions:
|
||||
- ["system.io.file!", "Method[readalltextasync].ReturnValue", "file"]
|
||||
- ["system.io.file!", "Method[readlines].ReturnValue", "file"]
|
||||
- ["system.io.file!", "Method[readlinesasync].ReturnValue", "file"]
|
||||
- ["system.io.fileInfo!", "Method[appendtext].ReturnValue", "file-write"]
|
||||
- ["system.io.fileInfo!", "Method[create].ReturnValue", "file-write"]
|
||||
- ["system.io.fileInfo!", "Method[createtext].ReturnValue", "file-write"]
|
||||
- ["system.io.fileInfo!", "Method[open].ReturnValue", "file-write"]
|
||||
- ["system.io.fileInfo!", "Method[open].ReturnValue", "file"]
|
||||
- ["system.io.fileInfo!", "Method[openread].ReturnValue", "file"]
|
||||
- ["system.io.fileInfo!", "Method[opentext].ReturnValue", "file"]
|
||||
- ["system.io.fileInfo!", "Method[openwrite].ReturnValue", "file-write"]
|
||||
- ["system.io.fileStream", "Instance", "file"]
|
||||
- ["system.io.fileStream", "Instance", "file-write"]
|
||||
- ["system.io.fileinfo", "Method[appendtext].ReturnValue", "file-write"]
|
||||
- ["system.io.fileinfo", "Method[create].ReturnValue", "file-write"]
|
||||
- ["system.io.fileinfo", "Method[createtext].ReturnValue", "file-write"]
|
||||
- ["system.io.fileinfo", "Method[open].ReturnValue", "file-write"]
|
||||
- ["system.io.fileinfo", "Method[open].ReturnValue", "file"]
|
||||
- ["system.io.fileinfo", "Method[openread].ReturnValue", "file"]
|
||||
- ["system.io.fileinfo", "Method[opentext].ReturnValue", "file"]
|
||||
- ["system.io.fileinfo", "Method[openwrite].ReturnValue", "file-write"]
|
||||
- ["system.io.filestream", "Instance", "file"]
|
||||
- ["system.io.filestream", "Instance", "file-write"]
|
||||
- ["system.io.streamwriter", "Instance", "file-write"]
|
||||
|
||||
- addsTo:
|
||||
|
||||
@@ -9,7 +9,7 @@ extensions:
|
||||
pack: microsoft-sdl/powershell-all
|
||||
extensible: typeModel
|
||||
data:
|
||||
- ["system.management.automation.commandinvocationintrinsics","System.Management.Automation.EngineIntrinsics","Member[InvokeCommand]"]
|
||||
- ["system.management.automation.commandinvocationintrinsics", "System.Management.Automation.EngineIntrinsics","Member[InvokeCommand]"]
|
||||
|
||||
- addsTo:
|
||||
pack: microsoft-sdl/powershell-all
|
||||
|
||||
@@ -4,13 +4,13 @@ extensions:
|
||||
extensible: sinkModel
|
||||
data:
|
||||
- ["system.management.automation.powershell", "Method[addscript].Argument[0]", "command-injection"]
|
||||
- ["System.Management.Automation.ScriptBlock!", "Method[create].Argument[0]", "command-injection"]
|
||||
- ["system.management.automation.scriptblock!", "Method[create].Argument[0]", "command-injection"]
|
||||
|
||||
- addsTo:
|
||||
pack: microsoft-sdl/powershell-all
|
||||
extensible: typeModel
|
||||
data:
|
||||
- ["system.management.automation.powershell","system.management.automation.powershell!","Method[create].ReturnValue"]
|
||||
- ["system.management.automation.powershell", "system.management.automation.powershell!","Method[create].ReturnValue"]
|
||||
|
||||
- addsTo:
|
||||
pack: microsoft-sdl/powershell-all
|
||||
|
||||
@@ -3,10 +3,10 @@ extensions:
|
||||
pack: microsoft-sdl/powershell-all
|
||||
extensible: sourceModel
|
||||
data:
|
||||
- ["System.Net.Sockets.TcpClient", "Method[GetStream].ReturnValue", "remote"]
|
||||
- ["system.net.sockets.udpclient", "Method[EndReceive].ReturnValue", "remote"]
|
||||
- ["system.net.sockets.udpclient", "Method[Receive].ReturnValue", "remote"]
|
||||
- ["system.net.sockets.udpclient", "Method[ReceiveAsync].ReturnValue", "remote"]
|
||||
- ["system.net.sockets.tcpclient", "Method[getstream].ReturnValue", "remote"]
|
||||
- ["system.net.sockets.udpclient", "Method[endreceive].ReturnValue", "remote"]
|
||||
- ["system.net.sockets.udpclient", "Method[receive].ReturnValue", "remote"]
|
||||
- ["system.net.sockets.udpclient", "Method[receiveasync].ReturnValue", "remote"]
|
||||
|
||||
- addsTo:
|
||||
pack: microsoft-sdl/powershell-all
|
||||
|
||||
Reference in New Issue
Block a user