NSX-Firewall-Rules-Parser

所属分类:防火墙与安全工具
开发工具:PowerShell
文件大小:0KB
下载次数:0
上传日期:2018-08-05 15:48:33
上 传 者sh-1993
说明:  NSX防火墙规则分析器,,
(NSX-Firewall-Rules-Parser,,)

文件列表:
Parse-NSXRules.ps1 (6964, 2018-08-05)

**About** -------- This is a simple PowerShell command to parse NSX firewall rules. **Execution** -------- Use PowerShell commandlet Parse-NSXRules.ps1 to parse NSX XML export or connect to the NSX Manager and collect firewall rules. _Parse-NSXRules.ps1 -FilePath \ [-ResultPath \] [-Property \] [-Format \]_ Parameters: - -ResultPath \ - (mandatory) Specify path to export results to the file. - -FilePath \ - (optional) Specify path to the XML file. - -Property \ - (optional) Select properties to display, separated by commas. - -Format \ - (optional) Specify the report format. Supported values are: CSV, HTML or XML. By default data is saved in the HTML format. - -NSXManager \ - (optional) Specify the NSX Manager IP or DNS name. - -Username \ - (optional) Specify the NSX Manager username. - -Password \ - (optional) Specify the NSX Manager password. Examples: #Parse XML file and export result as a HTML file _.\parse-nsxrules.ps1 -FilePath C:\Temp\NSX_rules.xml -Format HTML -ResultPath C:\Temp\parsed_rules.html_ #Parse XML file and export result as a CSV file, select only id,name,source and action columns _.\parse-nsxrules.ps1 -FilePath C:\Temp\NSX_rules.xml -Format CSV -ResultPath C:\Temp\parsed_rules.csv -Property "id,name,source,action"_ #Connect to the NSX Manager, collect firewall rules and save result in XML format _.\parse-nsxrules.ps1 -Format XML -ResultPath C:\Temp\parsed_rules.xml -NSXManager 192.168.1.10 -Username admin -Password VMware1!_ **Releases** -------- v1.0 - Initial release. **Known issues** -------- 1. Current version does not parse L2 firewall rules. **Licensing** ------- The MIT License Copyright 2018 https://blog.vmpress.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

近期下载者

相关文件


收藏者