/
Test the Lambda Script

Test the Lambda Script

In order to test the lambda script, perform the following steps:

  1. Input Lambda into the search bar located at the top of the AWS interface.

  1. Locate and click on Lambda to navigate to the Lambda page.

A screenshot of a computer

Description automatically generated with medium confidence
  1. On the Functions page, locate and click the Lambda function you’ve just created.

 

A screenshot of a computer

Description automatically generated with low confidence
  1. Click the Test tab located near the top of the function’s page.

A screenshot of a computer

Description automatically generated with medium confidence
  1. Click the Test button located on the top left of the Test event panel.

A screenshot of a computer

Description automatically generated with medium confidence
  1. Above the Test event panel, the Execution results will show. Click the Details arrow to observe the details of the test.

A screenshot of a computer

Description automatically generated with medium confidence
  1. Navigate to the simple text file that holds the IOCs before they are added to the AWS R53 DNSFW domain list.  Input S3 into the search bar located at the top of the AWS interface.

  1. Locate and click on S3 to navigate to the Amazon S3 page.

A screenshot of a computer

Description automatically generated
  1. On the Buckets page, scroll down to the Buckets panel. Locate and click on the S3 bucket that is being used with this integration.

A screenshot of a bucket list

Description automatically generated with medium confidence
  1. In the Objects panel, locate and click the simple text file that was created for this integration. Note, in the example screenshot, the file’s name is MyIOCs.txt.

A screenshot of a computer

Description automatically generated with medium confidence

 

  1. On the text file’s page, click the Download button located near the top of the page.

A screenshot of a computer

Description automatically generated with medium confidence
  1. Save, or Open the file in the prompt that is revealed.

A screenshot of a computer

Description automatically generated with medium confidence
  • Observe the contents of the text file. As mentioned earlier in the guide, IOCs should be one per line.

A screenshot of a computer

Description automatically generated
  1. To observe the IOCs added to your AWS Route 53 DNS Firewall domain list via the test, navigate to the Route 53 page. input Route53 into the search bar located at the top of the AWS interface.

A picture containing text, screenshot, font

Description automatically generated
  1. Click the text Route 53 in the list that is revealed.

A screenshot of a computer

Description automatically generated
  1. In the Route 53 navigation pane, click Domain List located under the DNS Firewall header.

A screenshot of a computer

Description automatically generated with low confidence
  1. On the Domain Lists page, in the Owned domain lists panel locate and click on the Domain list you added in the previous section.

A screenshot of a computer

Description automatically generated with medium confidence

 

  • In the Domains panel observe the newly added domains

A screenshot of a computer

Description automatically generated with low confidence