AWS GuardDuty Integration via API

πŸ“Œ Guide to Retrieving AWS GuardDuty API Credentials for Logsign USO Integration

To integrate AWS GuardDuty logs into Logsign USO via API, users need to provide the following credentials:

  • Access Key
  • Secret Key
  • Region
  • Detector ID

This guide explains how users can retrieve these credentials from the AWS Management Console.

πŸ›  1. Getting the Access Key & Secret Key

To make API calls, an IAM user with appropriate permissions must generate an Access Key and Secret Key.

🎯 Create an IAM User or IAM Role

  1. Log in to the AWS Management Console.
  2. Navigate to the IAM service.
  3. Go to the Users section and create a new user or select an existing one.
  4. In the Permissions tab, assign the following permissions:
  • AmazonGuardDutyReadOnlyAccess
  • AWSGuardDutyFullAccess (if administrative access is needed)
  • AWSGuardDutyReadOnlyAccess (if only read access is required)
  1. Open the Security credentials tab.
  2. Click Create access key.
  3. Select Programmatic access.
  4. Click Create key and save both the Access Key ID and Secret Access Key.

(Secret Key will only be shown onceβ€”store it securely!)

βœ… Where to Find It?

  • AWS Console β†’ IAM β†’ Users β†’ [User Name] β†’ Security Credentials

🌍 2. Retrieving the AWS Region

GuardDuty operates in specific AWS regions, and users must specify the correct Region for API calls.

🎯 Find the Active AWS GuardDuty Region

  1. Log in to the AWS Management Console.
  2. Open the GuardDuty service.
  3. Click on the region selector in the upper-right corner.
  4. Choose the region where GuardDuty is active.

βœ… Example Regions:

  • us-east-1 (N. Virginia)
  • us-west-2 (Oregon)
  • eu-central-1 (Frankfurt)

βœ… Where to Find It?

  • AWS Console β†’ Upper-Right Menu β†’ Region Selector

πŸ”Ž 3. Finding the Detector ID

Each AWS account can have one or more Detectors in GuardDuty. The Detector ID is required for API requests.

🎯 Locate the GuardDuty Detector ID

  1. Log in to the AWS Management Console.
  2. Open the GuardDuty service.
  3. Navigate to the GuardDuty Dashboard.
  4. Click on the Detectors tab.
  5. Find and copy the Detector ID.

βœ… Where to Find It?

  • AWS Console β†’ GuardDuty β†’ Detectors

πŸ“Œ Summary

To successfully integrate AWS GuardDuty logs into Logsign USO via API, users need to retrieve specific credentials from the AWS Management Console:

  • Access Key & Secret Key: These credentials can be obtained by navigating to the IAM service in AWS. Users should go to the Users section, select the relevant user, and find the Security Credentials tab, where they can create and manage access keys.
  • Region: The AWS region where GuardDuty is active can be found in the AWS Management Console at the upper-right corner of the interface. Users should select the appropriate region from the Region Selector menu.
  • Detector ID: The unique Detector ID for GuardDuty can be located within the GuardDuty service. Users should open the GuardDuty Dashboard, go to the Detectors section, and copy the relevant Detector ID.

By following these steps, users can obtain the necessary credentials to configure API access for GuardDuty log integration with Logsign USOπŸš€

Settings > Data Collection > API > AWS GuardDuty

You can then add your source to Logsign USO by processing the data you have obtained in the specified fields.

Was this article helpful?
0 out of 0 found this helpful

Articles in this section

See more
Become a Certified Logsign User/Administrator
Sign-up for Logsign Academy and take the courses to learn about Logsign USO Platform in detail. Enjoy the courses, and get your badges and certificates. In these courses, you'll learn how to use Logsign in your work and add value to your career.
Visit Our Blog
Our Logsign USO Platform illustrate our expertise. So do the blog. Through our blog posts, deepen your knowledge on various SecOps topics or get updated about important news & modern approaches for cybersecurity. Get into the habit of reading valuable information provided by Logsign. Be a step ahead.