Cloud Accounts
Overview
Use these API operations to interact with AWS Cloud Accounts in Panther.
Required permissions
For
GEToperations, your API token must have theView Cloud Security Sourcespermission.For
POST,PUT, andDELETEoperations, your API token must have theManage Cloud Security Sourcespermission.
Operations
The 12-digit AWS account ID
^[0-9]{12}$The display name for the AWS Cloud Account integration
^[0-9a-zA-Z- ]+$Regions to exclude from scanning
Regex patterns matching resource ARNs to exclude from scanning
Resource types to exclude from scanning (e.g. AWS.S3.Bucket)
Created response.
The 12-digit AWS account ID (immutable)
The unique ID of the AWS Cloud Account integration
The display name for the AWS Cloud Account integration
^[0-9a-zA-Z- ]+$Regions to exclude from scanning
Regex patterns matching resource ARNs to exclude from scanning
Resource types to exclude from scanning (e.g. AWS.S3.Bucket)
bad_request: Bad Request response.
exists: Conflict response.
service: Internal Server Error response.
POST /cloud-accounts/aws HTTP/1.1
Host: your-api-host
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 183
{
"awsAccountId": "text",
"awsScanConfig": {
"auditRole": "text"
},
"integrationLabel": "text",
"regionIgnoreList": [
"text"
],
"resourceRegexIgnoreList": [
"text"
],
"resourceTypeIgnoreList": [
"text"
]
}{
"awsAccountId": "text",
"awsScanConfig": {
"auditRole": "text"
},
"integrationId": "text",
"integrationLabel": "text",
"regionIgnoreList": [
"text"
],
"resourceRegexIgnoreList": [
"text"
],
"resourceTypeIgnoreList": [
"text"
]
}ID of the AWS Cloud Account to fetch
OK response.
The 12-digit AWS account ID (immutable)
The unique ID of the AWS Cloud Account integration
The display name for the AWS Cloud Account integration
^[0-9a-zA-Z- ]+$Regions to exclude from scanning
Regex patterns matching resource ARNs to exclude from scanning
Resource types to exclude from scanning (e.g. AWS.S3.Bucket)
bad_request: Bad Request response.
not_found: Not Found response.
service: Internal Server Error response.
GET /cloud-accounts/aws/{id} HTTP/1.1
Host: your-api-host
X-API-Key: YOUR_API_KEY
Accept: */*
{
"awsAccountId": "text",
"awsScanConfig": {
"auditRole": "text"
},
"integrationId": "text",
"integrationLabel": "text",
"regionIgnoreList": [
"text"
],
"resourceRegexIgnoreList": [
"text"
],
"resourceTypeIgnoreList": [
"text"
]
}ID of the AWS Cloud Account to update
The display name for the AWS Cloud Account integration
^[0-9a-zA-Z- ]+$Regions to exclude from scanning
Regex patterns matching resource ARNs to exclude from scanning
Resource types to exclude from scanning (e.g. AWS.S3.Bucket)
OK response.
The 12-digit AWS account ID (immutable)
The unique ID of the AWS Cloud Account integration
The display name for the AWS Cloud Account integration
^[0-9a-zA-Z- ]+$Regions to exclude from scanning
Regex patterns matching resource ARNs to exclude from scanning
Resource types to exclude from scanning (e.g. AWS.S3.Bucket)
bad_request: Bad Request response.
not_found: Not Found response.
service: Internal Server Error response.
PUT /cloud-accounts/aws/{id} HTTP/1.1
Host: your-api-host
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 161
{
"awsScanConfig": {
"auditRole": "text"
},
"integrationLabel": "text",
"regionIgnoreList": [
"text"
],
"resourceRegexIgnoreList": [
"text"
],
"resourceTypeIgnoreList": [
"text"
]
}{
"awsAccountId": "text",
"awsScanConfig": {
"auditRole": "text"
},
"integrationId": "text",
"integrationLabel": "text",
"regionIgnoreList": [
"text"
],
"resourceRegexIgnoreList": [
"text"
],
"resourceTypeIgnoreList": [
"text"
]
}ID of the AWS Cloud Account to delete
No Content response.
No content
bad_request: Bad Request response.
service: Internal Server Error response.
DELETE /cloud-accounts/aws/{id} HTTP/1.1
Host: your-api-host
X-API-Key: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?

