Skip to content

Commit

Permalink
Use templateman enhance api to populate CVE info (#3788)
Browse files Browse the repository at this point in the history
* use templateman enhance api to populate cve info

* rename cve-annotate => tmc
add additional flags to format, lint and enhance template using templateman apis

* minior changes

* remove duplicate code

* misc update

* Add validate and error log option

* print if updated

* print format and enhance only if updated

* make max-request optional

* fix reference unmarshal error

* fix removing self-contained tag

---------

Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
  • Loading branch information
4 people committed Jun 21, 2023
1 parent 2a32ed9 commit 9362564
Show file tree
Hide file tree
Showing 6 changed files with 517 additions and 671 deletions.
4 changes: 2 additions & 2 deletions v2/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ builds:
flags:
- -trimpath

- main: cmd/cve-annotate/main.go
binary: cve-annotate
- main: cmd/tmc/main.go
binary: tmc
id: annotate

env:
Expand Down
Loading

0 comments on commit 9362564

Please sign in to comment.