CmdID / aws / aws inspector
aws inspector register-cross-account-access-role
Registers the IAM role that grants Amazon Inspector access to AWS Services needed to perform security assessments. AWS CLI reference
1 option Its page in the AWS CLI reference
Options
--role-arnThe ARN of the IAM role that grants Amazon Inspector access to AWS Services needed to perform security assessments.