Skip to content

New FalconPreventionPolicy

bk-cs edited this page Oct 6, 2022 · 21 revisions

New-FalconPreventionPolicy

SYNOPSIS

Create Prevention policies

DESCRIPTION

Requires 'Prevention Policies: Write'.

PARAMETERS

Name Type Min Max Allowed Pipeline PipelineByName Description
Array Object[] X An array of policies to create in a single request
Name String Policy name
PlatformName String Windows
Mac
Linux
iOS
Android
Operating system platform
Description String Policy description
Setting Object[] An array of policy settings

SYNTAX

New-FalconPreventionPolicy [-Name] <String> [-PlatformName] <String> [[-Description] <String>] [[-Setting] <Object[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
New-FalconPreventionPolicy -Array <Object[]> [-WhatIf] [-Confirm] [<CommonParameters>]

USAGE

Create a policy

$Setting = @(
    @{
        id = 'AdditionalUserModeData'
        value = @{ enabled = $true }
    },
    @{
        id = 'EndUserNotifications'
        value = @{ enabled = $true }
    },
    @{
        id = 'CloudAntiMalware'
        value = @{ detection = 'MODERATE'; prevention = 'MODERATE' }
    }
)
New-FalconPreventionPolicy -PlatformName Windows -Name 'Demo Policy' -Description 'This is a demo policy' -Setting $Setting

2022-10-06: PSFalcon v2.2.3

Clone this wiki locally