MCPcopy Create free account
hub / github.com/auth0/auth0-cli / AttackProtectionAPI

Interface AttackProtectionAPI

internal/auth0/attack_protection.go:11–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type AttackProtectionAPI interface {
12 // GetBreachedPasswordDetection retrieves breached password detection settings.
13 //
14 // Required scope: `read:attack_protection`
15 //
16 // See: https://auth0.com/docs/api/management/v2#!/Attack_Protection/get_breached_password_detection
17 GetBreachedPasswordDetection(ctx context.Context,
18 opts ...management.RequestOption,
19 ) (bpd *management.BreachedPasswordDetection, err error)
20
21 // UpdateBreachedPasswordDetection updates the breached password detection settings.
22 //
23 // Required scope: `update:attack_protection`
24 //
25 // See: https://auth0.com/docs/api/management/v2#!/Attack_Protection/patch_breached_password_detection
26 UpdateBreachedPasswordDetection(
27 ctx context.Context, bpd *management.BreachedPasswordDetection,
28 opts ...management.RequestOption,
29 ) (err error)
30
31 // GetBruteForceProtection retrieves the brute force configuration.
32 //
33 // Required scope: `read:attack_protection`
34 //
35 // See: https://auth0.com/docs/api/management/v2#!/Attack_Protection/get_brute_force_protection
36 GetBruteForceProtection(
37 ctx context.Context, opts ...management.RequestOption,
38 ) (bfp *management.BruteForceProtection, err error)
39
40 // UpdateBruteForceProtection updates the brute force configuration.
41 //
42 // Required scope: `update:attack_protection`
43 //
44 // See: https://auth0.com/docs/api/management/v2#!/Attack_Protection/patch_brute_force_protection
45 UpdateBruteForceProtection(
46 ctx context.Context, bfp *management.BruteForceProtection,
47 opts ...management.RequestOption,
48 ) (err error)
49
50 // GetSuspiciousIPThrottling retrieves the suspicious IP throttling configuration.
51 //
52 // Required scope: `read:attack_protection`
53 //
54 // See: https://auth0.com/docs/api/management/v2#!/Attack_Protection/get_suspicious_ip_throttling
55 GetSuspiciousIPThrottling(
56 ctx context.Context, opts ...management.RequestOption,
57 ) (sit *management.SuspiciousIPThrottling, err error)
58
59 // UpdateSuspiciousIPThrottling updates the suspicious IP throttling configuration.
60 //
61 // Required scope: `update:attack_protection`
62 //
63 // See: https://auth0.com/docs/api/management/v2#!/Attack_Protection/patch_suspicious_ip_throttling
64 UpdateSuspiciousIPThrottling(
65 ctx context.Context, sit *management.SuspiciousIPThrottling,
66 opts ...management.RequestOption,
67 ) (err error)
68}

Calls

no outgoing calls

Tested by

no test coverage detected