Skip to main content

AWS Athena

automox

Version: 1.1
Updated: Jun 15, 2023

Amazon Athena is a cloud-based service that enables you to run SQL queries on data stored in Amazon S3 without the need to set up any infrastructure. It is a serverless, pay-per-query service that makes it easy to analyze large amounts of data.

  • Run Query (Enrichment) - The action runs the SQL query statements contained in the Query and retrieve the results from the query.
  • Start Query (Enrichment) - Start a query execution.
  • Get Query Execution (Enrichment) - Returns the details of a single query execution or a list of up to 50 query executions.
  • Get Query Results (Enrichment) - Streams the results of a single query execution specified by the Query Execution ID.
  • Cancel Query (Enrichment) - Stops a query execution.
  • List Databases (Enrichment) - Lists the databases in the specified data catalog.
  • List Workgroups (Enrichment) - Lists available workgroups for the account.
  • List Table Metadata (Enrichment) - Lists the metadata for the tables in the specified data catalog database.

Amazon Athena configuration

To get access key and secret access key, you will need to follow these steps:

  1. Sign in to your AWS Management Console.
  2. Click on your account name in the top-right corner of the screen and select My Security Credentials from the drop-down menu.
  3. Click on the Access keys section in the left-hand menu.
  4. Click on the Create New Access Key button.
  5. Your new access key and secret access key will be displayed on the screen. Make sure to copy and save them in a secure location as you will not be able to access them again.

Amazon Athena in Automation Service and Cloud SOAR

  1. Access integrations in the Automation Service or Cloud SOAR.
  2. After the list of the integrations appears, search for the integration and click on the row.
  3. The integration details will appear. Click on the "+" button to add new Resource.
    aws-athena-3
  4. Populate all the required fields (*) and then click SAVE.
    • Label. The desired name for the resource.
    • AWS Region. Your AWS region. (Default: us-east-2).
    • Access Key ID. Your Access Key ID.
    • Secret Access Key. Your Secret Access Key.
      aws-athena-4
  5. To make sure the resource is working, hover over the resource and then click the pencil icon that appears on the right.
    aws-athena-5
  6. Click TEST SAVED SETTINGS.
    aws-athena-6
  7. You should receive a successful notification in the bottom right corner.
    aws-athena-7

External Libraries

Change Log

  • February 22, 2023 (v1.0) - First upload
  • June 15, 2023 (v1.1) - Updated the integration with Environmental Variables
Status
Legal
Privacy Statement
Terms of Use

Copyright © 2024 by Sumo Logic, Inc.