Edit existing Firewall Policy settings
-Comment
: Optional audit log comment
-Body
: A hashtable of Firewall Policy properties
PS> Edit-CsFirewallPolicySettings -Body @{ policy_id = <string>; default_inbound = <string>;
default_outbound = <string>; enforce = <boolean>; test_mode = <boolean> }
Edit an existing Firewall Rule Group
-Comment
: Optional audit log comment
-Body
: A hashtable of Rule Group properties
PS>
Find Firewall Event IDs in your environment
-Filter
: The filter expression that should be used to limit the results
-Query
: Search all firewall event metadata for the provided string
-Limit
: The maximum records to return [default: 5000]
-Offset
: The offset to start retrieving records from [default: 0]
-All
: Repeat request until all results are returned
PS> Get-CsFirewallEventId
Get detail about Firewall Events by ID
-Id
: Target Firewall Event IDs
PS> Get-CsFirewallEventInfo -Id @(<string>, <string>)
Get firewall field specification ids
-Id
: A specific platform id
-Limit
: The maximum records to return [default: 100]
-Offset
: The offset to start retrieving records from [default: 0]
-All
: Repeat request until all results are returned
PS> Get-CsFirewallFieldId
Get firewall field specifications
-Id
: Specific fields specification ids to retrieve
PS> Get-CsFirewallFieldInfo
Get firewall platform ids
-Limit
: The maximum records to return [default: 100]
-Offset
: The offset to start retrieving records from [default: 0]
PS> Get-CsFirewallPlatformId
Get firewall platform names
-Id
: Specific platform ids to return
PS> Get-CsFirewallPlatformInfo -Id @(<string>, <string>)
Returns basic Firewall Policy settings
-Id
: Target Firewall Policy IDs
PS> Get-CsFirewallPolicySettings -Id @(<string>, <string>)
Search for Firewall Rule Group IDs in your environment
-Filter
: The filter expression that should be used to limit the results
-Query
: Search all firewall event metadata for the provided string
-Limit
: The maximum records to return [default: 5000]
-Offset
: The offset to start retrieving records from [default: 0]
-All
: Repeat request until all results are returned
PS> Get-CsFirewallRuleGroupId
Get detail about Firewall Rule Groups by ID
-Id
: Target Firewall Rule Group IDs
PS> Get-CsFirewallRuleGroupInfo -Id @(<string>, <string>)
Search for Firewall Rule IDs in your environment
-Id
: A specific Firewall policy ID to return rules for
-Filter
: The filter expression that should be used to limit the results
-Query
: Search all firewall event metadata for the provided string
-Limit
: The maximum records to return [default: 5000]
-Offset
: The offset to start retrieving records from [default: 0]
-All
: Repeat request until all results are returned
PS> Get-CsFirewallRuleId
Get detail about Firewall Rules by ID
-Id
: Target Firewall Rule IDs
PS> Get-CsFirewallRuleInfo -Id @(<string>, <string>)
Create a new Firewall Rule Group
-Clone
: A Rule Group ID to copy rules from
-Library
: If toggled, rules will be cloned from the CrowdStrike Firewall Rule Groups Library
-Comment
: Optional audit log comment
-Body
: A hashtable of Rule Group properties
PS> New-CsFirewallRuleGroup -Body @{ name = <string>; enabled = <boolean> }
Delete a Firewall Rule Groups by ID
-Id
: The IDs of the Firewall Rule Groups to delete
-Comment
: Optional audit log comment
PS> Remove-CsFirewallRuleGroup -Id @(<string>, <string>)