SecurityActionConditionConfig class
Constructors
-
SecurityActionConditionConfig({Input<List<String>?>? accessTokens, Input<List<String>?>? apiKeys, Input<List<String>?>? apiProducts, Input<List<String>?>? asns, Input<List<String>?>? botReasons, Input<List<String>?>? developerApps, Input<List<String>?>? developers, Input<List<String>?>? httpMethods, Input<List<String>?>? ipAddressRanges, Input<List<String>?>? regionCodes, Input<List<String>?>? userAgents})
-
Creates a new SecurityActionConditionConfig.
accessTokens A list of accessTokens. Limit 1000 per action.
apiKeys A list of API keys. Limit 1000 per action.
apiProducts A list of API Products. Limit 1000 per action.
asns A list of ASN numbers to act on, e.g. 23. https://en.wikipedia.org/wiki/Autonomous_system_(Internet)
botReasons A list of Bot Reasons. Current options: Flooder, Brute Guessor, Static Content Scraper,
developerApps A list of developer apps. Limit 1000 per action.
developers A list of developers. Limit 1000 per action.
httpMethods Act only on particular HTTP methods. E.g. A read-only API can block POST/PUT/DELETE methods.
ipAddressRanges A list of IP addresses. This could be either IPv4 or IPv6. Limited to 100 per action.
regionCodes A list of countries/region codes to act on, e.g. US. This follows https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2.
userAgents A list of user agents to deny. We look for exact matches. Limit 50 per action.
const
-
SecurityActionConditionConfig.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
accessTokens
→ Input<List<String>?>?
-
A list of accessTokens. Limit 1000 per action.
final
-
apiKeys
→ Input<List<String>?>?
-
A list of API keys. Limit 1000 per action.
final
-
apiProducts
→ Input<List<String>?>?
-
A list of API Products. Limit 1000 per action.
final
-
asns
→ Input<List<String>?>?
-
A list of ASN numbers to act on, e.g. 23. https://en.wikipedia.org/wiki/Autonomous_system_(Internet)
This uses int64 instead of uint32 because of https://linter.aip.dev/141/forbidden-types.
final
-
botReasons
→ Input<List<String>?>?
-
A list of Bot Reasons. Current options: Flooder, Brute Guessor, Static Content Scraper,
OAuth Abuser, Robot Abuser, TorListRule, Advanced Anomaly Detection, Advanced API Scraper,
Search Engine Crawlers, Public Clouds, Public Cloud AWS, Public Cloud Azure, and Public Cloud Google.
final
-
developerApps
→ Input<List<String>?>?
-
A list of developer apps. Limit 1000 per action.
final
-
developers
→ Input<List<String>?>?
-
A list of developers. Limit 1000 per action.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
httpMethods
→ Input<List<String>?>?
-
Act only on particular HTTP methods. E.g. A read-only API can block POST/PUT/DELETE methods.
Accepted values are: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE and PATCH.
final
-
ipAddressRanges
→ Input<List<String>?>?
-
A list of IP addresses. This could be either IPv4 or IPv6. Limited to 100 per action.
final
-
regionCodes
→ Input<List<String>?>?
-
A list of countries/region codes to act on, e.g. US. This follows https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
userAgents
→ Input<List<String>?>?
-
A list of user agents to deny. We look for exact matches. Limit 50 per action.
final