diff --git a/Dockerfile b/Dockerfile index 35081fa..c5f064d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:stable-20221219-slim AS supercronic +FROM debian:stable-20230109-slim AS supercronic ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.2.1/supercronic-linux-amd64 \ SUPERCRONIC=supercronic-linux-amd64 \ @@ -13,7 +13,7 @@ RUN apt-get update; apt-get install -y curl \ -FROM mysql:5.7.40-debian +FROM mysql:5.7.41-debian LABEL maintainer="Stefan Neuhaus " diff --git a/overlays/docker-entrypoint-initdb.d/initialize_schema.sql b/overlays/docker-entrypoint-initdb.d/initialize_schema.sql index f7b3c82..830a981 100644 --- a/overlays/docker-entrypoint-initdb.d/initialize_schema.sql +++ b/overlays/docker-entrypoint-initdb.d/initialize_schema.sql @@ -60,7 +60,7 @@ INSERT INTO cpeEcosystemCache (vendor, product, ecosystem) VALUES ('scikit-learn INSERT INTO cpeEcosystemCache (vendor, product, ecosystem) VALUES ('unicode', 'international_components_for_unicode', 'MULTIPLE'); INSERT INTO cpeEcosystemCache (vendor, product, ecosystem) VALUES ('icu-project', 'international_components_for_unicode', 'MULTIPLE'); -CREATE TABLE knownExploited (cveID varchar(20) PRIMARY KEY , +CREATE TABLE knownExploited (cveID varchar(20) PRIMARY KEY, vendorProject VARCHAR(255), product VARCHAR(255), vulnerabilityName VARCHAR(500), @@ -259,6 +259,7 @@ BEGIN SET SQL_SAFE_UPDATES = @OLD_SQL_SAFE_UPDATES; END // + CREATE PROCEDURE merge_knownexploited (IN p_cveID varchar(20), IN p_vendorProject VARCHAR(255), @@ -279,6 +280,7 @@ INSERT INTO knownExploited (`cveID`, `vendorProject`, `product`, `vulnerabilityN `shortDescription`=p_shortDescription, `requiredAction`=p_requiredAction, `dueDate`=p_dueDate, `notes`=p_notes; END // + DELIMITER ; INSERT INTO properties(id, value) VALUES ('version', '5.4');