-
Notifications
You must be signed in to change notification settings - Fork 72
Firewall Management
bk-cs edited this page Jun 7, 2021
·
18 revisions
The -Rules
parameter accepts a PowerShell array of rule objects which are converted to Json before submission.
$Rules = @(
@{
name = 'Block IP'
description = 'Block outbound to example.com IP address'
platform_ids = @( "0" )
enabled = $true
action = "DENY"
direction = "OUT"
address_family = "IP4"
protocol = "*"
fields = @(
@{
name = "network_location"
type = "set"
values = @( "ANY" )
}
)
local_address = @(
@{
address = "*"
netmask = 0
}
)
remote_address = @(
@{
address = "93.184.216.34"
netmask = 32
}
)
}
)
New-FalconFirewallGroup -Name 'test rule group' -Enabled $true -Description 'describing a rule group' -Rules $Rules
Get-FalconFirewallGroup -Ids <id>, <id>
Remove-FalconFirewallGroup -Ids <id>, <id>
New-FalconFirewallPolicy -PlatformName Windows -Name 'Test Policy' -Description 'Firewall test policy'
Edit-FalconFirewallPolicy -Id <id> -Name 'Test Policy 1 Name Changed'
New-FalconFirewallPolicy -PlatformName Windows -Name 'Cloned Test Policy' -Description 'Firewall test cloned policy' -CloneId <id>
Invoke-FalconFirewallPolicyAction -Name enable -Id <id>
Invoke-FalconFirewallPolicyAction -Name disable -Id <id>
Remove-FalconFirewallPolicy -Ids <id>, <id>
NOTE: All policy ids (with the exception of platform_default
) must be supplied in desired precedence order.
Set-FalconFirewallPrecedence -PlatformName Windows -Ids <id>, <id>
- Using PSFalcon
-
Commands by Permission
- Actors (Falcon Intelligence)
- Alerts
- API integrations
- App Logs
- Channel File Control Settings
- Configuration Assessment
- Content Update Policies
- Correlation Rules
- CSPM registration
- Custom IOA rules
- Detections
- Device Content
- Device control policies
- Event streams
- Falcon Complete Dashboards
- Falcon Container Image
- Falcon Data Replicator
- Falcon Discover
- Falcon FileVantage
- Falcon FileVantage Content
- Firewall management
- Flight Control
- Host groups
- Host Migration
- Hosts
- Identity Protection Entities
- Identity Protection GraphQL
- Identity Protection Policy Rules
- Incidents
- Indicators (Falcon Intelligence)
- Installation tokens
- Installation token settings
- IOA Exclusions
- IOC Manager APIs
- IOCs
- Kubernetes Protection
- Machine Learning exclusions
- MalQuery
- Malware Families (Falcon Intelligence)
- Message Center
- Mobile Enrollment
- Monitoring rules (Falcon Intelligence Recon)
- On demand scans (ODS)
- OverWatch Dashboard
- Prevention Policies
- Quarantined Files
- QuickScan Pro
- Real time response
- Real time response (admin)
- Reports (Falcon Intelligence)
- Response policies
- Rules (Falcon Intelligence)
- Sample uploads
- Sandbox (Falcon Intelligence)
- Scheduled Reports
- Sensor Download
- Sensor update policies
- Sensor Usage
- Sensor Visibility Exclusions
- Snapshot
- Snapshot Scanner Image Download
- Tailored Intelligence
- Threatgraph
- User management
- Vulnerabilities
- Vulnerabilities (Falcon Intelligence)
- Workflow
- Zero Trust Assessment
- Other Commands
- Examples
-
CrowdStrike SDKs
- FalconPy - Python 3
- goFalcon - Go
- Rusty Falcon - Rust