New FalconHostGroup - CrowdStrike/psfalcon GitHub Wiki
Create host groups
Requires 'Host groups: Write'.
Name | Type | Description | Min | Max | Allowed | Pipeline | PipelineByName |
---|---|---|---|---|---|---|---|
InputObject | Object[] | One or more host groups to create in a single request | X | ||||
GroupType | String | Host group type |
dynamic static staticByID
|
||||
Name | String | Host group name | |||||
Description | String | Host group description | |||||
AssignmentRule | String | Assignment rule for 'dynamic' host groups |
New-FalconHostGroup [-GroupType] <String> [-Name] <String> [[-Description] <String>] [[-AssignmentRule] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
New-FalconHostGroup -InputObject <Object[]> [-WhatIf] [-Confirm] [<CommonParameters>]
POST /devices/entities/host-groups/v1
New-FalconHostGroup -GroupType dynamic -Name 'Dynamic group' -Description 'example group' -AssignmentRule "tags:'FalconGroupingTags/example_tag'"
New-FalconHostGroup -GroupType dynamic -Name 'Dynamic group' -Description 'example group' -AssignmentRule "tags:'FalconGroupingTags/example_tag'+hostname:'CS-WIN10'"
New-FalconHostGroup -GroupType static -Name 'Test Group 45' -Description 'A demo group'
See Create a host group and add a list of devices by hostname.
2024-09-03: PSFalcon v2.2.7