Get application details
client.zeroTrust.casb.applications.get("ANTHROPIC" | "AWS" | "BITBUCKET" | 12 moreapplicationID, ApplicationGetParams { account_id } params, RequestOptionsoptions?): ApplicationGetResponse { id, auth_methods, category, 6 more }
GET/accounts/{account_id}/one/applications/{application_id}
Returns full application details including auth methods, use cases, and permissions.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example:
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example:
Get application details
import Cloudflare from 'cloudflare';
const client = new Cloudflare({
apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted
});
const application = await client.zeroTrust.casb.applications.get('ANTHROPIC', {
account_id: '023e105f4ecef8ad9ca31a8372d0c353',
});
console.log(application.id);{
"errors": [],
"messages": [],
"result": {
"auth_methods": [
{
"display_name": "OAuth 2.0 Admin Consent",
"id": "oauth2",
"is_default": true,
"supported_environments": [
"standard",
"fedramp"
]
}
],
"category": "Productivity",
"description": "Monitor OneDrive, SharePoint, Teams, and Outlook.",
"display_name": "Microsoft",
"dlp_enabled": true,
"id": "MICROSOFT_INTERNAL",
"instructions": "You'll need a Microsoft 365 admin account with Global Admin or Application Admin role.",
"logo": "/api/v4/accounts/12345678/casb/static/microsoft_internal.svg",
"use_cases": [
{
"base_scopes": [
{
"display_name": "Read all users' full profiles",
"scope": "User.Read.All",
"severity": "high"
},
{
"display_name": "Read all files",
"scope": "Files.Read.All",
"severity": "high"
}
],
"description": "Discover and secure SaaS applications",
"display_name": "Cloud Access Security Broker",
"features": [
{
"description": "Automatically remediate security issues",
"display_name": "Auto Remediation",
"id": "auto_remediation",
"scopes": [
{
"display_name": "Read and write all files",
"scope": "Files.ReadWrite.All",
"severity": "critical"
}
]
}
],
"id": "casb"
}
]
},
"success": true
}Returns Examples
{
"errors": [],
"messages": [],
"result": {
"auth_methods": [
{
"display_name": "OAuth 2.0 Admin Consent",
"id": "oauth2",
"is_default": true,
"supported_environments": [
"standard",
"fedramp"
]
}
],
"category": "Productivity",
"description": "Monitor OneDrive, SharePoint, Teams, and Outlook.",
"display_name": "Microsoft",
"dlp_enabled": true,
"id": "MICROSOFT_INTERNAL",
"instructions": "You'll need a Microsoft 365 admin account with Global Admin or Application Admin role.",
"logo": "/api/v4/accounts/12345678/casb/static/microsoft_internal.svg",
"use_cases": [
{
"base_scopes": [
{
"display_name": "Read all users' full profiles",
"scope": "User.Read.All",
"severity": "high"
},
{
"display_name": "Read all files",
"scope": "Files.Read.All",
"severity": "high"
}
],
"description": "Discover and secure SaaS applications",
"display_name": "Cloud Access Security Broker",
"features": [
{
"description": "Automatically remediate security issues",
"display_name": "Auto Remediation",
"id": "auto_remediation",
"scopes": [
{
"display_name": "Read and write all files",
"scope": "Files.ReadWrite.All",
"severity": "critical"
}
]
}
],
"id": "casb"
}
]
},
"success": true
}