Documentation ¶
Index ¶
- func New(options map[string]interface{}) (collector.Client, error)
- type Client
- func (oktaClient *Client) ClientType() collector.ClientType
- func (oktaClient *Client) Exit() (err error)
- func (oktaClient *Client) GetLogs(startTime string, endTime string, resultsChannel chan<- string) (int, error)
- func (oktaClient *Client) Poll(timestamp time.Time, resultsChannel chan<- string, pollOffset int) (count int, currentTimestamp time.Time, err error)
- func (oktaClient *Client) Stream(streamChannel chan<- string) (cancelFunc func(), err error)
- type OktaActor
- type OktaAuthenticationContext
- type OktaClientObj
- type OktaDebugContext
- type OktaDebugData
- type OktaGeoContext
- type OktaGeolocation
- type OktaIpChain
- type OktaIssuer
- type OktaOutcome
- type OktaRequest
- type OktaResponse
- type OktaSecurityContext
- type OktaTransaction
- type OktaUserAgent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct { collector.Client Options map[string]interface{} // contains filtered or unexported fields }
func (*Client) ClientType ¶ added in v0.5.0
func (oktaClient *Client) ClientType() collector.ClientType
func (*Client) GetLogs ¶
func (oktaClient *Client) GetLogs(startTime string, endTime string, resultsChannel chan<- string) (int, error)
Get logs method with paged results logic Events are streamed into the results channel
type OktaAuthenticationContext ¶
type OktaAuthenticationContext struct { AuthenticationProvider string `json:"authenticationProvider"` CredentialProvider string `json:"credentialProvider"` CredentialType string `json:"credentialType"` Issuer OktaIssuer `json:"issuer"` ExternalSessionId string `json:"externalSessionId"` Interface string `json:"interface"` }
type OktaClientObj ¶
type OktaClientObj struct { UserAgent OktaUserAgent `json:"userAgent"` GeographicalContext OktaGeoContext `json:"geographicalContext"` Zone string `json:"Zone"` IpAddress string `json:"ipAddress"` Device string `json:"device"` Id string `json:"id"` }
type OktaDebugContext ¶
type OktaDebugContext struct {
DebugData OktaDebugData `json:"debugData"`
}
type OktaDebugData ¶
type OktaGeoContext ¶
type OktaGeoContext struct { Geolocation OktaGeolocation `json:"geolocation"` City string `json:"city"` State string `json:"state"` Country string `json:"country"` PostalCode string `json:"postalCode"` }
type OktaGeolocation ¶
type OktaIpChain ¶
type OktaIpChain struct { Ip string `json:"ip"` GeographicalContext OktaGeoContext `json:"geographicalContext"` Version string `json:"version"` Source string `json:"source"` }
type OktaIssuer ¶
type OktaOutcome ¶
type OktaRequest ¶
type OktaRequest struct {
IpChain []OktaIpChain `json:"ipChain"`
}
type OktaResponse ¶
type OktaResponse struct { Uuid string `json:"uuid"` Published string `json:"published"` EventType string `json:"eventType"` Version string `json:"version"` Severity string `json:"severity"` LegacyEventType string `json:"legacyEventType"` DisplayMessage string `json:"displayMessage"` Actor OktaActor `json:"actor"` Client OktaClientObj `json:"client"` Outcome OktaOutcome `json:"outcome"` Target []OktaActor `json:"target"` Transaction OktaTransaction `json:"transaction"` DebugContext OktaDebugContext `json:"debugContext"` AuthenticationContext OktaAuthenticationContext `json:"authenticationContext"` SecurityContext OktaSecurityContext `json:"securityContext"` Request OktaRequest `json:"request"` }
type OktaSecurityContext ¶
type OktaTransaction ¶
type OktaUserAgent ¶
Click to show internal directories.
Click to hide internal directories.