Palo Alto Networks AWS Logging Accounts API
To ingest the VPC flow logs from Amazon S3 buckets to Prisma Cloud, you need an AWS logging account. If you need flow logs ingestion, after onboarding your AWS account, you must onboard the logging account which has the S3 bucket storing VPC flow logs for the monitored account. The APIs in this category can be used to configure and manage these logging accounts.
Operations 17
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
GET
/v1/cloudAccounts/awsLoggingAccounts
List all AWS logging accounts · Get all AWS Logging Accounts
#
Ask an LLM
“Which AWS logging accounts are onboarded to Prisma Cloud?”
“Can I list logging accounts only for one AWS partition such as GovCloud?”
Tell an agent
List all AWS logging accounts in partition {awsPartition}.
Show every onboarded AWS logging account and its details.
Ask an LLM
“How do I onboard a new AWS logging account with its role and S3 buckets?”
“What role ARN and external ID are needed to register a logging account?”
Tell an agent
Add AWS logging account {loggingAccountId} named {loggingAccountName} using role ARN {loggingAccountRoleArn}.
Register logging account {loggingAccountId} with role {loggingAccountRoleName}, external ID {externalId} and buckets {loggingAccountBuckets}.
POST
/v1/cloudAccounts/awsLoggingAccounts/cft
Generate a CloudFormation template for a new logging account · Generate a New CFT Template
#
Ask an LLM
“Can Prisma Cloud generate the CloudFormation template I need before onboarding a logging account?”
“How do I get a CFT that creates the role for a logging account I haven't added yet?”
Tell an agent
Generate a CFT for new AWS logging account {loggingAccountId} with role name {loggingAccountRoleName}.
Create a CloudFormation template for a logging account in partition {awsPartition} covering buckets {loggingAccountBuckets}.
POST
/v1/cloudAccounts/awsLoggingAccounts/permissionsStatus
Check permissions status for logging account details · Get Logging Account Status
#
Ask an LLM
“Before saving, can I check whether a logging account's role and buckets have the right permissions?”
“What permission status would an AWS logging account get with a given role ARN and bucket list?”
Tell an agent
Check permission status for unsaved logging account {loggingAccountId} using role ARN {loggingAccountRoleArn}.
Validate the permissions of logging account details {loggingAccountName} with buckets {loggingAccountBuckets} before onboarding.
GET
/v1/cloudAccounts/awsLoggingAccounts/{accountId}
Get one AWS logging account · Get Logging Account By ID
#
Ask an LLM
“How do I see the details of a single AWS logging account?”
“What role and buckets are configured on a specific logging account?”
Tell an agent
Get the details of AWS logging account {accountId}.
Show me the configuration of logging account {accountId}.
DELETE
/v1/cloudAccounts/awsLoggingAccounts/{accountId}/buckets/{bucketName}
Remove an S3 bucket from a logging account · Delete an S3 bucket
#
Ask an LLM
“Can I detach one S3 bucket from a logging account without deleting the account?”
“How do I stop Prisma Cloud from reading logs out of a particular bucket?”
Tell an agent destructive · confirm first
Delete S3 bucket {bucketName} from logging account {accountId}.
Remove bucket {bucketName} from AWS logging account {accountId}.
GET
/v1/cloudAccounts/awsLoggingAccounts/{accountId}/cft
Regenerate the CFT for an existing logging account · Regenerate CFT for an Existing Account
#
Ask an LLM
“Can I download a fresh CloudFormation template for a logging account that's already onboarded?”
“Where do I get the current CFT for an existing logging account?”
Tell an agent
Regenerate the CloudFormation template for existing logging account {accountId}.
Get the current CFT for AWS logging account {accountId}.
POST
/v1/cloudAccounts/awsLoggingAccounts/{accountId}/cft
Regenerate a logging account CFT after a role name change · Regenerate CFT for New RoleName
#
Ask an LLM
“I renamed the IAM role on my logging account; how do I get an updated CFT?”
“Can I regenerate a CloudFormation template for an existing account with a new role name?”
Tell an agent
Regenerate the CFT for logging account {accountId} with new role name {loggingAccountRoleName}.
Build a new CloudFormation template for account {accountId} because its role changed to {loggingAccountRoleName}.
GET
/v1/cloudAccounts/awsLoggingAccounts/{accountId}/role/{roleName}/externalId
Get the external ID for a logging account role · Get External ID of an Account
#
Ask an LLM
“What external ID should the trust policy use for my logging account role?”
“How do I look up the external ID for a given account and role name?”
Tell an agent
Get the external ID for logging account {accountId} and role {roleName}.
Show the external ID tied to role {roleName} on AWS account {accountId}.
PUT
/v1/cloudAccounts/awsLoggingAccounts/{loggingAccountId}
Update an AWS logging account · Update Logging Account
#
Ask an LLM
“Can I rename a logging account or change its role ARN?”
“How do I update the bucket list on an onboarded logging account?”
Tell an agent
Rename logging account {loggingAccountId} to {loggingAccountName}.
Update logging account {loggingAccountId} to use role ARN {loggingAccountRoleArn}.
DELETE
/v1/cloudAccounts/awsLoggingAccounts/{loggingAccountId}
Delete an AWS logging account · Delete a Logging Account by ID
#
Ask an LLM
“How do I offboard an AWS logging account entirely?”
“What gets removed when a logging account is deleted from Prisma Cloud?”
Tell an agent destructive · confirm first
Delete AWS logging account {loggingAccountId}.
Offboard logging account {loggingAccountId} from Prisma Cloud.
GET
/v1/cloudAccounts/awsLoggingAccounts/{loggingAccountId}/buckets
List S3 bucket names on a logging account · List S3 Bucket Names
#
Ask an LLM
“Which S3 buckets are attached to my logging account?”
“Can I get just the bucket names for a logging account?”
Tell an agent
List the S3 bucket names on logging account {loggingAccountId}.
Show which buckets logging account {loggingAccountId} reads from.
POST
/v1/cloudAccounts/awsLoggingAccounts/{loggingAccountId}/buckets
Add an S3 bucket to a logging account · Add an S3 bucket
#
Ask an LLM
“How do I attach another S3 bucket to an existing logging account?”
“Can I set path prefixes and a KMS key when adding a bucket?”
Tell an agent
Add S3 bucket {bucketName} in region {bucketRegion} to logging account {loggingAccountId}.
Attach bucket {bucketName} with KMS key {keyArn} to logging account {loggingAccountId}.
GET
/v1/cloudAccounts/awsLoggingAccounts/{loggingAccountId}/buckets/{bucketName}
Get S3 bucket details on a logging account · Get all S3 Buckets
#
Ask an LLM
“What region, prefixes and key are configured for a specific bucket on my logging account?”
“Can I inspect one bucket's settings within a logging account?”
Tell an agent
Get details of bucket {bucketName} on logging account {loggingAccountId}.
Show the region and path prefixes for bucket {bucketName} in account {loggingAccountId}.
PUT
/v1/cloudAccounts/awsLoggingAccounts/{loggingAccountId}/buckets/{bucketName}
Update an S3 bucket on a logging account · Update S3 Bucket Details
#
Ask an LLM
“How do I change the path prefixes on a bucket already attached to a logging account?”
“Can I swap the KMS key used for a logging bucket?”
Tell an agent
Set path prefixes {bucketPathPrefixes} on bucket {bucketName} in logging account {loggingAccountId}.
Change the KMS key of bucket {bucketName} on account {loggingAccountId} to {keyArn}.
GET
/v1/cloudAccounts/awsLoggingAccounts/{loggingAccountId}/permissionsStatus
Get the permissions status of a saved logging account · Get Logging Account Status - GET
#
Ask an LLM
“Is my onboarded logging account healthy, or is it missing permissions?”
“What is the current status of a saved logging account by its ID?”
Tell an agent
Get the permissions status of logging account {loggingAccountId}.
Check whether saved logging account {loggingAccountId} is healthy.
POST
/v1/cloudAccounts/awsLoggingAccounts/{loggingAccountId}/permissionsStatus
Check a saved logging account's status with new details · Get Logging Account Status - POST
#
Ask an LLM
“Can I test an existing logging account's permissions against a different role or bucket?”
“What detailed status would my saved logging account have with a changed role ARN?”
Tell an agent
Check detailed status of existing logging account {loggingAccountId} against role ARN {loggingAccountRoleArn}.
Test saved account {loggingAccountId} permissions using buckets {loggingAccountBuckets}.