Cisco Secure Access Help

PDF

Cisco Secure Access Help

Enable Cloud Malware Protection for AWS Tenants

Want to summarize with AI?

Log in

Provides instructions for completing the Enable Cloud Malware Protection for AWS Tenants workflow in Cisco Secure Access. It explains the sequence of actions and relevant settings presented in the procedure.


Secure Access supports Cloud Malware protection for files within your AWS deployment. To enable this feature:

Before you begin

  • Full Admin user role. For more information, see Manage Accounts.

  • You must have an active AWS tenant and the person doing the installation must be an AWS Administrator.

  • You must Enable CloudTrail Event Logging for S3 Buckets and Objects for your AWS account. (You need enable this feature only once for your account; you need not do it for each AWS tenant you authorize.)

  • You must Obtain your AWS Account ID.

  • Chrome or Firefox is recommended with pop-up blockers/ad blockers disabled (only for the duration of authorization).

Procedure

  1. Enable CloudTrail Event Logging for S3 Buckets and Objects from the AWS console. (You need only enable this feature once for your account; you need not do it for each AWS tenant you authorize.)

  2. Authorize an AWS Tenant in Secure Access.

  3. For each region within which your tenant has resources deployed, Create an AWS Stack from the AWS console.

What to do next

An AWS account can support at most one SaaS API DLP tenant and one Cloud Malware tenant at the same time. You cannot authorize multiple Cloud Malware tenants for a single AWS account.

  • A tenant that fails to authenticate cannot be deleted.


Enable CloudTrail Event Logging for S3 Buckets and Objects

You must enable CloudTrail event logging to provide you with a record of activities in your AWS account. You need enable this feature only once for your account; you need not do it for each AWS tenant you authorize.

Procedure

  1. In the AWS console, navigate to CloudTrail and choose Create Trail.


    Trails info page displaying options to copy events to lake and create trail
  2. Provide a meaningful Trail name for your trail.

  3. Under Events, choose Data Events to log data events.

  4. For Storage location, choose Use existing S3 bucket, and choose Browse to choose an S3 bucket in your account.

  5. You may optionally choose to enable Log file SSE KMS encryption for your log files. (If you choose this option, see Step 11.)

  6. On theChoose log events page, choose Data events.

  7. For Data event source choose S3.

  8. You can choose from:

    • Log all current and future S3 buckets (This is the default.)

      Choose to log Write events.

    • Individual bucket selection (This can be a more economical choice.)

      Browse for existing buckets and click Add bucket to log data events for each. Choose to log Write events.

  9. For the remaining options in the CloudTrail creation wizard, choose the settings appropriate to your environment.

  10. On the Review and Create page, review your choices and Edit if necessary. Then click Create Trail.

  11. If in Step 5 you chose to enable Log file SSE KMS encryption for your log files, grant permission for the encryption key to the role CiscoSecureAccessScanner. In the AWS console, under Key Management Service (KMS) > Customer managed keys > Key ID > Edit key policy, add a statement to grant permission for the role CiscoSecureAccessScanner.

  12. If your S3 buckets have restrictive policies associated with them, add statements to those policies to grant the role CiscoSecureAccessScanner access to those buckets. In the AWS console, see Amazon S3 > Buckets > Bucket Name > Permissions > Bucket Policy.


Obtain Your AWS Account ID

Procedure

  1. Log in to the AWS Management Console with an Admin account.

  2. In the navigation bar at the upper right, click on your user name. The account ID is displayed above your user name.

  3. Click the Copy icon to the right of the Account ID to copy it.


    AWS page displaying the account ID, user name, and a copy option

Authorize an AWS Tenant

