CmdID / aws / aws securityhub
aws securityhub invite-members
We recommend using Organizations instead of Security Hub CSPM invitations to manage your member accounts. AWS CLI reference
1 option Its page in the AWS CLI reference
Options
--account-idsThe list of account IDs of the Amazon Web Services accounts to invite to Security Hub CSPM as members.