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 -DO NOT MERGE - HOFF-422: Replace hof-rds-api Image (WAIT FOR REGRESSION TESTING) #56

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

Conversation

adityababumallisettiHO
Copy link
Contributor

What?

Fix Vulnerabilities in hof-rds-api Image. These vulnerabilities can be in base Image and Yarn Packages. And Update Image from Branch (dev) to Prod. see ticket
#HOFF-422

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 Images and as a result Vulnerabilities found in Yarn packages.
Used yarn upgrade to upgrade outdated and vulnerable packages to latest versions
Built a new hof-rds-api image with upgraded yarn packages and no vulnerabilities found with Trivy Scanner
Please refer to below Trivy report,
https://confluence.bics-collaboration.homeoffice.gov.uk/display/FBISC/hoff+-+Trivy+-+hof-rds-api:f72489e134c4e80740cb919602409b61f82ae598

Testing?

Ingress url for Branch : https://ima-hoff-422.internal.branch.sas-notprod.homeoffice.gov.uk/your-details
Pods are healthy in Branch Env:
kubectl --context=acp-notprod_SAS --namespace=sas-ima-branch get pods | grep "hoff-422"
We will need to perform regression testing, and Merge these changes to Master Branch to test the services in QAT

* Fix Vulnerabilities in hof-rds-api Image
* Upgrade Yarn Packages in  hof-rds-api Image
@adityababumallisettiHO adityababumallisettiHO self-assigned this Dec 8, 2023
@sulthan-ahmed sulthan-ahmed changed the title HOFF-422: Replace hof-rds-api Image (WAIT FOR REGRESSION TESTING) WIP HOFF-422: Replace hof-rds-api Image (WAIT FOR REGRESSION TESTING) Dec 8, 2023
@sulthan-ahmed sulthan-ahmed changed the title WIP HOFF-422: Replace hof-rds-api Image (WAIT FOR REGRESSION TESTING) WIP -DO NOT MERGE - HOFF-422: Replace hof-rds-api Image (WAIT FOR REGRESSION TESTING) Dec 8, 2023
Copy link

@sulthan-ahmed sulthan-ahmed left a comment

Choose a reason for hiding this comment

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

lgtm

@adityababumallisettiHO
Copy link
Contributor Author

adityababumallisettiHO commented Apr 29, 2024

@sulthan-ahmed Now that we have successfully tested this hof-rds-api image in Branch Env for IMA service as part of the following ticket by Elias.

https://collaboration.homeoffice.gov.uk/jira/browse/HOFF-571

Can we Merge to Master branch So that we have this image available in UAT and then to Prod. I will also need to resolve merge conflicts before I merge the changes to Master.

As these are higher environments, We may need to check the capacity of QA testers. So that we can merge and test asap for any issues.

FYI - @SwathiManikos

@sulthan-ahmed
Copy link

yes just resolve the conflicts

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

Successfully merging this pull request may close these issues.

3 participants