diff --git a/.github/workflows/securityScan.yml b/.github/workflows/securityScan.yml
new file mode 100644
index 00000000..a733d908
--- /dev/null
+++ b/.github/workflows/securityScan.yml
@@ -0,0 +1,21 @@
+name: Run trivy security scan
+on:
+ push:
+ branches:
+ - 'develop'
+ pull_request:
+jobs:
+ build:
+ name: Build
+ runs-on: ubuntu-20.04
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v3
+ - name: Run Trivy vulnerability scanner in fs mode
+ uses: aquasecurity/trivy-action@master
+ with:
+ scan-type: 'fs'
+ scan-ref: '.'
+ format: 'table'
+ exit-code: 1
+ severity: CRITICAL
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 44998d6d..238b7302 100644
--- a/pom.xml
+++ b/pom.xml
@@ -39,6 +39,7 @@
2.10.6
5.0.0
2.7.5
+ 4.9.1
@@ -146,6 +147,11 @@
liquibase-maven-plugin
${liquibase-maven-plugin.version}
+
+ org.liquibase
+ liquibase-core
+ ${liquibase-core.version}
+