Skip to main content

Prisma Cloud Remediation - AWS CloudTrail is not Enabled on the Account

This Playbook is part of the Prisma Cloud by Palo Alto Networks Pack.#

AWS Cloudtrail is a service which provides event history of your AWS account activity, including actions taken through the AWS Management Console, AWS SDKs, command line tools, and other AWS services. To remediate Prisma Cloud Alert "CloudTrail is not enabled on the account", this playbook creates an S3 bucket to host Cloudtrail logs and enable Cloudtrail (includes all region events and global service events).

Dependencies#

This playbook uses the following sub-playbooks, integrations, and scripts.

Sub-playbooks#

This playbook does not use any sub-playbooks.

Integrations#

This playbook does not use any integrations.

Scripts#

This playbook does not use any scripts.

Commands#

  • aws-s3-put-bucket-policy
  • aws-cloudtrail-start-logging
  • aws-cloudtrail-create-trail
  • aws-s3-create-bucket

Playbook Inputs#


NameDescriptionDefault ValueRequired
AutoEnableCloudTrailThe following resources will be created:
- S3 bucket cloudtrail-<account_id>
- Cloudtrail cloudtrail-<account_id>

Type 'Yes' to auto-enable CloudTrail.
NoOptional
CloudTrailRegionS3 bucket and (global) Cloudtrail will be created on this regionus-west-2Optional

Playbook Outputs#


There are no outputs for this playbook.

Playbook Image#


Prisma Cloud Remediation - AWS CloudTrail is not Enabled on the Account