Affected by GO-2025-3587
and 8 other vulnerabilities
GO-2025-3587: Apache Answer User Using External Images Potentially Discloses User Information in github.com/apache/answer
GO-2026-4421: Apache Answer Exposure of Private Personal Information to an Unauthorized Actor vulnerability in github.com/apache/answer
GO-2026-6147: Apache Answer has an Improper Neutralization of Alternate XSS Syntax vulnerability in github.com/apache/answer
GO-2026-6148: Apache Answer has an Exposure of Private Personal Information to an Unauthorized Actor vulnerability in github.com/apache/answer
GO-2026-6151: Apache Answer vulnerable to Cross-site Scripting in github.com/apache/answer
GO-2026-6152: Apache Answer has an Exposure of Sensitive Information to an Unauthorized Actor vulnerability in github.com/apache/answer
GO-2026-6153: Apache Answer has an Unrestricted Upload of File with Dangerous Type vulnerability in github.com/apache/answer
GO-2026-6154: Apache Answer has an Unrestricted Upload of File with Dangerous Type vulnerability in github.com/apache/answer
GO-2026-6249: Apache Answer: AdminToken not invalidated after admin deactivation in github.com/apache/answer
package
Version:
v1.4.2
Opens a new window with list of versions in this module.
Published: Jan 13, 2025
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.