1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getRulesets
Viewing docs for Cloudflare v4.16.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
cloudflare logo
Viewing docs for Cloudflare v4.16.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Use this datasource to lookup Rulesets in an account or zone.

    Example Usage

    using System.Collections.Generic;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Cloudflare.GetRulesets.Invoke(new()
        {
            Filter = new Cloudflare.Inputs.GetRulesetsFilterInputArgs
            {
                Name = ".*OWASP.*",
            },
            ZoneId = "0da42c8d2132a9ddaf714f9e7c920711",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v4/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.GetRulesets(ctx, &cloudflare.GetRulesetsArgs{
    			Filter: cloudflare.GetRulesetsFilter{
    				Name: pulumi.StringRef(".*OWASP.*"),
    			},
    			ZoneId: pulumi.StringRef("0da42c8d2132a9ddaf714f9e7c920711"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CloudflareFunctions;
    import com.pulumi.cloudflare.inputs.GetRulesetsArgs;
    import com.pulumi.cloudflare.inputs.GetRulesetsFilterArgs;
    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) {
            final var example = CloudflareFunctions.getRulesets(GetRulesetsArgs.builder()
                .filter(GetRulesetsFilterArgs.builder()
                    .name(".*OWASP.*")
                    .build())
                .zoneId("0da42c8d2132a9ddaf714f9e7c920711")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const example = cloudflare.getRulesets({
        filter: {
            name: ".*OWASP.*",
        },
        zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example = cloudflare.get_rulesets(filter=cloudflare.GetRulesetsFilterArgs(
            name=".*OWASP.*",
        ),
        zone_id="0da42c8d2132a9ddaf714f9e7c920711")
    
    variables:
      example:
        fn::invoke:
          Function: cloudflare:getRulesets
          Arguments:
            filter:
              name: .*OWASP.*
            zoneId: 0da42c8d2132a9ddaf714f9e7c920711
    

    Using getRulesets

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getRulesets(args: GetRulesetsArgs, opts?: InvokeOptions): Promise<GetRulesetsResult>
    function getRulesetsOutput(args: GetRulesetsOutputArgs, opts?: InvokeOptions): Output<GetRulesetsResult>
    def get_rulesets(account_id: Optional[str] = None,
                     filter: Optional[GetRulesetsFilter] = None,
                     include_rules: Optional[bool] = None,
                     zone_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetRulesetsResult
    def get_rulesets_output(account_id: Optional[pulumi.Input[str]] = None,
                     filter: Optional[pulumi.Input[GetRulesetsFilterArgs]] = None,
                     include_rules: Optional[pulumi.Input[bool]] = None,
                     zone_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetRulesetsResult]
    func GetRulesets(ctx *Context, args *GetRulesetsArgs, opts ...InvokeOption) (*GetRulesetsResult, error)
    func GetRulesetsOutput(ctx *Context, args *GetRulesetsOutputArgs, opts ...InvokeOption) GetRulesetsResultOutput

    > Note: This function is named GetRulesets in the Go SDK.

    public static class GetRulesets 
    {
        public static Task<GetRulesetsResult> InvokeAsync(GetRulesetsArgs args, InvokeOptions? opts = null)
        public static Output<GetRulesetsResult> Invoke(GetRulesetsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRulesetsResult> getRulesets(GetRulesetsArgs args, InvokeOptions options)
    public static Output<GetRulesetsResult> getRulesets(GetRulesetsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getRulesets:getRulesets
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    The account identifier to target for the resource. Must provide only one of zone_id, account_id.
    Filter GetRulesetsFilter
    IncludeRules bool
    Include rule data in response.
    ZoneId string
    The zone identifier to target for the resource. Must provide only one of zone_id, account_id.
    AccountId string
    The account identifier to target for the resource. Must provide only one of zone_id, account_id.
    Filter GetRulesetsFilter
    IncludeRules bool
    Include rule data in response.
    ZoneId string
    The zone identifier to target for the resource. Must provide only one of zone_id, account_id.
    accountId String
    The account identifier to target for the resource. Must provide only one of zone_id, account_id.
    filter GetRulesetsFilter
    includeRules Boolean
    Include rule data in response.
    zoneId String
    The zone identifier to target for the resource. Must provide only one of zone_id, account_id.
    accountId string
    The account identifier to target for the resource. Must provide only one of zone_id, account_id.
    filter GetRulesetsFilter
    includeRules boolean
    Include rule data in response.
    zoneId string
    The zone identifier to target for the resource. Must provide only one of zone_id, account_id.
    account_id str
    The account identifier to target for the resource. Must provide only one of zone_id, account_id.
    filter GetRulesetsFilter
    include_rules bool
    Include rule data in response.
    zone_id str
    The zone identifier to target for the resource. Must provide only one of zone_id, account_id.
    accountId String
    The account identifier to target for the resource. Must provide only one of zone_id, account_id.
    filter Property Map
    includeRules Boolean
    Include rule data in response.
    zoneId String
    The zone identifier to target for the resource. Must provide only one of zone_id, account_id.

    getRulesets Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Rulesets List<GetRulesetsRuleset>
    AccountId string
    The account identifier to target for the resource. Must provide only one of zone_id, account_id.
    Filter GetRulesetsFilter
    IncludeRules bool
    Include rule data in response.
    ZoneId string
    The zone identifier to target for the resource. Must provide only one of zone_id, account_id.
    Id string
    The provider-assigned unique ID for this managed resource.
    Rulesets []GetRulesetsRuleset
    AccountId string
    The account identifier to target for the resource. Must provide only one of zone_id, account_id.
    Filter GetRulesetsFilter
    IncludeRules bool
    Include rule data in response.
    ZoneId string
    The zone identifier to target for the resource. Must provide only one of zone_id, account_id.
    id String
    The provider-assigned unique ID for this managed resource.
    rulesets List<GetRulesetsRuleset>
    accountId String
    The account identifier to target for the resource. Must provide only one of zone_id, account_id.
    filter GetRulesetsFilter
    includeRules Boolean
    Include rule data in response.
    zoneId String
    The zone identifier to target for the resource. Must provide only one of zone_id, account_id.
    id string
    The provider-assigned unique ID for this managed resource.
    rulesets GetRulesetsRuleset[]
    accountId string
    The account identifier to target for the resource. Must provide only one of zone_id, account_id.
    filter GetRulesetsFilter
    includeRules boolean
    Include rule data in response.
    zoneId string
    The zone identifier to target for the resource. Must provide only one of zone_id, account_id.
    id str
    The provider-assigned unique ID for this managed resource.
    rulesets Sequence[GetRulesetsRuleset]
    account_id str
    The account identifier to target for the resource. Must provide only one of zone_id, account_id.
    filter GetRulesetsFilter
    include_rules bool
    Include rule data in response.
    zone_id str
    The zone identifier to target for the resource. Must provide only one of zone_id, account_id.
    id String
    The provider-assigned unique ID for this managed resource.
    rulesets List<Property Map>
    accountId String
    The account identifier to target for the resource. Must provide only one of zone_id, account_id.
    filter Property Map
    includeRules Boolean
    Include rule data in response.
    zoneId String
    The zone identifier to target for the resource. Must provide only one of zone_id, account_id.

    Supporting Types

    GetRulesetsFilter

    Id string
    The ID of the Ruleset to target.
    Kind string
    Type of Ruleset to create. Available values: custom, managed, root, schema, zone.
    Name string
    Name of the ruleset.
    Phase string
    Point in the request/response lifecycle where the ruleset will be created. Available values: ddos_l4, ddos_l7, http_custom_errors, http_log_custom_fields, http_request_cache_settings, http_request_firewall_custom, http_request_firewall_managed, http_request_late_transform, http_request_late_transform_managed, http_request_main, http_request_origin, http_request_dynamic_redirect, http_request_redirect, http_request_sanitize, http_request_transform, http_response_firewall_managed, http_response_headers_transform, http_response_headers_transform_managed, magic_transit, http_ratelimit, http_request_sbfm, http_config_settings.
    Version string
    Version of the ruleset to filter on.
    Id string
    The ID of the Ruleset to target.
    Kind string
    Type of Ruleset to create. Available values: custom, managed, root, schema, zone.
    Name string
    Name of the ruleset.
    Phase string
    Point in the request/response lifecycle where the ruleset will be created. Available values: ddos_l4, ddos_l7, http_custom_errors, http_log_custom_fields, http_request_cache_settings, http_request_firewall_custom, http_request_firewall_managed, http_request_late_transform, http_request_late_transform_managed, http_request_main, http_request_origin, http_request_dynamic_redirect, http_request_redirect, http_request_sanitize, http_request_transform, http_response_firewall_managed, http_response_headers_transform, http_response_headers_transform_managed, magic_transit, http_ratelimit, http_request_sbfm, http_config_settings.
    Version string
    Version of the ruleset to filter on.
    id String
    The ID of the Ruleset to target.
    kind String
    Type of Ruleset to create. Available values: custom, managed, root, schema, zone.
    name String
    Name of the ruleset.
    phase String
    Point in the request/response lifecycle where the ruleset will be created. Available values: ddos_l4, ddos_l7, http_custom_errors, http_log_custom_fields, http_request_cache_settings, http_request_firewall_custom, http_request_firewall_managed, http_request_late_transform, http_request_late_transform_managed, http_request_main, http_request_origin, http_request_dynamic_redirect, http_request_redirect, http_request_sanitize, http_request_transform, http_response_firewall_managed, http_response_headers_transform, http_response_headers_transform_managed, magic_transit, http_ratelimit, http_request_sbfm, http_config_settings.
    version String
    Version of the ruleset to filter on.
    id string
    The ID of the Ruleset to target.
    kind string
    Type of Ruleset to create. Available values: custom, managed, root, schema, zone.
    name string
    Name of the ruleset.
    phase string
    Point in the request/response lifecycle where the ruleset will be created. Available values: ddos_l4, ddos_l7, http_custom_errors, http_log_custom_fields, http_request_cache_settings, http_request_firewall_custom, http_request_firewall_managed, http_request_late_transform, http_request_late_transform_managed, http_request_main, http_request_origin, http_request_dynamic_redirect, http_request_redirect, http_request_sanitize, http_request_transform, http_response_firewall_managed, http_response_headers_transform, http_response_headers_transform_managed, magic_transit, http_ratelimit, http_request_sbfm, http_config_settings.
    version string
    Version of the ruleset to filter on.
    id str
    The ID of the Ruleset to target.
    kind str
    Type of Ruleset to create. Available values: custom, managed, root, schema, zone.
    name str
    Name of the ruleset.
    phase str
    Point in the request/response lifecycle where the ruleset will be created. Available values: ddos_l4, ddos_l7, http_custom_errors, http_log_custom_fields, http_request_cache_settings, http_request_firewall_custom, http_request_firewall_managed, http_request_late_transform, http_request_late_transform_managed, http_request_main, http_request_origin, http_request_dynamic_redirect, http_request_redirect, http_request_sanitize, http_request_transform, http_response_firewall_managed, http_response_headers_transform, http_response_headers_transform_managed, magic_transit, http_ratelimit, http_request_sbfm, http_config_settings.
    version str
    Version of the ruleset to filter on.
    id String
    The ID of the Ruleset to target.
    kind String
    Type of Ruleset to create. Available values: custom, managed, root, schema, zone.
    name String
    Name of the ruleset.
    phase String
    Point in the request/response lifecycle where the ruleset will be created. Available values: ddos_l4, ddos_l7, http_custom_errors, http_log_custom_fields, http_request_cache_settings, http_request_firewall_custom, http_request_firewall_managed, http_request_late_transform, http_request_late_transform_managed, http_request_main, http_request_origin, http_request_dynamic_redirect, http_request_redirect, http_request_sanitize, http_request_transform, http_response_firewall_managed, http_response_headers_transform, http_response_headers_transform_managed, magic_transit, http_ratelimit, http_request_sbfm, http_config_settings.
    version String
    Version of the ruleset to filter on.

    GetRulesetsRuleset

    Id string
    The ID of this resource.
    Kind string
    Name string
    Phase string
    Version string
    Description string
    Rules List<GetRulesetsRulesetRule>
    Id string
    The ID of this resource.
    Kind string
    Name string
    Phase string
    Version string
    Description string
    Rules []GetRulesetsRulesetRule
    id String
    The ID of this resource.
    kind String
    name String
    phase String
    version String
    description String
    rules List<GetRulesetsRulesetRule>
    id string
    The ID of this resource.
    kind string
    name string
    phase string
    version string
    description string
    rules GetRulesetsRulesetRule[]
    id str
    The ID of this resource.
    kind str
    name str
    phase str
    version str
    description str
    rules Sequence[GetRulesetsRulesetRule]
    id String
    The ID of this resource.
    kind String
    name String
    phase String
    version String
    description String
    rules List<Property Map>

    GetRulesetsRulesetRule

    GetRulesetsRulesetRuleActionParameters

    Version string
    AutomaticHttpsRewrites bool
    Autominifies List<GetRulesetsRulesetRuleActionParametersAutominify>
    Bic bool
    BrowserTtl GetRulesetsRulesetRuleActionParametersBrowserTtl
    Cache bool
    CacheKey GetRulesetsRulesetRuleActionParametersCacheKey
    Content string
    ContentType string
    CookieFields List<string>
    DisableApps bool
    DisableRailgun bool
    DisableZaraz bool
    EdgeTtl GetRulesetsRulesetRuleActionParametersEdgeTtl
    EmailObfuscation bool
    FromList GetRulesetsRulesetRuleActionParametersFromList
    FromValue GetRulesetsRulesetRuleActionParametersFromValue
    Headers List<GetRulesetsRulesetRuleActionParametersHeader>
    HostHeader string
    HotlinkProtection bool
    Id string
    The ID of this resource.
    Increment int
    MatchedData GetRulesetsRulesetRuleActionParametersMatchedData
    Mirage bool
    OpportunisticEncryption bool
    Origin GetRulesetsRulesetRuleActionParametersOrigin
    OriginErrorPagePassthru bool
    Overrides GetRulesetsRulesetRuleActionParametersOverrides
    Phases List<string>
    Polish string
    Products List<string>
    RequestFields List<string>
    RespectStrongEtags bool
    ResponseFields List<string>
    Responses List<GetRulesetsRulesetRuleActionParametersResponse>
    RocketLoader bool
    Rules Dictionary<string, string>
    Ruleset string
    Rulesets List<string>
    SecurityLevel string
    ServeStale GetRulesetsRulesetRuleActionParametersServeStale
    ServerSideExcludes bool
    Sni GetRulesetsRulesetRuleActionParametersSni
    Ssl string
    StatusCode int
    Sxg bool
    Uri GetRulesetsRulesetRuleActionParametersUri
    Version string
    AutomaticHttpsRewrites bool
    Autominifies []GetRulesetsRulesetRuleActionParametersAutominify
    Bic bool
    BrowserTtl GetRulesetsRulesetRuleActionParametersBrowserTtl
    Cache bool
    CacheKey GetRulesetsRulesetRuleActionParametersCacheKey
    Content string
    ContentType string
    CookieFields []string
    DisableApps bool
    DisableRailgun bool
    DisableZaraz bool
    EdgeTtl GetRulesetsRulesetRuleActionParametersEdgeTtl
    EmailObfuscation bool
    FromList GetRulesetsRulesetRuleActionParametersFromList
    FromValue GetRulesetsRulesetRuleActionParametersFromValue
    Headers []GetRulesetsRulesetRuleActionParametersHeader
    HostHeader string
    HotlinkProtection bool
    Id string
    The ID of this resource.
    Increment int
    MatchedData GetRulesetsRulesetRuleActionParametersMatchedData
    Mirage bool
    OpportunisticEncryption bool
    Origin GetRulesetsRulesetRuleActionParametersOrigin
    OriginErrorPagePassthru bool
    Overrides GetRulesetsRulesetRuleActionParametersOverrides
    Phases []string
    Polish string
    Products []string
    RequestFields []string
    RespectStrongEtags bool
    ResponseFields []string
    Responses []GetRulesetsRulesetRuleActionParametersResponse
    RocketLoader bool
    Rules map[string]string
    Ruleset string
    Rulesets []string
    SecurityLevel string
    ServeStale GetRulesetsRulesetRuleActionParametersServeStale
    ServerSideExcludes bool
    Sni GetRulesetsRulesetRuleActionParametersSni
    Ssl string
    StatusCode int
    Sxg bool
    Uri GetRulesetsRulesetRuleActionParametersUri
    version String
    automaticHttpsRewrites Boolean
    autominifies List<GetRulesetsRulesetRuleActionParametersAutominify>
    bic Boolean
    browserTtl GetRulesetsRulesetRuleActionParametersBrowserTtl
    cache Boolean
    cacheKey GetRulesetsRulesetRuleActionParametersCacheKey
    content String
    contentType String
    cookieFields List<String>
    disableApps Boolean
    disableRailgun Boolean
    disableZaraz Boolean
    edgeTtl GetRulesetsRulesetRuleActionParametersEdgeTtl
    emailObfuscation Boolean
    fromList GetRulesetsRulesetRuleActionParametersFromList
    fromValue GetRulesetsRulesetRuleActionParametersFromValue
    headers List<GetRulesetsRulesetRuleActionParametersHeader>
    hostHeader String
    hotlinkProtection Boolean
    id String
    The ID of this resource.
    increment Integer
    matchedData GetRulesetsRulesetRuleActionParametersMatchedData
    mirage Boolean
    opportunisticEncryption Boolean
    origin GetRulesetsRulesetRuleActionParametersOrigin
    originErrorPagePassthru Boolean
    overrides GetRulesetsRulesetRuleActionParametersOverrides
    phases List<String>
    polish String
    products List<String>
    requestFields List<String>
    respectStrongEtags Boolean
    responseFields List<String>
    responses List<GetRulesetsRulesetRuleActionParametersResponse>
    rocketLoader Boolean
    rules Map<String,String>
    ruleset String
    rulesets List<String>
    securityLevel String
    serveStale GetRulesetsRulesetRuleActionParametersServeStale
    serverSideExcludes Boolean
    sni GetRulesetsRulesetRuleActionParametersSni
    ssl String
    statusCode Integer
    sxg Boolean
    uri GetRulesetsRulesetRuleActionParametersUri
    version string
    automaticHttpsRewrites boolean
    autominifies GetRulesetsRulesetRuleActionParametersAutominify[]
    bic boolean
    browserTtl GetRulesetsRulesetRuleActionParametersBrowserTtl
    cache boolean
    cacheKey GetRulesetsRulesetRuleActionParametersCacheKey
    content string
    contentType string
    cookieFields string[]
    disableApps boolean
    disableRailgun boolean
    disableZaraz boolean
    edgeTtl GetRulesetsRulesetRuleActionParametersEdgeTtl
    emailObfuscation boolean
    fromList GetRulesetsRulesetRuleActionParametersFromList
    fromValue GetRulesetsRulesetRuleActionParametersFromValue
    headers GetRulesetsRulesetRuleActionParametersHeader[]
    hostHeader string
    hotlinkProtection boolean
    id string
    The ID of this resource.
    increment number
    matchedData GetRulesetsRulesetRuleActionParametersMatchedData
    mirage boolean
    opportunisticEncryption boolean
    origin GetRulesetsRulesetRuleActionParametersOrigin
    originErrorPagePassthru boolean
    overrides GetRulesetsRulesetRuleActionParametersOverrides
    phases string[]
    polish string
    products string[]
    requestFields string[]
    respectStrongEtags boolean
    responseFields string[]
    responses GetRulesetsRulesetRuleActionParametersResponse[]
    rocketLoader boolean
    rules {[key: string]: string}
    ruleset string
    rulesets string[]
    securityLevel string
    serveStale GetRulesetsRulesetRuleActionParametersServeStale
    serverSideExcludes boolean
    sni GetRulesetsRulesetRuleActionParametersSni
    ssl string
    statusCode number
    sxg boolean
    uri GetRulesetsRulesetRuleActionParametersUri
    version str
    automatic_https_rewrites bool
    autominifies Sequence[GetRulesetsRulesetRuleActionParametersAutominify]
    bic bool
    browser_ttl GetRulesetsRulesetRuleActionParametersBrowserTtl
    cache bool
    cache_key GetRulesetsRulesetRuleActionParametersCacheKey
    content str
    content_type str
    cookie_fields Sequence[str]
    disable_apps bool
    disable_railgun bool
    disable_zaraz bool
    edge_ttl GetRulesetsRulesetRuleActionParametersEdgeTtl
    email_obfuscation bool
    from_list GetRulesetsRulesetRuleActionParametersFromList
    from_value GetRulesetsRulesetRuleActionParametersFromValue
    headers Sequence[GetRulesetsRulesetRuleActionParametersHeader]
    host_header str
    hotlink_protection bool
    id str
    The ID of this resource.
    increment int
    matched_data GetRulesetsRulesetRuleActionParametersMatchedData
    mirage bool
    opportunistic_encryption bool
    origin GetRulesetsRulesetRuleActionParametersOrigin
    origin_error_page_passthru bool
    overrides GetRulesetsRulesetRuleActionParametersOverrides
    phases Sequence[str]
    polish str
    products Sequence[str]
    request_fields Sequence[str]
    respect_strong_etags bool
    response_fields Sequence[str]
    responses Sequence[GetRulesetsRulesetRuleActionParametersResponse]
    rocket_loader bool
    rules Mapping[str, str]
    ruleset str
    rulesets Sequence[str]
    security_level str
    serve_stale GetRulesetsRulesetRuleActionParametersServeStale
    server_side_excludes bool
    sni GetRulesetsRulesetRuleActionParametersSni
    ssl str
    status_code int
    sxg bool
    uri GetRulesetsRulesetRuleActionParametersUri
    version String
    automaticHttpsRewrites Boolean
    autominifies List<Property Map>
    bic Boolean
    browserTtl Property Map
    cache Boolean
    cacheKey Property Map
    content String
    contentType String
    cookieFields List<String>
    disableApps Boolean
    disableRailgun Boolean
    disableZaraz Boolean
    edgeTtl Property Map
    emailObfuscation Boolean
    fromList Property Map
    fromValue Property Map
    headers List<Property Map>
    hostHeader String
    hotlinkProtection Boolean
    id String
    The ID of this resource.
    increment Number
    matchedData Property Map
    mirage Boolean
    opportunisticEncryption Boolean
    origin Property Map
    originErrorPagePassthru Boolean
    overrides Property Map
    phases List<String>
    polish String
    products List<String>
    requestFields List<String>
    respectStrongEtags Boolean
    responseFields List<String>
    responses List<Property Map>
    rocketLoader Boolean
    rules Map<String>
    ruleset String
    rulesets List<String>
    securityLevel String
    serveStale Property Map
    serverSideExcludes Boolean
    sni Property Map
    ssl String
    statusCode Number
    sxg Boolean
    uri Property Map

    GetRulesetsRulesetRuleActionParametersAutominify

    Css bool
    Html bool
    Js bool
    Css bool
    Html bool
    Js bool
    css Boolean
    html Boolean
    js Boolean
    css boolean
    html boolean
    js boolean
    css bool
    html bool
    js bool
    css Boolean
    html Boolean
    js Boolean

    GetRulesetsRulesetRuleActionParametersBrowserTtl

    Mode string
    Default int
    Mode string
    Default int
    mode String
    default_ Integer
    mode string
    default number
    mode str
    default int
    mode String
    default Number

    GetRulesetsRulesetRuleActionParametersCacheKey

    GetRulesetsRulesetRuleActionParametersCacheKeyCustomKey

    GetRulesetsRulesetRuleActionParametersCacheKeyCustomKeyCookie

    CheckPresences List<string>
    Includes List<string>
    CheckPresences []string
    Includes []string
    checkPresences List<String>
    includes List<String>
    checkPresences string[]
    includes string[]
    check_presences Sequence[str]
    includes Sequence[str]
    checkPresences List<String>
    includes List<String>

    GetRulesetsRulesetRuleActionParametersCacheKeyCustomKeyHeader

    CheckPresences List<string>
    ExcludeOrigin bool
    Includes List<string>
    checkPresences List<String>
    excludeOrigin Boolean
    includes List<String>
    checkPresences string[]
    excludeOrigin boolean
    includes string[]
    check_presences Sequence[str]
    exclude_origin bool
    includes Sequence[str]
    checkPresences List<String>
    excludeOrigin Boolean
    includes List<String>

    GetRulesetsRulesetRuleActionParametersCacheKeyCustomKeyHost

    resolved Boolean
    resolved boolean
    resolved Boolean

    GetRulesetsRulesetRuleActionParametersCacheKeyCustomKeyQueryString

    Excludes List<string>
    Includes List<string>
    Excludes []string
    Includes []string
    excludes List<String>
    includes List<String>
    excludes string[]
    includes string[]
    excludes Sequence[str]
    includes Sequence[str]
    excludes List<String>
    includes List<String>

    GetRulesetsRulesetRuleActionParametersCacheKeyCustomKeyUser

    DeviceType bool
    Geo bool
    Lang bool
    DeviceType bool
    Geo bool
    Lang bool
    deviceType Boolean
    geo Boolean
    lang Boolean
    deviceType boolean
    geo boolean
    lang boolean
    device_type bool
    geo bool
    lang bool
    deviceType Boolean
    geo Boolean
    lang Boolean

    GetRulesetsRulesetRuleActionParametersEdgeTtl

    GetRulesetsRulesetRuleActionParametersEdgeTtlStatusCodeTtl

    GetRulesetsRulesetRuleActionParametersEdgeTtlStatusCodeTtlStatusCodeRange

    From int
    To int
    From int
    To int
    from Integer
    to Integer
    from number
    to number
    from_ int
    to int
    from Number
    to Number

    GetRulesetsRulesetRuleActionParametersFromList

    Key string
    Name string
    Key string
    Name string
    key String
    name String
    key string
    name string
    key str
    name str
    key String
    name String

    GetRulesetsRulesetRuleActionParametersFromValue

    GetRulesetsRulesetRuleActionParametersFromValueTargetUrl

    Expression string
    Value string
    Expression string
    Value string
    expression String
    value String
    expression string
    value string
    expression String
    value String

    GetRulesetsRulesetRuleActionParametersHeader

    Expression string
    Name string
    Operation string
    Value string
    Expression string
    Name string
    Operation string
    Value string
    expression String
    name String
    operation String
    value String
    expression string
    name string
    operation string
    value string
    expression String
    name String
    operation String
    value String

    GetRulesetsRulesetRuleActionParametersMatchedData

    PublicKey string
    PublicKey string
    publicKey String
    publicKey string
    publicKey String

    GetRulesetsRulesetRuleActionParametersOrigin

    Host string
    Port int
    Host string
    Port int
    host String
    port Integer
    host string
    port number
    host str
    port int
    host String
    port Number

    GetRulesetsRulesetRuleActionParametersOverrides

    Action string
    Categories List<GetRulesetsRulesetRuleActionParametersOverridesCategory>
    Enabled bool

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    Rules List<GetRulesetsRulesetRuleActionParametersOverridesRule>
    SensitivityLevel string
    Status string
    Action string
    Categories []GetRulesetsRulesetRuleActionParametersOverridesCategory
    Enabled bool

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    Rules []GetRulesetsRulesetRuleActionParametersOverridesRule
    SensitivityLevel string
    Status string
    action String
    categories List<GetRulesetsRulesetRuleActionParametersOverridesCategory>
    enabled Boolean

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    rules List<GetRulesetsRulesetRuleActionParametersOverridesRule>
    sensitivityLevel String
    status String
    action string
    categories GetRulesetsRulesetRuleActionParametersOverridesCategory[]
    enabled boolean

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    rules GetRulesetsRulesetRuleActionParametersOverridesRule[]
    sensitivityLevel string
    status string
    action str
    categories Sequence[GetRulesetsRulesetRuleActionParametersOverridesCategory]
    enabled bool

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    rules Sequence[GetRulesetsRulesetRuleActionParametersOverridesRule]
    sensitivity_level str
    status str
    action String
    categories List<Property Map>
    enabled Boolean

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    rules List<Property Map>
    sensitivityLevel String
    status String

    GetRulesetsRulesetRuleActionParametersOverridesCategory

    Action string
    Category string
    Enabled bool

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    Status string
    Action string
    Category string
    Enabled bool

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    Status string
    action String
    category String
    enabled Boolean

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    status String
    action string
    category string
    enabled boolean

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    status string
    action str
    category str
    enabled bool

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    status str
    action String
    category String
    enabled Boolean

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    status String

    GetRulesetsRulesetRuleActionParametersOverridesRule

    Action string
    Enabled bool

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    Id string
    The ID of this resource.
    ScoreThreshold int
    SensitivityLevel string
    Status string
    Action string
    Enabled bool

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    Id string
    The ID of this resource.
    ScoreThreshold int
    SensitivityLevel string
    Status string
    action String
    enabled Boolean

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    id String
    The ID of this resource.
    scoreThreshold Integer
    sensitivityLevel String
    status String
    action string
    enabled boolean

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    id string
    The ID of this resource.
    scoreThreshold number
    sensitivityLevel string
    status string
    action str
    enabled bool

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    id str
    The ID of this resource.
    score_threshold int
    sensitivity_level str
    status str
    action String
    enabled Boolean

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    id String
    The ID of this resource.
    scoreThreshold Number
    sensitivityLevel String
    status String

    GetRulesetsRulesetRuleActionParametersResponse

    content String
    contentType String
    statusCode Integer
    content string
    contentType string
    statusCode number
    content String
    contentType String
    statusCode Number

    GetRulesetsRulesetRuleActionParametersServeStale

    GetRulesetsRulesetRuleActionParametersSni

    Value string
    Value string
    value String
    value string
    value str
    value String

    GetRulesetsRulesetRuleActionParametersUri

    GetRulesetsRulesetRuleActionParametersUriPath

    Expression string
    Value string
    Expression string
    Value string
    expression String
    value String
    expression string
    value string
    expression String
    value String

    GetRulesetsRulesetRuleActionParametersUriQuery

    Expression string
    Value string
    Expression string
    Value string
    expression String
    value String
    expression string
    value string
    expression String
    value String

    GetRulesetsRulesetRuleExposedCredentialCheck

    GetRulesetsRulesetRuleLogging

    Enabled bool

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    Status string
    Enabled bool

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    Status string
    enabled Boolean

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    status String
    enabled boolean

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    status string
    enabled bool

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    status str
    enabled Boolean

    Deprecated: Use status instead. Continuing to use enabled will result in an inconsistent state for your Ruleset configuration.

    status String

    GetRulesetsRulesetRuleRatelimit

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Viewing docs for Cloudflare v4.16.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.