Retrieves the log sources¶
Description¶
Retrieves the log sources.
Usage¶
Arguments¶
-
accountsThe list of Amazon Web Services accounts for which log sources are displayed.
-
maxResultsThe maximum number of accounts for which the log sources are displayed.
-
nextTokenIf nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.
-
regionsThe list of Regions for which log sources are displayed.
-
sourcesThe list of sources for which log sources are displayed.
Value¶
A list with the following syntax:
list(
nextToken = "string",
sources = list(
list(
account = "string",
region = "string",
sources = list(
list(
awsLogSource = list(
sourceName = "ROUTE53"|"VPC_FLOW"|"SH_FINDINGS"|"CLOUD_TRAIL_MGMT"|"LAMBDA_EXECUTION"|"S3_DATA"|"EKS_AUDIT"|"WAF",
sourceVersion = "string"
),
customLogSource = list(
attributes = list(
crawlerArn = "string",
databaseArn = "string",
tableArn = "string"
),
provider = list(
location = "string",
roleArn = "string"
),
sourceName = "string",
sourceVersion = "string"
)
)
)
)
)
)
Request syntax¶
svc$list_log_sources(
accounts = list(
"string"
),
maxResults = 123,
nextToken = "string",
regions = list(
"string"
),
sources = list(
list(
awsLogSource = list(
sourceName = "ROUTE53"|"VPC_FLOW"|"SH_FINDINGS"|"CLOUD_TRAIL_MGMT"|"LAMBDA_EXECUTION"|"S3_DATA"|"EKS_AUDIT"|"WAF",
sourceVersion = "string"
),
customLogSource = list(
attributes = list(
crawlerArn = "string",
databaseArn = "string",
tableArn = "string"
),
provider = list(
location = "string",
roleArn = "string"
),
sourceName = "string",
sourceVersion = "string"
)
)
)
)