Skip to content

Webgui tool to grap RedHat security errata database and triage them

License

Notifications You must be signed in to change notification settings

skimpax/rhelcve

Repository files navigation

rhelcve

This is a internal/draft tool intended first to learn Symfony framework and riot.js

This webgui tool fetches security notifications from RedHat database with some filter criteria.

User is able to make decision to accept or decline the errata and motivate it. Result is stored in internal database for further loading. Issues can be created and (accepted) errata associated to it.

General

Development

Environment setup

Requirements

  • php7
  • nodejs
  • gulp
  • bower
  • mysql

Tools installation

# install nodejs
apt-get install nodejs
# install php stuff
apt-get install php7-fpm php7-cli php7-zip php7-xml php7-readline php7-opcache
apt-get install php7-mysql php7-mcrypt php7-json php7-curl php7-common
# install gulp
npm install --global gulp-cli
# install gulp modules
npm install -g gulp-bower
npm install -g gulp-concat
npm install -g gulp-if
npm install -g gulp-jshint
npm install -g gulp-less
npm install -g gulp-rename
npm install -g gulp-sass
npm install -g gulp-sourcemaps
npm install -g gulp-uglify
npm install -g gulp-uglifycss
npm install -g jshint
# install bower
npm install --global bower

Install/update project dependancies

First time install:

Install all the project dependencies, as stated in composer.json file:

composer install

Update regularly:

Launch regularly this command to get latest symphony and extensions packages:

composer update

Database

The simplest way is to use the Symfony console commands dedicated to database domain (handled by Doctrine). As entities and configuration are already declared in the Symfony project (cf. parameters.yml), Doctrine will be to handle commands accordingly.

# declare/create the database
php bin/console doctrine:database:create
# declare/create the tables in the database
php bin/console doctrine:schema:update --force

Run in dev mode

Launch a minimal php web server for development purpose only:

composer run

Ctrl-C to quit.

With your browser, load page: http://localhost:9001

Production

# install nginx (or apache2)
apt-get install nginx
# install php-fpm
apt-get install php-fpm

TODO

About

Webgui tool to grap RedHat security errata database and triage them

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published