CmdID / aws / aws securitylake
aws securitylake create-aws-log-source
Adds a natively supported Amazon Web Services service as an Amazon Security Lake source. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To add a natively supported Amazon Web Service as an Amazon Security Lake source
The following create-aws-log-source example adds VPC Flow Logs as a Security Lake source in the designated accounts and Regions.
aws securitylake create-aws-log-source --sources '[{"regions": ["us-west-2"], "accounts": ["123456789012"], "sourceName": "SH_FINDINGS", "sourceVersion": "2.0"}]'Identify--sourcesSpecify the natively-supported Amazon Web Services service to add as a source in Security Lake.Its output
{
"failed": [
"123456789012"
]
}For more information, see Adding an AWS service as a source in the Amazon Security Lake User Guide.
Options
--sourcesSpecify the natively-supported Amazon Web Services service to add as a source in Security Lake.