diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 83b30ed587f..fa555b909d5 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -77,3 +77,7 @@ src/System.Management.Automation/engine/remoting @dantraMSFT @mirichmo @PaulHi build.* @daxian-dbw @TravisEz13 @adityapatwardhan tools/ @daxian-dbw @TravisEz13 @adityapatwardhan docker/ @daxian-dbw @TravisEz13 @adityapatwardhan + +# Area: Compliance +tools/terms @TravisEz13 +tools/credScan @TravisEz13 diff --git a/test/powershell/engine/ParameterBinding/ParameterBinding.Tests.ps1 b/test/powershell/engine/ParameterBinding/ParameterBinding.Tests.ps1 index e3d84164093..47a572cd943 100644 --- a/test/powershell/engine/ParameterBinding/ParameterBinding.Tests.ps1 +++ b/test/powershell/engine/ParameterBinding/ParameterBinding.Tests.ps1 @@ -150,7 +150,7 @@ try { - test-singleintparameter -Parameter1 'dookie' + test-singleintparameter -Parameter1 'exampleInvalidParam' throw "No Exception!" } catch diff --git a/tools/terms/FileTypeSet.xml b/tools/terms/FileTypeSet.xml new file mode 100644 index 00000000000..2b0821d6777 --- /dev/null +++ b/tools/terms/FileTypeSet.xml @@ -0,0 +1,379 @@ + + + + +Pure Text Files + +.txt +.des +.pwd +.asm +.cmd +.ini +.poc +.pwt +.hpj +.sql +.inf +.log +.def +.url +.bat +.aspx +.idl +.sys +.resources +.strings +.md +.yml +.yaml +.spelling +.gitignore +.gitattributes +.gitmodules +.csv +.tsv + + + +CodeFiles + +.frm +.inc +.cpp +.cls +.c +.hpp +.vbs +.java +.cs +.cxx +.h +.jav +.bas +.hxx +.js +.pl +.rc +.vb +.json +.resjson +.fs +.fsi +.fsx +.m +.psm1 +.config +.ps1 +.psd1 +.cmake +.sh +.cshtml +.plist +.mof +.mc + + + +XML Files + +.xml +.hxa +.hxk +.hxl +.xsl +.hxc +.hxt +.hxm +.resx +.hxe +.hxf +.hxv +.acctb +.accfl +.xaml +.ttml +.ddue +.sln +.props +.ps1xml +.csproj +.xsd +.svg +.clixml +.nuspec +.cdxml +.manifest + + + +Microsoft Word Documents + +.doc +.dot +.wiz + + + +Microsoft Access Database Compatible + +.mdb +.mda +.mde +.mpd +.mdt + + + +Microsoft PowerPoint Presentation + +.ppt +.pot +.pps + + + +Microsoft Publisher Files + +.pub + + + +Microsoft Excel Workbooks + +.xls +.xlt + + + +Pure Binary Files + +.com +.bin +.tlb +.drv +.fon +.blg +.gif +.png +.icns +.ico +.bmp +.pfx + + + +Localization resource databases + +.edb +.lcl +.xlf +.xliff + + + +Microsoft Project Files + +.mpp +.mpt + + + +Microsoft Visio Files + +.vsd +.vdx +.vss +.vst + + + +Windows Installer databases + +.msi +.msm + + + +Zip Files + +.zip +.accdt +.axtr + + + +Cabinet / MS Compression Files + +.cab + + + +Table driven IME lexicons + +.mb + + + +IME ( IMD ) Files + +.imd + + + +TrueType Font Files + +.ttf + + + +Microsoft Outlook Mail Files + +.msg +.oft + + + +HTML Help 2.0 Files / InfoTech5.x Storage System Files + +.its +.hxh +.hxr +.hxw +.hxi +.hxs +.hxq + + + +Adobe Acrobat PDF Files + +.pdf + + + +HTML Files / Web Page + +.htm +.dtd +.hhk +.htw +.asp +.htc +.htx +.html +.hhc +.css +.stm + + + +Rich Text Files + +.rtf + + + +Windows 3.x Write Files + +.wri + + + +MHTML Files + +.eml +.nws +.mht + + + +Word 2007 Files + +.docx +.docm +.dotx +.dotm + + + +Excel 2007 Files + +.xlsx +.xlsm +.xltx +.xltm +.xlsb +.xlam + + + +Power Point 2007 Files + +.pptx +.pptm +.potx +.potm +.ppsx +.ppsm +.ppam + + + +Access 2007 Files + +.accdb +.accde +.accdr + + + +Win32/64-based executable (image) Files + +.exe +.dll +.ocx +.scr +.acm +.rll +.cpl +.mui +.ax +.ime + + + +HTML Help 1.0 Files + +.chm + + + +LocStudio lsg + +.lsg + + + +Microsoft Office OneNote Files + +.one +.onepkg + + + +Custom Parsers + + + + +Visio 2011 Files + +.vstx +.vsdx +.vssx + + + + + diff --git a/tools/terms/PowerShell-Terms-Rules.mdb b/tools/terms/PowerShell-Terms-Rules.mdb new file mode 100644 index 00000000000..b9dd40cf6f0 Binary files /dev/null and b/tools/terms/PowerShell-Terms-Rules.mdb differ