auth0.getAttackProtection
Explore with Pulumi AI
Use this data source to access information about the tenant’s attack protection settings.
Example Usage
using System.Collections.Generic;
using System.Linq;
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:
- Breached
Password List<GetDetections Attack Protection Breached Password Detection> Breached password detection protects your applications from bad actors logging in with stolen credentials.
- Brute
Force List<GetProtections Attack Protection Brute Force Protection> 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.
- Suspicious
Ip List<GetThrottlings Attack Protection Suspicious Ip Throttling> Suspicious IP throttling blocks traffic from any IP address that rapidly attempts too many logins or signups.
- Breached
Password []GetDetections Attack Protection Breached Password Detection Breached password detection protects your applications from bad actors logging in with stolen credentials.
- Brute
Force []GetProtections Attack Protection Brute Force Protection 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.
- Suspicious
Ip []GetThrottlings Attack Protection Suspicious Ip Throttling Suspicious IP throttling blocks traffic from any IP address that rapidly attempts too many logins or signups.
- breached
Password List<GetDetections Attack Protection Breached Password Detection> Breached password detection protects your applications from bad actors logging in with stolen credentials.
- brute
Force List<GetProtections Attack Protection Brute Force Protection> 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.
- suspicious
Ip List<GetThrottlings Attack Protection Suspicious Ip Throttling> Suspicious IP throttling blocks traffic from any IP address that rapidly attempts too many logins or signups.
- breached
Password GetDetections Attack Protection Breached Password Detection[] Breached password detection protects your applications from bad actors logging in with stolen credentials.
- brute
Force GetProtections Attack Protection Brute Force Protection[] 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.
- suspicious
Ip GetThrottlings Attack Protection Suspicious Ip Throttling[] Suspicious IP throttling blocks traffic from any IP address that rapidly attempts too many logins or signups.
- breached_
password_ Sequence[Getdetections Attack Protection Breached Password Detection] Breached password detection protects your applications from bad actors logging in with stolen credentials.
- brute_
force_ Sequence[Getprotections Attack Protection Brute Force Protection] 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_ Sequence[Getthrottlings Attack Protection Suspicious Ip Throttling] Suspicious IP throttling blocks traffic from any IP address that rapidly attempts too many logins or signups.
- breached
Password List<Property Map>Detections Breached password detection protects your applications from bad actors logging in with stolen credentials.
- brute
Force List<Property Map>Protections 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.
- suspicious
Ip List<Property Map>Throttlings Suspicious IP throttling blocks traffic from any IP address that rapidly attempts too many logins or signups.
Supporting Types
GetAttackProtectionBreachedPasswordDetection
- Admin
Notification List<string>Frequencies - Enabled bool
- Method string
- Pre
User List<GetRegistrations Attack Protection Breached Password Detection Pre User Registration> - Shields List<string>
- admin
Notification List<String>Frequencies - enabled Boolean
- method String
- pre
User List<GetRegistrations Attack Protection Breached Password Detection Pre User Registration> - shields List<String>
- admin
Notification string[]Frequencies - enabled boolean
- method string
- pre
User GetRegistrations Attack Protection Breached Password Detection Pre User Registration[] - shields string[]
- admin_
notification_ Sequence[str]frequencies - enabled bool
- method str
- pre_
user_ Sequence[Getregistrations Attack Protection Breached Password Detection Pre User Registration] - shields Sequence[str]
- admin
Notification List<String>Frequencies - enabled Boolean
- method String
- pre
User List<Property Map>Registrations - shields List<String>
GetAttackProtectionBreachedPasswordDetectionPreUserRegistration
- Shields List<string>
- Shields []string
- shields List<String>
- shields string[]
- shields Sequence[str]
- shields List<String>
GetAttackProtectionBruteForceProtection
- Allowlists List<string>
- Enabled bool
- Max
Attempts int - Mode string
- Shields List<string>
- Allowlists []string
- Enabled bool
- Max
Attempts int - Mode string
- Shields []string
- allowlists List<String>
- enabled Boolean
- max
Attempts Integer - mode String
- shields List<String>
- allowlists string[]
- enabled boolean
- max
Attempts number - mode string
- shields string[]
- allowlists Sequence[str]
- enabled bool
- max_
attempts int - mode str
- shields Sequence[str]
- allowlists List<String>
- enabled Boolean
- max
Attempts Number - mode String
- shields List<String>
GetAttackProtectionSuspiciousIpThrottling
- allowlists List<String>
- enabled Boolean
- pre
Logins List<Property Map> - pre
User List<Property Map>Registrations - shields List<String>
GetAttackProtectionSuspiciousIpThrottlingPreLogin
- Max
Attempts int - Rate int
- Max
Attempts int - Rate int
- max
Attempts Integer - rate Integer
- max
Attempts number - rate number
- max_
attempts int - rate int
- max
Attempts Number - rate Number
GetAttackProtectionSuspiciousIpThrottlingPreUserRegistration
- Max
Attempts int - Rate int
- Max
Attempts int - Rate int
- max
Attempts Integer - rate Integer
- max
Attempts number - rate number
- max_
attempts int - rate int
- max
Attempts 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.