Class ProtectionCapabilitySummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • isLatestVersion

        public ProtectionCapabilitySummary.Builder isLatestVersion​(Boolean isLatestVersion)
        The field that shows if this is the latest version of protection capability.
        Parameters:
        isLatestVersion - the value to set
        Returns:
        this builder
      • groupTags

        public ProtectionCapabilitySummary.Builder groupTags​(List<String> groupTags)
        The list of unique names protection capability group tags that are associated with this capability.

        Example: [“PCI”, “Recommended”]

        Parameters:
        groupTags - the value to set
        Returns:
        this builder
      • type

        public ProtectionCapabilitySummary.Builder type​(ProtectionCapabilitySummary.Type type)
        The type of protection capability.

        **REQUEST_PROTECTION_CAPABILITY** can only be used in requestProtection module of WebAppFirewallPolicy.

        **RESPONSE_PROTECTION_CAPABILITY** can only be used in responseProtection module of WebAppFirewallPolicy.

        Parameters:
        type - the value to set
        Returns:
        this builder
      • collaborativeActionThreshold

        public ProtectionCapabilitySummary.Builder collaborativeActionThreshold​(Integer collaborativeActionThreshold)
        The default collaborative action threshold for OCI-managed collaborative protection capability.

        Collaborative protection capabilities are made of several simple, non-collaborative protection capabilities (referred to as contributing capabilities later on) which have weights assigned to them. These weights can be found in the collaborativeWeights array. For incoming/outgoing HTTP messages, all contributing capabilities are executed and the sum of all triggered contributing capabilities weights is calculated. Only if this sum is greater than or equal to collaborativeActionThreshold is the incoming/outgoing HTTP message marked as malicious.

        This field is ignored for non-collaborative capabilities.

        Parameters:
        collaborativeActionThreshold - the value to set
        Returns:
        this builder
      • collaborativeWeights

        public ProtectionCapabilitySummary.Builder collaborativeWeights​(List<CollaborativeCapabilityWeight> collaborativeWeights)
        The weights of contributing capabilities.

        Defines how much each contributing capability contributes towards the action threshold of a collaborative protection capability.

        This field is ignored for non-collaborative capabilities.

        Parameters:
        collaborativeWeights - the value to set
        Returns:
        this builder