Skip to content

New FalconHostGroup

bk-cs edited this page Sep 3, 2024 · 21 revisions

New-FalconHostGroup

SYNOPSIS

Create host groups

DESCRIPTION

Requires 'Host groups: Write'.

PARAMETERS

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

SYNTAX

New-FalconHostGroup [-GroupType] <String> [-Name] <String> [[-Description] <String>] [[-AssignmentRule] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
New-FalconHostGroup -InputObject <Object[]> [-WhatIf] [-Confirm] [<CommonParameters>]

REFERENCE

Endpoints

POST /devices/entities/host-groups/v1

falconpy

createHostGroups

USAGE

Creating a dynamic host group with a single assignment rule

New-FalconHostGroup -GroupType dynamic -Name 'Dynamic group' -Description 'example group' -AssignmentRule "tags:'FalconGroupingTags/example_tag'"

Creating a dynamic host group with multiple assignment rules

New-FalconHostGroup -GroupType dynamic -Name 'Dynamic group' -Description 'example group' -AssignmentRule "tags:'FalconGroupingTags/example_tag'+hostname:'CS-WIN10'"

Creating a static host group

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

Clone this wiki locally