Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
3de08aa
Update Dockerfile to use mirrored egovio base images
nikhilmulinti Feb 18, 2026
cfcfe60
Update maven-java8 Dockerfile to use mirrored egovio base images
nikhilmulinti Feb 18, 2026
38ae67a
Added dependabot.yml (#1058)
talele08 Mar 17, 2026
21f687d
Dependabot config (#1233)
talele08 Mar 17, 2026
6ead56c
Delete .github/dependabot.yml (#1236)
talele08 Mar 17, 2026
d69ce29
2.9.4 malware detection master (#1001)
Sreejit-K Apr 14, 2026
45a54a1
Dependency Upgrades (#1267)
varunreddy-egov Apr 23, 2026
ade3e93
Removed deprecated modules (#1279)
varunreddy-egov Apr 23, 2026
002b176
Patched postgres dependency (#1282)
varunreddy-egov Apr 23, 2026
3696ab1
Add Scorecard workflow for supply-chain security (#1286)
varunreddy-egov Apr 23, 2026
699f03f
Removed target folder (#1287)
varunreddy-egov Apr 23, 2026
645987b
added permissions in workflow yaml (#1288)
varunreddy-egov Apr 23, 2026
b73fff6
chore: remove failing workflow actions (#1289)
varunreddy-egov Apr 23, 2026
c5b5edc
removed deprecated module (#1290)
varunreddy-egov Apr 23, 2026
7995a4c
Added dependabot config yaml (#1291)
nikhilmulinti Apr 24, 2026
791645a
chore: add PAT to read branch protection rules (#1292)
nikhilmulinti Apr 24, 2026
f4165ce
Revert "chore: add PAT to read branch protection rules (#1292)" (#1294)
nikhilmulinti Apr 24, 2026
7df0c3c
Harden build workflow input handling (#1293)
nikhilmulinti Apr 24, 2026
d2f3f0a
Pdf service security patch (#1303)
shashwat-egov May 7, 2026
7cd93ef
fix(security): close 34 Dependabot alerts in pdf-service (#1305)
shashwat-egov May 7, 2026
b9c1642
Bump org.postgresql:postgresql in /core-services/egov-malware-detecti…
dependabot[bot] May 7, 2026
6198584
fix(security): migrate Babel 6 → Babel 7 to close CVE-2023-45133 (#1306)
shashwat-egov May 7, 2026
78b06e6
Update pom.xml (#1307)
shashwat-egov May 7, 2026
289b668
Bump org.postgresql:postgresql (#1298)
dependabot[bot] May 7, 2026
c2272f0
Security patch (#1312)
varunreddy-egov May 8, 2026
2e1fe69
Fixed central instance schema name and topics resolution (#1328)
holashchand May 11, 2026
7b9c395
chore: Change branch for push trigger to 'security-patch' (#1329)
varunreddy-egov May 14, 2026
b4f1845
Add workflow_dispatch trigger to scorecard.yml (#1331)
varunreddy-egov May 14, 2026
9ccdd68
Security patch (#1333)
varunreddy-egov May 15, 2026
1d07fa8
Removed deprecated modules (#1338)
varunreddy-egov May 15, 2026
150eb15
chore: Update Scorecard workflow configuration (#1339)
varunreddy-egov May 15, 2026
851c5a9
Revert "chore: Update Scorecard workflow configuration (#1339)" (#1340)
varunreddy-egov May 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 29 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: 2
updates:

- package-ecosystem: "npm"
directory: "/pdf-service"
schedule:
interval: "weekly"

# Covers all modules listed in root pom.xml
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "weekly"

# Not in root pom.xml - need individual entries
- package-ecosystem: "maven"
directory: "/MDMS-v2"
schedule:
interval: "weekly"

- package-ecosystem: "maven"
directory: "/egov-malware-detection"
schedule:
interval: "weekly"

- package-ecosystem: "maven"
directory: "/egov-user"
schedule:
interval: "weekly"
54 changes: 33 additions & 21 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ on:
- "egov-indexer"
- "egov-localization"
- "egov-location"
- "egov-malware-detection"
- "egov-mdms-service"
- "egov-notification-mail"
- "egov-notification-sms"
Expand Down Expand Up @@ -59,9 +60,8 @@ on:
- "zuul"
default: "audit-service"

env:
DOCKER_USERNAME: ${{ vars.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_ACCESS_TOKEN }}
permissions:
contents: read

jobs:
resolve-config:
Expand All @@ -82,8 +82,9 @@ jobs:

- name: Determine Dockerfile path from build-config.yml
id: pick_dockerfile
env:
SERVICE: ${{ github.event.inputs.service }}
run: |
SERVICE="${{ github.event.inputs.service }}"
DEFAULT_DOCKERFILE="build/maven/Dockerfile"

echo "Looking for service '$SERVICE' in build-config.yml..."
Expand Down Expand Up @@ -130,8 +131,11 @@ jobs:

- name: Check for DB folder
id: check-db-folder
env:
SERVICE: ${{ github.event.inputs.service }}
SERVICE_FOLDER: ${{ github.event.inputs.service_folder }}
run: |
BASE_PATH="${{ github.event.inputs.service_folder }}/${{ github.event.inputs.service }}"
BASE_PATH="${SERVICE_FOLDER}/${SERVICE}"

if [ -d "$BASE_PATH/src/main/resources/db" ]; then
echo "folder_exists=true" >> "$GITHUB_OUTPUT"
Expand All @@ -151,8 +155,8 @@ jobs:
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ env.DOCKER_USERNAME }}
password: ${{ env.DOCKER_PASSWORD }}
username: ${{ vars.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}

- name: Build & push ${{ matrix.arch }} image
id: build_push_app
Expand Down Expand Up @@ -187,37 +191,45 @@ jobs:
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ env.DOCKER_USERNAME }}
password: ${{ env.DOCKER_PASSWORD }}
username: ${{ vars.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}

- name: Create & push multi-arch manifest (application)
env:
SERVICE: ${{ github.event.inputs.service }}
TAG: ${{ needs.resolve-config.outputs.tag }}
run: |
docker buildx imagetools create \
--tag egovio/${{ github.event.inputs.service }}:${{ needs.resolve-config.outputs.tag }} \
egovio/${{ github.event.inputs.service }}:${{ needs.resolve-config.outputs.tag }}-amd64 \
egovio/${{ github.event.inputs.service }}:${{ needs.resolve-config.outputs.tag }}-arm64
--tag "egovio/${SERVICE}:${TAG}" \
"egovio/${SERVICE}:${TAG}-amd64" \
"egovio/${SERVICE}:${TAG}-arm64"

- name: Create & push multi-arch manifest (database)
if: ${{ needs.build-matrix.outputs.db_folder_exists == 'true' }}
env:
SERVICE: ${{ github.event.inputs.service }}
TAG: ${{ needs.resolve-config.outputs.tag }}
run: |
docker buildx imagetools create \
--tag egovio/${{ github.event.inputs.service }}-db:${{ needs.resolve-config.outputs.tag }} \
egovio/${{ github.event.inputs.service }}-db:${{ needs.resolve-config.outputs.tag }}-amd64 \
egovio/${{ github.event.inputs.service }}-db:${{ needs.resolve-config.outputs.tag }}-arm64
--tag "egovio/${SERVICE}-db:${TAG}" \
"egovio/${SERVICE}-db:${TAG}-amd64" \
"egovio/${SERVICE}-db:${TAG}-arm64"

- name: Add all image tags to GitHub summary
env:
DB_EXISTS: ${{ needs.build-matrix.outputs.db_folder_exists }}
SERVICE: ${{ github.event.inputs.service }}
TAG: ${{ needs.resolve-config.outputs.tag }}
run: |
echo "## App Docker images" >> $GITHUB_STEP_SUMMARY
echo "- \`egovio/${{ github.event.inputs.service }}:${{ needs.resolve-config.outputs.tag }}-amd64\`" >> $GITHUB_STEP_SUMMARY
echo "- \`egovio/${{ github.event.inputs.service }}:${{ needs.resolve-config.outputs.tag }}-arm64\`" >> $GITHUB_STEP_SUMMARY
echo "- **multi‑arch** \`egovio/${{ github.event.inputs.service }}:${{ needs.resolve-config.outputs.tag }}\`" >> $GITHUB_STEP_SUMMARY
echo "- \`egovio/${SERVICE}:${TAG}-amd64\`" >> $GITHUB_STEP_SUMMARY
echo "- \`egovio/${SERVICE}:${TAG}-arm64\`" >> $GITHUB_STEP_SUMMARY
echo "- **multi‑arch** \`egovio/${SERVICE}:${TAG}\`" >> $GITHUB_STEP_SUMMARY

if [ "$DB_EXISTS" = "true" ]; then
echo "" >> $GITHUB_STEP_SUMMARY
echo "## DB Docker images" >> $GITHUB_STEP_SUMMARY
echo "- \`egovio/${{ github.event.inputs.service }}-db:${{ needs.resolve-config.outputs.tag }}-amd64\`" >> $GITHUB_STEP_SUMMARY
echo "- \`egovio/${{ github.event.inputs.service }}-db:${{ needs.resolve-config.outputs.tag }}-arm64\`" >> $GITHUB_STEP_SUMMARY
echo "- **multi‑arch** \`egovio/${{ github.event.inputs.service }}-db:${{ needs.resolve-config.outputs.tag }}\`" >> $GITHUB_STEP_SUMMARY
echo "- \`egovio/${SERVICE}-db:${TAG}-amd64\`" >> $GITHUB_STEP_SUMMARY
echo "- \`egovio/${SERVICE}-db:${TAG}-arm64\`" >> $GITHUB_STEP_SUMMARY
echo "- **multi‑arch** \`egovio/${SERVICE}-db:${TAG}\`" >> $GITHUB_STEP_SUMMARY
fi
20 changes: 0 additions & 20 deletions .github/workflows/osv-scanner-pr.yml

This file was deleted.

77 changes: 77 additions & 0 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# This workflow uses actions that are not certified by GitHub. They are provided
# by a third-party and are governed by separate terms of service, privacy
# policy, and support documentation.

name: Scorecard supply-chain security
on:
# For Branch-Protection check. Only the default branch is supported. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
branch_protection_rule:
# To guarantee Maintained check is occasionally updated. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
schedule:
- cron: '45 1 * * 4'
push:
branches: [ "master" ]

workflow_dispatch:

# Declare default permissions as read only.
permissions: read-all

jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
# `publish_results: true` only works when run from the default branch. conditional can be removed if disabled.
if: github.event.repository.default_branch == github.ref_name || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
# Needed to publish results and get a badge (see publish_results below).
id-token: write

steps:
- name: "Checkout code"
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
with:
results_file: results.sarif
results_format: sarif
# (Optional) "write" PAT token. Uncomment the `repo_token` line below if:
# - you want to enable the Branch-Protection check on a *public* repository, or
# - you are installing Scorecard on a *private* repository
# To create the PAT, follow the steps in https://github.com/ossf/scorecard-action?tab=readme-ov-file#authentication-with-fine-grained-pat-optional.
# repo_token: ${{ secrets.SCORECARD_TOKEN }}

# Public repositories:
# - Publish results to OpenSSF REST API for easy access by consumers
# - Allows the repository to include the Scorecard badge.
# - See https://github.com/ossf/scorecard-action#publishing-results.
# For private repositories:
# - `publish_results` will always be set to `false`, regardless
# of the value entered here.
publish_results: true

# (Optional) Uncomment file_mode if you have a .gitattributes with files marked export-ignore
# file_mode: git

# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard (optional).
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
41 changes: 0 additions & 41 deletions .github/workflows/sonarbuild.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions accelerators/gateway-kubernetes-discovery/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ go 1.13

require (
k8s.io/api v0.17.0
k8s.io/apimachinery v0.17.0
k8s.io/client-go v0.17.0
k8s.io/apimachinery v0.17.9
k8s.io/client-go v0.17.16
)
5 changes: 2 additions & 3 deletions build/maven-java8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ──────────────── BUILD STAGE ────────────────
FROM maven:3.9.6-amazoncorretto-8-debian AS build
FROM maven:3.9-eclipse-temurin-8 AS build
ARG WORK_DIR
WORKDIR /app

Expand All @@ -13,7 +13,7 @@ RUN mvn -B -f pom.xml package -DskipTests


# ─────────────── RUNTIME STAGE ───────────────
FROM eclipse-temurin:8-jdk AS runtime
FROM eclipse-temurin:8-jre AS runtime
WORKDIR /opt/egov

# Pull in the fat JAR and our startup script
Expand All @@ -22,6 +22,5 @@ COPY --from=build /app/start.sh ./start.sh

RUN chmod +x ./start.sh

# Override any Alpine tini entrypoint and launch via shell
ENTRYPOINT ["sh", "./start.sh"]

22 changes: 8 additions & 14 deletions build/maven/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
FROM maven:3.9.6-amazoncorretto-17 AS build
# ──────────────── BUILD STAGE ────────────────
FROM maven:3.9-eclipse-temurin-17 AS build
ARG WORK_DIR
WORKDIR /app

# Copy project files
COPY ${WORK_DIR}/pom.xml ./pom.xml
COPY build/maven/start.sh ./start.sh
COPY ${WORK_DIR}/src ./src

# Build the project
RUN mvn -B -f /app/pom.xml package
RUN mvn -B -f /app/pom.xml package -DskipTests

# Runtime image – using a multi-arch base image
FROM amazoncorretto:17-alpine
# ─────────────── RUNTIME STAGE ───────────────
FROM gcr.io/distroless/java17-debian12:nonroot
Comment thread
vinothrallapalli-eGov marked this conversation as resolved.
Dismissed

WORKDIR /opt/egov

# Copy artifacts from the build stage
COPY --from=build /app/target/*.jar /app/start.sh /opt/egov/
# Copy artifact from the build stage
COPY --from=build /app/target/*.jar ./application.jar

# Ensure the start script has correct line endings and is executable
RUN dos2unix /opt/egov/start.sh && chmod +x /opt/egov/start.sh

# Verify architecture inside the container
RUN uname -m

CMD ["/opt/egov/start.sh"]
ENTRYPOINT ["java", "-jar", "application.jar"]
6 changes: 6 additions & 0 deletions core-services/audit-service/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Changelog
All notable changes to this module will be documented in this file.

## 2.9.3 - 2026-03-16
- Upgraded Spring Boot version from 3.2.2 to 3.4.5 to fix HIGH/CRITICAL CVEs
- Upgraded tracer, services-common, mdms-client, enc-client library versions
- Upgraded PostgreSQL driver from 42.7.1 to 42.7.4
- Removed hardcoded log4j2.version override (now managed by Spring Boot)

## 2.9.1 - 2025-05-21
- Upgraded tracer version from 2.9.0 to 2.9.1
- added variables in application.properties required for opentelemetry
Expand Down
Loading
Loading