Prisma Cloud Remediation - AWS CloudTrail is not Enabled on the Account
Prisma Cloud by Palo Alto Networks Pack.#
This Playbook is part of theAWS 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).
#
DependenciesThis playbook uses the following sub-playbooks, integrations, and scripts.
#
Sub-playbooksThis playbook does not use any sub-playbooks.
#
IntegrationsThis playbook does not use any integrations.
#
ScriptsThis 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 InputsName | Description | Default Value | Required |
---|---|---|---|
AutoEnableCloudTrail | The following resources will be created: - S3 bucket cloudtrail-<account_id> - Cloudtrail cloudtrail-<account_id> Type 'Yes' to auto-enable CloudTrail. | No | Optional |
CloudTrailRegion | S3 bucket and (global) Cloudtrail will be created on this region | us-west-2 | Optional |
#
Playbook OutputsThere are no outputs for this playbook.