Get FalconCloudAwsAccount - CrowdStrike/psfalcon GitHub Wiki

Get-FalconCloudAwsAccount

SYNOPSIS

Search for Falcon Cloud Security AWS accounts

DESCRIPTION

A properly provisioned AWS account will display the status 'Event_DiscoverAccountStatusOperational'.

Requires 'CSPM registration: Read'.

PARAMETERS

Name Type Description Min Max Allowed Pipeline PipelineByName
Id String[] AWS account identifier X X
OrganizationId String[] AWS organization identifier
ScanType String Scan type full
dry
Status String AWS account status provisioned
operational
GroupBy String Field to group by organization
IamRoleArn String[] AWS IAM role ARNs
Migrated Boolean Only return migrated Discover for Cloud accounts
CspmLite Boolean Only return CSPM Lite accounts
Limit Int32 Maximum number of results per request 1 500
Offset Int32 Position to begin retrieving results
All Switch Repeat requests until all available results are retrieved
Total Switch Display total result count instead of results

SYNTAX

Get-FalconCloudAwsAccount [-Id <String[]>] [[-OrganizationId] <String[]>] [[-ScanType] <String>] [[-Status] <String>] [[-GroupBy] <String>] [[-IamRoleArn] <String[]>] [[-Migrated] <Boolean>] [[-CspmLite] <Boolean>] [[-Limit] <Int32>] [-Offset <Int32>] [-All] [-Total] [-WhatIf] [-Confirm] [<CommonParameters>]

REFERENCE

Endpoints

GET /cloud-connect-cspm-aws/entities/account/v1

falconpy

GetCSPMAwsAccount

USAGE

2024-09-03: PSFalcon v2.2.7

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