S3 Sources
Overview
Required permissions
The 12-digit AWS account ID where the S3 bucket resides
The integration label (name)
KMS key ARN for server-side encryption. Omit if the bucket is not KMS-encrypted.
The IAM role ARN that Panther assumes to read from the S3 bucket
The log stream type. Supported: Auto, JSON, JsonArray, Lines, XML, CloudWatchLogs
Whether Panther should configure the S3 bucket notifications automatically
The S3 bucket name
Created response.
The AWS account ID where the S3 bucket resides
The unique ID of the S3 log source
The integration label (name)
KMS key ARN for server-side encryption. Omit if the bucket is not KMS-encrypted.
The IAM role ARN that Panther assumes to read from the S3 bucket
The log stream type. Supported: Auto, JSON, JsonArray, Lines, XML, CloudWatchLogs
Whether Panther should configure the S3 bucket notifications automatically
The S3 bucket name
bad_request: Bad Request response.
exists: Conflict response.
service: Internal Server Error response.
POST /log-sources/s3 HTTP/1.1
Host: your-api-host
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 363
{
"awsAccountId": "text",
"integrationLabel": "text",
"kmsKey": "text",
"logProcessingRole": "text",
"logStreamType": "Auto",
"logStreamTypeOptions": {
"jsonArrayEnvelopeField": "text",
"retainEnvelopeFields": true,
"xmlRootElement": "text"
},
"managedBucketNotifications": true,
"s3Bucket": "text",
"s3PrefixLogTypes": [
{
"excludedPrefixes": [
"text"
],
"logTypes": [
"text"
],
"prefix": "text"
}
]
}{
"awsAccountId": "text",
"integrationId": "text",
"integrationLabel": "text",
"kmsKey": "text",
"logProcessingRole": "text",
"logStreamType": "Auto",
"logStreamTypeOptions": {
"jsonArrayEnvelopeField": "text",
"retainEnvelopeFields": true,
"xmlRootElement": "text"
},
"managedBucketNotifications": true,
"s3Bucket": "text",
"s3PrefixLogTypes": [
{
"excludedPrefixes": [
"text"
],
"logTypes": [
"text"
],
"prefix": "text"
}
]
}ID of the S3 source to fetch
OK response.
The AWS account ID where the S3 bucket resides
The unique ID of the S3 log source
The integration label (name)
KMS key ARN for server-side encryption. Omit if the bucket is not KMS-encrypted.
The IAM role ARN that Panther assumes to read from the S3 bucket
The log stream type. Supported: Auto, JSON, JsonArray, Lines, XML, CloudWatchLogs
Whether Panther should configure the S3 bucket notifications automatically
The S3 bucket name
bad_request: Bad Request response.
not_found: Not Found response.
service: Internal Server Error response.
GET /log-sources/s3/{id} HTTP/1.1
Host: your-api-host
X-API-Key: YOUR_API_KEY
Accept: */*
{
"awsAccountId": "text",
"integrationId": "text",
"integrationLabel": "text",
"kmsKey": "text",
"logProcessingRole": "text",
"logStreamType": "Auto",
"logStreamTypeOptions": {
"jsonArrayEnvelopeField": "text",
"retainEnvelopeFields": true,
"xmlRootElement": "text"
},
"managedBucketNotifications": true,
"s3Bucket": "text",
"s3PrefixLogTypes": [
{
"excludedPrefixes": [
"text"
],
"logTypes": [
"text"
],
"prefix": "text"
}
]
}ID of the S3 source to update
The integration label (name)
KMS key ARN for server-side encryption. Omit if the bucket is not KMS-encrypted.
The IAM role ARN that Panther assumes to read from the S3 bucket
The log stream type. Supported: Auto, JSON, JsonArray, Lines, XML, CloudWatchLogs
Whether Panther should configure the S3 bucket notifications automatically
OK response.
The AWS account ID where the S3 bucket resides
The unique ID of the S3 log source
The integration label (name)
KMS key ARN for server-side encryption. Omit if the bucket is not KMS-encrypted.
The IAM role ARN that Panther assumes to read from the S3 bucket
The log stream type. Supported: Auto, JSON, JsonArray, Lines, XML, CloudWatchLogs
Whether Panther should configure the S3 bucket notifications automatically
The S3 bucket name
bad_request: Bad Request response.
not_found: Not Found response.
exists: Conflict response.
service: Internal Server Error response.
PUT /log-sources/s3/{id} HTTP/1.1
Host: your-api-host
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 323
{
"integrationLabel": "text",
"kmsKey": "text",
"logProcessingRole": "text",
"logStreamType": "Auto",
"logStreamTypeOptions": {
"jsonArrayEnvelopeField": "text",
"retainEnvelopeFields": true,
"xmlRootElement": "text"
},
"managedBucketNotifications": true,
"s3PrefixLogTypes": [
{
"excludedPrefixes": [
"text"
],
"logTypes": [
"text"
],
"prefix": "text"
}
]
}{
"awsAccountId": "text",
"integrationId": "text",
"integrationLabel": "text",
"kmsKey": "text",
"logProcessingRole": "text",
"logStreamType": "Auto",
"logStreamTypeOptions": {
"jsonArrayEnvelopeField": "text",
"retainEnvelopeFields": true,
"xmlRootElement": "text"
},
"managedBucketNotifications": true,
"s3Bucket": "text",
"s3PrefixLogTypes": [
{
"excludedPrefixes": [
"text"
],
"logTypes": [
"text"
],
"prefix": "text"
}
]
}ID of the S3 source to delete
No Content response.
No content
bad_request: Bad Request response.
service: Internal Server Error response.
DELETE /log-sources/s3/{id} HTTP/1.1
Host: your-api-host
X-API-Key: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?

