Eds pipeline scanner

Background:

As part of OSDU InfoSec requirements, the pipeline should have Security and Secret Scanner built within the CICD. The pipeline is required to pass to ensure ease of monitoring and ensuring good quality of code are checked in

Code change

  • Imports optimization and formatting
  • Code formatting and best practices - return value type validation, python code formatting
  • Upgrade deprecated library imports for Airflow

Dependent Merge Request:

Updates to the latest Airflow and Python version (compatible with M25) is required to ensure that we are using the latest image and packages for our pipeline

Related Issue:

Results:

  • All pipelines' tasks have passed if the dependent MR are merged in with the new version of Python 3.11 and Airflow 2.10.5

image.png

Edited by Teo Sheng Pu

Merge request reports

Loading