Skip to content
Start here

Resource Library

Resource LibraryApplications

List applications
zero_trust.resource_library.applications.list(ApplicationListParams**kwargs) -> SyncSinglePage[ApplicationListResponse]
GET/accounts/{account_id}/resource-library/applications
Get application
zero_trust.resource_library.applications.get(strid, ApplicationGetParams**kwargs) -> ApplicationGetResponse
GET/accounts/{account_id}/resource-library/applications/{id}
ModelsExpand Collapse
class ApplicationListResponse:
id: str

Returns the application ID.

application_confidence_score: float

Confidence score for the application. Returns -1 when no score is available.

formatfloat
application_source: str

Returns the application source.

application_type: str

Returns the application type.

application_type_description: str

Returns the application type description.

created_at: str

Returns the application creation time.

gen_ai_score: float

GenAI score for the application. Returns -1 when no score is available.

formatfloat
hostnames: List[str]

Returns the list of hostnames for the application.

human_id: str

Returns the human readable ID.

ip_subnets: List[str]

Returns the list of IP subnets for the application.

name: str

Returns the application name.

port_protocols: List[str]

Returns the list of port protocols for the application.

support_domains: List[str]

Returns the list of support domains for the application.

supported: List[Literal["GATEWAY", "ACCESS", "CASB"]]

Cloudflare products that support this application.

One of the following:
"GATEWAY"
"ACCESS"
"CASB"
updated_at: str

Returns the application update time.

version: str

Returns the application version.

application_score_composition: Optional[object]

Returns the score composition breakdown for the application.

intel_id: Optional[int]

Returns the Intel API ID for the application.

formatint64
class ApplicationGetResponse:
id: str

Returns the application ID.

application_confidence_score: float

Confidence score for the application. Returns -1 when no score is available.

formatfloat
application_source: str

Returns the application source.

application_type: str

Returns the application type.

application_type_description: str

Returns the application type description.

created_at: str

Returns the application creation time.

gen_ai_score: float

GenAI score for the application. Returns -1 when no score is available.

formatfloat
hostnames: List[str]

Returns the list of hostnames for the application.

human_id: str

Returns the human readable ID.

ip_subnets: List[str]

Returns the list of IP subnets for the application.

name: str

Returns the application name.

port_protocols: List[str]

Returns the list of port protocols for the application.

support_domains: List[str]

Returns the list of support domains for the application.

supported: List[Literal["GATEWAY", "ACCESS", "CASB"]]

Cloudflare products that support this application.

One of the following:
"GATEWAY"
"ACCESS"
"CASB"
updated_at: str

Returns the application update time.

version: str

Returns the application version.

application_score_composition: Optional[object]

Returns the score composition breakdown for the application.

intel_id: Optional[int]

Returns the Intel API ID for the application.

formatint64

Resource LibraryCategories

List application categories
zero_trust.resource_library.categories.list(CategoryListParams**kwargs) -> SyncSinglePage[CategoryListResponse]
GET/accounts/{account_id}/resource-library/categories
Get application category
zero_trust.resource_library.categories.get(strid, CategoryGetParams**kwargs) -> CategoryGetResponse
GET/accounts/{account_id}/resource-library/categories/{id}
ModelsExpand Collapse
class CategoryListResponse:
id: str

Returns the category ID.

created_at: str

Returns the category creation time.

description: str

Returns the category description.

name: str

Returns the category name.

class CategoryGetResponse:
id: str

Returns the category ID.

created_at: str

Returns the category creation time.

description: str

Returns the category description.

name: str

Returns the category name.