SecurityLake.Client.
list_log_sources
(**kwargs)¶Retrieves the log sources in the current Amazon Web Services Region.
See also: AWS API Documentation
Request Syntax
response = client.list_log_sources(
inputOrder=[
'REGION'|'SOURCE_TYPE'|'MEMBER',
],
listAllDimensions={
'string': {
'string': [
'string',
]
}
},
listSingleDimension=[
'string',
],
listTwoDimensions={
'string': [
'string',
]
},
maxResults=123,
nextToken='string'
)
Lists the log sources in input order, namely Region, source type, and member account.
List the view of log sources for enabled Amazon Security Lake accounts for specific Amazon Web Services sources from specific accounts and specific Regions.
List the view of log sources for enabled Security Lake accounts for all Amazon Web Services sources from specific accounts or specific Regions.
Lists the view of log sources for enabled Security Lake accounts for specific Amazon Web Services sources from specific accounts or specific Regions.
dict
Response Syntax
{
'nextToken': 'string',
'regionSourceTypesAccountsList': [
{
'string': {
'string': [
'string',
]
}
},
]
}
Response Structure
(dict) --
nextToken (string) --
If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.
regionSourceTypesAccountsList (list) --
Lists the log sources by Regions for enabled Security Lake accounts.
Exceptions
SecurityLake.Client.exceptions.InternalServerException
SecurityLake.Client.exceptions.ValidationException
SecurityLake.Client.exceptions.AccessDeniedException
SecurityLake.Client.exceptions.ResourceNotFoundException
SecurityLake.Client.exceptions.AccountNotFoundException