Documentation
¶
Index ¶
- func PullLogs(startTime string, endTime string, group types.ModuleGroup)
- func SendToCorrelation(data []TransformedLog) error
- type ContentDetailsResponse
- type ContentList
- type MicrosoftLoginResponse
- type OfficeProcessor
- func (o *OfficeProcessor) GetAuth() error
- func (o *OfficeProcessor) GetContentDetails(url string) (ContentDetailsResponse, error)
- func (o *OfficeProcessor) GetContentList(subscription string, startTime string, endTime string, group types.ModuleGroup) ([]ContentList, error)
- func (o *OfficeProcessor) GetLogs(startTime string, endTime string, group types.ModuleGroup)
- func (o *OfficeProcessor) StartSubscriptions() error
- type StartSubscriptionResponse
- type TransformedLog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendToCorrelation ¶
func SendToCorrelation(data []TransformedLog) error
Types ¶
type ContentDetailsResponse ¶
type ContentDetailsResponse []map[string]interface{}
type ContentList ¶
type MicrosoftLoginResponse ¶
type OfficeProcessor ¶
type OfficeProcessor struct {
Credentials MicrosoftLoginResponse
TenantId string
ClientId string
ClientSecret string
Subscriptions []string
}
func GetOfficeProcessor ¶
func GetOfficeProcessor(group types.ModuleGroup) OfficeProcessor
func (*OfficeProcessor) GetAuth ¶
func (o *OfficeProcessor) GetAuth() error
func (*OfficeProcessor) GetContentDetails ¶
func (o *OfficeProcessor) GetContentDetails(url string) (ContentDetailsResponse, error)
func (*OfficeProcessor) GetContentList ¶
func (o *OfficeProcessor) GetContentList(subscription string, startTime string, endTime string, group types.ModuleGroup) ([]ContentList, error)
func (*OfficeProcessor) GetLogs ¶
func (o *OfficeProcessor) GetLogs(startTime string, endTime string, group types.ModuleGroup)
func (*OfficeProcessor) StartSubscriptions ¶
func (o *OfficeProcessor) StartSubscriptions() error
type TransformedLog ¶
type TransformedLog struct {
Logx struct {
Tenant string `json:"tenant"`
O365 map[string]interface{} `json:"o365"`
} `json:"logx"`
Global struct {
Type string `json:"type"`
Analysed int `json:"analysed"`
} `json:"global"`
Timestamp string `json:"@timestamp"`
DataType string `json:"dataType"`
DataSource string `json:"dataSource"`
}
func ETLProcess ¶
func ETLProcess(data []map[string]interface{}, group types.ModuleGroup) []TransformedLog
Click to show internal directories.
Click to hide internal directories.