1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. ZeroTrustRiskScoringIntegration
Cloudflare v6.1.0 published on Friday, Apr 18, 2025 by Pulumi

cloudflare.ZeroTrustRiskScoringIntegration

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.0 published on Friday, Apr 18, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleZeroTrustRiskScoringIntegration = new cloudflare.ZeroTrustRiskScoringIntegration("example_zero_trust_risk_scoring_integration", {
        accountId: "account_id",
        integrationType: "Okta",
        tenantUrl: "https://example.com",
        referenceId: "reference_id",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_risk_scoring_integration = cloudflare.ZeroTrustRiskScoringIntegration("example_zero_trust_risk_scoring_integration",
        account_id="account_id",
        integration_type="Okta",
        tenant_url="https://example.com",
        reference_id="reference_id")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.NewZeroTrustRiskScoringIntegration(ctx, "example_zero_trust_risk_scoring_integration", &cloudflare.ZeroTrustRiskScoringIntegrationArgs{
    			AccountId:       pulumi.String("account_id"),
    			IntegrationType: pulumi.String("Okta"),
    			TenantUrl:       pulumi.String("https://example.com"),
    			ReferenceId:     pulumi.String("reference_id"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleZeroTrustRiskScoringIntegration = new Cloudflare.ZeroTrustRiskScoringIntegration("example_zero_trust_risk_scoring_integration", new()
        {
            AccountId = "account_id",
            IntegrationType = "Okta",
            TenantUrl = "https://example.com",
            ReferenceId = "reference_id",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.ZeroTrustRiskScoringIntegration;
    import com.pulumi.cloudflare.ZeroTrustRiskScoringIntegrationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var exampleZeroTrustRiskScoringIntegration = new ZeroTrustRiskScoringIntegration("exampleZeroTrustRiskScoringIntegration", ZeroTrustRiskScoringIntegrationArgs.builder()
                .accountId("account_id")
                .integrationType("Okta")
                .tenantUrl("https://example.com")
                .referenceId("reference_id")
                .build());
    
        }
    }
    
    resources:
      exampleZeroTrustRiskScoringIntegration:
        type: cloudflare:ZeroTrustRiskScoringIntegration
        name: example_zero_trust_risk_scoring_integration
        properties:
          accountId: account_id
          integrationType: Okta
          tenantUrl: https://example.com
          referenceId: reference_id
    

    Create ZeroTrustRiskScoringIntegration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ZeroTrustRiskScoringIntegration(name: string, args: ZeroTrustRiskScoringIntegrationArgs, opts?: CustomResourceOptions);
    @overload
    def ZeroTrustRiskScoringIntegration(resource_name: str,
                                        args: ZeroTrustRiskScoringIntegrationArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def ZeroTrustRiskScoringIntegration(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        account_id: Optional[str] = None,
                                        integration_type: Optional[str] = None,
                                        tenant_url: Optional[str] = None,
                                        active: Optional[bool] = None,
                                        reference_id: Optional[str] = None)
    func NewZeroTrustRiskScoringIntegration(ctx *Context, name string, args ZeroTrustRiskScoringIntegrationArgs, opts ...ResourceOption) (*ZeroTrustRiskScoringIntegration, error)
    public ZeroTrustRiskScoringIntegration(string name, ZeroTrustRiskScoringIntegrationArgs args, CustomResourceOptions? opts = null)
    public ZeroTrustRiskScoringIntegration(String name, ZeroTrustRiskScoringIntegrationArgs args)
    public ZeroTrustRiskScoringIntegration(String name, ZeroTrustRiskScoringIntegrationArgs args, CustomResourceOptions options)
    
    type: cloudflare:ZeroTrustRiskScoringIntegration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ZeroTrustRiskScoringIntegrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ZeroTrustRiskScoringIntegrationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ZeroTrustRiskScoringIntegrationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ZeroTrustRiskScoringIntegrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ZeroTrustRiskScoringIntegrationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var zeroTrustRiskScoringIntegrationResource = new Cloudflare.ZeroTrustRiskScoringIntegration("zeroTrustRiskScoringIntegrationResource", new()
    {
        AccountId = "string",
        IntegrationType = "string",
        TenantUrl = "string",
        Active = false,
        ReferenceId = "string",
    });
    
    example, err := cloudflare.NewZeroTrustRiskScoringIntegration(ctx, "zeroTrustRiskScoringIntegrationResource", &cloudflare.ZeroTrustRiskScoringIntegrationArgs{
    	AccountId:       pulumi.String("string"),
    	IntegrationType: pulumi.String("string"),
    	TenantUrl:       pulumi.String("string"),
    	Active:          pulumi.Bool(false),
    	ReferenceId:     pulumi.String("string"),
    })
    
    var zeroTrustRiskScoringIntegrationResource = new ZeroTrustRiskScoringIntegration("zeroTrustRiskScoringIntegrationResource", ZeroTrustRiskScoringIntegrationArgs.builder()
        .accountId("string")
        .integrationType("string")
        .tenantUrl("string")
        .active(false)
        .referenceId("string")
        .build());
    
    zero_trust_risk_scoring_integration_resource = cloudflare.ZeroTrustRiskScoringIntegration("zeroTrustRiskScoringIntegrationResource",
        account_id="string",
        integration_type="string",
        tenant_url="string",
        active=False,
        reference_id="string")
    
    const zeroTrustRiskScoringIntegrationResource = new cloudflare.ZeroTrustRiskScoringIntegration("zeroTrustRiskScoringIntegrationResource", {
        accountId: "string",
        integrationType: "string",
        tenantUrl: "string",
        active: false,
        referenceId: "string",
    });
    
    type: cloudflare:ZeroTrustRiskScoringIntegration
    properties:
        accountId: string
        active: false
        integrationType: string
        referenceId: string
        tenantUrl: string
    

    ZeroTrustRiskScoringIntegration Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ZeroTrustRiskScoringIntegration resource accepts the following input properties:

    AccountId string
    IntegrationType string
    Available values: "Okta".
    TenantUrl string
    The base url of the tenant, e.g. "https://tenant.okta.com"
    Active bool
    Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
    ReferenceId string
    A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
    AccountId string
    IntegrationType string
    Available values: "Okta".
    TenantUrl string
    The base url of the tenant, e.g. "https://tenant.okta.com"
    Active bool
    Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
    ReferenceId string
    A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
    accountId String
    integrationType String
    Available values: "Okta".
    tenantUrl String
    The base url of the tenant, e.g. "https://tenant.okta.com"
    active Boolean
    Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
    referenceId String
    A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
    accountId string
    integrationType string
    Available values: "Okta".
    tenantUrl string
    The base url of the tenant, e.g. "https://tenant.okta.com"
    active boolean
    Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
    referenceId string
    A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
    account_id str
    integration_type str
    Available values: "Okta".
    tenant_url str
    The base url of the tenant, e.g. "https://tenant.okta.com"
    active bool
    Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
    reference_id str
    A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
    accountId String
    integrationType String
    Available values: "Okta".
    tenantUrl String
    The base url of the tenant, e.g. "https://tenant.okta.com"
    active Boolean
    Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
    referenceId String
    A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ZeroTrustRiskScoringIntegration resource produces the following output properties:

    AccountTag string
    The Cloudflare account tag.
    CreatedAt string
    When the integration was created in RFC3339 format.
    Id string
    The provider-assigned unique ID for this managed resource.
    WellKnownUrl string
    The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
    AccountTag string
    The Cloudflare account tag.
    CreatedAt string
    When the integration was created in RFC3339 format.
    Id string
    The provider-assigned unique ID for this managed resource.
    WellKnownUrl string
    The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
    accountTag String
    The Cloudflare account tag.
    createdAt String
    When the integration was created in RFC3339 format.
    id String
    The provider-assigned unique ID for this managed resource.
    wellKnownUrl String
    The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
    accountTag string
    The Cloudflare account tag.
    createdAt string
    When the integration was created in RFC3339 format.
    id string
    The provider-assigned unique ID for this managed resource.
    wellKnownUrl string
    The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
    account_tag str
    The Cloudflare account tag.
    created_at str
    When the integration was created in RFC3339 format.
    id str
    The provider-assigned unique ID for this managed resource.
    well_known_url str
    The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
    accountTag String
    The Cloudflare account tag.
    createdAt String
    When the integration was created in RFC3339 format.
    id String
    The provider-assigned unique ID for this managed resource.
    wellKnownUrl String
    The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1

    Look up Existing ZeroTrustRiskScoringIntegration Resource

    Get an existing ZeroTrustRiskScoringIntegration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ZeroTrustRiskScoringIntegrationState, opts?: CustomResourceOptions): ZeroTrustRiskScoringIntegration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            account_tag: Optional[str] = None,
            active: Optional[bool] = None,
            created_at: Optional[str] = None,
            integration_type: Optional[str] = None,
            reference_id: Optional[str] = None,
            tenant_url: Optional[str] = None,
            well_known_url: Optional[str] = None) -> ZeroTrustRiskScoringIntegration
    func GetZeroTrustRiskScoringIntegration(ctx *Context, name string, id IDInput, state *ZeroTrustRiskScoringIntegrationState, opts ...ResourceOption) (*ZeroTrustRiskScoringIntegration, error)
    public static ZeroTrustRiskScoringIntegration Get(string name, Input<string> id, ZeroTrustRiskScoringIntegrationState? state, CustomResourceOptions? opts = null)
    public static ZeroTrustRiskScoringIntegration get(String name, Output<String> id, ZeroTrustRiskScoringIntegrationState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:ZeroTrustRiskScoringIntegration    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    AccountTag string
    The Cloudflare account tag.
    Active bool
    Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
    CreatedAt string
    When the integration was created in RFC3339 format.
    IntegrationType string
    Available values: "Okta".
    ReferenceId string
    A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
    TenantUrl string
    The base url of the tenant, e.g. "https://tenant.okta.com"
    WellKnownUrl string
    The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
    AccountId string
    AccountTag string
    The Cloudflare account tag.
    Active bool
    Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
    CreatedAt string
    When the integration was created in RFC3339 format.
    IntegrationType string
    Available values: "Okta".
    ReferenceId string
    A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
    TenantUrl string
    The base url of the tenant, e.g. "https://tenant.okta.com"
    WellKnownUrl string
    The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
    accountId String
    accountTag String
    The Cloudflare account tag.
    active Boolean
    Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
    createdAt String
    When the integration was created in RFC3339 format.
    integrationType String
    Available values: "Okta".
    referenceId String
    A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
    tenantUrl String
    The base url of the tenant, e.g. "https://tenant.okta.com"
    wellKnownUrl String
    The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
    accountId string
    accountTag string
    The Cloudflare account tag.
    active boolean
    Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
    createdAt string
    When the integration was created in RFC3339 format.
    integrationType string
    Available values: "Okta".
    referenceId string
    A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
    tenantUrl string
    The base url of the tenant, e.g. "https://tenant.okta.com"
    wellKnownUrl string
    The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
    account_id str
    account_tag str
    The Cloudflare account tag.
    active bool
    Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
    created_at str
    When the integration was created in RFC3339 format.
    integration_type str
    Available values: "Okta".
    reference_id str
    A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
    tenant_url str
    The base url of the tenant, e.g. "https://tenant.okta.com"
    well_known_url str
    The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1
    accountId String
    accountTag String
    The Cloudflare account tag.
    active Boolean
    Whether this integration is enabled. If disabled, no risk changes will be exported to the third-party.
    createdAt String
    When the integration was created in RFC3339 format.
    integrationType String
    Available values: "Okta".
    referenceId String
    A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4). https://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider
    tenantUrl String
    The base url of the tenant, e.g. "https://tenant.okta.com"
    wellKnownUrl String
    The URL for the Shared Signals Framework configuration, e.g. "/.well-known/sse-configuration/{integrationuuid}/". https://openid.net/specs/openid-sse-framework-10.html#rfc.section.6.2.1

    Import

    $ pulumi import cloudflare:index/zeroTrustRiskScoringIntegration:ZeroTrustRiskScoringIntegration example '<account_id>/<integration_id>'
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v6.1.0 published on Friday, Apr 18, 2025 by Pulumi