Skip to content

Commit

Permalink
Add EOL processor so the certifier will run (#2394)
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Cotton <[email protected]>
  • Loading branch information
funnelfiasco authored Jan 6, 2025
1 parent 1e2e2e7 commit cdc11e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/handler/processor/ite6/ite6.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ func (e *ITE6Processor) ValidateSchema(i *processor.Document) error {
if i.Type != processor.DocumentITE6Generic &&
i.Type != processor.DocumentITE6SLSA &&
i.Type != processor.DocumentITE6Vul &&
i.Type != processor.DocumentITE6ClearlyDefined {
i.Type != processor.DocumentITE6ClearlyDefined &&
i.Type != processor.DocumentITE6EOL {
return fmt.Errorf("expected ITE6 document type, actual document type: %v", i.Type)
}

Expand Down
1 change: 1 addition & 0 deletions pkg/handler/processor/process/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ func init() {
_ = RegisterDocumentProcessor(&ite6.ITE6Processor{}, processor.DocumentITE6SLSA)
_ = RegisterDocumentProcessor(&ite6.ITE6Processor{}, processor.DocumentITE6Vul)
_ = RegisterDocumentProcessor(&ite6.ITE6Processor{}, processor.DocumentITE6ClearlyDefined)
_ = RegisterDocumentProcessor(&ite6.ITE6Processor{}, processor.DocumentITE6EOL)
_ = RegisterDocumentProcessor(&dsse.DSSEProcessor{}, processor.DocumentDSSE)
_ = RegisterDocumentProcessor(&spdx.SPDXProcessor{}, processor.DocumentSPDX)
_ = RegisterDocumentProcessor(&csaf.CSAFProcessor{}, processor.DocumentCsaf)
Expand Down

0 comments on commit cdc11e0

Please sign in to comment.