AccessPolicyInclude

data class AccessPolicyInclude(val anyValidServiceToken: Boolean? = null, val authContexts: List<AccessPolicyIncludeAuthContext>? = null, val authMethod: String? = null, val azures: List<AccessPolicyIncludeAzure>? = null, val certificate: Boolean? = null, val commonName: String? = null, val commonNames: List<String>? = null, val devicePostures: List<String>? = null, val emailDomains: List<String>? = null, val emailLists: List<String>? = null, val emails: List<String>? = null, val everyone: Boolean? = null, val externalEvaluation: AccessPolicyIncludeExternalEvaluation? = null, val geos: List<String>? = null, val githubs: List<AccessPolicyIncludeGithub>? = null, val groups: List<String>? = null, val gsuites: List<AccessPolicyIncludeGsuite>? = null, val ipLists: List<String>? = null, val ips: List<String>? = null, val loginMethods: List<String>? = null, val oktas: List<AccessPolicyIncludeOkta>? = null, val samls: List<AccessPolicyIncludeSaml>? = null, val serviceTokens: List<String>? = null)

Constructors

Link copied to clipboard
constructor(anyValidServiceToken: Boolean? = null, authContexts: List<AccessPolicyIncludeAuthContext>? = null, authMethod: String? = null, azures: List<AccessPolicyIncludeAzure>? = null, certificate: Boolean? = null, commonName: String? = null, commonNames: List<String>? = null, devicePostures: List<String>? = null, emailDomains: List<String>? = null, emailLists: List<String>? = null, emails: List<String>? = null, everyone: Boolean? = null, externalEvaluation: AccessPolicyIncludeExternalEvaluation? = null, geos: List<String>? = null, githubs: List<AccessPolicyIncludeGithub>? = null, groups: List<String>? = null, gsuites: List<AccessPolicyIncludeGsuite>? = null, ipLists: List<String>? = null, ips: List<String>? = null, loginMethods: List<String>? = null, oktas: List<AccessPolicyIncludeOkta>? = null, samls: List<AccessPolicyIncludeSaml>? = null, serviceTokens: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Matches any valid Access service token.

Link copied to clipboard
Link copied to clipboard
val authMethod: String? = null

The type of authentication method. Refer to https://datatracker.ietf.org/doc/html/rfc8176#section-2 for possible types.

Link copied to clipboard

Matches an Azure group. Requires an Azure identity provider.

Link copied to clipboard
val certificate: Boolean? = null

Matches any valid client certificate.

Link copied to clipboard
val commonName: String? = null

Matches a valid client certificate common name.

Link copied to clipboard
val commonNames: List<String>? = null

Overflow field if you need to have multiple commonname rules in a single policy. Use in place of the singular commonname field.

Link copied to clipboard
val devicePostures: List<String>? = null

The ID of a device posture integration.

Link copied to clipboard
val emailDomains: List<String>? = null

The email domain to match.

Link copied to clipboard
val emailLists: List<String>? = null

The ID of a previously created email list.

Link copied to clipboard
val emails: List<String>? = null

The email of the user.

Link copied to clipboard
val everyone: Boolean? = null

Matches everyone.

Link copied to clipboard

Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/.

Link copied to clipboard
val geos: List<String>? = null

Matches a specific country.

Link copied to clipboard

Matches a Github organization. Requires a Github identity provider.

Link copied to clipboard
val groups: List<String>? = null

The ID of a previously created Access group.

Link copied to clipboard

Matches a group in Google Workspace. Requires a Google Workspace identity provider.

Link copied to clipboard
val ipLists: List<String>? = null

The ID of a previously created IP list.

Link copied to clipboard
val ips: List<String>? = null

An IPv4 or IPv6 CIDR block.

Link copied to clipboard
val loginMethods: List<String>? = null

The ID of a configured identity provider.

Link copied to clipboard

Matches an Okta group. Requires an Okta identity provider.

Link copied to clipboard

Matches a SAML group. Requires a SAML identity provider.

Link copied to clipboard
val serviceTokens: List<String>? = null

The ID of an Access service token.