Affected by GO-2024-3064
and 3 other vulnerabilities
GO-2024-3064: Apache Answer: The link to reset the user's password will remain valid after sending a new link in github.com/apache/incubator-answer
GO-2024-3065: Apache Answer: The link for resetting user password is not Single-Use in github.com/apache/incubator-answer
GO-2024-3158: Apache Answer: Avatar URL leaked user email addresses in github.com/apache/incubator-answer
GO-2024-3287: Apache Answer: Predictable Authorization Token Using UUIDv1 in github.com/apache/incubator-answer
package
Version:
v1.3.5-RC1
Opens a new window with list of versions in this module.
Published: Jun 18, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ReportRepo interface {
AddReport(ctx context.Context, report *entity.Report) (err error)
GetReportListPage(ctx context.Context, query *schema.GetReportListPageDTO) (
reports []*entity.Report, total int64, err error)
GetByID(ctx context.Context, id string) (report *entity.Report, exist bool, err error)
UpdateStatus(ctx context.Context, id string, status int) (err error)
GetReportCount(ctx context.Context) (count int64, err error)
}
ReportRepo report repository
Source Files
¶
Click to show internal directories.
Click to hide internal directories.