Skip to content
Start here

Resource Library

Resource LibraryApplications

data cloudflare_zero_trust_resource_library_application

required Expand Collapse
account_id: String
id: String
computed Expand Collapse
application_confidence_score: Float64

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

application_source: String

Returns the application source.

application_type: String

Returns the application type.

application_type_description: String

Returns the application type description.

created_at: String

Returns the application creation time.

gen_ai_score: Float64

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

human_id: String

Returns the human readable ID.

intel_id: Int64

Returns the Intel API ID for the application.

name: String

Returns the application name.

updated_at: String

Returns the application update time.

version: String

Returns the application version.

hostnames: List[String]

Returns the list of hostnames for the application.

ip_subnets: List[String]

Returns the list of IP subnets for the application.

port_protocols: List[String]

Returns the list of port protocols for the application.

support_domains: List[String]

Returns the list of support domains for the application.

supported: List[String]

Cloudflare products that support this application.

application_score_composition: JSON

Returns the score composition breakdown for the application.

cloudflare_zero_trust_resource_library_application

data "cloudflare_zero_trust_resource_library_application" "example_zero_trust_resource_library_application" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  id = "0b63249c-95bf-4cc0-a7cc-d7faaaf1dac0"
}

data cloudflare_zero_trust_resource_library_applications

required Expand Collapse
account_id: String
optional Expand Collapse
filter?: String

Filter 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). also supports multiple values (e.g., intel_id:498,1001)
  • category_id: Filter by category ID (e.g., category_id:37f8ec03-8766-49d4-9a15-369b044c842c).
  • category_name: Filter by category name (e.g., category_name:HR).
  • supported: Filter by supported Cloudflare product (e.g., supported:ACCESS). Values: GATEWAY, ACCESS, CASB. .
order_by?: String

Order results by field name and direction (e.g., name:asc). Ignored when search is provided; results are ranked by relevance instead.

limit?: Int64

Limit of number of results to return (max 250).

offset?: Int64

Offset of results to return.

max_items?: Int64

Max items to fetch, default: 1000

computed Expand Collapse
result: List[Attributes]

The items returned by the data source

id: String

Returns the application ID.

application_confidence_score: Float64

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

application_source: String

Returns the application source.

application_type: String

Returns the application type.

application_type_description: String

Returns the application type description.

created_at: String

Returns the application creation time.

gen_ai_score: Float64

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

hostnames: List[String]

Returns the list of hostnames for the application.

human_id: String

Returns the human readable ID.

ip_subnets: List[String]

Returns the list of IP subnets for the application.

name: String

Returns the application name.

port_protocols: List[String]

Returns the list of port protocols for the application.

support_domains: List[String]

Returns the list of support domains for the application.

supported: List[String]

Cloudflare products that support this application.

updated_at: String

Returns the application update time.

version: String

Returns the application version.

application_score_composition: JSON

Returns the score composition breakdown for the application.

intel_id: Int64

Returns the Intel API ID for the application.

cloudflare_zero_trust_resource_library_applications

data "cloudflare_zero_trust_resource_library_applications" "example_zero_trust_resource_library_applications" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  filter = "filter"
  order_by = "order_by"
  search = "xx"
}

Resource LibraryCategories

data cloudflare_zero_trust_resource_library_category

required Expand Collapse
account_id: String
id: String
computed Expand Collapse
created_at: String

Returns the category creation time.

description: String

Returns the category description.

name: String

Returns the category name.

cloudflare_zero_trust_resource_library_category

data "cloudflare_zero_trust_resource_library_category" "example_zero_trust_resource_library_category" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  id = "0b63249c-95bf-4cc0-a7cc-d7faaaf1dac0"
}

data cloudflare_zero_trust_resource_library_categories

required Expand Collapse
account_id: String
optional Expand Collapse
limit?: Int64

Limit of number of results to return.

offset?: Int64

Offset of results to return.

max_items?: Int64

Max items to fetch, default: 1000

computed Expand Collapse
result: List[Attributes]

The items returned by the data source

id: String

Returns the category ID.

created_at: String

Returns the category creation time.

description: String

Returns the category description.

name: String

Returns the category name.

cloudflare_zero_trust_resource_library_categories

data "cloudflare_zero_trust_resource_library_categories" "example_zero_trust_resource_library_categories" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
}