Class SecurityEventObject
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.security_events_api.v1.model.SecurityEventObject
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SecurityEventObject extends com.ibm.cloud.sdk.core.service.model.GenericModelSecurity event object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSecurityEventObject.ActionWhat type of action was taken.static interfaceSecurityEventObject.IpClassIP class is a map of client IP to visitor classification.static interfaceSecurityEventObject.KindKind of events.static interfaceSecurityEventObject.MethodThe HTTP method of the request.static interfaceSecurityEventObject.ProtoThe protocol of the request.static interfaceSecurityEventObject.SchemeThe scheme of the uri.static interfaceSecurityEventObject.SourceSource of the event.
-
Constructor Summary
Constructors Constructor Description SecurityEventObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAction()Gets the action.StringgetColo()Gets the colo.StringgetCountry()Gets the country.StringgetHost()Gets the host.StringgetIp()Gets the ip.StringgetIpClass()Gets the ipClass.StringgetKind()Gets the kind.List<SecurityEventObjectMatchesItem>getMatches()Gets the matches.StringgetMethod()Gets the method.DategetOccurredAt()Gets the occurredAt.StringgetProto()Gets the proto.StringgetRayId()Gets the rayId.StringgetRuleId()Gets the ruleId.StringgetScheme()Gets the scheme.StringgetSource()Gets the source.StringgetUa()Gets the ua.StringgetUri()Gets the uri.
-
-
-
Method Detail
-
getRayId
public String getRayId()
Gets the rayId. Ray ID of the request.- Returns:
- the rayId
-
getKind
public String getKind()
Gets the kind. Kind of events. Now it is only firewall.- Returns:
- the kind
-
getSource
public String getSource()
Gets the source. Source of the event.- Returns:
- the source
-
getAction
public String getAction()
Gets the action. What type of action was taken.- Returns:
- the action
-
getRuleId
public String getRuleId()
Gets the ruleId. The ID of the rule that triggered the event, should be considered in the context of source.- Returns:
- the ruleId
-
getIp
public String getIp()
Gets the ip. The IPv4 or IPv6 address from which the request originated.- Returns:
- the ip
-
getIpClass
public String getIpClass()
Gets the ipClass. IP class is a map of client IP to visitor classification.- Returns:
- the ipClass
-
getCountry
public String getCountry()
Gets the country. The 2-digit country code in which the request originated.- Returns:
- the country
-
getColo
public String getColo()
Gets the colo. The 3-letter CF PoP code.- Returns:
- the colo
-
getHost
public String getHost()
Gets the host. The hostname the request attempted to access.- Returns:
- the host
-
getMethod
public String getMethod()
Gets the method. The HTTP method of the request.- Returns:
- the method
-
getProto
public String getProto()
Gets the proto. The protocol of the request.- Returns:
- the proto
-
getScheme
public String getScheme()
Gets the scheme. The scheme of the uri.- Returns:
- the scheme
-
getUa
public String getUa()
Gets the ua. The client user agent that initiated the request.- Returns:
- the ua
-
getUri
public String getUri()
Gets the uri. The URI requested from the hostname.- Returns:
- the uri
-
getOccurredAt
public Date getOccurredAt()
Gets the occurredAt. The time that the event occurred.- Returns:
- the occurredAt
-
getMatches
public List<SecurityEventObjectMatchesItem> getMatches()
Gets the matches. The firewall rules those the event matches.- Returns:
- the matches
-
-