Documentation ¶
Index ¶
- func AssignLabels(ctx context.Context, service *services.Service, dlpIncidentID string, ...) (*common.IncidentDetails, *http.Response, error)
- func CreateNotes(ctx context.Context, service *services.Service, dlpIncidentID int, note string) (*common.IncidentDetails, *http.Response, error)
- func DeleteDLPIncident(ctx context.Context, service *services.Service, dlpIncidentID string) (*http.Response, error)
- func FilterIncidentSearch(ctx context.Context, service *services.Service, ...) ([]common.IncidentDetails, *common.Cursor, error)
- func GetDLPIncident(ctx context.Context, service *services.Service, dlpIncidentID string, ...) (*common.IncidentDetails, *http.Response, error)
- func GetIncidentTransactions(ctx context.Context, service *services.Service, transactionID string, ...) ([]common.IncidentDetails, *common.Cursor, error)
- func UpdateIncidentStatus(ctx context.Context, service *services.Service, dlpIncidentID string, ...) (*common.IncidentDetails, *http.Response, error)
- type ChangeData
- type ChangeHistory
- type CreateNoteRequest
- type DLPIncidentEvidence
- type DLPIncidentTicketsResponse
- type DLPIncidentTriggerData
- type IncidentGroup
- type IncidentGroupRequest
- type IncidentGroupsResponse
- type IncidentHistoryResponse
- type LabelsRequest
- type ResolutionDetailsRequest
- type Ticket
- type TicketInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssignLabels ¶
func CreateNotes ¶
func DeleteDLPIncident ¶
func DeleteDLPIncident(ctx context.Context, service *services.Service, dlpIncidentID string) (*http.Response, error)
Deletes the DLP incident for the specified incident ID.
func FilterIncidentSearch ¶
func FilterIncidentSearch(ctx context.Context, service *services.Service, filters common.CommonDLPIncidentFiltering, paginationParams *common.PaginationParams) ([]common.IncidentDetails, *common.Cursor, error)
func GetDLPIncident ¶
func GetDLPIncident(ctx context.Context, service *services.Service, dlpIncidentID string, fields []string) (*common.IncidentDetails, *http.Response, error)
Gets the DLP incident details based on the incident ID.
func GetIncidentTransactions ¶
func GetIncidentTransactions(ctx context.Context, service *services.Service, transactionID string, paginationParams *common.PaginationParams) ([]common.IncidentDetails, *common.Cursor, error)
############################ DLP INCIDENT TRANSACTIONS ############################ Gets the list of all DLP incidents associated with the transaction ID. A transaction ID can contain one or more DLP incidents.
Types ¶
type ChangeData ¶
type ChangeHistory ¶
type ChangeHistory struct { ChangeType string `json:"changeType"` ChangedAt string `json:"changedAt"` ChangedByName string `json:"changedByName"` ChangeData ChangeData `json:"changeData"` Comment string `json:"comment"` }
type CreateNoteRequest ¶
type CreateNoteRequest struct {
Notes string `json:"notes"`
}
##################### ADDS NOTES TO DLP INCIDENTS #####################
type DLPIncidentEvidence ¶
type DLPIncidentTicketsResponse ¶
type DLPIncidentTicketsResponse struct {
Tickets []Ticket `json:"tickets"`
}
##################### DLP INCIDENT GENERATED TICKETS #####################
type DLPIncidentTriggerData ¶
type IncidentGroup ¶
type IncidentGroup struct { ID int `json:"id"` Name string `json:"name"` Description string `json:"description"` Status string `json:"status"` IncidentGroupType string `json:"incidentGroupType"` IsDLPIncidentGroupAlreadyMapped bool `json:"isDLPIncidentGroupAlreadyMapped"` IsDLPAdminConfigAlreadyMapped bool `json:"isDLPAdminConfigAlreadyMapped"` }
type IncidentGroupRequest ¶
type IncidentGroupRequest struct {
IncidentGroupIDs []int `json:"incidentGroupIds"`
}
##################### INCIDENT GROUP SEARCH #####################
type IncidentGroupsResponse ¶
type IncidentGroupsResponse struct {
IncidentGroups []IncidentGroup `json:"incidentGroups"`
}
type IncidentHistoryResponse ¶
type IncidentHistoryResponse struct { IncidentID string `json:"incidentId"` StartDate string `json:"startDate"` EndDate string `json:"endDate"` ChangeHistory []ChangeHistory `json:"changeHistory"` }
##################### DLP INCIDENT CHANGE HISTORY #####################
type LabelsRequest ¶
##################### ASSIGNS LABELS TO DLP INCIDENTS #####################
type Ticket ¶
type Ticket struct { TicketType string `json:"ticketType"` TicketingSystemName string `json:"ticketingSystemName"` ProjectID string `json:"projectId"` ProjectName string `json:"projectName"` TicketInfo TicketInfo `json:"ticketInfo"` }
func GetDLPIncidentTickets ¶
func GetDLPIncidentTickets(ctx context.Context, service *services.Service, dlpIncidentID string, paginationParams *common.PaginationParams) ([]Ticket, *common.Cursor, error)
Gets the information of the ticket generated for the incident. For example, ticket type, ticket ID, ticket status, etc.