TRANSIP: Audit records verified (#2794)

This commit is contained in:
Jeffrey Cafferata 2024-01-11 23:24:09 +01:00 committed by GitHub
parent 057c921ebf
commit 1db0ae2dc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,19 +11,21 @@ import (
func AuditRecords(records []*models.RecordConfig) []error {
a := rejectif.Auditor{}
a.Add("ALIAS", rejectif.LabelNotApex) // Last verified 2024-01-11
a.Add("MX", rejectif.MxNull) // Last verified 2023-12-04
a.Add("TXT", rejectif.TxtHasBackticks) // Last verified 2023-12-04
a.Add("TXT", rejectif.TxtHasBackticks) // Last verified 2024-01-11
a.Add("TXT", rejectif.TxtHasDoubleQuotes) // Last verified 2023-12-04
a.Add("TXT", rejectif.TxtHasBackslash) // Last verified 2024-01-11
a.Add("TXT", rejectif.TxtHasBackslash) // Last verified 2023-12-04
a.Add("TXT", rejectif.TxtStartsOrEndsWithSpaces) // Last verified 2024-01-11
a.Add("TXT", rejectif.TxtStartsOrEndsWithSpaces) // Last verified 2023-12-10
a.Add("TXT", rejectif.TxtIsEmpty) // Last verified 2024-01-11
a.Add("TXT", rejectif.TxtIsEmpty) // Last verified 2023-12-10
a.Add("TXT", rejectif.TxtLongerThan(1024)) // Last verified 2024-01-11
a.Add("TXT", rejectif.TxtLongerThan(1024)) // Last verified 2023-12-15
a.Add("TXT", rejectif.TxtHasTrailingSpace) // Last verified 2024-01-11
return a.Audit(records)
}