netlify 0.3.2 published on Wednesday, Nov 5, 2025 by netlify
netlify 0.3.2 published on Wednesday, Nov 5, 2025 by netlify
Netlify managed WAF rule sets. This should be used when defining a WAF policy (netlify_waf_policy).
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netlify from "@pulumi/netlify";
// Read-only definitions of all managed WAF rules available in Netlify.
// The team ID is required to query the rules.
const example = netlify.getManagedWafRules({
teamId: "6600abcdef1234567890abcd",
});
import pulumi
import pulumi_netlify as netlify
# Read-only definitions of all managed WAF rules available in Netlify.
# The team ID is required to query the rules.
example = netlify.get_managed_waf_rules(team_id="6600abcdef1234567890abcd")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/netlify/netlify"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Read-only definitions of all managed WAF rules available in Netlify.
// The team ID is required to query the rules.
_, err := netlify.GetManagedWafRules(ctx, &netlify.GetManagedWafRulesArgs{
TeamId: "6600abcdef1234567890abcd",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Netlify = Pulumi.Netlify;
return await Deployment.RunAsync(() =>
{
// Read-only definitions of all managed WAF rules available in Netlify.
// The team ID is required to query the rules.
var example = Netlify.GetManagedWafRules.Invoke(new()
{
TeamId = "6600abcdef1234567890abcd",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.netlify.NetlifyFunctions;
import com.pulumi.netlify.inputs.GetManagedWafRulesArgs;
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) {
// Read-only definitions of all managed WAF rules available in Netlify.
// The team ID is required to query the rules.
final var example = NetlifyFunctions.getManagedWafRules(GetManagedWafRulesArgs.builder()
.teamId("6600abcdef1234567890abcd")
.build());
}
}
variables:
# Read-only definitions of all managed WAF rules available in Netlify.
# The team ID is required to query the rules.
example:
fn::invoke:
function: netlify:getManagedWafRules
arguments:
teamId: 6600abcdef1234567890abcd
Using getManagedWafRules
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 getManagedWafRules(args: GetManagedWafRulesArgs, opts?: InvokeOptions): Promise<GetManagedWafRulesResult>
function getManagedWafRulesOutput(args: GetManagedWafRulesOutputArgs, opts?: InvokeOptions): Output<GetManagedWafRulesResult>def get_managed_waf_rules(team_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagedWafRulesResult
def get_managed_waf_rules_output(team_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagedWafRulesResult]func GetManagedWafRules(ctx *Context, args *GetManagedWafRulesArgs, opts ...InvokeOption) (*GetManagedWafRulesResult, error)
func GetManagedWafRulesOutput(ctx *Context, args *GetManagedWafRulesOutputArgs, opts ...InvokeOption) GetManagedWafRulesResultOutput> Note: This function is named GetManagedWafRules in the Go SDK.
public static class GetManagedWafRules
{
public static Task<GetManagedWafRulesResult> InvokeAsync(GetManagedWafRulesArgs args, InvokeOptions? opts = null)
public static Output<GetManagedWafRulesResult> Invoke(GetManagedWafRulesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetManagedWafRulesResult> getManagedWafRules(GetManagedWafRulesArgs args, InvokeOptions options)
public static Output<GetManagedWafRulesResult> getManagedWafRules(GetManagedWafRulesArgs args, InvokeOptions options)
fn::invoke:
function: netlify:index/getManagedWafRules:getManagedWafRules
arguments:
# arguments dictionaryThe following arguments are supported:
- Team
Id string
- Team
Id string
- team
Id String
- team
Id string
- team_
id str
- team
Id String
getManagedWafRules Result
The following output properties are available:
Supporting Types
GetManagedWafRulesRuleSets
GetManagedWafRulesRuleSetsDefinition
GetManagedWafRulesRuleSetsRule
- Category string
- Description string
- Id string
- Phase string
- Severity string
- notice, warning, error, critical
- Category string
- Description string
- Id string
- Phase string
- Severity string
- notice, warning, error, critical
- category String
- description String
- id String
- phase String
- severity String
- notice, warning, error, critical
- category string
- description string
- id string
- phase string
- severity string
- notice, warning, error, critical
- category str
- description str
- id str
- phase str
- severity str
- notice, warning, error, critical
- category String
- description String
- id String
- phase String
- severity String
- notice, warning, error, critical
Package Details
- Repository
- netlify netlify/terraform-provider-netlify
- License
- Notes
- This Pulumi package is based on the
netlifyTerraform Provider.
netlify 0.3.2 published on Wednesday, Nov 5, 2025 by netlify
