Skip to main content

resource_library_applications

Creates, updates, deletes, gets or lists a resource_library_applications resource.

Overview

Nameresource_library_applications
TypeResource
Idcloudflare.zero_trust.resource_library_applications

Fields

The following fields are returned by SELECT queries:

Get the application response.

NameDatatypeDescription
idstringReturns the application ID. (example: 12345678-1234-1234-1234-123456789012)
namestringReturns the application name. (example: HR)
human_idstringReturns the human readable ID. (example: HR)
intel_idinteger (int64)Returns the Intel API ID for the application.
application_confidence_scorenumber (float)Confidence score for the application. Returns -1 when no score is available.
application_score_compositionobjectReturns the score composition breakdown for the application.
application_sourcestringReturns the application source. (example: cloudflare)
application_typestringReturns the application type. (example: Human Resources)
application_type_descriptionstringReturns the application type description. (example: Applications used to manage employees and workforce tools.)
created_atstringReturns the application creation time. (example: 2025-01-01T00:00:00Z)
gen_ai_scorenumber (float)GenAI score for the application. Returns -1 when no score is available.
hostnamesarrayReturns the list of hostnames for the application.
ip_subnetsarrayReturns the list of IP subnets for the application.
port_protocolsarrayReturns the list of port protocols for the application.
support_domainsarrayReturns the list of support domains for the application.
updated_atstringReturns the application update time. (example: 2025-01-01T00:00:00Z)
versionstringReturns the application version. (example: 2025-01-01T00:00:00Z)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_by_accountselectaccount_id, idGet application by ID.
listselectaccount_idfilter, limit, offset, order_byList applications with different filters.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
idstringResource ID.
filterstringFilter applications using key:value format. Supported filter keys: - name: Filter by application name (e.g., name:HR) - id: Filter by application ID (e.g., id:0b63249c-95bf-4cc0-a7cc-d7faaaf1dac0) - human_id: Filter by human-readable ID (e.g., human_id:HR) - hostname: Filter by hostname or support domain (e.g., hostname:portal.example.com) - source: Filter by application source name (e.g., source:cloudflare) - ip_subnet: Filter by IP subnet using CIDR containment — returns applications where any stored subnet contains the search value (e.g., ip_subnet:10.0.1.5/32 matches apps with 10.0.0.0/16) - intel_id: Filter by Intel API ID (e.g., intel_id:498). .
limitintegerLimit of number of results to return (max 250).
offsetintegerOffset of results to return.
order_bystringOrder by result by field name and order (e.g., name:asc).

SELECT examples

Get application by ID.

SELECT
id,
name,
human_id,
intel_id,
application_confidence_score,
application_score_composition,
application_source,
application_type,
application_type_description,
created_at,
gen_ai_score,
hostnames,
ip_subnets,
port_protocols,
support_domains,
updated_at,
version
FROM cloudflare.zero_trust.resource_library_applications
WHERE account_id = '{{ account_id }}' -- required
AND id = '{{ id }}' -- required
;