Open akaushik-vm opened 5 years ago
Hi,
if there is no source or destination address, i think, it is "any"
I cannot find a function to get the parameters used in the -ruleid. Yes, I will assume the source and destination addresses are 'any' if there is nothing in the field but how to get that information?
Check with GUI ?
GUI has all the detail, RuleType, SourceAddress(es), DestinationAddress(es) and Action. But I want to automate some part of the network sanity checks and for that, I want to use PowerNsx cmdlets. Would you be able to help me to retrieve the required details, please?
Try to look a another rule ? (not the default rules)
Because there is Source Address and DestinationAddress field
Hello, I want to expand this rule details to find the source address, destination adress, action associated.
PS /Users/akaushik> $AllEdge | where { $_.name -like 'ias-t-e' } | Get-NsxEdgeFirewall | Get-NsxEdgeFirewallRule -RuleId 131073
id : 131073 ruleTag : 131073 name : default rule for ingress traffic ruleType : default_policy enabled : true loggingEnabled : false description : default rule for ingress traffic action : accept edgeId : edge-662
What is the way?