Procedure

  1. Navigate to Admin > Authentication.


    Authentication page displaying the option for platforms
  2. Under Platforms, click to expand AWS S3.

  3. Under Cloud Malware click Authorize New Tenant to add an AWS S3 tenant to your Secure Access environment.


    Platforms page displaying the Authorize New Tenant option
  4. In the AWS S3 Authorization dialog box, click Download Primary Template to download an AWS CloudFormation template for your main region ( primary-cloudformation-template.json). If you have S3 buckets in additional regions, click Download Regional Template to download an AWS CloudFormation template for those regions (regional-cloudformation-template.json). Save the templates to your local machine, then for each of the regions where you have S3 buckets, Create an AWS Stack before proceeding to the next step.


    AWS S3 Authorization page displaying options for downloading the primary template and proceeding to the next step
    Note
    If you enable both Cloud Malware and DLP protection for a region, a single stack can serve for both purposes. If you have already created an AWS stack for DLP protection for a region, you need not create another for Cloud Malware.
  5. In the AWS S3Authorization dialog box, check the checkboxes to verify you meet the prerequisites, then click Next.


    AWS S3 Authorization page displaying the option to proceed to the next step.
  6. Provide a name for your tenant that is meaningful within your environment, then click Next.


    AWS S3 Authorization page displaying the option to proceed to the next step.
  7. Choose Monitor for the Response Action for Secure Access to apply to AWS S3files found with malware, then click Next.


    AWS S3 Authorization page displaying options for monitor and next.
  8. Paste your AWS Account ID in the text box, confirm that you have deployed template(s) to create the necessary AWS stack(s), then click Done. (It may take up to 24 hours for the integration to be confirmed and appear as Authorized on the Authentication page).


    AWS S3 Authorization page displaying the option for done
  9. The new tenant will appear on the Authorization page in the list under AWS S3.


    AWS S3 page displaying the option for AWS Tenant A

Create an AWS Stack

Secure Access requires an AWS stack for each AWS region where you have S3 resources, to monitor and communicate with those resources. If you have more than one AWS tenant, you will need a stack for each region within which each tenant has resources deployed. If you enable both Cloud Malware and DLP protection for a region, a single stack can serve for both purposes.

Note
If you enable both Cloud Malware and DLP protection for an AWS region, then disable one of those two forms of protection, you must leave the stack intact to support the remaining protection.
Perform this task for each region your tenant accesses, after you have downloaded CloudFormation Templates in Step 4 of Authorize an AWS Tenant. Once you have created the stack(s), return to Step 5 of that task.

For more information about AWS Stacks, see the Amazon AWS Cloud Formation User Guide.

Procedure

  1. Log in to the AWS Management Console with an Admin account.

  2. In the AWS console, navigate to CloudFormation > Stacks and choose Create new stack > With new resources.


    AWS page displaying options for creating a new stack and using new resources
  3. On the Create stack page, under Prerequisite - Prepare template, select Choose an existing template.


    Create Stack page displaying the option to choose an existing template
  4. On the Create stack page, under Specify template, select Upload a template file, then click Choose file and navigate to and select the JSON file on your local system which you downloaded when you authorized the AWS tenant in Secure Access. (primary-cloudformation-template.json for your main region, or regional-cloudformation-template.json for any additional regions).


    Specify template page displaying options to upload a template file, choose a file, and select primary-cloudformation-template.json
  5. (Optional) Click View in Application Composer to open a new tab displaying a graphical representation of the stack deployment.

  6. Click Next.

  7. For the remaining options in the stack creation wizard, choose the settings appropriate to your environment. We recommend the following best practices:

    • Provide a stack name that is meaningful within your environment.

    • Under Stack failure options, choose Role back stack resources and Delete all newly created resources.


    Stack failure options page displaying the option to delete all newly created resources
  8. Acknowledge that AWS CloudFormation may create IAM resources with custom names within your AWS account.


    Acknowledgement page displayed
  9. Click Submit.

  10. In the AWS console the status of all stack in your account is displayed under CloudFormation > Stacks. Wait until the status for your new stack is displayed as CREATE_COMPLETE.

  11. Continue with Step 5 of Authorize an AWS Tenant.


Revoke Authorization

Procedure

  1. Navigate to Admin > Authentication.

  2. In the Platforms section, click AWS S3.

  3. Under the Action column, click Revoke. You can revoke any authorized tenant.


    AWS S3 page displaying the option to revoke permissions
  4. Confirm to proceed. The selected tenant will no longer be authorized.


    Revoke AWS S3 Tenant page with the option to revoke access

    Consider deleting the AWS stack you created if it is not needed for other purposes.