Skip to content

List Log Sources

securitylake_list_log_sources R Documentation

Retrieves the log sources in the current Amazon Web Services Region

Description

Retrieves the log sources in the current Amazon Web Services Region.

Usage

securitylake_list_log_sources(accounts, maxResults, nextToken, regions,
  sources)

Arguments

accounts

The list of Amazon Web Services accounts for which log sources are displayed.

maxResults

The maximum number of accounts for which the log sources are displayed.

nextToken

If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.

regions

The list of Regions for which log sources are displayed.

sources

The 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"
      )
    )
  )
)