Skip to content

Commit 8423950

Browse files
kodster28maxvp
authored andcommitted
[Partials 5] Add product to partials within partials (#24580)
1 parent 9d8030b commit 8423950

File tree

12 files changed

+54
-50
lines changed

12 files changed

+54
-50
lines changed

src/content/partials/cloudflare-one/casb/google/integrations/gmail.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { Render } from "~/components";
1717

1818
## Integration prerequisites
1919

20-
<Render file="casb/google/google-prereqs" />
20+
<Render file="casb/google/google-prereqs" product="cloudflare-one" />
2121

2222
## Integration permissions
2323

@@ -41,8 +41,8 @@ import { Render } from "~/components";
4141

4242
### Gmail administrator settings
4343

44-
<Render file="casb/google/gmail-admin-settings" />
44+
<Render file="casb/google/gmail-admin-settings" product="cloudflare-one" />
4545

4646
### Email forwarding
4747

48-
<Render file="casb/google/email-forwarding" />
48+
<Render file="casb/google/email-forwarding" product="cloudflare-one" />

src/content/partials/cloudflare-one/casb/google/integrations/google-admin.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { Render } from "~/components";
1717

1818
## Integration prerequisites
1919

20-
<Render file="casb/google/google-prereqs" />
20+
<Render file="casb/google/google-prereqs" product="cloudflare-one" />
2121

2222
## Integration permissions
2323

@@ -41,12 +41,12 @@ import { Render } from "~/components";
4141

4242
### User account settings
4343

44-
<Render file="casb/google/user-account-settings" />
44+
<Render file="casb/google/user-account-settings" product="cloudflare-one" />
4545

4646
### Inactive or suspended users
4747

48-
<Render file="casb/google/inactive-suspended-users" />
48+
<Render file="casb/google/inactive-suspended-users" product="cloudflare-one" />
4949

5050
### Third-party apps
5151

52-
<Render file="casb/google/third-party-apps" />
52+
<Render file="casb/google/third-party-apps" product="cloudflare-one" />

src/content/partials/cloudflare-one/casb/google/integrations/google-calendar.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { Render } from "~/components";
1717

1818
## Integration prerequisites
1919

20-
<Render file="casb/google/google-prereqs" />
20+
<Render file="casb/google/google-prereqs" product="cloudflare-one" />
2121

2222
## Integration permissions
2323

@@ -41,4 +41,4 @@ import { Render } from "~/components";
4141

4242
### Calendar sharing
4343

44-
<Render file="casb/google/calendar-sharing" />
44+
<Render file="casb/google/calendar-sharing" product="cloudflare-one" />

src/content/partials/cloudflare-one/casb/google/integrations/google-drive.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { Render } from "~/components";
1717

1818
## Integration prerequisites
1919

20-
<Render file="casb/google/google-prereqs" />
20+
<Render file="casb/google/google-prereqs" product="cloudflare-one" />
2121

2222
## Integration permissions
2323

@@ -41,10 +41,10 @@ import { Render } from "~/components";
4141

4242
### File sharing
4343

44-
<Render file="casb/google/file-sharing" />
44+
<Render file="casb/google/file-sharing" product="cloudflare-one" />
4545

4646
### Data Loss Prevention (optional)
4747

48-
<Render file="casb/data-loss-prevention" />
48+
<Render file="casb/data-loss-prevention" product="cloudflare-one" />
4949

50-
<Render file="casb/google/google-dlp" />
50+
<Render file="casb/google/google-dlp" product="cloudflare-one" />

src/content/partials/cloudflare-one/casb/microsoft/integrations/admin-center.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { GlossaryTooltip, Render } from "~/components";
1717

1818
## Integration prerequisites
1919

20-
<Render file="casb/microsoft/m365-prereqs" />
20+
<Render file="casb/microsoft/m365-prereqs" product="cloudflare-one" />
2121

2222
## Integration permissions
2323

@@ -38,8 +38,8 @@ import { GlossaryTooltip, Render } from "~/components";
3838

3939
### User account settings
4040

41-
<Render file="casb/microsoft/user-account-settings" />
41+
<Render file="casb/microsoft/user-account-settings" product="cloudflare-one" />
4242

4343
### Third-party apps
4444

45-
<Render file="casb/microsoft/third-party-apps" />
45+
<Render file="casb/microsoft/third-party-apps" product="cloudflare-one" />

src/content/partials/cloudflare-one/casb/microsoft/integrations/onedrive.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { Render } from "~/components";
1717

1818
## Integration prerequisites
1919

20-
<Render file="casb/microsoft/m365-prereqs" />
20+
<Render file="casb/microsoft/m365-prereqs" product="cloudflare-one" />
2121

2222
## Integration permissions
2323

@@ -38,10 +38,10 @@ import { Render } from "~/components";
3838

3939
### File sharing
4040

41-
<Render file="casb/microsoft/file-sharing" />
41+
<Render file="casb/microsoft/file-sharing" product="cloudflare-one" />
4242

4343
### Data Loss Prevention (optional)
4444

45-
<Render file="casb/data-loss-prevention" />
45+
<Render file="casb/data-loss-prevention" product="cloudflare-one" />
4646

47-
<Render file="casb/microsoft/m365-dlp-findings" />
47+
<Render file="casb/microsoft/m365-dlp-findings" product="cloudflare-one" />

src/content/partials/cloudflare-one/casb/microsoft/integrations/outlook.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { Render } from "~/components";
1717

1818
## Integration prerequisites
1919

20-
<Render file="casb/microsoft/m365-prereqs" />
20+
<Render file="casb/microsoft/m365-prereqs" product="cloudflare-one" />
2121

2222
## Integration permissions
2323

@@ -38,12 +38,12 @@ import { Render } from "~/components";
3838

3939
### Calendar sharing
4040

41-
<Render file="casb/microsoft/calendar-sharing" />
41+
<Render file="casb/microsoft/calendar-sharing" product="cloudflare-one" />
4242

4343
### Email administrator settings
4444

45-
<Render file="casb/microsoft/email-admin-settings" />
45+
<Render file="casb/microsoft/email-admin-settings" product="cloudflare-one" />
4646

4747
### Email forwarding
4848

49-
<Render file="casb/microsoft/email-forwarding" />
49+
<Render file="casb/microsoft/email-forwarding" product="cloudflare-one" />

src/content/partials/cloudflare-one/casb/microsoft/integrations/sharepoint.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { Render } from "~/components";
1717

1818
## Integration prerequisites
1919

20-
<Render file="casb/microsoft/m365-prereqs" />
20+
<Render file="casb/microsoft/m365-prereqs" product="cloudflare-one" />
2121

2222
## Integration permissions
2323

@@ -38,10 +38,10 @@ import { Render } from "~/components";
3838

3939
### File sharing
4040

41-
<Render file="casb/microsoft/file-sharing" />
41+
<Render file="casb/microsoft/file-sharing" product="cloudflare-one" />
4242

4343
### Data Loss Prevention (optional)
4444

45-
<Render file="casb/data-loss-prevention" />
45+
<Render file="casb/data-loss-prevention" product="cloudflare-one" />
4646

47-
<Render file="casb/microsoft/m365-dlp-findings" />
47+
<Render file="casb/microsoft/m365-dlp-findings" product="cloudflare-one" />

src/content/partials/dns/internal-dns-view-create-dash.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import { Details, Render } from "~/components";
1111
4. Give your view a descriptive name.
1212

1313
{ props.conditional === "get-started-detail" && (
14+
1415
<Details header="DNS view configuration conditions">
15-
<Render file="internal-dns-view-conditions" />
16+
<Render file="internal-dns-view-conditions" product="dns" />
1617
</Details>
17-
)
18-
}
18+
) }
1919

