2020-07-13 20:20:47 +03:00
name : Update vuln-list repo
2020-07-14 08:46:22 +03:00
on :
schedule :
2021-03-10 09:55:31 +03:00
- cron : "0 */6 * * *"
2020-12-31 17:38:27 +03:00
workflow_dispatch :
2020-07-13 20:20:47 +03:00
jobs :
update :
name : Update repo vuln-list
runs-on : ubuntu-latest
env :
GITHUB_TOKEN : ${{ secrets.ACCESS_TOKEN }}
steps :
2021-09-03 00:53:56 +03:00
- name : Set up Go
uses : actions/setup-go@v2
2020-07-13 20:20:47 +03:00
with :
2021-09-03 00:53:56 +03:00
go-version : 1.17
2020-07-13 20:20:47 +03:00
- name : Check out code into the Go module directory
uses : actions/checkout@v2
- name : Set Owner
2020-11-19 14:09:28 +03:00
run : echo "VULNLIST_REPOSITORY_OWNER=$(echo ${GITHUB_REPOSITORY} | awk -F / '{print $1}' | sed -e 's/:refs//')" >> $GITHUB_ENV
2020-07-13 20:20:47 +03:00
shell : bash
- name : Setup github user email and name
run : |
git config --global user.email "action@github.com"
git config --global user.name "GitHub Action"
- name : Compile vuln-list-update
run : go build -o vuln-list-update .
2021-01-17 07:32:27 +03:00
- if : always()
name : NVD
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target nvd
2021-01-17 07:32:27 +03:00
- if : always()
name : Alpine Issue Tracker
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target alpine
2021-01-17 07:32:27 +03:00
- if : always()
name : Debian Security Bug Tracker
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target debian
2021-01-17 07:32:27 +03:00
- if : always()
name : Debian OVAL
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target debian-oval
2021-01-17 07:32:27 +03:00
- if : always()
name : Ubuntu CVE Tracker
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target ubuntu
2021-01-17 07:32:27 +03:00
- if : always()
name : Amazon Linux AMI Security Advisory
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target amazon
2021-01-17 07:32:27 +03:00
- if : always()
name : Oracle Linux OVAL
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target oracle-oval
2021-01-17 07:32:27 +03:00
- if : always()
name : Red Hat OVALv2
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target redhat-oval
2021-01-17 07:32:27 +03:00
- if : always()
name : Photon CVE Advisory
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target photon
2021-01-17 07:32:27 +03:00
- if : always()
name : GitHub Security Advisory
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target ghsa
2021-01-17 07:32:27 +03:00
- if : always()
name : CWE
2020-08-05 00:01:18 +03:00
run : ./vuln-list-update -target cwe
2021-01-17 07:32:27 +03:00
- if : always()
name : SUSE CVRF
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target suse-cvrf
2021-04-28 03:47:05 +03:00
- if : always()
name : GitLab Advisory Database
run : ./vuln-list-update -target glad
2021-06-15 15:43:31 +03:00
- if : always()
2021-06-15 15:49:37 +03:00
name : Arch Linux Security Advisory
run : ./vuln-list-update -target arch-linux
2021-06-15 15:43:31 +03:00
2021-09-03 01:02:09 +03:00
- if : always()
name : AlmaLinux Security Advisory
run : ./vuln-list-update -target alma
2021-01-17 07:32:27 +03:00
# Red Hat Security Data API is unstable.
# It should be split into small pieces to reduce the impact of failure.
- if : always()
name : Red Hat Security Data API 1996-2002
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target redhat -years 1996,1997,1998,1999,2000,2001,2002
2021-01-17 07:32:27 +03:00
- if : always()
name : Red Hat Security Data API 2003-2008
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target redhat -years 2003,2004,2005,2006,2007,2008
2021-01-17 07:32:27 +03:00
- if : always()
name : Red Hat Security Data API 2009-2011
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target redhat -years 2009,2010,2011
2021-01-17 07:32:27 +03:00
- if : always()
name : Red Hat Security Data API 2012
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target redhat -years 2012
2021-01-17 07:32:27 +03:00
- if : always()
name : Red Hat Security Data API 2013
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target redhat -years 2013
2021-01-17 07:32:27 +03:00
- if : always()
name : Red Hat Security Data API 2014
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target redhat -years 2014
2021-01-17 07:32:27 +03:00
- if : always()
name : Red Hat Security Data API 2015
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target redhat -years 2015
2021-01-17 07:32:27 +03:00
- if : always()
name : Red Hat Security Data API 2016
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target redhat -years 2016
2021-01-17 07:32:27 +03:00
- if : always()
name : Red Hat Security Data API 2017
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target redhat -years 2017
2021-01-17 07:32:27 +03:00
- if : always()
name : Red Hat Security Data API 2018
2020-07-13 20:20:47 +03:00
run : ./vuln-list-update -target redhat -years 2018
2021-01-17 07:32:27 +03:00
- if : always()
2021-01-20 10:08:54 +03:00
name : Red Hat Security Data API 2019-2021
run : ./vuln-list-update -target redhat -years 2019,2020,2021