Install a secure event connector on an AWS VPC using a terraform module
This task enables you to deploy a secure event connector on your AWS VPC infrastructure using Terraform automation, allowing for secure log collection and transmission to Security Cloud Control.
Use this procedure when you need to establish a secure event connector in an AWS VPC environment for centralized logging and analytics. The Terraform module automates the deployment process and ensures proper security configurations.
Before you begin
-
To perform this task, you must enable SAL on your Security Cloud Control tenant. This section presumes that you have a SAL license. If you do not have one, purchase the Cisco Security and Analytics Logging, Logging and Troubleshooting license.
-
Ensure you have a new SEC installed. To create a new SEC, see Install a secure event connector on an SDC virtual machine.
-
When installing the SEC, make sure you take a note of the Security Cloud Control bootstrap data and SEC bootstrap data.
Follow these steps to install a secure event connector on an AWS VPC using a Terraform module:
Procedure
Step 1 | Go to Secure Event Connector Terraform Module on the Terraform Registry and follow the instructions to add the SEC Terraform module to your Terraform code and apply. | ||
Step 2 | Ensure that you print the instance_id and sec_fqdn outputs, because you will need them later in the procedure.
Ports to connect to the SDC instance using SSH are not exposed for secuirty reasons. | ||
Step 3 | To enable sending of logs from your ASA to the SEC, obtain the certificate chain of the SEC you created and remove the leaf certificate by running this command with the output from Step 3:
| ||
Step 4 | Copy the contents of /tmp/cert_chain.pem to your clipboard. | ||
Step 5 | Take a note of the IP address of the SEC using this command:
| ||
Step 6 | Log in to Security Cloud Control and start adding a new trustpoint object. See Adding a Trusted CA Certificate Object for more information. Ensure you uncheck the Enable CA flag in basic constraints extension checkbox in Other Options before clicking Add. | ||
Step 7 | Click Add, copy the CLI commands generated by Security Cloud Control in the Install Certificate page, and click Cancel. | ||
Step 8 | Below enrollment terminal , add no CA-check in a text clipboard. | ||
Step 9 | SSH into your ASA device or use the ASA CLI option in Security Cloud Control and execute these commands:
What to do next: You can check if your SEC is receiving packets using AWS SSM: You should now see logs similar to this:
|
The secure event connector is successfully deployed on your AWS VPC and configured to receive logs from your ASA device. The SEC will begin processing and forwarding security events to Security Cloud Control for analysis and monitoring.