2020
5. Select **Manage zones** to add zones to your view. Select the internal zones that should be used to resolve queries sent by Gateway resolver to this view.
21-
6. Choose **Save** to confirm.
21+
6. Choose **Save** to confirm.

src/content/partials/dns/internal-zone-create-api.mdx

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,29 @@ import { Details, Render, APIRequest } from "~/components";
88
1. Use the [Create Zone](/api/resources/zones/methods/create/) endpoint to create an [internal zone](/dns/internal-dns/internal-zones/). Specify your account ID and set the `type` to `internal`.
99

1010
{ props.conditional === "get-started-detail" && (
11+
1112
<Details header="Internal zone configuration conditions">
12-
<Render file="internal-zones-conditions" />
13+
<Render file="internal-zones-conditions" product="dns" />
1314
</Details>
14-
)
15-
}
15+
) }
1616

1717
<Details header="Example">
18-
<APIRequest
19-
path="/zones"
20-
method="POST"
21-
json={{
22-
"account": {
23-
"id": "<ACCOUNT_ID>",
18+
<APIRequest
19+
path="/zones"
20+
method="POST"
21+
json={{
22+
account: {
23+
id: "<ACCOUNT_ID>",
2424
},
25-
"name": "<ZONE_NAME>",
26-
"type": "internal"
25+
name: "<ZONE_NAME>",
26+
type: "internal",
2727
}}
28-
/>
28+
/>
2929
</Details>
3030

3131
2. Add DNS records to your internal zone using your preferred option:
32+
3233
- [Import](/api/resources/dns/subresources/records/methods/import/) a formatted BIND file. Refer to the [DNS records how-to](/dns/manage-dns-records/how-to/import-and-export/) for guidance.
3334
- Use other API endpoints, such as [`/batch`](/api/resources/dns/subresources/records/methods/batch/), to manage DNS records. Refer to [Batch record changes](/dns/manage-dns-records/how-to/batch-record-changes/#use-the-api) for details.
34-
3. Repeat this process for each internal zone you wish to add.
35+
36+
3. Repeat this process for each internal zone you wish to add.

0 commit comments

Comments
 (0)