Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WafConfig.Builder |
accessRules(List<AccessRule> accessRules)
The access rules applied to the Web Application Firewall.
|
WafConfig.Builder |
addressRateLimiting(AddressRateLimiting addressRateLimiting)
The IP address rate limiting settings used to limit the number of requests from an
address.
|
WafConfig |
build() |
WafConfig.Builder |
cachingRules(List<CachingRule> cachingRules)
A list of caching rules applied to the web application.
|
WafConfig.Builder |
captchas(List<Captcha> captchas)
A list of CAPTCHA challenge settings.
|
WafConfig.Builder |
copy(WafConfig model) |
WafConfig.Builder |
customProtectionRules(List<CustomProtectionRuleSetting> customProtectionRules)
A list of the custom protection rule OCIDs and their actions.
|
WafConfig.Builder |
deviceFingerprintChallenge(DeviceFingerprintChallenge deviceFingerprintChallenge)
The device fingerprint challenge settings.
|
WafConfig.Builder |
goodBots(List<GoodBot> goodBots)
A list of bots allowed to access the web application.
|
WafConfig.Builder |
humanInteractionChallenge(HumanInteractionChallenge humanInteractionChallenge)
The human interaction challenge settings.
|
WafConfig.Builder |
jsChallenge(JsChallenge jsChallenge)
The JavaScript challenge settings.
|
WafConfig.Builder |
origin(String origin)
The key in the map of origins referencing the origin used for the Web Application
Firewall.
|
WafConfig.Builder |
originGroups(List<String> originGroups)
The map of origin groups and their keys used to associate origins to the
wafConfig . |
WafConfig.Builder |
protectionRules(List<ProtectionRule> protectionRules)
A list of the protection rules and their details.
|
WafConfig.Builder |
protectionSettings(ProtectionSettings protectionSettings)
The settings to apply to protection rules.
|
WafConfig.Builder |
threatFeeds(List<ThreatFeed> threatFeeds)
A list of threat intelligence feeds and the actions to apply to known malicious traffic
based on internet intelligence.
|
WafConfig.Builder |
whitelists(List<Whitelist> whitelists)
A list of IP addresses that bypass the Web Application Firewall.
|
public WafConfig.Builder accessRules(List<AccessRule> accessRules)
The access rules applied to the Web Application Firewall. Used for defining custom access
policies with the combination of ALLOW
, DETECT
, and BLOCK
rules,
based on different criteria.
accessRules
- the value to setpublic WafConfig.Builder addressRateLimiting(AddressRateLimiting addressRateLimiting)
The IP address rate limiting settings used to limit the number of requests from an address.
addressRateLimiting
- the value to setpublic WafConfig.Builder captchas(List<Captcha> captchas)
A list of CAPTCHA challenge settings. These are used to challenge requests with a CAPTCHA to block bots.
captchas
- the value to setpublic WafConfig.Builder deviceFingerprintChallenge(DeviceFingerprintChallenge deviceFingerprintChallenge)
The device fingerprint challenge settings. Used to detect unique devices based on the device fingerprint information collected in order to block bots.
deviceFingerprintChallenge
- the value to setpublic WafConfig.Builder goodBots(List<GoodBot> goodBots)
A list of bots allowed to access the web application.
goodBots
- the value to setpublic WafConfig.Builder humanInteractionChallenge(HumanInteractionChallenge humanInteractionChallenge)
The human interaction challenge settings. Used to look for natural human interactions such as mouse movements, time on site, and page scrolling to identify bots.
humanInteractionChallenge
- the value to setpublic WafConfig.Builder jsChallenge(JsChallenge jsChallenge)
The JavaScript challenge settings. Used to challenge requests with a JavaScript challenge and take the action if a browser has no JavaScript support in order to block bots.
jsChallenge
- the value to setpublic WafConfig.Builder origin(String origin)
The key in the map of origins referencing the origin used for the Web Application
Firewall. The origin must already be included in Origins
. Required when creating
the WafConfig
resource, but not on update.
origin
- the value to setpublic WafConfig.Builder cachingRules(List<CachingRule> cachingRules)
A list of caching rules applied to the web application.
cachingRules
- the value to setpublic WafConfig.Builder customProtectionRules(List<CustomProtectionRuleSetting> customProtectionRules)
A list of the custom protection rule OCIDs and their actions.
customProtectionRules
- the value to setpublic WafConfig.Builder originGroups(List<String> originGroups)
The map of origin groups and their keys used to associate origins to the wafConfig
. Origin groups allow you to apply weights to groups of origins for load
balancing purposes. Origins with higher weights will receive larger proportions of client
requests. To add additional origins to your WAAS policy, update the origins
field
of a UpdateWaasPolicy
request.
originGroups
- the value to setpublic WafConfig.Builder protectionRules(List<ProtectionRule> protectionRules)
A list of the protection rules and their details.
protectionRules
- the value to setpublic WafConfig.Builder protectionSettings(ProtectionSettings protectionSettings)
The settings to apply to protection rules.
protectionSettings
- the value to setpublic WafConfig.Builder threatFeeds(List<ThreatFeed> threatFeeds)
A list of threat intelligence feeds and the actions to apply to known malicious traffic based on internet intelligence.
threatFeeds
- the value to setpublic WafConfig.Builder whitelists(List<Whitelist> whitelists)
A list of IP addresses that bypass the Web Application Firewall.
whitelists
- the value to setpublic WafConfig build()
public WafConfig.Builder copy(WafConfig model)
Copyright © 2016–2024. All rights reserved.