Documentation ¶
Index ¶
- type APIKey
- type ActiveServiceWorker
- type AuthenticationInfo
- type CheckConnection
- type CreateUserOutput
- type DefaultTag
- type DetailedAuthenticationInfo
- type Evidence
- type EvidenceCount
- type EvidenceMetadata
- type Finding
- type FindingCategory
- type Flags
- type GlobalVar
- type NewUserCreatedByAdmin
- type Operation
- type OperationVar
- type PaginationWrapper
- type Query
- type ServiceWorker
- type ServiceWorkerTestOutput
- type SupportedAuthScheme
- type Tag
- type TagByEvidenceDate
- type TagDifference
- type TagPair
- type TagWithUsage
- type TopContrib
- type User
- type UserAdminView
- type UserGroup
- type UserGroupAdminView
- type UserGroupOperationRole
- type UserOperationRole
- type UserOwnView
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveServiceWorker ¶
type ActiveServiceWorker struct {
Name string `json:"name"`
}
type AuthenticationInfo ¶
type CheckConnection ¶
type CheckConnection struct {
Ok bool `json:"ok"`
}
type CreateUserOutput ¶
type DefaultTag ¶
type DefaultTag Tag
type DetailedAuthenticationInfo ¶
type DetailedAuthenticationInfo struct { AuthSchemeName string `json:"schemeName"` AuthSchemeCode string `json:"schemeCode"` AuthSchemeType string `json:"schemeType"` AuthSchemeFlags []string `json:"schemeFlags"` UserCount int64 `json:"userCount"` UniqueUserCount int64 `json:"uniqueUserCount"` LastUsed *time.Time `json:"lastUsed"` Labels []string `json:"labels"` }
type Evidence ¶
type Evidence struct { UUID string `json:"uuid"` Description string `json:"description"` OccurredAt time.Time `json:"occurredAt"` AdjustedAt *time.Time `json:"adjustedAt"` Operator User `json:"operator"` Tags []Tag `json:"tags"` ContentType string `json:"contentType"` SendUrl bool `json:"sendUrl"` ThumbImageKey string `json:"thumbImageKey"` FullImageKey string `json:"fullImageKey"` }
type EvidenceCount ¶
type EvidenceCount struct { ImageCount int64 `db:"image_count" json:"imageCount"` CodeblockCount int64 `db:"codeblock_count" json:"codeblockCount"` RecordingCount int64 `db:"recording_count" json:"recordingCount"` EventCount int64 `db:"event_count" json:"eventCount"` HarCount int64 `db:"har_count" json:"harCount"` }
type EvidenceMetadata ¶
type EvidenceMetadata struct { Body string `json:"body"` Source string `json:"source"` Status *evidencemetadata.Status `json:"status"` CanProcess *bool `json:"canProcess"` }
type Finding ¶
type Finding struct { UUID string `json:"uuid"` Title string `json:"title"` Description string `json:"description"` Operators []User `json:"operators"` ReadyToReport bool `json:"readyToReport"` TicketLink *string `json:"ticketLink"` Tags []Tag `json:"tags"` NumEvidence int `json:"numEvidence"` Category string `json:"category"` OccurredFrom *time.Time `json:"occurredFrom"` OccurredTo *time.Time `json:"occurredTo"` }
type FindingCategory ¶
type NewUserCreatedByAdmin ¶
type NewUserCreatedByAdmin struct {
TemporaryPassword string `json:"temporaryPassword"`
}
type Operation ¶
type Operation struct { Slug string `json:"slug"` Name string `json:"name"` NumUsers int `json:"numUsers"` NumEvidence int `json:"numEvidence"` NumTags int `json:"numTags"` Favorite bool `json:"favorite"` TopContribs []TopContrib `json:"topContribs"` EvidenceCount EvidenceCount `json:"evidenceCount,omitempty"` UserCanViewGroups bool `json:"userCanViewGroups,omitempty"` UserCanExportData bool `json:"userCanExportData,omitempty"` }
type OperationVar ¶
type PaginationWrapper ¶
type ServiceWorker ¶
type ServiceWorkerTestOutput ¶
type SupportedAuthScheme ¶
type TagByEvidenceDate ¶
type TagDifference ¶
type TagWithUsage ¶
type TopContrib ¶
type UserAdminView ¶
type UserGroupAdminView ¶
type UserGroupOperationRole ¶
type UserGroupOperationRole struct { UserGroup UserGroupAdminView `json:"userGroup"` Role policy.OperationRole `json:"role"` }
type UserOperationRole ¶
type UserOperationRole struct { User User `json:"user"` Role policy.OperationRole `json:"role"` }
type UserOwnView ¶
type UserOwnView struct { User Email string `json:"email"` Admin bool `json:"admin"` Authentication []AuthenticationInfo `json:"authSchemes"` Headless bool `json:"headless"` }
Click to show internal directories.
Click to hide internal directories.