auth0.getAttackProtection

Use this data source to access information about the tenant’s attack protection settings.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Auth0 = Pulumi.Auth0;

return await Deployment.RunAsync(() => 
{
    var myProtection = Auth0.GetAttackProtection.Invoke();

});
package main

import (
	"github.com/pulumi/pulumi-auth0/sdk/v2/go/auth0"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := auth0.LookupAttackProtection(ctx, nil, 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.auth0.Auth0Functions;
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 myProtection = Auth0Functions.getAttackProtection();

    }
}
import pulumi
import pulumi_auth0 as auth0

my_protection = auth0.get_attack_protection()
import * as pulumi from "@pulumi/pulumi";
import * as auth0 from "@pulumi/auth0";

const myProtection = auth0.getAttackProtection({});
variables:
  myProtection:
    fn::invoke:
      Function: auth0:getAttackProtection
      Arguments: {}

Using getAttackProtection

function getAttackProtection(opts?: InvokeOptions): Promise<GetAttackProtectionResult>
def get_attack_protection(opts: Optional[InvokeOptions] = None) -> GetAttackProtectionResult
func LookupAttackProtection(ctx *Context, opts ...InvokeOption) (*LookupAttackProtectionResult, error)

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

public static class GetAttackProtection 
{
    public static Task<GetAttackProtectionResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetAttackProtectionResult> getAttackProtection(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: auth0:index/getAttackProtection:getAttackProtection
  arguments:
    # arguments dictionary

getAttackProtection Result

The following output properties are available:

BreachedPasswordDetections List<GetAttackProtectionBreachedPasswordDetection>

Breached password detection protects your applications from bad actors logging in with stolen credentials.

BruteForceProtections List<GetAttackProtectionBruteForceProtection>

Brute-force protection safeguards against a single IP address attacking a single user account.

Id string

The provider-assigned unique ID for this managed resource.

SuspiciousIpThrottlings List<GetAttackProtectionSuspiciousIpThrottling>

Suspicious IP throttling blocks traffic from any IP address that rapidly attempts too many logins or signups.

BreachedPasswordDetections []GetAttackProtectionBreachedPasswordDetection

Breached password detection protects your applications from bad actors logging in with stolen credentials.

BruteForceProtections []GetAttackProtectionBruteForceProtection

Brute-force protection safeguards against a single IP address attacking a single user account.

Id string

The provider-assigned unique ID for this managed resource.

SuspiciousIpThrottlings []GetAttackProtectionSuspiciousIpThrottling

Suspicious IP throttling blocks traffic from any IP address that rapidly attempts too many logins or signups.

breachedPasswordDetections List<GetAttackProtectionBreachedPasswordDetection>

Breached password detection protects your applications from bad actors logging in with stolen credentials.

bruteForceProtections List<GetAttackProtectionBruteForceProtection>

Brute-force protection safeguards against a single IP address attacking a single user account.

id String

The provider-assigned unique ID for this managed resource.

suspiciousIpThrottlings List<GetAttackProtectionSuspiciousIpThrottling>

Suspicious IP throttling blocks traffic from any IP address that rapidly attempts too many logins or signups.

breachedPasswordDetections GetAttackProtectionBreachedPasswordDetection[]

Breached password detection protects your applications from bad actors logging in with stolen credentials.

bruteForceProtections GetAttackProtectionBruteForceProtection[]

Brute-force protection safeguards against a single IP address attacking a single user account.

id string

The provider-assigned unique ID for this managed resource.

suspiciousIpThrottlings GetAttackProtectionSuspiciousIpThrottling[]

Suspicious IP throttling blocks traffic from any IP address that rapidly attempts too many logins or signups.

breached_password_detections Sequence[GetAttackProtectionBreachedPasswordDetection]

Breached password detection protects your applications from bad actors logging in with stolen credentials.

brute_force_protections Sequence[GetAttackProtectionBruteForceProtection]

Brute-force protection safeguards against a single IP address attacking a single user account.

id str

The provider-assigned unique ID for this managed resource.

suspicious_ip_throttlings Sequence[GetAttackProtectionSuspiciousIpThrottling]

Suspicious IP throttling blocks traffic from any IP address that rapidly attempts too many logins or signups.

breachedPasswordDetections List<Property Map>

Breached password detection protects your applications from bad actors logging in with stolen credentials.

bruteForceProtections List<Property Map>

Brute-force protection safeguards against a single IP address attacking a single user account.

id String

The provider-assigned unique ID for this managed resource.

suspiciousIpThrottlings List<Property Map>

Suspicious IP throttling blocks traffic from any IP address that rapidly attempts too many logins or signups.

Supporting Types

GetAttackProtectionBreachedPasswordDetection

GetAttackProtectionBreachedPasswordDetectionPreUserRegistration

Shields List<string>
Shields []string
shields List<String>
shields string[]
shields Sequence[str]
shields List<String>

GetAttackProtectionBruteForceProtection

Allowlists List<string>
Enabled bool
MaxAttempts int
Mode string
Shields List<string>
Allowlists []string
Enabled bool
MaxAttempts int
Mode string
Shields []string
allowlists List<String>
enabled Boolean
maxAttempts Integer
mode String
shields List<String>
allowlists string[]
enabled boolean
maxAttempts number
mode string
shields string[]
allowlists Sequence[str]
enabled bool
max_attempts int
mode str
shields Sequence[str]
allowlists List<String>
enabled Boolean
maxAttempts Number
mode String
shields List<String>

GetAttackProtectionSuspiciousIpThrottling

GetAttackProtectionSuspiciousIpThrottlingPreLogin

maxAttempts Integer
rate Integer
maxAttempts number
rate number
maxAttempts Number
rate Number

GetAttackProtectionSuspiciousIpThrottlingPreUserRegistration

maxAttempts Integer
rate Integer
maxAttempts number
rate number
maxAttempts Number
rate Number

Package Details

Repository
Auth0 pulumi/pulumi-auth0
License
Apache-2.0
Notes

This Pulumi package is based on the auth0 Terraform Provider.