You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/cloudflare-one/policies/gateway/application-app-types.mdx
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,3 +76,37 @@ To turn on the Microsoft 365 integration:
76
76
3. To verify the policy was created, select **View policy**. Alternatively, go to **Gateway** > **Firewall policies** > **HTTP**. A policy named Microsoft 365 Auto Generated will be enabled in your list.
77
77
78
78
All future Microsoft 365 traffic will bypass Gateway logging and filtering. To disable this behavior, turn off or delete the policy.
79
+
80
+
### How to use app types in terraform?
81
+
82
+
For terraform users, we offer app types list as a dataset, so that you don't have to mention them by random numbers, and instead you can mention them in your policy by their app name.
83
+
84
+
Example terraform app types setup
85
+
86
+
<pre>
87
+
```
88
+
data "cloudflare_zero_trust_gateway_app_types_list" "gateway_apptypes" {
89
+
account_id = "<accounbt-id-string>"
90
+
}
91
+
92
+
93
+
locals {
94
+
apptypes_map = merge([
95
+
for c in data.cloudflare_zero_trust_gateway_app_types_list.gateway_apptypes.result : {(c.name) = c.id}]...)
Copy file name to clipboardExpand all lines: src/content/docs/cloudflare-one/policies/gateway/domain-categories.mdx
+41Lines changed: 41 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -229,3 +229,44 @@ Then, the initial categorization is refined via:
229
229
3. Machine learning models. Our algorithms, including DGA Domains, DNS tunneling, and phishing detection models analyze patterns and behaviors to detect new and evolving threats.
230
230
231
231
4. Community feedback. Through a review process, Cloudflare assesses feedback by both our internal models and threat analysts. This ensures that our categorizations reflect the most current and accurate threat intelligence.
232
+
233
+
## How to use categories in terraform?
234
+
235
+
For terraform users, we offer categories as a dataset, so that you don't have to mention them by random numbers, and instead you can mention them in your policy by their category name.
236
+
237
+
Example terraform category setup
238
+
239
+
<pre>
240
+
```
241
+
data "cloudflare_zero_trust_gateway_categories_list" "categories" {
242
+
account_id = "<accounbt-id-string>"
243
+
}
244
+
245
+
246
+
locals {
247
+
main_categories_map = {
248
+
for idx, c in data.cloudflare_zero_trust_gateway_categories_list.categories[0].result:
249
+
c.name => c.id
250
+
}
251
+
252
+
subcategories_map = merge(flatten([
253
+
for idx, c in data.cloudflare_zero_trust_gateway_categories_list.categories[0].result: {
254
+
for k,v in coalesce(c.subcategories, []): v.name => v.id
0 commit comments