commit
93e4e7313f
16
README.md
16
README.md
@ -1,13 +1,13 @@
|
||||
# vuln-list-update
|
||||
|
||||
[](https://travis-ci.org/knqyf263/vuln-list-update)
|
||||
[](https://goreportcard.com/report/github.com/knqyf263/vuln-list-update)
|
||||
[](https://github.com/knqyf263/vuln-list-update/blob/master/LICENSE)
|
||||
[](https://travis-ci.org/aquasecurity/vuln-list-update)
|
||||
[](https://goreportcard.com/report/github.com/aquasecurity/vuln-list-update)
|
||||
[](https://github.com/aquasecurity/vuln-list-update/blob/master/LICENSE)
|
||||
|
||||
Collect vulnerability information and save it in parsable format automatically
|
||||
|
||||
## Data
|
||||
https://github.com/knqyf263/vuln-list/
|
||||
https://github.com/aquasecurity/vuln-list/
|
||||
|
||||
## Usage
|
||||
|
||||
@ -21,12 +21,12 @@ Usage of vuln-list-update:
|
||||
```
|
||||
|
||||
## Cron status
|
||||
https://travis-ci.org/knqyf263/vuln-list-update
|
||||
https://travis-ci.org/aquasecurity/vuln-list-update
|
||||
|
||||
## Contribute
|
||||
|
||||
1. fork a repository: github.com/knqyf263/vuln-list-update to github.com/you/repo
|
||||
2. get original code: `go get github.com/knqyf263/vuln-list-update`
|
||||
1. fork a repository: github.com/aquasecurity/vuln-list-update to github.com/you/repo
|
||||
2. get original code: `go get github.com/aquasecurity/vuln-list-update`
|
||||
3. work on original code
|
||||
4. add remote to your repo: git remote add myfork https://github.com/you/repo.git
|
||||
5. push your changes: git push myfork
|
||||
@ -35,4 +35,4 @@ https://travis-ci.org/knqyf263/vuln-list-update
|
||||
- see [GitHub and Go: forking, pull requests, and go-getting](http://blog.campoy.cat/2014/03/github-and-go-forking-pull-requests-and.html)
|
||||
|
||||
## Author
|
||||
Teppei Fukuda (knqyf263)
|
||||
Teppei Fukuda (knqyf263)
|
||||
|
@ -18,8 +18,8 @@ import (
|
||||
"gopkg.in/yaml.v2"
|
||||
|
||||
version "github.com/hashicorp/go-version"
|
||||
"github.com/knqyf263/vuln-list-update/git"
|
||||
"github.com/knqyf263/vuln-list-update/utils"
|
||||
"github.com/aquasecurity/vuln-list-update/git"
|
||||
"github.com/aquasecurity/vuln-list-update/utils"
|
||||
"golang.org/x/xerrors"
|
||||
)
|
||||
|
||||
|
2
debian/debian.go
vendored
2
debian/debian.go
vendored
@ -7,7 +7,7 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/knqyf263/vuln-list-update/utils"
|
||||
"github.com/aquasecurity/vuln-list-update/utils"
|
||||
"golang.org/x/xerrors"
|
||||
pb "gopkg.in/cheggaaa/pb.v1"
|
||||
)
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/knqyf263/vuln-list-update/utils"
|
||||
"github.com/aquasecurity/vuln-list-update/utils"
|
||||
"golang.org/x/xerrors"
|
||||
)
|
||||
|
||||
|
18
main.go
18
main.go
@ -9,21 +9,21 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/knqyf263/vuln-list-update/alpine"
|
||||
"github.com/aquasecurity/vuln-list-update/alpine"
|
||||
|
||||
"github.com/knqyf263/vuln-list-update/debian"
|
||||
"github.com/knqyf263/vuln-list-update/git"
|
||||
"github.com/knqyf263/vuln-list-update/nvd"
|
||||
debianoval "github.com/knqyf263/vuln-list-update/oval/debian"
|
||||
"github.com/knqyf263/vuln-list-update/redhat"
|
||||
"github.com/knqyf263/vuln-list-update/ubuntu"
|
||||
"github.com/knqyf263/vuln-list-update/utils"
|
||||
"github.com/aquasecurity/vuln-list-update/debian"
|
||||
"github.com/aquasecurity/vuln-list-update/git"
|
||||
"github.com/aquasecurity/vuln-list-update/nvd"
|
||||
debianoval "github.com/aquasecurity/vuln-list-update/oval/debian"
|
||||
"github.com/aquasecurity/vuln-list-update/redhat"
|
||||
"github.com/aquasecurity/vuln-list-update/ubuntu"
|
||||
"github.com/aquasecurity/vuln-list-update/utils"
|
||||
|
||||
"golang.org/x/xerrors"
|
||||
)
|
||||
|
||||
const (
|
||||
repoURL = "https://%s@github.com/knqyf263/vuln-list.git"
|
||||
repoURL = "https://%s@github.com/aquasecurity/vuln-list.git"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -10,7 +10,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/knqyf263/vuln-list-update/utils"
|
||||
"github.com/aquasecurity/vuln-list-update/utils"
|
||||
jsonpointer "github.com/mattn/go-jsonpointer"
|
||||
"golang.org/x/xerrors"
|
||||
pb "gopkg.in/cheggaaa/pb.v1"
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/knqyf263/vuln-list-update/utils"
|
||||
"github.com/aquasecurity/vuln-list-update/utils"
|
||||
"golang.org/x/xerrors"
|
||||
pb "gopkg.in/cheggaaa/pb.v1"
|
||||
)
|
||||
|
2
push.sh
2
push.sh
@ -10,7 +10,7 @@ git commit -m "$3"
|
||||
ret=$?
|
||||
|
||||
if [ $ret = 0 ]; then
|
||||
git push https://${GITHUB_TOKEN}@github.com/knqyf263/vuln-list.git master
|
||||
git push https://${GITHUB_TOKEN}@github.com/aquasecurity/vuln-list.git master
|
||||
else
|
||||
echo "skip push"
|
||||
fi
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
|
||||
"golang.org/x/xerrors"
|
||||
|
||||
"github.com/knqyf263/vuln-list-update/utils"
|
||||
"github.com/aquasecurity/vuln-list-update/utils"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -9,13 +9,13 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/knqyf263/vuln-list-update/git"
|
||||
"github.com/aquasecurity/vuln-list-update/git"
|
||||
|
||||
"github.com/araddon/dateparse"
|
||||
|
||||
"golang.org/x/xerrors"
|
||||
|
||||
"github.com/knqyf263/vuln-list-update/utils"
|
||||
"github.com/aquasecurity/vuln-list-update/utils"
|
||||
)
|
||||
|
||||
const (
|
||||
|
Loading…
x
Reference in New Issue
Block a user