Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP GRO-148: Update Redis Image #300

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

Conversation

adityababumallisettiHO
Copy link
Contributor

@adityababumallisettiHO adityababumallisettiHO commented Jan 24, 2024

What?

Fix Vulnerabilities in Redis Image.
Here are the Major Changes
Since Trivy Scanner isn't supporting Fedora OS. we decided to replace Linux Distribution fedora:29 with rockylinux:9.3. This have fixed some of the vulnerabilities in the OS base image
Current version of redis:v5.0.6-1 is upgraded to redis:v6.2.7-1

see tickets
https://collaboration.homeoffice.gov.uk/jira/browse/HOFF-308
https://collaboration.homeoffice.gov.uk/jira/browse/GRO-148

Why?

The CVE List is a set of records that describe specific vulnerabilities or exposures. It is maintained by a large community of trusted entities and individuals.
A vulnerability is a flaw in a software, firmware, hardware, or service component that can be exploited to cause a negative impact to the confidentiality, integrity, or availability of an impacted component or components.
An exposure is a code or configuration error that can be exploited to gain indirect and often hard-to-discover access to application data such as customer information.

How?

Used Trivy to Scan Redis Image.
To fix Yarn lock issue in Drone pipeline. Yarn lock has been deleted and Yarn install have regenerated Yarn.lock file
Built a new Redis image (v6.2.7-1) on rockylinux(v9.3) and no vulnerabilities found with Trivy Scanner
Please refer to below Trivy report,
https://confluence.bics-collaboration.homeoffice.gov.uk/pages/viewpage.action?spaceKey=FBISC&title=h[…]5846de1977705bc9e7db981381ec2d897cfde0b456a70
This is the Image: https://quay.io/repository/ukhomeofficedigital/redis-rockylinux?tab=tags

Testing?

Drone Job: https://drone-gh.acp.homeoffice.gov.uk/UKHomeOffice/gro/1096/1/9
Ingress URL : https://certificate-enquiries-gro-148.internal.gro-form-branch.homeoffice.gov.uk/about
Pods are healthy in Branch Env:

We will need to test the service in Branch Env before we deploy to rest of Environments
Pictures:

Trivy_scan_report
image (5)

@adityababumallisettiHO adityababumallisettiHO changed the title GRO-148: Update Redis Image WIP GRO-148: Update Redis Image Jan 24, 2024
Copy link

@JHoldergov JHoldergov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants