1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Add Comment

This commit is contained in:
Fadi Abbud 2022-05-16 11:27:09 +02:00
parent 726711c688
commit 982aaee891

View file

@ -169,6 +169,8 @@ func ValidateAggregator(doc interface{}) ([]string, error) {
return compiledAggregatorSchema.validate(doc) return compiledAggregatorSchema.validate(doc)
} }
// ValidateROLIE validates the ROLIE feed against the JSON schema
// of ROLIE
func ValidateROLIE(doc interface{}) ([]string, error) { func ValidateROLIE(doc interface{}) ([]string, error) {
return compiledRolieSchema.validate(doc) return compiledRolieSchema.validate(doc)
} }