List applications
client.zeroTrust.casb.applications.list(ApplicationListParams { account_id, environment, page, page_size } params, RequestOptionsoptions?): SinglePage<ApplicationListResponse { id, auth_methods, category, 7 more } >
GET/accounts/{account_id}/one/applications
Returns a list of available applications with 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:
List applications
import Cloudflare from 'cloudflare';
const client = new Cloudflare({
apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const applicationListResponse of client.zeroTrust.casb.applications.list({
account_id: '023e105f4ecef8ad9ca31a8372d0c353',
})) {
console.log(applicationListResponse.id);
}{
"errors": [],
"messages": [],
"result": [
{
"auth_methods": [
{
"display_name": "OAuth 2.0 Admin Consent",
"id": "oauth2_standard"
}
],
"category": "Productivity",
"description": "Monitor OneDrive, SharePoint, Teams, and Outlook.",
"display_name": "Microsoft",
"dlp_enabled": true,
"id": "MICROSOFT_INTERNAL",
"logo": "/api/v4/accounts/12345678/casb/static/microsoft_internal.svg",
"permissions": [
{
"display_name": "Read all users' full profiles",
"scope": "User.Read.All",
"severity": "high"
},
{
"display_name": "Read all files",
"scope": "Files.Read.All",
"severity": "high"
},
{
"display_name": "Read and write mail",
"scope": "Mail.ReadWrite",
"severity": "critical"
}
],
"supported_environments": [
"standard",
"fedramp"
],
"use_cases": [
{
"display_name": "Cloud Access Security Broker",
"id": "casb"
},
{
"display_name": "Cloud Email Security",
"id": "ces"
}
]
}
],
"result_info": {
"count": 1,
"next": null,
"page": 1,
"per_page": 10,
"previous": null,
"total_count": 1
},
"success": true
}Returns Examples
{
"errors": [],
"messages": [],
"result": [
{
"auth_methods": [
{
"display_name": "OAuth 2.0 Admin Consent",
"id": "oauth2_standard"
}
],
"category": "Productivity",
"description": "Monitor OneDrive, SharePoint, Teams, and Outlook.",
"display_name": "Microsoft",
"dlp_enabled": true,
"id": "MICROSOFT_INTERNAL",
"logo": "/api/v4/accounts/12345678/casb/static/microsoft_internal.svg",
"permissions": [
{
"display_name": "Read all users' full profiles",
"scope": "User.Read.All",
"severity": "high"
},
{
"display_name": "Read all files",
"scope": "Files.Read.All",
"severity": "high"
},
{
"display_name": "Read and write mail",
"scope": "Mail.ReadWrite",
"severity": "critical"
}
],
"supported_environments": [
"standard",
"fedramp"
],
"use_cases": [
{
"display_name": "Cloud Access Security Broker",
"id": "casb"
},
{
"display_name": "Cloud Email Security",
"id": "ces"
}
]
}
],
"result_info": {
"count": 1,
"next": null,
"page": 1,
"per_page": 10,
"previous": null,
"total_count": 1
},
"success": true
}