Class SecurityEventsApi


  • public class SecurityEventsApi
    extends com.ibm.cloud.sdk.core.service.BaseService
    Security Events API.
    Version:
    v1
    • Constructor Detail

      • SecurityEventsApi

        public SecurityEventsApi​(String crn,
                                 String zoneId,
                                 String serviceName,
                                 com.ibm.cloud.sdk.core.security.Authenticator authenticator)
        Constructs an instance of the `SecurityEventsApi` client. The specified service name and authenticator are used to configure the client instance.
        Parameters:
        crn - Full url-encoded cloud resource name (CRN) of resource instance.
        zoneId - zone identifier.
        serviceName - the service name to be used when configuring the client instance
        authenticator - the Authenticator instance to be configured for this client
    • Method Detail

      • newInstance

        public static SecurityEventsApi newInstance​(String crn,
                                                    String zoneId)
        Class method which constructs an instance of the `SecurityEventsApi` client. The default service name is used to configure the client instance.
        Parameters:
        crn - Full url-encoded cloud resource name (CRN) of resource instance.
        zoneId - zone identifier.
        Returns:
        an instance of the `SecurityEventsApi` client using external configuration
      • newInstance

        public static SecurityEventsApi newInstance​(String crn,
                                                    String zoneId,
                                                    String serviceName)
        Class method which constructs an instance of the `SecurityEventsApi` client. The specified service name is used to configure the client instance.
        Parameters:
        crn - Full url-encoded cloud resource name (CRN) of resource instance.
        zoneId - zone identifier.
        serviceName - the service name to be used when configuring the client instance
        Returns:
        an instance of the `SecurityEventsApi` client using external configuration
      • getCrn

        public String getCrn()
        Gets the crn. Full url-encoded cloud resource name (CRN) of resource instance.
        Returns:
        the crn
      • setCrn

        public void setCrn​(String crn)
        Sets the crn.
        Parameters:
        crn - the new crn
      • getZoneId

        public String getZoneId()
        Gets the zoneId. zone identifier.
        Returns:
        the zoneId
      • setZoneId

        public void setZoneId​(String zoneId)
        Sets the zoneId.
        Parameters:
        zoneId - the new zoneId
      • securityEvents

        public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityEvents> securityEvents​(SecurityEventsOptions securityEventsOptions)
        Logs of the mitigations performed by Firewall features. Provides a full log of the mitigations performed by the CIS Firewall features including; Firewall Rules, Rate Limiting, Security Level, Access Rules (IP, IP Range, ASN, and Country), WAF (Web Application Firewall), User Agent Blocking, Zone Lockdown, and Advanced DDoS Protection.
        Parameters:
        securityEventsOptions - the SecurityEventsOptions containing the options for the call
        Returns:
        a ServiceCall with a result of type SecurityEvents
      • securityEvents

        public com.ibm.cloud.sdk.core.http.ServiceCall<SecurityEvents> securityEvents()
        Logs of the mitigations performed by Firewall features. Provides a full log of the mitigations performed by the CIS Firewall features including; Firewall Rules, Rate Limiting, Security Level, Access Rules (IP, IP Range, ASN, and Country), WAF (Web Application Firewall), User Agent Blocking, Zone Lockdown, and Advanced DDoS Protection.
        Returns:
        a ServiceCall with a result of type SecurityEvents