Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
---
type: example
summary: Use a pre-existing rule group.
tags:
- Rule group
title: Rule group
pcx_content_type: example
sidebar:
order: 4
description: Use a pre-existing rule group.

---

```json
{
"group": {
"id": "aa0a4aab-672b-4bdb-bc33-a59f1130a11f"
}
"group": {
"id": "aa0a4aab-672b-4bdb-bc33-a59f1130a11f"
}
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,18 @@
type: example
summary: The request will need to present the headers for any service token
created for this account.
tags:
- Any valid service token
title: Any valid service token
pcx_content_type: example
sidebar:
order: 4
description: The request will need to present the headers for any service token
created for this account.

---

The request will need to present the headers for any service token created for this account

```json
{
"any_valid_service_token": {}
"any_valid_service_token": {}
}
```
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
---
type: example
summary: Allow access based on the "amr" identifier.
tags:
- Authentication Method
title: Authentication method
pcx_content_type: example
sidebar:
order: 4
description: Allow access based on the "amr" identifier.

---

```json
{
"auth_method": {
"auth_method": "hwk"
}
"auth_method": {
"auth_method": "hwk"
}
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,18 @@
type: example
summary: The request will need to present a valid certificate with an expected
common name.
tags:
- Common name
title: Common name
pcx_content_type: example
sidebar:
order: 4
description: The request will need to present a valid certificate with an
expected common name.

---

```json
{
"common_name": {
"common_name": "[email protected]"
}
"common_name": {
"common_name": "[email protected]"
}
}
```
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
---
type: example
summary: Allow a specific country.
tags:
- Country Code
title: Country Code
pcx_content_type: example
sidebar:
order: 4
description: Allow a specific country.

---

```json
{
"geo": {
"country_code": "US"
}
"geo": {
"country_code": "US"
}
}
```
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
---
type: example
summary: Allow an entire email domain.
tags:
- Email domain
title: Email domain
pcx_content_type: example
sidebar:
order: 4
description: Allow an entire email domain.

---

```json
{
"email_domain": {
"domain": "cloudflare.com"
}
"email_domain": {
"domain": "cloudflare.com"
}
}
```
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
---
type: example
summary: Allow a specific email address.
tags:
- Email
title: Email
pcx_content_type: example
sidebar:
order: 4
description: Allow a specific email address.

---

```json
{
"email": {
"email": "[email protected]"
}
"email": {
"email": "[email protected]"
}
}
```
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
type: example
summary: Allow members of a Microsoft Entra group. The ID is the group UUID (`id`) in Microsoft Entra ID.
tags:
- Microsoft Entra Group
title: Microsoft Entra Group
pcx_content_type: example
sidebar:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
---
type: example
summary: Allow anyone to log in.
tags:
- Everyone
title: Everyone
pcx_content_type: example
sidebar:
order: 4
description: Allow anyone to log in.

---

```json
{
"everyone": {}
"everyone": {}
}
```
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
type: example
summary: Allow members of a specific GitHub organization.
tags:
- GitHub Organization
title: GitHub™ Organization
pcx_content_type: example
sidebar:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
type: example
summary: Allow members of a specific G Suite group.
tags:
- G Suite Group
title: G Suite Group
pcx_content_type: example
sidebar:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
---
type: example
summary: Allow an IP range.
tags:
- IP range
title: IP range
pcx_content_type: example
sidebar:
order: 4
description: Allow an IP range.

---

```json
{
"ip": {
"ip": "127.0.0.1/32"
}
"ip": {
"ip": "127.0.0.1/32"
}
}
```
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
---
type: example
summary: The request will need to present a valid certificate.
tags:
- mTLS certificate
title: mTLS certificate
pcx_content_type: example
sidebar:
order: 4
description: The request will need to present a valid certificate.

---

```json
{
"certificate": {}
"certificate": {}
}
```
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
type: example
summary: Allow members of an Okta Group.
tags:
- Okta Group
title: Okta Group
pcx_content_type: example
sidebar:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
---
type: example
summary: Allow users with specific SAML attributes.
tags:
- SAML Attribute
title: SAML Attribute
pcx_content_type: example
sidebar:
order: 4
description: Allow users with specific SAML attributes.

---

```json
{
"saml": {
"attribute_name": "group",
"attribute_value": "admins",
"identity_provider_id": "ca298b82-93b5-41bf-bc2d-10493f09b761"
}
"saml": {
"attribute_name": "group",
"attribute_value": "admins",
"identity_provider_id": "ca298b82-93b5-41bf-bc2d-10493f09b761"
}
}
```
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
---
type: example
summary: The request will need to present the correct service token headers.
tags:
- Service token
title: Service token
pcx_content_type: example
sidebar:
order: 4
description: The request will need to present the correct service token headers.

---

```json
{
"service_token": {
"token_id": "e9808c3a-705c-4afc-a507-6e4b083ff399"
}
"service_token": {
"token_id": "e9808c3a-705c-4afc-a507-6e4b083ff399"
}
}
```
Loading
Loading