Request FalconToken - CrowdStrike/psfalcon Wiki

Request-FalconToken

SYNOPSIS

Request an OAuth2 access token

DESCRIPTION

If successful, your credentials ('ClientId', 'ClientSecret', 'MemberCid' and 'Cloud' or 'Hostname') and token are

PARAMETERS

Name Type Min Max Allowed Pipeline PipelineByName Description
ClientId String X OAuth2 client identifier
ClientSecret String X OAuth2 client secret
Cloud String eu-1
us-gov-1
us-1
us-2
X CrowdStrike cloud [default: 'us-1']
Hostname String https://api.crowdstrike.com
https://api.us-2.crowdstrike.com
https://api.laggar.gcw.crowdstrike.com
https://api.eu-1.crowdstrike.com
X CrowdStrike API hostname
MemberCid String X Member CID, used when authenticating within a multi-CID environment ('Falcon Flight Control')
Collector Hashtable X A hashtable containing 'Path', 'Token' and 'Enabled' properties for 'Register-FalconEventCollector'

SYNTAX

Request-FalconToken [[-ClientId] <String>] [[-ClientSecret] <String>] [[-Hostname] <String>] [[-MemberCid] <String>] [[-Collector] <Hashtable>] -WhatIf] [-Confirm] [<CommonParameters>]
Request-FalconToken [[-ClientId] <String>] [[-ClientSecret] <String>] [[-Cloud] <String>] [[-MemberCid] <String>] [[-Collector] <Hashtable>] -WhatIf] [-Confirm] [<CommonParameters>]

Generated 20220922 using PSFalcon v2.2.3

⚠️ **GitHub.com Fallback** ⚠️