-
Notifications
You must be signed in to change notification settings - Fork 70
/
bot_detection_policy.go
61 lines (44 loc) · 4.08 KB
/
bot_detection_policy.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// Copyright 2021 VMware, Inc.
// SPDX-License-Identifier: Apache License 2.0
package models
// This file is auto-generated.
// BotDetectionPolicy bot detection policy
// swagger:model BotDetectionPolicy
type BotDetectionPolicy struct {
// UNIX time since epoch in microseconds. Units(MICROSECONDS).
// Read Only: true
LastModified *string `json:"_last_modified,omitempty"`
// Allow the user to skip BotManagement for selected requests. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
AllowList *BotAllowList `json:"allow_list,omitempty"`
// The client behavior configuration used in this policy. Field introduced in 30.2.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
ClientBehaviorDetector *BotConfigClientBehavior `json:"client_behavior_detector,omitempty"`
// Human-readable description of this Bot Detection Policy. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Description *string `json:"description,omitempty"`
// The IP location configuration used in this policy. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
// Required: true
IPLocationDetector *BotConfigIPLocation `json:"ip_location_detector"`
// The IP reputation configuration used in this policy. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
// Required: true
IPReputationDetector *BotConfigIPReputation `json:"ip_reputation_detector"`
// The name of this Bot Detection Policy. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
// Required: true
Name *string `json:"name"`
// System-defined rules for classification. It is a reference to an object of type BotMapping. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
SystemBotMappingRef *string `json:"system_bot_mapping_ref,omitempty"`
// The installation provides an updated ruleset for consolidating the results of different decider phases. It is a reference to an object of type BotConfigConsolidator. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
SystemConsolidatorRef *string `json:"system_consolidator_ref,omitempty"`
// The unique identifier of the tenant to which this policy belongs. It is a reference to an object of type Tenant. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
TenantRef *string `json:"tenant_ref,omitempty"`
// url
// Read Only: true
URL *string `json:"url,omitempty"`
// The User-Agent configuration used in this policy. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
// Required: true
UserAgentDetector *BotConfigUserAgent `json:"user_agent_detector"`
// User-defined rules for classification. These are applied before the system classification rules. If a rule matches, processing terminates and the system-defined rules will not run. It is a reference to an object of type BotMapping. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
UserBotMappingRef *string `json:"user_bot_mapping_ref,omitempty"`
// The user-provided ruleset for consolidating the results of different decider phases. This runs before the system consolidator. If it successfully sets a consolidation, the system consolidator will not change it. It is a reference to an object of type BotConfigConsolidator. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
UserConsolidatorRef *string `json:"user_consolidator_ref,omitempty"`
// A unique identifier to this Bot Detection Policy. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
UUID *string `json:"uuid,omitempty"`
}